summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/boilerplate/Makefile.win32
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
committersanine <sanine.not@pm.me>2022-10-12 12:03:23 -0500
commit530ffd0b7d3c39757b20f00716e486b5caf89aff (patch)
tree76b35fdf57317038acf6b828871f6ae25fce2ebe /libs/cairo-1.16.0/boilerplate/Makefile.win32
parent3dbe9332e47c143a237db12440f134caebd1cfbe (diff)
add cairo
Diffstat (limited to 'libs/cairo-1.16.0/boilerplate/Makefile.win32')
-rw-r--r--libs/cairo-1.16.0/boilerplate/Makefile.win3224
1 files changed, 24 insertions, 0 deletions
diff --git a/libs/cairo-1.16.0/boilerplate/Makefile.win32 b/libs/cairo-1.16.0/boilerplate/Makefile.win32
new file mode 100644
index 0000000..29df5cf
--- /dev/null
+++ b/libs/cairo-1.16.0/boilerplate/Makefile.win32
@@ -0,0 +1,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)