GtkSharp/gdk/Makefile.in
Mike Kestner 732cdf7729 2003-10-08 Mike Kestner <mkestner@ximian.com>
* */Makefile.in : rework the prefix handling for duncan's packaging.

svn path=/trunk/gtk-sharp/; revision=18778
2003-10-08 22:13:47 +00:00

22 lines
590 B
Makefile
Executable file

MCS=mcs
DESTDIR=
prefix=@prefix@
all: linux
windows:
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /out:gdk-sharp.dll /recurse:*.cs
linux: gdk-sharp.dll
gdk-sharp.dll: *.cs generated/*.cs
$(MCS) --unsafe -nowarn:0660,0661 --target library -r System.Drawing -L ../glib -L ../pango -L ../atk -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -o gdk-sharp.dll --recurse '*.cs'
clean:
rm -f *.dll
rm -rf generated
install: all
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
cp gdk-sharp.dll $(DESTDIR)$(prefix)/lib