30 lines
811 B
Makefile
30 lines
811 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= roken
|
|
CFLAGS+= -I${KRB4DIR}/include \
|
|
-I${INCLUDEOBJDIR} \
|
|
-I${KRB4DIR}/lib/roken \
|
|
-I${.OBJDIR}
|
|
SRCS= base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c \
|
|
ewrite.c get_default_username.c get_window_size.c getarg.c \
|
|
inaddr2str.c issuid.c k_getpwnam.c k_getpwuid.c mini_inetd.c \
|
|
net_read.c net_write.c parse_time.c parse_units.c \
|
|
print_version.c resolve.c roken_gethostby.c warnerr.c \
|
|
strcat_truncate.c strcpy_truncate.c signal.c simple_exec.c \
|
|
strupr.c tm2time.c print_version.h
|
|
NOPIC= yes
|
|
|
|
install:
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${KRB4DIR}/lib/roken
|
|
|
|
print_version.h: make-print-version
|
|
./make-print-version print_version.h
|
|
|
|
make-print-version: make-print-version.c
|
|
${CC} ${CFLAGS} -o ${.TARGET} ${.OODATE}
|
|
|
|
CLEANFILES+= make-print-version print_version.h
|