diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2013-06-17 21:47:20 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2013-06-17 21:47:20 +0000 |
commit | 26608c12fc0e669f54115f8db72807ec0006ca1f (patch) | |
tree | 55d420277dbad4efc47125e10e7391afe4cc8b80 | |
parent | 6b472ffac5bf56db90ed1864ca1d01361303dbf2 (diff) |
fix the generated files target to avoid rebuilding every time
-rw-r--r-- | kerberosV/lib/libgssapi/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/kerberosV/lib/libgssapi/Makefile b/kerberosV/lib/libgssapi/Makefile index f5a5ce22359..73203e683c9 100644 --- a/kerberosV/lib/libgssapi/Makefile +++ b/kerberosV/lib/libgssapi/Makefile @@ -1,8 +1,16 @@ -# $OpenBSD: Makefile,v 1.3 2013/06/17 21:27:16 robert Exp $ +# $OpenBSD: Makefile,v 1.4 2013/06/17 21:47:19 robert Exp $ LIB= gssapi -GEN= asn1_ContextFlags.x \ +GEN_GSSAPI= asn1_GSSAPIContextToken.x gssapi_asn1-priv.hx gssapi_asn1.hx + +GEN_SPNEGO= asn1_ContextFlags.x asn1_MechType.x asn1_MechTypeList.x asn1_NegHints.x \ + asn1_NegTokenInit.x asn1_NegTokenInitWin.x asn1_NegTokenResp.x asn1_NegotiationToken.x \ + asn1_NegotiationTokenWin.x spnego_asn1-priv.hx spnego_asn1.hx + +GEN= ${GEN_GSSAPI} ${GEN_SPNEGO} + +GGEN= asn1_ContextFlags.x \ asn1_GSSAPIContextToken.x \ asn1_MechType.x \ asn1_MechTypeList.x \ @@ -283,14 +291,12 @@ ${i}: ${i:S@__@/@} ln -s ${.ALLSRC} ${.OBJDIR}/${i} .endfor -gengssapi: gssapi.asn1 +${GEN_GSSAPI}: gssapi.asn1 ${ASN1_COMPILE} ${.ALLSRC:M*.asn1} gssapi_asn1 -genspnego: spnego.asn1 spnego.opt +${GEN_SPNEGO}: spnego.asn1 spnego.opt ${ASN1_COMPILE} --option-file=${.ALLSRC:M*.opt} ${.ALLSRC:M*.asn1} spnego_asn1 -${GEN}: gengssapi genspnego - .SUFFIXES: .h .c .x .hx .x.c: |