summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-03-27 15:40:36 +0200
committerUlf Hermann <[email protected]>2017-05-03 14:19:10 +0000
commit76a4fb05b6651e53086c14a9de09b11069dc89d8 (patch)
tree824b29056868c8ff1a2d91d574abb2eccfbef88f /lib
parent8472c0c3f4fde2a62cb3dfe75b10ee2e6dcf8991 (diff)
Add fake features.h for win32
gnulib #defines all the types we need from it, so it is empty. We still need it because other files #include it. Change-Id: I0bb4ee71bcb3e983b41f640c12ef5b9f09b6b03c Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 87a922ae..afff7176 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -46,10 +46,16 @@ xmalloc_CFLAGS = -ffunction-sections
endif
if SELFCONTAINED
-install: install-am features.h.in
+install-headers: install-am features.h.in
$(mkinstalldirs) $(DESTDIR)$(includedir)
$(INSTALL_HEADER) $(top_srcdir)/lib/features.h.in $(DESTDIR)$(includedir)/features.h
-uninstall: uninstall-am
+uninstall-headers: uninstall-am
rm -f $(DESTDIR)$(includedir)/features.h
+else
+install-headers:
+uninstall-headers:
endif
+
+install: install-am install-headers
+uninstall: uninstall-am uninstall-headers