aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-26 14:35:37 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-26 14:35:37 +0000
commit35455ce407b20a40d58f48b1d1ad61cd1be6241a (patch)
tree952ad08c83ebfb267f21fbe9876bbfa3a2303a9f
parentad8d999a73df7a6ddbe6a7c33d588c66140c9028 (diff)
downloadutmps-35455ce407b20a40d58f48b1d1ad61cd1be6241a.tar.gz
Next iteration
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c7d2133..a8af4b4 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,9 @@ LIB_DEFS :=
BIN_SYMLINKS :=
TEST_BINS :=
+-include config.mak
+include package/targets.mak
+
define library_definition
LIB$(1) := lib$(2).$(if $(DO_ALLSTATIC),a,$(SHLIB_EXT)).xyzzy
ifdef DO_SHARED
@@ -67,9 +70,6 @@ $(DESTDIR)$(1)/$(2): $(DESTDIR)$(1)/$(SYMLINK_TARGET_$(2))
exec $(INSTALL) -l $$(<F) $$@
endef
--include config.mak
-include package/targets.mak
-
$(foreach var,$(LIB_DEFS),$(eval $(call library_definition,$(firstword $(subst =, ,$(var))),$(lastword $(subst =, ,$(var))))))
include package/deps.mak