From 144904e901d557a8af1d73bd217ec15bc4bedb85 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 13 Dec 2011 15:55:11 +0100 Subject: build: rename subdir.mak ---> library.mak --- library.mak | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 library.mak (limited to 'library.mak') diff --git a/library.mak b/library.mak new file mode 100644 index 0000000000..e269b509ce --- /dev/null +++ b/library.mak @@ -0,0 +1,97 @@ +SRC_DIR := $(SRC_PATH)/lib$(NAME) + +include $(SRC_PATH)/common.mak + +LIBVERSION := $(lib$(NAME)_VERSION) +LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR) +INCINSTDIR := $(INCDIR)/lib$(NAME) +THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME) + +all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME) +all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME) + +$(SUBDIR)%-test.o: $(SUBDIR)%-test.c + $(COMPILE_C) + +$(SUBDIR)%-test.o: $(SUBDIR)%.c + $(COMPILE_C) + +$(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm + $(YASMDEP) $(YASMFLAGS) -I $( $(@:.o=.d) + $(YASM) $(YASMFLAGS) -I $(