Style.
Approved by: phk
This commit is contained in:
parent
80047e95cf
commit
a1c8598e38
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104461
@ -1,30 +1,26 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
EXPAT= ${.CURDIR}/../../contrib/expat
|
EXPAT= ${.CURDIR}/../../contrib/expat
|
||||||
|
|
||||||
SHLIB_MAJOR= 1
|
|
||||||
|
|
||||||
LIB= bsdxml
|
LIB= bsdxml
|
||||||
|
SHLIB_MAJOR= 1
|
||||||
SRCS= xmlparse.c xmlrole.c xmltok.c
|
SRCS= xmlparse.c xmlrole.c xmltok.c
|
||||||
INCS= bsdxml.h
|
INCS= bsdxml.h
|
||||||
MAN= libbsdxml.3
|
MAN= libbsdxml.3
|
||||||
|
|
||||||
.PATH: ${EXPAT}/lib
|
.PATH: ${EXPAT}/lib
|
||||||
|
|
||||||
CFLAGS += -I${EXPAT}/lib -I${EXPAT} -I${.CURDIR}
|
CFLAGS+= -I${.CURDIR}
|
||||||
CLEANFILES+= bsdxml.h
|
CLEANFILES= bsdxml.h
|
||||||
|
|
||||||
#
|
|
||||||
# OK, so it is not entirely unadultered: we ammend the COPYING
|
# OK, so it is not entirely unadultered: we ammend the COPYING
|
||||||
# to point people to the right place, get rid of some VMS stuff
|
# to point people to the right place, get rid of some VMS stuff
|
||||||
# and use FreeBSD style indempotency #ifndefs.
|
# and use FreeBSD style indempotency #ifndefs.
|
||||||
#
|
#
|
||||||
bsdxml.h: expat.h
|
bsdxml.h: expat.h
|
||||||
unifdef -U__VMS < ${.ALLSRC} | \
|
unifdef -U__VMS < ${.ALLSRC} | \
|
||||||
sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \
|
sed -e 's/XmlParse_INCLUDED/_BSD_XML_H_/' \
|
||||||
-e 's/COPYING/src\/contrib\/expat\/COPYING/' \
|
-e 's/COPYING/src\/contrib\/expat\/COPYING/' \
|
||||||
> ${.TARGET}
|
> ${.TARGET}
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user