summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 15:24:33 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-07-16 15:24:33 +0000
commit42c13f4acdd1e9f6a6cbdd88cb76006768d7ff6a (patch)
treebf885d11f5a376cfa0e7604ff18cc9f058c13745 /Makefile
parent16013c560e189bd0c4fb58e038c0f449542dba7a (diff)
downloadskalibs-42c13f4acdd1e9f6a6cbdd88cb76006768d7ff6a.tar.xz
Change setgroups() management, in particular add skalibs_setgroups()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index a7f9ba0..3d09770 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,7 @@ src/include/$(package)/uint32.h \
src/include/$(package)/uint64.h \
src/include/$(package)/types.h \
src/include/$(package)/error.h \
-src/include/$(package)/ip46.h \
-src/include/$(package)/setgroups.h
+src/include/$(package)/ip46.h
ALL_INCLUDES := $(sort $(BUILT_INCLUDES) $(wildcard src/include/$(package)/*.h))
ALL_SYSDEPS := $(wildcard $(sysdeps)/*)
ALL_DATA := $(wildcard src/etc/*)
@@ -167,12 +166,3 @@ src/include/$(package)/ip46.h: src/include/$(package)/fmtscan.h src/include/$(pa
fi ; \
exec cat src/headers/ip46-footer ; \
} > $@
-
-src/include/$(package)/setgroups.h: $(sysdeps)/sysdeps src/headers/setgroups-header src/headers/setgroups-footer src/headers/setgroups-stub
- @{ \
- cat src/headers/setgroups-header ; \
- if grep -qF 'setgroups: yes' $(sysdeps)/sysdeps ; then : ; \
- else cat src/headers/setgroups-stub ; \
- fi ; \
- exec cat src/headers/setgroups-footer ; \
- } > $@