386BSD 0.1 development
[unix-history] / usr / src / usr.bin / calendar / Makefile
index 887dbfd..b02a30b 100644 (file)
@@ -1,41 +1,9 @@
-#
-# Copyright (c) 1987 Regents of the University of California.
-# All rights reserved.  The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-#      @(#)Makefile    4.3     (Berkeley)      6/19/87
-#
-CFLAGS=        -O
-LIBC=  /lib/libc.a
-SRCS=  calendar.c
-OBJS=  calendar.o
+#      @(#)Makefile    4.8 (Berkeley) 5/11/90
 
 
-all: calendar
+PROG=  calendar
 
 
-calendar: calendar.c ${LIBC}
-       ${CC} ${CFLAGS} -o $@ calendar.c
+beforeinstall:
+       install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
+           ${.CURDIR}/calendars/calendar.* ${DESTDIR}/usr/share/calendar
 
 
-clean: FRC
-       rm -f ${OBJS} core calendar
-
-depend: FRC
-       mkdep -p ${CFLAGS} ${SRCS}
-
-install: FRC
-       install -s -o bin -g bin -m 755 calendar ${DESTDIR}/usr/lib
-       install -c -o bin -g bin -m 755 calendar.sh ${DESTDIR}/usr/bin/calendar
-
-lint: FRC
-       lint ${CFLAGS} ${SRCS}
-
-tags: FRC
-       ctags ${SRCS}
-
-FRC:
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-calendar: calendar.c /usr/include/sys/time.h /usr/include/time.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+.include <bsd.prog.mk>