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
22 lines
791 B
Makefile
Executable file
22 lines
791 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
@ENABLE_GNOME_TRUE@ all: linux
|
|
@ENABLE_GNOME_FALSE@ all:
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /out:gnome-sharp.dll /recurse:*.cs
|
|
|
|
linux: gnome-sharp.dll
|
|
|
|
gnome-sharp.dll: generated/*.cs
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -r System.Drawing -L ../glib -L ../pango -L ../atk -L ../art -L ../gdk -L ../gtk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r art-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -o gnome-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
@ENABLE_GNOME_TRUE@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
@ENABLE_GNOME_TRUE@ cp gnome-sharp.dll $(DESTDIR)@prefix@/lib
|
|
|