1 # Makefile for generated files.
5 CDSA_HEADERS_DIR = Headers/cdsa
6 CDSA_SOURCES_DIR = Sources/cdsa
8 GEN_APIGLUE = $(CDSA_SOURCES_DIR)/generator.pl
9 APIGLUE_GEN = $(patsubst %,$(CDSA_SOURCES_DIR)/%,transition.gen funcnames.gen generator.rpt)
10 APIGLUE_DEPENDS = $(patsubst %,$(CDSA_SOURCES_DIR)/%, generator.pl generator.cfg)\
11 $(patsubst %,$(CDSA_HEADERS_DIR)/%,cssmapi.h cssmtype.h cssmconfig.h cssmaci.h cssmcspi.h cssmdli.h cssmcli.h cssmtpi.h)
22 .PHONY: build clean debug profile
24 $(APIGLUE_GEN): $(APIGLUE_DEPENDS)
25 (cd $(CDSA_SOURCES_DIR);\
26 $(PERL) ./generator.pl ../../$(CDSA_HEADERS_DIR) .)