1# $FreeBSD$ 2 3LIB= roken 4LDADD= -lcrypt 5DPADD= ${LIBCRYPT} 6VERSION_MAP= ${KRB5DIR}/lib/roken/version-script.map 7INCS= roken.h \ 8 roken-common.h \ 9 base64.h \ 10 getarg.h \ 11 hex.h \ 12 parse_bytes.h \ 13 parse_time.h \ 14 parse_units.h \ 15 resolve.h \ 16 rtbl.h \ 17 xdbm.h 18 19SRCS= base64.c \ 20 copyhostent.c \ 21 ecalloc.c \ 22 emalloc.c \ 23 erealloc.c \ 24 estrdup.c \ 25 strlwr.c \ 26 strsep_copy.c \ 27 strupr.c \ 28 bswap.c \ 29 cloexec.c \ 30 concat.c \ 31 ct.c \ 32 doxygen.c \ 33 dumpdata.c \ 34 environment.c \ 35 eread.c \ 36 esetenv.c \ 37 ewrite.c \ 38 get_default_username.c \ 39 get_window_size.c \ 40 getaddrinfo_hostspec.c \ 41 getarg.c \ 42 getnameinfo_verified.c \ 43 getprogname.c \ 44 h_errno.c \ 45 hex.c \ 46 hostent_find_fqdn.c \ 47 issuid.c \ 48 k_getpwnam.c \ 49 k_getpwuid.c \ 50 mini_inetd.c \ 51 net_read.c \ 52 net_write.c \ 53 parse_bytes.c \ 54 parse_time.c \ 55 parse_units.c \ 56 qsort.c \ 57 rand.c \ 58 realloc.c \ 59 resolve.c \ 60 roken.h \ 61 roken_gethostby.c \ 62 rtbl.c \ 63 setprogname.c \ 64 signal.c \ 65 simple_exec.c \ 66 snprintf.c \ 67 socket.c \ 68 strcollect.c \ 69 strerror_r.c \ 70 strpool.c \ 71 timeval.c \ 72 tm2time.c \ 73 unvis.c \ 74 verify.c \ 75 vis.c \ 76 warnerr.c \ 77 write_pid.c \ 78 xfree.c 79 80CPPFLAGS+= -DBUILD_ROKEN_LIB 81CFLAGS+=-I${KRB5DIR}/lib/roken -I. 82 83CLEANFILES= roken.h 84 85roken.h: 86 ${MAKE_ROKEN} > ${.TARGET} 87 88.include <bsd.lib.mk> 89 90.PATH: ${KRB5DIR}/lib/roken 91