fec0df9def
* atk/Makefile.in: * gda/Makefile.in: * gdk/Makefile.in: * glade/Makefile.in: * gnome/Makefile.in: * gnomedb/Makefile.in * gtk/Makefile.in: * pango/Makefile.in: * rsvg/Makefile.in: Suppress warnings CS0660 and CS0661. svn path=/trunk/gtk-sharp/; revision=16730
21 lines
530 B
Makefile
Executable file
21 lines
530 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: Application.cs generated/*.cs
|
|
$(MCS) --unsafe -nowarn:0060,0061 --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@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
@ENABLE_GDA_TRUE@ cp gda-sharp.dll $(DESTDIR)@prefix@/lib
|