xenocara/lib/expat/Makefile
bernd 74ce17ab9b Bump expat major library version number and build the xmlwf tool.
Preparation for the expat removal from ports.

help & ok matthieu@ and sturm@
2007-04-26 11:55:28 +00:00

37 lines
872 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/04/26 11:55:28 bernd Exp $
# $OpenBSD: Makefile,v 1.6 2007/04/26 11:55:28 bernd Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}
LIB= expat
SRCS= xmlparse.c xmltok.c xmlrole.c
CFLAGS+= -I${.CURDIR}
CPPFLAGS+= -DHAVE_EXPAT_CONFIG_H
DEBUG?=
SUBDIR= xmlwf
test:
@echo "dist $(DIST)/lib"
includes:
@cmp -s ${DESTDIR}${X11BASE}/include/expat.h \
${DIST}/lib/expat.h || \
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
${DIST}/lib/expat.h ${DESTDIR}${X11BASE}/include/expat.h
@cmp -s ${DESTDIR}${X11BASE}/include/expat_external.h \
${DIST}/lib/expat_external.h || \
${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \
${DIST}/lib/expat_external.h \
${DESTDIR}${X11BASE}/include/expat_external.h
obj: _xenocara_obj
NOPROFILE=
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.PATH: ${DIST}/lib