diff options
author | markm <markm@FreeBSD.org> | 2003-07-18 13:21:58 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2003-07-18 13:21:58 +0000 |
commit | 522acafcec81cffcf59023810c4d1aaf993e9523 (patch) | |
tree | e4ab7a15fc814ecddfc47d6ca2e6a4d349c00031 /kerberos5/lib/libhdb/Makefile | |
parent | 50a6550a0f5f689cfc020096581e64a446d8dd52 (diff) | |
download | FreeBSD-src-522acafcec81cffcf59023810c4d1aaf993e9523.zip FreeBSD-src-522acafcec81cffcf59023810c4d1aaf993e9523.tar.gz |
Big fixup of the makefiles. Sort out the dependancies so that "make"
without "make depend" works, "make -j N" works, and lists of source
files are made vertical to reduce future diffs.
Diffstat (limited to 'kerberos5/lib/libhdb/Makefile')
-rw-r--r-- | kerberos5/lib/libhdb/Makefile | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile index e6c5513..7bea020 100644 --- a/kerberos5/lib/libhdb/Makefile +++ b/kerberos5/lib/libhdb/Makefile @@ -1,40 +1,41 @@ # $FreeBSD$ LIB= hdb -CFLAGS+=-I${KRB5DIR}/include \ - -I${INCLUDEOBJDIR} \ - -I${KRB5DIR}/lib/krb5 \ - -I${KRB5DIR}/lib/hdb \ - -I${KRB5DIR}/lib/asn1 \ - -I${KRB5DIR}/lib/roken \ - -I${.OBJDIR} \ - -I${ASN1OBJDIR} \ - ${LDAPCFLAGS} SRCS= \ - common.c \ - db.c \ - db3.c \ - hdb-ldap.c \ - hdb.c \ - keytab.c \ - mkey.c \ - ndbm.c \ - print.c \ - hdb_err.c \ - hdb_err.h \ - hdb_asn1.h \ - k524_err.h \ - krb5_err.h \ - heim_err.h \ + common.c \ + db.c \ + db3.c \ + hdb-ldap.c \ + hdb.c \ + keytab.c \ + mkey.c \ + ndbm.c \ + print.c \ + hdb_err.c \ + ${.OBJDIR}/hdb_err.h \ + ${.OBJDIR}/hdb_asn1.h \ + ${.OBJDIR}/k524_err.h \ + ${.OBJDIR}/krb5_err.h \ + ${.OBJDIR}/heim_err.h \ ${GEN:S/.x/.c/g} -GEN= \ - asn1_Key.x \ - asn1_GENERATION.x \ - asn1_Event.x \ - asn1_HDBFlags.x \ - asn1_hdb_entry.x \ +CFLAGS+=-I${KRB5DIR}/include \ + -I${INCLUDEOBJDIR} \ + -I${KRB5DIR}/lib/krb5 \ + -I${KRB5DIR}/lib/hdb \ + -I${KRB5DIR}/lib/asn1 \ + -I${KRB5DIR}/lib/roken \ + -I${.OBJDIR} \ + -I${ASN1OBJDIR} \ + ${LDAPCFLAGS} + +GEN= \ + asn1_Key.x \ + asn1_GENERATION.x \ + asn1_Event.x \ + asn1_HDBFlags.x \ + asn1_hdb_entry.x \ asn1_Salt.x .include <bsd.lib.mk> @@ -53,7 +54,7 @@ ${I:S/.x/.c/}: ${I} CLEANFILES+= ${GEN:S/.x/.c/g} hdb_asn1.h asn1_files -${GEN} hdb_asn1.h: asn1_compile hdb.asn1 +${GEN} ${.OBJDIR}/hdb_asn1.h: asn1_compile hdb.asn1 ./asn1_compile ${KRB5DIR}/lib/hdb/hdb.asn1 hdb_asn1 asn1_compile: parse.o lex.o main.c hash.c symbol.c emalloc.c gen.c \ |