From e732a34ca21a48b24b9d61e422e48d51f536ff95 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 22 Sep 2004 21:36:55 +0000 Subject: OpenBSD infrastructure to compile simply, and install include files. --- lib/libexpat/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/libexpat/Makefile (limited to 'lib/libexpat/Makefile') diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile new file mode 100644 index 00000000000..415fb3019bd --- /dev/null +++ b/lib/libexpat/Makefile @@ -0,0 +1,12 @@ +.PATH: ${.CURDIR}/lib + +LIB= expat +SRCS= xmlparse.c xmltok.c xmlrole.c +CFLAGS+=-I${.CURDIR} + +includes: + @cmp -s ${DESTDIR}/usr/include/expat.h ${.CURDIR}/lib/expat.h || \ + ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) \ + ${.CURDIR}/lib/expat.h ${DESTDIR}/usr/include/expat.h + +.include -- cgit v1.2.3