2002-09-11 09:43:17 +00:00
|
|
|
MCS=mcs
|
|
|
|
DESTDIR=
|
|
|
|
|
|
|
|
@ENABLE_GNOMEDB_TRUE@ all: linux
|
|
|
|
@ENABLE_GNOMEDB_FALSE@ all:
|
|
|
|
|
|
|
|
windows:
|
2002-10-26 08:03:16 +00:00
|
|
|
$(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
|
2002-09-11 09:43:17 +00:00
|
|
|
|
|
|
|
linux: gnomedb-sharp.dll
|
|
|
|
|
2002-09-12 01:23:35 +00:00
|
|
|
gnomedb-sharp.dll: Application.cs generated/*.cs
|
2003-07-27 06:48:40 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0660,0661 --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'
|
2002-09-11 09:43:17 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.dll
|
|
|
|
rm -rf generated
|
|
|
|
|
|
|
|
install: all
|
2002-12-22 05:08:52 +00:00
|
|
|
@ENABLE_GNOMEDB_TRUE@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
2002-09-11 09:43:17 +00:00
|
|
|
@ENABLE_GNOMEDB_TRUE@ cp gnomedb-sharp.dll $(DESTDIR)@prefix@/lib
|