[Gtk-sharp-list] Small makefile patch

Maurício de Lemos Rodrigues Collares Net Maurício de Lemos Rodrigues Collares Net
Thu, 24 Oct 2002 16:42:51 -0200


This is a multi-part message in MIME format.
--------------010703080803000801040909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

(Sorry if you got this twice, I think I mistyped email addresses)

Below is a patch to make Linux users who doesn't have gtk# installed 
able to compile gtk#. I didn't test this on Windows, but it should work:

Index: gconf/GConf/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf/Makefile.in     19 Oct 2002 09:31:19 -0000      1.1
+++ gconf/GConf/Makefile.in     22 Oct 2002 14:31:24 -0000
@@ -16,7 +16,7 @@
all: gconf-sharp.dll

gconf-sharp.dll: $(SOURCES)
-       $(MCS) $(SOURCES) /r:glib-sharp.dll /target:library 
/out:gconf-sharp.dll
+       $(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll /target:library 
/out:gconf-sharp.dll

install: all
       cp gconf-sharp.dll $(DESTDIR)@prefix@/lib
Index: gconf/GConf.PropertyEditors/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf.PropertyEditors/Makefile.in     19 Oct 2002 09:31:19 
-0000      1.1
+++ gconf/GConf.PropertyEditors/Makefile.in     22 Oct 2002 14:31:24 -0000
@@ -18,7 +18,7 @@
all: gconf-sharp-peditors.dll
gconf-sharp-peditors.dll: $(SOURCES)
-       $(MCS) $(SOURCES) /r:../GConf/gconf-sharp.dll /r:glib-sharp 
/r:gtk-sharp /r:gnome-sharp /r:glade-sharp /r:System.Drawing 
/target:library /out:gconf-sharp-peditors.dll
+       $(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll 
/r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll 
/r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll 
/r:../GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll 
/r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll 
/r:System.Drawing /target:library /out:gconf-sharp-peditors.dll

install: all
       cp gconf-sharp-peditors.dll $(DESTDIR)@prefix@/lib
Index: gnomedb/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gnomedb/Makefile.in,v
retrieving revision 1.2
diff -u -w -r1.2 Makefile.in
--- gnomedb/Makefile.in 12 Sep 2002 01:23:35 -0000      1.2
+++ gnomedb/Makefile.in 22 Oct 2002 14:31:25 -0000
@@ -5,12 +5,12 @@
@ENABLE_GNOMEDB_FALSE@ all:

windows:
-       $(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll 
/r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll 
/r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
+       $(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll 
/r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll 
/r:../art/art-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll 
/r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll 
/out:gnomedb-sharp.dll /recurse:*.cs

linux: gnomedb-sharp.dll

gnomedb-sharp.dll: Application.cs generated/*.cs
-       $(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -r 
gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll 
--recurse '*.cs'
+       $(MCS) --unsafe --target library -L ../glib -L ../pango -L 
../atk -L ../art -L ../gdk -L ../gtk -L ../gnome -L ../gda -r 
glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r art-sharp.dll -r 
gdk-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o 
gnomedb-sharp.dll --recurse '*.cs' clean:
       rm -f *.dll
Index: sample/gconf/Makefile
===================================================================
RCS file: /mono/gtk-sharp/sample/gconf/Makefile,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile
--- sample/gconf/Makefile       19 Oct 2002 09:31:20 -0000      1.1
+++ sample/gconf/Makefile       22 Oct 2002 14:31:25 -0000
@@ -9,7 +9,7 @@
all: sample.exe

sample.exe: sample.schema sample.glade $(SOURCES)
-       $(MCS) /out:sample.exe $(SOURCES) 
/r:$(GCONFDIR)/GConf/gconf-sharp.dll 
/r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll 
/r:gtk-sharp /r:glade-sharp /r:gnome-sharp /r:System.Drawing 
/resource:sample.glade
+       $(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll 
/r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll 
/r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll 
/r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll 
/r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll 
/r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll 
/r:System.Drawing /resource:sample.glade

Settings.cs: sample.schema
       MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll mono 
$(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > 
Settings.cs

------------------------------------------------------------------------

? autom4te.cache
? gnomedb.patch
? api/Makefile
? api/generated-stamp
? gconf/Makefile
? gconf/GConf/Makefile
? gconf/GConf/gconf-sharp.dll
? gconf/GConf.PropertyEditors/Makefile
? gconf/GConf.PropertyEditors/gconf-sharp-peditors.dll
? gconf/tools/Makefile
? gconf/tools/gconfsharp-schemagen
? parser/Makefile
? parser/gapi_format_xml
? sample/gconf/Settings.cs
Index: gconf/GConf/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf/Makefile.in	19 Oct 2002 09:31:19 -0000	1.1
+++ gconf/GConf/Makefile.in	22 Oct 2002 14:31:24 -0000
@@ -16,7 +16,7 @@
 all: gconf-sharp.dll
 
 gconf-sharp.dll: $(SOURCES)
-	$(MCS) $(SOURCES) /r:glib-sharp.dll /target:library /out:gconf-sharp.dll
+	$(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll /target:library /out:gconf-sharp.dll
 
 install: all
 	cp gconf-sharp.dll $(DESTDIR)@prefix@/lib
Index: gconf/GConf.PropertyEditors/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf.PropertyEditors/Makefile.in	19 Oct 2002 09:31:19 -0000	1.1
+++ gconf/GConf.PropertyEditors/Makefile.in	22 Oct 2002 14:31:24 -0000
@@ -18,7 +18,7 @@
 all: gconf-sharp-peditors.dll
 
 gconf-sharp-peditors.dll: $(SOURCES)
-	$(MCS) $(SOURCES) /r:../GConf/gconf-sharp.dll /r:glib-sharp /r:gtk-sharp /r:gnome-sharp /r:glade-sharp /r:System.Drawing /target:library /out:gconf-sharp-peditors.dll
+	$(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:../GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:System.Drawing /target:library /out:gconf-sharp-peditors.dll
 
 install: all
 	cp gconf-sharp-peditors.dll $(DESTDIR)@prefix@/lib
Index: gnomedb/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gnomedb/Makefile.in,v
retrieving revision 1.2
diff -u -w -r1.2 Makefile.in
--- gnomedb/Makefile.in	12 Sep 2002 01:23:35 -0000	1.2
+++ gnomedb/Makefile.in	22 Oct 2002 14:31:25 -0000
@@ -5,12 +5,12 @@
 @ENABLE_GNOMEDB_FALSE@ all: 
 
 windows:
-	$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
+	$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../art/art-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
 
 linux: gnomedb-sharp.dll
 
 gnomedb-sharp.dll: Application.cs generated/*.cs
-	$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'
+	$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../art -L ../gdk -L ../gtk -L ../gnome -L ../gda -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r art-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'
 
 clean:
 	rm -f *.dll
Index: sample/gconf/Makefile
===================================================================
RCS file: /mono/gtk-sharp/sample/gconf/Makefile,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile
--- sample/gconf/Makefile	19 Oct 2002 09:31:20 -0000	1.1
+++ sample/gconf/Makefile	22 Oct 2002 14:31:25 -0000
@@ -9,7 +9,7 @@
 all: sample.exe
 
 sample.exe: sample.schema sample.glade $(SOURCES)
-	$(MCS) /out:sample.exe $(SOURCES) /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:gtk-sharp /r:glade-sharp /r:gnome-sharp /r:System.Drawing /resource:sample.glade
+	$(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing /resource:sample.glade
 
 Settings.cs: sample.schema
 	MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll mono $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs


--------------010703080803000801040909
Content-Type: text/plain;
 name="gtk-sharp-makefiles.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gtk-sharp-makefiles.patch"

? autom4te.cache
? gnomedb.patch
? api/Makefile
? api/generated-stamp
? gconf/Makefile
? gconf/GConf/Makefile
? gconf/GConf/gconf-sharp.dll
? gconf/GConf.PropertyEditors/Makefile
? gconf/GConf.PropertyEditors/gconf-sharp-peditors.dll
? gconf/tools/Makefile
? gconf/tools/gconfsharp-schemagen
? parser/Makefile
? parser/gapi_format_xml
? sample/gconf/Settings.cs
Index: gconf/GConf/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf/Makefile.in	19 Oct 2002 09:31:19 -0000	1.1
+++ gconf/GConf/Makefile.in	22 Oct 2002 14:31:24 -0000
@@ -16,7 +16,7 @@
 all: gconf-sharp.dll
 
 gconf-sharp.dll: $(SOURCES)
-	$(MCS) $(SOURCES) /r:glib-sharp.dll /target:library /out:gconf-sharp.dll
+	$(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll /target:library /out:gconf-sharp.dll
 
 install: all
 	cp gconf-sharp.dll $(DESTDIR)@prefix@/lib
Index: gconf/GConf.PropertyEditors/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gconf/GConf.PropertyEditors/Makefile.in,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile.in
--- gconf/GConf.PropertyEditors/Makefile.in	19 Oct 2002 09:31:19 -0000	1.1
+++ gconf/GConf.PropertyEditors/Makefile.in	22 Oct 2002 14:31:24 -0000
@@ -18,7 +18,7 @@
 all: gconf-sharp-peditors.dll
 
 gconf-sharp-peditors.dll: $(SOURCES)
-	$(MCS) $(SOURCES) /r:../GConf/gconf-sharp.dll /r:glib-sharp /r:gtk-sharp /r:gnome-sharp /r:glade-sharp /r:System.Drawing /target:library /out:gconf-sharp-peditors.dll
+	$(MCS) $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:../GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:System.Drawing /target:library /out:gconf-sharp-peditors.dll
 
 install: all
 	cp gconf-sharp-peditors.dll $(DESTDIR)@prefix@/lib
Index: gnomedb/Makefile.in
===================================================================
RCS file: /mono/gtk-sharp/gnomedb/Makefile.in,v
retrieving revision 1.2
diff -u -w -r1.2 Makefile.in
--- gnomedb/Makefile.in	12 Sep 2002 01:23:35 -0000	1.2
+++ gnomedb/Makefile.in	22 Oct 2002 14:31:25 -0000
@@ -5,12 +5,12 @@
 @ENABLE_GNOMEDB_FALSE@ all: 
 
 windows:
-	$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
+	$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../art/art-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
 
 linux: gnomedb-sharp.dll
 
 gnomedb-sharp.dll: Application.cs generated/*.cs
-	$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'
+	$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../art -L ../gdk -L ../gtk -L ../gnome -L ../gda -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r art-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'
 
 clean:
 	rm -f *.dll
Index: sample/gconf/Makefile
===================================================================
RCS file: /mono/gtk-sharp/sample/gconf/Makefile,v
retrieving revision 1.1
diff -u -w -r1.1 Makefile
--- sample/gconf/Makefile	19 Oct 2002 09:31:20 -0000	1.1
+++ sample/gconf/Makefile	22 Oct 2002 14:31:25 -0000
@@ -9,7 +9,7 @@
 all: sample.exe
 
 sample.exe: sample.schema sample.glade $(SOURCES)
-	$(MCS) /out:sample.exe $(SOURCES) /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:gtk-sharp /r:glade-sharp /r:gnome-sharp /r:System.Drawing /resource:sample.glade
+	$(MCS) /out:sample.exe $(SOURCES) /r:../../glib/glib-sharp.dll /r:../../pango/pango-sharp.dll /r:../../atk/atk-sharp.dll /r:../../art/art-sharp.dll /r:../../gdk/gdk-sharp.dll /r:$(GCONFDIR)/GConf/gconf-sharp.dll /r:../../gtk/gtk-sharp.dll /r:../../gnome/gnome-sharp.dll /r:../../glade/glade-sharp.dll /r:$(GCONFDIR)/GConf.PropertyEditors/gconf-sharp-peditors.dll /r:System.Drawing /resource:sample.glade
 
 Settings.cs: sample.schema
 	MONO_PATH=$(top_builddir)/gconf/GConf/gconf-sharp.dll mono $(GCONFDIR)/tools/gconfsharp-schemagen.exe Sample sample.schema > Settings.cs

--------------010703080803000801040909--