summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRomain Chantereay <rchantereau@entrouvert.com>2004-07-16 12:54:43 (GMT)
committerRomain Chantereay <rchantereau@entrouvert.com>2004-07-16 12:54:43 (GMT)
commit1ee73b81c7cc4ffc5e2210a7fb73553c9ddb1fe2 (patch)
tree36beb06d99edb33d09af09332b1e4ac69af5545e /Makefile.am
parent1524b02c923ed573eec0c879c40f17c2d23bf8a2 (diff)
downloadlasso-1ee73b81c7cc4ffc5e2210a7fb73553c9ddb1fe2.zip
lasso-1ee73b81c7cc4ffc5e2210a7fb73553c9ddb1fe2.tar.gz
lasso-1ee73b81c7cc4ffc5e2210a7fb73553c9ddb1fe2.tar.bz2
Added Cygwin/Windows compilation support.
Now: just: ./autogen --hots=i686-pc-mingw32 make make dll make install dll Of course you will need to install the dependencies libraries in /usr/local in order to compile. And next the DLL in Windows %SYSTEM% directory.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8188f9a..1846123 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,29 @@
+dll:
+ -/usr/bin/windres -i lasso/lasso.rc -o lasso/lasso.rc.o
+# -/usr/bin/dllwrap.exe -o .libs/liblasso.dll --def lasso.def -mno-cygwin --add-stdcall-alias -mwindows -s lasso.o lasso.rc.o ../lasso/xml/*.o ../lasso/protocols/*.o ../lasso/protocols/elements/*.o ../lasso/environs/*.o -L/usr/local/lib /usr/local/lib/libglib-2.0-0.dll /usr/local/lib/libxmlsec-openssl.dll /usr/local/lib/libxmlsec.dll -lssl -lcrypto /usr/local/lib/libxslt.dll /usr/local/lib/libxml2.dll -lpthread -lz -lm /usr/local/lib/libgobject-2.0-0.dll
+ -/usr/bin/dllwrap.exe --def lasso/lasso.def -o lasso/.libs/liblasso.dll -mno-cygwin --add-stdcall-alias -mwindows -s lasso/lasso.o lasso/lasso.rc.o lasso/xml/.libs/liblasso-xml.al lasso/protocols/.libs/liblasso-protocols.al lasso/environs/.libs/liblasso-environs.al -L/usr/local/lib /usr/local/lib/libglib-2.0-0.dll /usr/local/lib/libxmlsec-openssl.dll /usr/local/lib/libxmlsec.dll -lssl -lcrypto /usr/local/lib/libxslt.dll /usr/local/lib/libxml2.dll -lpthread -lz -lm /usr/local/lib/libgobject-2.0-0.dll
+install-dll:
+ -cp -f lasso/.libs/liblasso.dll /usr/local/lib
+ -cp -f lasso/.libs/liblasso.a /usr/local/lib/liblasso.dll.a
+ -mkdir -p /usr/local/include/lasso
+ -cp -f lasso/*.h /usr/local/include/lasso
+ -mkdir -p /usr/local/include/lasso/environs
+ -cp -f lasso/environs/*.h /usr/local/include/lasso/environs
+ -mkdir -p /usr/local/include/lasso/protocols
+ -cp -f lasso/protocols/*.h /usr/local/include/lasso/protocols
+ -mkdir -p /usr/local/include/lasso/protocols/elements
+ -cp -f lasso/protocols/elements/*.h /usr/local/include/lasso/protocols/elements
+ -mkdir -p /usr/local/include/lasso/xml
+ -cp -f lasso/xml/*.h /usr/local/include/lasso/xml
+
+
+
SUBDIRS = lasso docs
ABS_BUILDDIR = $(shell pwd)
EXTRA_DIST = TODO COPYING
+
pkgconfig_DATA = lasso.pc
pkgconfigdir = $(libdir)/pkgconfig