aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-26 14:35:46 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-26 14:35:46 +0000
commitceaae4f5513d1ba72952047807f172b53bf723ee (patch)
tree9d678840463057b24202469fba30d3443e5a004e
parent688cf98ff05fb666be111a03b5e819d6f7cd272e (diff)
downloadnsss-ceaae4f5513d1ba72952047807f172b53bf723ee.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