1# $FreeBSD: head/lib/libexpat/Makefile 104453 2002-10-04 11:20:18Z phk $
| 1# $FreeBSD: head/lib/libexpat/Makefile 104461 2002-10-04 15:06:44Z ru $
|
2
| 2
|
3EXPAT= ${.CURDIR}/../../contrib/expat
| 3EXPAT= ${.CURDIR}/../../contrib/expat
|
4
| 4
|
5SHLIB_MAJOR= 1 6
| |
7LIB= bsdxml
| 5LIB= bsdxml
|
8
| 6SHLIB_MAJOR= 1
|
9SRCS= xmlparse.c xmlrole.c xmltok.c 10INCS= bsdxml.h 11MAN= libbsdxml.3 12 13.PATH: ${EXPAT}/lib 14
| 7SRCS= xmlparse.c xmlrole.c xmltok.c 8INCS= bsdxml.h 9MAN= libbsdxml.3 10 11.PATH: ${EXPAT}/lib 12
|
15CFLAGS += -I${EXPAT}/lib -I${EXPAT} -I${.CURDIR} 16CLEANFILES+= bsdxml.h
| 13CFLAGS+= -I${.CURDIR} 14CLEANFILES= bsdxml.h
|
17
| 15
|
18#
| |
19# OK, so it is not entirely unadultered: we ammend the COPYING 20# to point people to the right place, get rid of some VMS stuff 21# and use FreeBSD style indempotency #ifndefs. 22#
| 16# OK, so it is not entirely unadultered: we ammend the COPYING 17# to point people to the right place, get rid of some VMS stuff 18# and use FreeBSD style indempotency #ifndefs. 19#
|
23bsdxml.h: expat.h
| 20bsdxml.h: expat.h
|
24 unifdef -U__VMS < ${.ALLSRC} | \ 25 sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \ 26 -e 's/COPYING/src\/contrib\/expat\/COPYING/' \ 27 > ${.TARGET} 28 29.include <bsd.lib.mk>
| 21 unifdef -U__VMS < ${.ALLSRC} | \ 22 sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \ 23 -e 's/COPYING/src\/contrib\/expat\/COPYING/' \ 24 > ${.TARGET} 25 26.include <bsd.lib.mk>
|
30
| |
| |