about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-01-05 20:58:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-01-05 20:58:18 +0000
commit39893ba1cea9a460aa4e64fef2029079bfdcb966 (patch)
tree7fce3b6e56303e6c30df04b3fec0817c62d736b1 /Makefile
parent2b0ab2120becaa40b777e7c43bfa57cb0397e3a9 (diff)
downloadskalibs-39893ba1cea9a460aa4e64fef2029079bfdcb966.tar.gz
skalibs-39893ba1cea9a460aa4e64fef2029079bfdcb966.tar.xz
skalibs-39893ba1cea9a460aa4e64fef2029079bfdcb966.zip
Fix dependencies to BUILT_INCLUDES (thanks Yannick DuchĂȘne)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6292dca..7fdfffd 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,6 @@ ALL_SRCS := $(wildcard src/lib*/*.c)
 ALL_SOBJS := $(ALL_SRCS:%.c=%.o)
 ALL_DOBJS := $(ALL_SRCS:%.c=%.lo)
 ALL_LIBS := $(SHARED_LIBS) $(STATIC_LIBS)
-ALL_INCLUDES := $(wildcard src/include/$(package)/*.h)
 BUILT_INCLUDES := \
 src/include/$(package)/sysdeps.h \
 src/include/$(package)/uint16.h \
@@ -48,6 +47,7 @@ src/include/$(package)/error.h \
 src/include/$(package)/gidstuff.h \
 src/include/$(package)/ip46.h \
 src/include/$(package)/setgroups.h
+ALL_INCLUDES := $(sort $(BUILT_INCLUDES) $(wildcard src/include/$(package)/*.h))
 ALL_SYSDEPS := $(wildcard $(sysdeps)/*)
 ALL_DATA := $(wildcard src/etc/*)