[svn-commits] fjoe: freebsd/trunk r10297 - /freebsd/trunk/freebsd/dahdi/Makefile
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Nov 2 07:48:07 CDT 2011
Author: fjoe
Date: Wed Nov 2 07:48:03 2011
New Revision: 10297
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10297
Log:
Add separate "install-headers" target to install only userland headers.
Modified:
freebsd/trunk/freebsd/dahdi/Makefile
Modified: freebsd/trunk/freebsd/dahdi/Makefile
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/freebsd/dahdi/Makefile?view=diff&rev=10297&r1=10296&r2=10297
==============================================================================
--- freebsd/trunk/freebsd/dahdi/Makefile (original)
+++ freebsd/trunk/freebsd/dahdi/Makefile Wed Nov 2 07:48:03 2011
@@ -3,9 +3,12 @@
.PATH: ${.CURDIR}/../../drivers/dahdi
KMOD= dahdi
-SRCS= dahdi-base.c bsd-compat.c version.h
+SRCS= dahdi-base.c #ng_dahdi_iface.c
+SRCS+= bsd-compat.c
+SRCS+= version.h
SRCS+= device_if.h bus_if.h pci_if.h
CLEANFILES= version.h
+CFLAGS+= -I${.CURDIR}
INCS= user.h wctdm_user.h compat/types.h
DAHDIVERSION!= ${.CURDIR}/../../build_tools/make_version ${.CURDIR}/../.. dahdi/freebsd
@@ -14,7 +17,9 @@
@if ! cmp -s ${.TARGET}.tmp ${.TARGET}; then echo "Updating ${.TARGET}"; mv ${.TARGET}.tmp ${.TARGET}; fi
@rm -f ${.TARGET}.tmp
-afterinstall:
+afterinstall: install-headers
+
+install-headers:
${MKDIR} ${PREFIX}/include/dahdi/compat
.for _h in ${INCS}
${INSTALL_DATA} ${INCLUDEDIR}/dahdi/${_h} ${PREFIX}/include/dahdi/${_h:H}
More information about the svn-commits
mailing list