Makefile revision 169807
1104352Sphk# $FreeBSD: head/lib/libexpat/Makefile 169807 2007-05-21 02:49:08Z deischen $ 2104352Sphk 3104461SruEXPAT= ${.CURDIR}/../../contrib/expat 4104352Sphk 5104461SruLIB= bsdxml 6119017SgordonSHLIBDIR?= /lib 7169807SdeischenSHLIB_MAJOR= 3 8104453SphkSRCS= xmlparse.c xmlrole.c xmltok.c 9104453SphkINCS= bsdxml.h 10104453SphkMAN= libbsdxml.3 11104352Sphk 12104453Sphk.PATH: ${EXPAT}/lib 13104352Sphk 14104461SruCFLAGS+= -I${.CURDIR} 15104461SruCLEANFILES= bsdxml.h 16104352Sphk 17104453Sphk# OK, so it is not entirely unadultered: we ammend the COPYING 18104453Sphk# to point people to the right place, get rid of some VMS stuff 19104453Sphk# and use FreeBSD style indempotency #ifndefs. 20104453Sphk# 21104461Srubsdxml.h: expat.h 22104453Sphk unifdef -U__VMS < ${.ALLSRC} | \ 23104453Sphk sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \ 24104453Sphk -e 's/COPYING/src\/contrib\/expat\/COPYING/' \ 25104453Sphk > ${.TARGET} 26104352Sphk 27104453Sphk.include <bsd.lib.mk> 28