mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
a84020c2b9
been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
28 lines
599 B
Makefile
28 lines
599 B
Makefile
# $FreeBSD$
|
|
|
|
EXPAT= ${.CURDIR}/../../contrib/expat
|
|
|
|
LIB= bsdxml
|
|
SHLIBDIR?= /lib
|
|
SHLIB_MAJOR= 2
|
|
SRCS= xmlparse.c xmlrole.c xmltok.c
|
|
INCS= bsdxml.h
|
|
MAN= libbsdxml.3
|
|
|
|
.PATH: ${EXPAT}/lib
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
CLEANFILES= bsdxml.h
|
|
|
|
# OK, so it is not entirely unadultered: we ammend the COPYING
|
|
# to point people to the right place, get rid of some VMS stuff
|
|
# and use FreeBSD style indempotency #ifndefs.
|
|
#
|
|
bsdxml.h: expat.h
|
|
unifdef -U__VMS < ${.ALLSRC} | \
|
|
sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \
|
|
-e 's/COPYING/src\/contrib\/expat\/COPYING/' \
|
|
> ${.TARGET}
|
|
|
|
.include <bsd.lib.mk>
|