e59f626a81
* gnomedb/Makefile.in: * gnomedb/Application.cs: added class for libgnomedb initialization. * sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb. svn path=/trunk/gtk-sharp/; revision=7373
20 lines
610 B
Makefile
Executable file
20 lines
610 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
@ENABLE_GNOMEDB_TRUE@ all: linux
|
|
@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
|
|
|
|
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'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
@ENABLE_GNOMEDB_TRUE@ cp gnomedb-sharp.dll $(DESTDIR)@prefix@/lib
|