author | Frank Zschockelt <lm@freakysoft.de> |
Tue, 02 Mar 2010 22:11:07 +0100 | |
changeset 615 | 9a0fa0dabcdf |
parent 527 | 2e905f83be70 |
permissions | -rw-r--r-- |
521
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
1 |
$(MARSHAL)-marshal.h: $(MARSHAL)-marshal.list |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
2 |
(cd $(srcdir) && \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
3 |
$(GLIB_GENMARSHAL) --prefix=_$(MARSHAL)_marshal $(MARSHAL)-marshal.list --header) > xgen-gmh \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
4 |
&& (cmp -s xgen-gmh $(MARSHAL)-marshal.h || cp xgen-gmh $(MARSHAL)-marshal.h) \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
5 |
&& rm -f xgen-gmh xgen-gmh~ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
6 |
|
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
7 |
$(MARSHAL)-marshal.c: $(MARSHAL)-marshal.list |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
8 |
(cd $(srcdir) && \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
9 |
echo "#include \"$(MARSHAL)-marshal.h\""; \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
10 |
$(GLIB_GENMARSHAL) --prefix=_$(MARSHAL)_marshal $(MARSHAL)-marshal.list --body) > xgen-gmc \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
11 |
&& cp xgen-gmc $(MARSHAL)-marshal.c \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
12 |
&& rm -f xgen-gmc xgen-gmc~ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
13 |
|
527 | 14 |
BUILT_SOURCES += \ |
521
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
15 |
$(MARSHAL)-marshal.h \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
16 |
$(MARSHAL)-marshal.c \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
17 |
$(NULL) |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
18 |
|
527 | 19 |
EXTRA_DIST += \ |
521
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
20 |
$(MARSHAL)-marshal.list \ |
50294ce6587e
Updated the build system to use a build directory and a common marshal Makefile.
Mikael Hallendal <micke@imendio.com>
parents:
diff
changeset
|
21 |
$(NULL) |