summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-06-14 16:15:57 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-06-14 16:46:32 +0200
commit510f0f391cf07a6357468493a3b9aacbd0069a8d (patch)
tree0e3cd2ef0a3f81525037b55f00550a245512a3a3
parent45665c0d48396af7bd653d546115a5f36cfa9ae1 (diff)
boilerplate: Add generation of constructors on win32
cairo-boilerplate-constructors.c is one of the sources required to build the boilerplate. This file is generated by a script, invoked by the appropriate make target during the build.
-rw-r--r--boilerplate/Makefile.win323
1 files changed, 3 insertions, 0 deletions
diff --git a/boilerplate/Makefile.win32 b/boilerplate/Makefile.win32
index 286ea2b1..46aa0b6f 100644
--- a/boilerplate/Makefile.win32
+++ b/boilerplate/Makefile.win32
@@ -11,10 +11,13 @@ HEADERS = \
SOURCES = \
$(enabled_cairo_boilerplate_sources) \
+ cairo-boilerplate-constructors.c \
$(NULL)
OBJECTS = $(patsubst %.c, $(CFG)/%-static.obj, $(SOURCES))
+cairo-boilerplate-constructors.c: Makefile.sources Makefile.win32 $(enabled_cairo_boilerplate_sources) make-cairo-boilerplate-constructors.sh
+ sh ./make-cairo-boilerplate-constructors.sh $(enabled_cairo_boilerplate_sources) > $@
all: $(CFG)/boiler.lib