2002-08-12 19:14:44 +00:00
|
|
|
MCS=mcs
|
|
|
|
DESTDIR=
|
2003-10-08 22:13:47 +00:00
|
|
|
prefix=@prefix@
|
2002-08-12 19:14:44 +00:00
|
|
|
|
|
|
|
@ENABLE_GLADE_TRUE@ all: linux
|
|
|
|
@ENABLE_GLADE_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:glade-sharp.dll /recurse:*.cs
|
|
|
|
|
|
|
|
linux: glade-sharp.dll
|
|
|
|
|
2002-09-13 11:38:36 +00:00
|
|
|
glade-sharp.dll: *.cs generated/*.cs
|
2003-07-27 06:48:40 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -r System.Drawing -L ../glib -L ../pango -L ../atk -L ../gdk -L ../gtk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -o glade-sharp.dll --recurse '*.cs'
|
2002-08-12 19:14:44 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.dll
|
2002-08-23 21:22:16 +00:00
|
|
|
rm -rf generated
|
2002-08-12 19:14:44 +00:00
|
|
|
|
|
|
|
install: all
|
2003-10-08 22:13:47 +00:00
|
|
|
@ENABLE_GLADE_TRUE@ ../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
|
|
@ENABLE_GLADE_TRUE@ cp glade-sharp.dll $(DESTDIR)$(prefix)/lib
|