1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# shave-related
V = @
Q = $(V:1=)
QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
NULL =
# glib-genmarshal (based on WebKit's build system)
MARSHAL = $(MARSHAL_PREFIX)-marshal
MARSHAL_LIST = $(srcdir)/$(MARSHAL).list
GENMARSHAL = $(GLIB_GENMARSHAL) --prefix=$(MARSHAL_PREFIX)_marshal $(MARSHAL_LIST)
MARSHALFILES = \
$(builddir)/$(MARSHAL).c \
$(builddir)/$(MARSHAL).h \
$(NULL)
$(builddir)/$(MARSHAL).h: $(MARSHAL_LIST)
$(QUIET_GEN)$(GENMARSHAL) --header > $@
$(builddir)/$(MARSHAL).c: $(MARSHAL_LIST) $(MARSHAL).h
$(QUIET_GEN)( \
echo "#include \"$(MARSHAL_PREFIX)-marshal.h\"" > $@ && \
$(GENMARSHAL) --body >> $@ \
)
# vim: set ft=automake ts=8 sts=8 sw=8 noet :
|