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