summaryrefslogtreecommitdiffstats
path: root/kerberos5/tools/slc/Makefile
blob: 638862842793ee2c73a86a6a6d29afd9608b88e1 (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
32
33
34
# $FreeBSD$

PROG=	slc
NO_MAN=

SRCS=	get_window_size.c \
	getarg.c \
	slc-gram.y \
	slc-lex.l \
	slc.h \
	strupr.c

SRCS+=	print_version.c \
	print_version.h

CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I${KRB5DIR}/lib/vers -I.

CLEANFILES= print_version.h roken.h

print_version.h: ../make-print-version/make-print-version
	../make-print-version/make-print-version ${.TARGET}

../make-print-version/make-print-version: .PHONY
	cd ${.CURDIR}/../make-print-version && ${MAKE}

roken.h: ../make-roken/make-roken
	../make-roken/make-roken > ${.TARGET}

../make-roken/make-roken: .PHONY
	cd ${.CURDIR}/../make-roken && ${MAKE}

.include <bsd.prog.mk>

.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/sl
OpenPOWER on IntegriCloud