Update hx509/NTMakefile
Better dependency management for generated files.
This commit is contained in:

committed by
Love Hornquist Astrand

parent
dd09636632
commit
588d1e081f
@@ -149,7 +149,7 @@ $(gen_files_pkcs10:.x=.c): $$(@R).x
|
|||||||
|
|
||||||
$(gen_files_crmf:.x=.c): $$(@R).x
|
$(gen_files_crmf:.x=.c): $$(@R).x
|
||||||
|
|
||||||
$(gen_files_ocsp) $(OBJ)\ocsp_asn1.h: $(asn1_compile) ocsp.asn1
|
$(gen_files_ocsp) $(OBJ)\ocsp_asn1.hx: $(asn1_compile) ocsp.asn1
|
||||||
cd $(OBJ)
|
cd $(OBJ)
|
||||||
$(asn1_compile) \
|
$(asn1_compile) \
|
||||||
--preserve-binary=OCSPTBSRequest \
|
--preserve-binary=OCSPTBSRequest \
|
||||||
@@ -158,7 +158,7 @@ $(gen_files_ocsp) $(OBJ)\ocsp_asn1.h: $(asn1_compile) ocsp.asn1
|
|||||||
|| ( $(RM) -f $(gen_files_ocsp) $(OBJ)\ocsp_asn1.h ; exit /b 1 )
|
|| ( $(RM) -f $(gen_files_ocsp) $(OBJ)\ocsp_asn1.h ; exit /b 1 )
|
||||||
cd $(SRCDIR)
|
cd $(SRCDIR)
|
||||||
|
|
||||||
$(gen_files_pkcs10) $(OBJ)\pkcs10_asn1.h: $(asn1_compile) pkcs10.asn1
|
$(gen_files_pkcs10) $(OBJ)\pkcs10_asn1.hx: $(asn1_compile) pkcs10.asn1
|
||||||
cd $(OBJ)
|
cd $(OBJ)
|
||||||
$(asn1_compile) \
|
$(asn1_compile) \
|
||||||
--preserve-binary=CertificationRequestInfo \
|
--preserve-binary=CertificationRequestInfo \
|
||||||
@@ -166,7 +166,7 @@ $(gen_files_pkcs10) $(OBJ)\pkcs10_asn1.h: $(asn1_compile) pkcs10.asn1
|
|||||||
|| ( $(RM) -f $(gen_files_pkcs10) $(OBJ)\pkcs10_asn1.h ; exit /b 1 )
|
|| ( $(RM) -f $(gen_files_pkcs10) $(OBJ)\pkcs10_asn1.h ; exit /b 1 )
|
||||||
cd $(SRCDIR)
|
cd $(SRCDIR)
|
||||||
|
|
||||||
$(gen_files_crmf) $(OBJ)\crmf_asn1.h: $(asn1_compile) crmf.asn1
|
$(gen_files_crmf) $(OBJ)\crmf_asn1.hx: $(asn1_compile) crmf.asn1
|
||||||
cd $(OBJ)
|
cd $(OBJ)
|
||||||
$(asn1_compile) $(SRCDIR)\crmf.asn1 crmf_asn1 \
|
$(asn1_compile) $(SRCDIR)\crmf.asn1 crmf_asn1 \
|
||||||
|| ( $(RM) -f $(gen_files_crmf) $(OBJ)\crmf_asn1.h ; exit /b 1 )
|
|| ( $(RM) -f $(gen_files_crmf) $(OBJ)\crmf_asn1.h ; exit /b 1 )
|
||||||
|
Reference in New Issue
Block a user