comparison finch/libgnt/Makefile.am @ 16766:91d0e590e635

gnt should reference genmarshal in the srcdir to allow building in a different directory from the source. fixes the other part of #566
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 03 May 2007 12:57:57 +0000
parents 171acd9ebb1a
children 4d4a396a478c 36f97c87e980
comparison
equal deleted inserted replaced
16765:441945083737 16766:91d0e590e635
62 62
63 CLEANFILES = \ 63 CLEANFILES = \
64 gntmarshal.h \ 64 gntmarshal.h \
65 gntmarshal.c 65 gntmarshal.c
66 66
67 gntmarshal.c: genmarshal gntmarshal.h 67 gntmarshal.c: $(srcdir)/genmarshal gntmarshal.h
68 echo "#include \"gntmarshal.h\"" > $@ 68 echo "#include \"gntmarshal.h\"" > $@
69 cat genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --body >> $@ 69 cat $(srcdir)/genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --body >> $@
70 70
71 gntmarshal.h: genmarshal 71 gntmarshal.h: $(srcdir)/genmarshal
72 cat genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --header > $@ 72 cat $(srcdir)/genmarshal | glib-genmarshal --prefix=gnt_closure_marshal --header > $@
73 73
74 libgnt_laincludedir=$(includedir)/gnt 74 libgnt_laincludedir=$(includedir)/gnt
75 libgnt_lainclude_HEADERS = \ 75 libgnt_lainclude_HEADERS = \
76 $(libgnt_la_headers) 76 $(libgnt_la_headers)
77 77