diff options
author | ru <ru@FreeBSD.org> | 2001-12-17 13:59:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-12-17 13:59:35 +0000 |
commit | bbef88e1a5535074053d60fa0fa2b5832f7de5ea (patch) | |
tree | 7fd7e5683e347709f8bd623688bd94074689c72a /include/Makefile | |
parent | 650091c3142d295b29e3809e946f4d064cc805a4 (diff) | |
download | FreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.zip FreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.tar.gz |
FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from: NetBSD
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/Makefile b/include/Makefile index 0db783f..f991f3f 100644 --- a/include/Makefile +++ b/include/Makefile @@ -8,7 +8,7 @@ CLEANFILES= osreldate.h version vers.c SUBDIR= rpcsvc rpc -FILES= a.out.h ar.h assert.h bitstring.h complex.h ctype.h db.h \ +HDRS= a.out.h ar.h assert.h bitstring.h complex.h ctype.h db.h \ dirent.h disktab.h \ dlfcn.h elf.h elf-hints.h err.h fnmatch.h fstab.h \ fts.h glob.h grp.h \ @@ -22,21 +22,21 @@ FILES= a.out.h ar.h assert.h bitstring.h complex.h ctype.h db.h \ string.h stringlist.h strings.h sysexits.h tar.h time.h timers.h \ ttyent.h unistd.h utime.h utmp.h vis.h wchar.h wctype.h -ARPAFILES= ftp.h inet.h nameser.h nameser_compat.h telnet.h tftp.h +ARPAHDRS= ftp.h inet.h nameser.h nameser_compat.h telnet.h tftp.h -PROTOFILES= dumprestore.h routed.h rwhod.h talkd.h timed.h +PROTOHDRS= dumprestore.h routed.h rwhod.h talkd.h timed.h -NETSMBFILES= nb_lib.h smb_lib.h smb_rap.h +NETSMBHDRS= nb_lib.h smb_lib.h smb_rap.h -MFILES= float.h floatingpoint.h stdarg.h varargs.h +MHDRS= float.h floatingpoint.h stdarg.h varargs.h # posix4/aio.h conflicts with dysons and isn't installed: -PFILES= mqueue.h sched.h semaphore.h # aio.h +PHDRS= mqueue.h sched.h semaphore.h # aio.h # Only for default SHARED=copies case -SFILES= soundcard.h joystick.h +SHDRS= soundcard.h joystick.h -LFILES= aio.h errno.h fcntl.h linker_set.h poll.h stdint.h syslog.h \ +LHDRS= aio.h errno.h fcntl.h linker_set.h poll.h stdint.h syslog.h \ termios.h ucontext.h LDIRS= cam net netatalk netatm netgraph netinet netinet6 \ @@ -80,23 +80,23 @@ beforeinstall: ${SHARED} @rm -f ${DESTDIR}/usr/include/timepps.h cd ${.CURDIR}; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${FILES} ${DESTDIR}/usr/include + ${HDRS} ${DESTDIR}/usr/include cd ${.CURDIR}/arpa; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${ARPAFILES} ${DESTDIR}/usr/include/arpa + ${ARPAHDRS} ${DESTDIR}/usr/include/arpa cd ${.CURDIR}/protocols; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${PROTOFILES} ${DESTDIR}/usr/include/protocols + ${PROTOHDRS} ${DESTDIR}/usr/include/protocols ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${.OBJDIR}/osreldate.h \ ${DESTDIR}/usr/include -.for i in ${LFILES} +.for i in ${LHDRS} ln -sf sys/$i ${DESTDIR}/usr/include/$i .endfor -.for i in ${MFILES} +.for i in ${MHDRS} ln -sf machine/$i ${DESTDIR}/usr/include/$i .endfor -.for i in ${PFILES} +.for i in ${PHDRS} ln -sf posix4/$i ${DESTDIR}/usr/include/$i .endfor @@ -120,7 +120,7 @@ copies: .endif .if exists(${.CURDIR}/../sys/contrib/netsmb/include/netsmb) cd ${.CURDIR}/../sys/contrib/netsmb/include/netsmb; \ - ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${NETSMBFILES} \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${NETSMBHDRS} \ ${DESTDIR}/usr/include/netsmb .endif .if exists(${.CURDIR}/../sys/security/lomac) @@ -133,7 +133,7 @@ copies: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}/usr/include/machine .endif -.for i in ${SFILES} +.for i in ${SHDRS} ln -sf ../sys/$i ${DESTDIR}/usr/include/machine/$i .endfor |