2002-04-18 21:46:56 +00:00
|
|
|
MCS=mcs
|
2002-08-06 02:07:10 +00:00
|
|
|
DESTDIR=
|
2001-09-21 14:03:17 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2001-09-21 14:03:17 +00:00
|
|
|
|
|
|
|
windows:
|
2002-01-07 00:25:51 +00:00
|
|
|
$(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
|
2001-09-21 14:03:17 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
linux: gdk-sharp.dll
|
|
|
|
|
2002-06-26 11:08:22 +00:00
|
|
|
gdk-sharp.dll: *.cs generated/*.cs
|
2003-01-06 01:44:49 +00:00
|
|
|
$(MCS) --unsafe --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'
|
2002-03-30 00:18:41 +00:00
|
|
|
|
2002-05-08 00:29:51 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.dll
|
2002-08-23 21:22:16 +00:00
|
|
|
rm -rf generated
|
2002-05-02 21:57:41 +00:00
|
|
|
|
|
|
|
install: all
|
2002-12-22 05:08:52 +00:00
|
|
|
../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
2002-08-06 02:07:10 +00:00
|
|
|
cp gdk-sharp.dll $(DESTDIR)@prefix@/lib
|
2002-05-02 21:57:41 +00:00
|
|
|
|