14e24ebbf9
* api/gda-api.xml: new file for the libgda API. * gda/*: added libgda bindings. * sources/README: updated requirements. svn path=/trunk/gtk-sharp/; revision=7167
20 lines
434 B
Makefile
Executable file
20 lines
434 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
@ENABLE_GDA_TRUE@ all: linux
|
|
@ENABLE_GDA_FALSE@ all:
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gda-sharp.dll /recurse:*.cs
|
|
|
|
linux: gda-sharp.dll
|
|
|
|
gda-sharp.dll: generated/*.cs
|
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gda-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
@ENABLE_GDA_TRUE@ cp gda-sharp.dll $(DESTDIR)@prefix@/lib
|