pipe - pre-MP work, change indexing to circular FIFO rindex/windex.
[dragonfly.git] / kerberos5 / lib / libhdb / Makefile
blobd2b18acce345b5047da1f34d0cfdffc113550999
1 # $FreeBSD: src/kerberos5/lib/libhdb/Makefile,v 1.18 2004/02/05 18:51:49 ru Exp $
2 # $DragonFly: src/kerberos5/lib/libhdb/Makefile,v 1.5 2005/01/16 14:25:46 eirikn Exp $
4 LIB= hdb
6 INCS= hdb-private.h \
7 hdb-protos.h \
8 hdb.h \
9 hdb_asn1.h \
10 hdb_err.h
12 SRCS= common.c \
13 db.c \
14 db3.c \
15 hdb-ldap.c \
16 hdb.c \
17 hdb_asn1.h \
18 hdb_err.c \
19 hdb_err.h \
20 keytab.c \
21 mkey.c \
22 ndbm.c \
23 print.c \
24 ${GEN:S/.x$/.c/}
26 CFLAGS+=-I${KRB5DIR}/lib/hdb -I${KRB5DIR}/lib/asn1 \
27 -I${KRB5DIR}/lib/roken -I. ${LDAPCFLAGS}
29 GEN= asn1_Event.x \
30 asn1_GENERATION.x \
31 asn1_HDBFlags.x \
32 asn1_Key.x \
33 asn1_Salt.x \
34 asn1_hdb_entry.x
36 CLEANFILES= ${GEN} ${GEN:S/.x$/.c/} hdb_asn1.h asn1_files
38 .ORDER: ${GEN} hdb_asn1.h
39 ${GEN} hdb_asn1.h: hdb.asn1
40 ${ASN1COMPILE} ${.ALLSRC:M*.asn1} hdb_asn1
42 .for I in ${GEN}
43 ${I:R}.c: ${I}
44 cat ${.ALLSRC} > ${.TARGET}
45 .endfor
47 .include <bsd.lib.mk>
49 .PATH: ${KRB5DIR}/lib/hdb