blob: 2c3e31069a922a75cc4a4e4dcae272b4e32f9478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $OpenBSD: Makefile,v 1.3 2006/11/29 18:03:09 matthieu Exp $
# $OpenBSD: Makefile,v 1.3 2006/11/29 18:03:09 matthieu Exp $
.include <bsd.own.mk>
DIST= ${.CURDIR}
LIB= expat
SRCS= xmlparse.c xmltok.c xmlrole.c
CFLAGS+= -I${.CURDIR}
CPPFLAGS+= -DHAVE_EXPAT_CONFIG_H
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
NOPROFILE=
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.PATH: ${DIST}/lib
|