diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 14:01:39 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 03:06:02 -0400 |
commit | defe80ad2da4697f293c6b9188a45af3676a708b (patch) | |
tree | 18b3362b3c1f5bf56de9ef9298df5826be1ceaf2 | |
parent | 072ce8d5ac74c601ecbe600dcd554624199ed04f (diff) | |
download | ntapi-defe80ad2da4697f293c6b9188a45af3676a708b.tar.bz2 ntapi-defe80ad2da4697f293c6b9188a45af3676a708b.tar.xz |
build system: remove erroneous build-time references to LIBDIR.
-rw-r--r-- | Makefile.in | 10 | ||||
-rw-r--r-- | project/defs.mk | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 7855603..f878ab7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,16 +74,16 @@ include $(PROJECT_DIR)/project/overrides.mk -src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag +src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag dirs.tag $(CC) -c -o $@ $< $(CFLAGS_SHARED) -src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag +src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag dirs.tag $(CC) -c -o $@ $< $(CFLAGS_STATIC) -$(LIBDIR)/%$(OS_LIB_SUFFIX): +lib/%$(OS_LIB_SUFFIX): $(LD) -shared -o $@ $^ $(LDFLAGS_SHARED) -$(LIBDIR)/%$(OS_ARCHIVE_EXT): +lib/%$(OS_ARCHIVE_EXT): rm -f $@ $(AR) rcs $@ $^ @@ -142,7 +142,7 @@ $(STATIC_LIB): $(STATIC_OBJS) dirs: dirs.tag tree.tag dirs.tag: - mkdir -p $(LIBDIR) + mkdir -p lib touch dirs.tag host.tag: Makefile diff --git a/project/defs.mk b/project/defs.mk index 1f352be..b91ed07 100644 --- a/project/defs.mk +++ b/project/defs.mk @@ -11,9 +11,9 @@ ARCH_OBJS = $(ARCH_SRCS:.c=.o) SHARED_OBJS = $(COMMON_LOBJS) $(ARCH_LOBJS) STATIC_OBJS = $(COMMON_OBJS) $(ARCH_OBJS) -SHARED_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX) -STATIC_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) -SHARED_IMPLIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT) +SHARED_LIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX) +STATIC_LIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) +SHARED_IMPLIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT) CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \ $(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \ |