cairo/boilerplate/Makefile.win32
Andrea Canciani 510f0f391c 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.
2011-06-14 16:46:32 +02:00

26 lines
708 B
Text

top_srcdir = ..
include $(top_srcdir)/build/Makefile.win32.common
include Makefile.win32.features
CFLAGS += -I../src
HEADERS = \
$(enabled_cairo_boilerplate_headers) \
$(enabled_cairo_boilerplate_private) \
$(NULL)
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
$(CFG)/boiler.lib: $(OBJECTS)
lib -NOLOGO -OUT:$@ $(OBJECTS) $(WIN_LIBS)