summaryrefslogtreecommitdiffstats
path: root/lib/libcalendar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcalendar/Makefile')
-rw-r--r--lib/libcalendar/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/libcalendar/Makefile b/lib/libcalendar/Makefile
new file mode 100644
index 0000000..fe41148
--- /dev/null
+++ b/lib/libcalendar/Makefile
@@ -0,0 +1,20 @@
+# $Id$
+
+LIB= calendar
+
+SRCS= calendar.c easter.c
+
+MAN3= calendar.3
+
+MLINKS= calendar.3 easterg.3 calendar.3 easterj.3 \
+ calendar.3 gdate.3 calendar.3 jdate.3 \
+ calendar.3 ndaysg.3 calendar.3 ndaysj.3 \
+ calendar.3 week.3 calendar.3 weekday.3
+
+CFLAGS+=-I. -I${.CURDIR} -Wall
+
+beforeinstall:
+ ${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/calendar.h \
+ ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud