Makefile (9b3ece1c2eb92a881cb2553271e123382bfe31c1) | Makefile (24c14ab87e922c9e6a375aede121b176a47ce631) |
---|---|
1# $FreeBSD$ 2 3PACKAGE=lib${LIB} 4EXPAT= ${SRCTOP}/contrib/expat 5 6LIB= bsdxml 7SHLIBDIR?= /lib 8SHLIB_MAJOR= 4 --- 4 unchanged lines hidden (view full) --- 13.PATH: ${EXPAT}/lib 14 15CFLAGS+= -I${.CURDIR} -DHAVE_EXPAT_CONFIG_H 16CLEANFILES= bsdxml.h bsdxml_external.h 17 18WARNS?= 2 19 20# OK, so it is not entirely unadulterated: we amend the COPYING to | 1# $FreeBSD$ 2 3PACKAGE=lib${LIB} 4EXPAT= ${SRCTOP}/contrib/expat 5 6LIB= bsdxml 7SHLIBDIR?= /lib 8SHLIB_MAJOR= 4 --- 4 unchanged lines hidden (view full) --- 13.PATH: ${EXPAT}/lib 14 15CFLAGS+= -I${.CURDIR} -DHAVE_EXPAT_CONFIG_H 16CLEANFILES= bsdxml.h bsdxml_external.h 17 18WARNS?= 2 19 20# OK, so it is not entirely unadulterated: we amend the COPYING to |
21# point people to the right place, get rid of some VMS stuff and use 22# FreeBSD-style include guards. We also want to point it at the new 23# bsdxml_external.h rather than the old expat_external.h file. | 21# point people to the right place and use FreeBSD-style include guards. 22# We also want to point it at the new bsdxml_external.h rather than the 23# old expat_external.h file. |
24bsdxml.h: expat.h | 24bsdxml.h: expat.h |
25 unifdef -U__VMS < ${.ALLSRC} | \ | |
26 sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \ 27 -e 's/COPYING/src\/contrib\/expat\/COPYING/' \ | 25 sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \ 26 -e 's/COPYING/src\/contrib\/expat\/COPYING/' \ |
28 -e 's/expat_external/bsdxml_external/' \ | 27 -e 's/expat_external/bsdxml_external/' ${.ALLSRC} \ |
29 > ${.TARGET} 30 31bsdxml_external.h: expat_external.h 32 ${CP} ${.ALLSRC} ${.TARGET} 33 34.include <bsd.lib.mk> | 28 > ${.TARGET} 29 30bsdxml_external.h: expat_external.h 31 ${CP} ${.ALLSRC} ${.TARGET} 32 33.include <bsd.lib.mk> |