diff options
author | Tor Lillqvist <tml@novell.com> | 2005-08-22 15:49:04 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@novell.com> | 2005-08-22 15:49:04 +0000 |
commit | 46dd21e795549481d9db8d90c399e683ef1205c7 (patch) | |
tree | 06cafc2871b509279e11e4a3dd79883859fdb777 /Makefile.am | |
parent | aa6b2c386be0e7a09f53da3fa08c061f01151e55 (diff) |
Calculate LT_CURRENT_MINUS_AGE (which forms part of the DLL name on Win32), and AC_SUBST it.
Add target "zips" to create zip file based distribution for Win32.
Produce a cairo.def file for distribution by preprocessing the relevant header files and grepping for declarations of functions that start with cairo_. Works for now, will have to modify later if necessary. Use the .def file when linking on Win32.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index d39d13c5..4e5125b0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,6 +43,22 @@ $(gpg_file): $(sha1_file) @echo "Please enter your GPG password to sign the checksum." gpg --armor --sign $^ +# Win32 package zipfiles +runtime_zip_file = /tmp/$(PACKAGE)-$(VERSION).zip +developer_zip_file = /tmp/$(PACKAGE)-dev-$(VERSION).zip + +$(runtime_zip_file): install + -rm $@ + cd $(prefix); \ + zip $@ bin/libcairo-$(LT_CURRENT_MINUS_AGE).dll + +$(developer_zip_file): install + -rm $@ + cd $(prefix); \ + zip -r $@ include/cairo lib/libcairo.dll.a lib/cairo.lib lib/pkgconfig/cairo.pc + +zips: $(runtime_zip_file) $(developer_zip_file) + release-verify-even-micro: @echo -n "Checking that $(VERSION) has an even micro component..." @test "$(CAIRO_VERSION_MICRO)" = "`echo $(CAIRO_VERSION_MICRO)/2*2 | bc`" \ |