summaryrefslogtreecommitdiffstats
path: root/gnu/usr.sbin/isdn/misc/Makefile
blob: 16b1e953075f5d27f52c4748e4cf7612084786cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CFLAGS+=	-DBSD -O

ETCFILES = isdn.ip remote isdn.itt ttys
CLEANFILES+=	tst stime *.o

all:		tst stime

tst:		tst.c
		${CC} $(CFLAGS) -o tst tst.c

stime:		stime.c
		${CC} $(CFLAGS) -o stime stime.c

install: all
		${INSTALL} ${COPY} tst ${BINDIR}/isdn_test
		${INSTALL} ${COPY} stime ${BINDIR}/isdn_stime
		${INSTALL} -c -m 755 setnic.sh ${LIBDIR}/setnic
		${INSTALL} -c -m 755 sisdn.sh ${LIBDIR}/sisdn.example
		${INSTALL} -c ${ETCFILES} ${LIBDIR}

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud