Commit c26045bb authored by Denis Filatov's avatar Denis Filatov
Browse files

fix certgen paths in Makefile

parent 048d29e5
Loading
Loading
Loading
Loading
+6 −10
Original line number Original line Diff line number Diff line
ifeq ($(ARCH),)
ifeq ($(ARCH),)
 ARCH = $(shell gcc -dumpmachine)
else
 ifeq ($(OS),Windows_NT)
 ifeq ($(OS),Windows_NT)
   ARCH=msvc
   ARCH=MSVC-x64-Debug
 else
   ARCH = $(shell gcc -dumpmachine)
 endif
 endif
endif
endif


@@ -17,14 +17,10 @@ depdir=temp
keydir=certificates
keydir=certificates
iutdir=iut
iutdir=iut


ifeq ($(ARCH),msvc)
asn1certgen=$(CERTGEN)/build/$(ARCH)/certgen
  asn1certgen= $(CERTGEN)/build/msvc/x64/Debug/certgen.exe
else
  asn1certgen=$(CERTGEN)/build/$(ARCH)-d/certgen
endif


xsl_cvt=$(CERTGEN)/itscertgen/certgen/asn1certgen.xslt
xsl_cvt=$(CERTGEN)/certgen/asn1certgen.xslt
xsl_dep=$(CERTGEN)/itscertgen/certgen/prof2dep.xsl
xsl_dep=$(CERTGEN)/certgen/prof2dep.xsl


profiles=$(wildcard $(in)/*.xml)
profiles=$(wildcard $(in)/*.xml)
certificates_oer=$(patsubst $(in)/%.xml, $(outdir)/%.oer, $(profiles))
certificates_oer=$(patsubst $(in)/%.xml, $(outdir)/%.oer, $(profiles))