1# $FreeBSD$ 2 3PROG= slc 4NO_MAN= 5 6SRCS= get_window_size.c \ 7 getarg.c \ 8 roken.h \ 9 slc-gram.y \ 10 slc-lex.l \ 11 slc.h \ 12 strupr.c 13 14SRCS+= print_version.c \ 15 print_version.h 16 17CFLAGS+=-I${KRB5DIR}/lib/roken -I${KRB5DIR}/lib/sl -I${KRB5DIR}/lib/vers -I. 18 19CLEANFILES= print_version.h roken.h 20 21print_version.h: ../make-print-version/make-print-version 22 ../make-print-version/make-print-version ${.TARGET} 23 24../make-print-version/make-print-version: .PHONY 25 cd ${.CURDIR}/../make-print-version && ${MAKE} 26 27roken.h: ../make-roken/make-roken 28 ../make-roken/make-roken > ${.TARGET} 29 30../make-roken/make-roken: .PHONY 31 cd ${.CURDIR}/../make-roken && ${MAKE} 32 33.include <bsd.prog.mk> 34 35.PATH: ${KRB5DIR}/lib/vers ${KRB5DIR}/lib/roken ${KRB5DIR}/lib/sl 36