xref: /freebsd/lib/libexpat/Makefile (revision 4e07a41bac716f719e96e7c9806ffab5583dd08f)
14e07a41bSPoul-Henning Kamp# $FreeBSD$
24e07a41bSPoul-Henning Kamp
34e07a41bSPoul-Henning KampEXPAT=	${.CURDIR}/../../contrib/expat
44e07a41bSPoul-Henning Kamp
54e07a41bSPoul-Henning Kamp# Please use the same SHLIB_MAJOR as for the corresponding expat
64e07a41bSPoul-Henning Kamp# version in ports, as long as this is applicable.
74e07a41bSPoul-Henning Kamp
84e07a41bSPoul-Henning KampSHLIB_MAJOR=	4
94e07a41bSPoul-Henning Kamp
104e07a41bSPoul-Henning KampLIB=	expat
114e07a41bSPoul-Henning Kamp
124e07a41bSPoul-Henning Kamp.PATH:	${EXPAT}/lib
134e07a41bSPoul-Henning Kamp
144e07a41bSPoul-Henning KampCFLAGS += -I${EXPAT}/lib -I${EXPAT} -I${.CURDIR}
154e07a41bSPoul-Henning Kamp
164e07a41bSPoul-Henning KampSRCS=	xmlparse.c xmlrole.c xmltok.c
174e07a41bSPoul-Henning Kamp
184e07a41bSPoul-Henning KampINCS=	expat.h
194e07a41bSPoul-Henning Kamp
204e07a41bSPoul-Henning Kamp.include <bsd.lib.mk>
21