use pkgincludedir for headers (to avoid file name collisions), renamed LIBT2N_CLIENT_...
[libt2n] / codegen / codegen.make
index 99ffd3d..450597f 100644 (file)
@@ -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' \