summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-10-23 23:04:42 +0200
committerGuillem Jover <guillem@hadrons.org>2009-10-24 01:47:22 +0200
commitd3e14ea99e39a2916928afc50a7cf29e152dcb75 (patch)
treefffd4946870e90db8f100f92614b8ea2f217ea28 /Makefile
parente51be45c4086dcf9e533899cf2ca4e9250773a2d (diff)
downloadlibbsd-d3e14ea99e39a2916928afc50a7cf29e152dcb75.tar.gz
Move <bsd/cdefs.h> to <bsd/sys/cdefs.h>
This maps more closely the location of the real header. For transitional purposes keep a <bsd/cdefs.h> that warns and includes <bsd/sys/cdefs.h>.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 46fd0c1..82b9570 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,8 @@ LIB_GEN_SRCS := \
src/hash/md5hl.c
LIB_INCLUDES := \
+ bsd/cdefs.h \
+ bsd/sys/cdefs.h \
bsd/err.h \
bsd/getopt.h \
bsd/inet.h \
@@ -53,7 +55,6 @@ LIB_INCLUDES := \
bsd/md5.h \
bsd/string.h \
bsd/bsd.h \
- bsd/cdefs.h \
bsd/stdlib.h \
nlist.h \
vis.h \
@@ -150,6 +151,7 @@ install: libs man
mkdir -p $(DESTDIR)$(libdir)
mkdir -p $(DESTDIR)$(usrlibdir)
mkdir -p $(DESTDIR)$(includedir)/bsd/
+ mkdir -p $(DESTDIR)$(includedir)/bsd/sys/
mkdir -p $(DESTDIR)$(mandir)/man3
mkdir -p $(DESTDIR)$(pkgconfigdir)
install -m644 $(LIB_STATIC) $(DESTDIR)$(usrlibdir)