Home | History | Annotate | Line # | Download | only in slc
Makefile revision 1.3.24.1
      1  1.3.24.1    snj # $NetBSD: Makefile,v 1.3.24.1 2017/08/20 05:46:50 snj Exp $
      2       1.1  elric 
      3       1.1  elric NOMAN=		# defined
      4       1.1  elric 
      5       1.1  elric .include <bsd.own.mk>
      6       1.1  elric .include <${.CURDIR}/../../../Makefile.inc>
      7       1.1  elric 
      8       1.1  elric .PATH:		${HEIMDIST}/lib/sl ${HEIMDIST}/lib/roken ${HEIMDIST}/lib/vers
      9       1.1  elric 
     10       1.1  elric PROG=slc
     11       1.1  elric 
     12       1.1  elric SRCS+=	slc-gram.y slc-lex.l getarg.c rand.c get_window_size.c \
     13       1.1  elric 	strupr.c print_version.c
     14       1.1  elric 
     15       1.1  elric YHEADER=	# defined
     16       1.1  elric 
     17       1.1  elric HOST_CPPFLAGS+= -I.			\
     18       1.1  elric 	-I${HEIMBASE}/include		\
     19       1.1  elric 	-I${HEIMBASE}/include/krb5	\
     20       1.1  elric 	-I${HEIMDIST}/lib/sl		\
     21       1.1  elric 	-I${HEIMDIST}/lib/roken		\
     22       1.1  elric 	-I${HEIMDIST}/lib/vers		\
     23       1.1  elric 	-DHAVE_CONFIG_H
     24       1.1  elric 
     25       1.1  elric DPSRCS=		print_version.h
     26       1.1  elric 
     27       1.1  elric make-print-version.lo: ${HEIMBASE}/include/version.h
     28       1.1  elric 
     29       1.1  elric make-print-version: make-print-version.lo
     30       1.1  elric 	${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
     31       1.1  elric 
     32       1.1  elric print_version.h: make-print-version
     33       1.1  elric 	./make-print-version print_version.h
     34       1.1  elric 
     35       1.1  elric .NOPATH: print_version.h make-print-version
     36       1.1  elric 
     37       1.2  elric beforedepend:
     38       1.1  elric 	[ -h krb5 ] || ln -sf . krb5
     39       1.1  elric 	ln -sf ${HEIMBASE}/include/roken.h
     40  1.3.24.1    snj 	ln -sf ${HEIMBASE}/include/krb5-types.h
     41       1.1  elric 	ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h
     42       1.1  elric 	ln -sf ${HEIMBASE}/dist/lib/roken/getarg.h
     43       1.1  elric 
     44  1.3.24.1    snj CLEANFILES+=	krb5 roken.h krb5-types.h roken-common.h	\
     45  1.3.24.1    snj 		getarg.h print_version.h make-print-version	\
     46       1.1  elric 		make-print-version.lo
     47       1.1  elric 
     48       1.1  elric # HOSTPROG will be set already if this is a src/tools build.
     49       1.1  elric .ifndef HOSTPROG
     50       1.1  elric HOSTPROG=	${PROG}
     51       1.1  elric .include <bsd.hostprog.mk>
     52       1.1  elric .endif
     53