2004-02-24 JP Rosevear <jpr@ximian.com> * marshal.mk: make sure to use the srcdir to build the list svn path=/trunk/; revision=24854
8 lines
318 B
Makefile
8 lines
318 B
Makefile
%.h: %.list
|
|
( $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$< --header > $@.tmp \
|
|
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )
|
|
|
|
%.c: %.list %.h
|
|
( (echo "#include \"$*.h\""; $(GLIB_GENMARSHAL) --prefix=$(subst -,_,$*) $(srcdir)/$*.list --body) > $@.tmp \
|
|
&& mv $@.tmp $@ ) || ( rm -f $@.tmp && exit 1 )
|