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