summaryrefslogtreecommitdiff
path: root/package/targets.mak
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 00:01:35 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-16 00:01:35 +0000
commit964144b5207efc540c68aa1ae2b74626f3d59ac6 (patch)
treeff368c2b0fcbd5834a11bc6ee02443086a794313 /package/targets.mak
parente0fc82203d677a6f1e808e9a1a46176c109d89be (diff)
downloads6-networking-964144b5207efc540c68aa1ae2b74626f3d59ac6.tar.xz
Fix include order in Makefile
Diffstat (limited to 'package/targets.mak')
-rw-r--r--package/targets.mak14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/targets.mak b/package/targets.mak
index 2125f4e..4d1654c 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -1,4 +1,4 @@
-BIN_TARGETS = \
+BIN_TARGETS := \
s6-connlimit \
s6-getservbyname \
s6-ioconnect \
@@ -24,13 +24,15 @@ s6-taiclock \
s6-taiclockd \
minidentd
-LIBEXEC_TARGETS =
+LIBEXEC_TARGETS :=
-SHARED_LIBS = \
-libs6net.so
+ifdef DO_SHARED
+SHARED_LIBS := libs6net.so
+endif
-STATIC_LIBS = \
-libs6net.a
+ifdef DO_STATIC
+STATIC_LIBS := libs6net.a
+endif
src/minidentd/mgetuid.c: src/minidentd/mgetuid-linux.c src/minidentd/mgetuid-default.c
if grep -iF -- -linux- $(sysdeps)/target ; then \