[cells-gtk-cvs] CVS update: root/gtk-ffi/Makefile.win32

Peter Denno pdenno at common-lisp.net
Fri Nov 18 04:21:34 UTC 2005


Update of /project/cells-gtk/cvsroot/root/gtk-ffi
In directory common-lisp.net:/tmp/cvs-serv14615/root/gtk-ffi

Modified Files:
	Makefile.win32 
Log Message:
Old way actually didn't work. Here I used dlltool to create the .dll
Date: Fri Nov 18 05:21:30 2005
Author: pdenno

Index: root/gtk-ffi/Makefile.win32
diff -u root/gtk-ffi/Makefile.win32:1.1 root/gtk-ffi/Makefile.win32:1.2
--- root/gtk-ffi/Makefile.win32:1.1	Wed Nov 16 02:43:31 2005
+++ root/gtk-ffi/Makefile.win32	Fri Nov 18 05:21:29 2005
@@ -23,7 +23,7 @@
 #  with cygwin setup.exe, but it doesn't seem to have everything you need. When you get it all
 #  downloaded, modify the '.pc' files in   /local/win32/gtk/lib/pkgconfig so that prefix=
 #  is set to wherever you placed the stuff.
-#  Here is a list of the pc files....
+#  Here is a list of the pc (package config) files....
 # 
 #  -rwx------  1 pdenno users  267 2005-11-13 15:02 atk.pc
 #  -rwx------  1 pdenno users  267 2005-11-13 15:02 cairo.pc
@@ -47,10 +47,12 @@
 #
 #  ...and where is what the first line of one looks like on my machine: 
 #  prefix=/local/win32/gtk 
-#  Some like libpng have prefix=/usr ... because that is where it is.
+#  Some like libpng have prefix=/usr ... because that is where it is (cygwin default).
 #
 #  Once built, place the library in the directory containing libgtk.
 
 all:
 	gcc -mno-cygwin -c gtk-adds.c `pkg-config --cflags --libs gtk+-2.0`
-	gcc -mno-cygwin -mwindows -mdll -L/usr/lib/mingw -o libcellsgtk.dll gtk-adds.o `pkg-config --cflags --libs gtk+-2.0` -specs=specs.new
+	dlltool -e exports.o -z cellsgtk.def -l cellsgtk.lib gtk-adds.o
+	gcc -mno-cygwin -mwindows -mdll -L/usr/lib/mingw gtk-adds.o exports.o -o libcellsgtk.dll `pkg-config --cflags --libs gtk+-2.0` -specs=specs.new
+




More information about the Cells-gtk-cvs mailing list