summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/boilerplate/Makefile.win32
blob: 29df5cf79808c29747b5b77a1bf92804546304f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
top_srcdir = ..
include $(top_srcdir)/build/Makefile.win32.common
include Makefile.win32.features

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)
	@$(AR) $(CAIRO_ARFLAGS) -OUT:$@ $(OBJECTS)