X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=codegen%2Fcodegen.make;h=450597f25fe3936efdff4d337c6d1112ae97e6ac;hp=99ffd3d2ee69680c658f792a52b0aa485a433498;hb=1f0aa49ffeccf4ac8562a82a941b17c63503c4cc;hpb=e62269cbcab8ba959ff5a110e309be27f7600dbe diff --git a/codegen/codegen.make b/codegen/codegen.make index 99ffd3d..450597f 100644 --- a/codegen/codegen.make +++ b/codegen/codegen.make @@ -13,9 +13,6 @@ include_HEADERS += $(foreach i, $(CMDGROUPS), $(i)_client.hxx $(i).hxx) libt2ngroup_%.P : Makefile.am echo $@ : $($*_GROUP) > libt2ngroup_$*.P -LIBT2N_CODEGEN ?= $(top_builddir)/codegen/libt2n-codegen -LIBT2N_CLIENT_PC_IN ?= $(top_srcdir)/codegen/clientlib.pc.in - %.libt2nstamp : libt2ngroup_%.P $(LIBT2N_CODEGEN) # assuming we have some unix like shell (maybe even bash) echo BUILT_SOURCES: $(BUILT_SOURCES) @@ -38,7 +35,7 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = $(CMDGROUPS:=.pc) # .pc files (one pc file for each command group) -%.pc : $(LIBT2N_CLIENT_PC_IN) Makefile +%.pc : $(LIBT2N_CLIENT_PCTEMPLATE) Makefile sed \ -e 's,@CMDGROUP@,$*,g' \ -e 's,\@prefix\@,$(prefix),g' \