2002-04-18 21:46:56 +00:00
|
|
|
MCS=mcs
|
2002-08-06 02:07:10 +00:00
|
|
|
DESTDIR=
|
2003-10-08 22:13:47 +00:00
|
|
|
prefix=@prefix@
|
2002-01-07 00:25:51 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2002-01-07 00:25:51 +00:00
|
|
|
|
|
|
|
windows:
|
|
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /out:atk-sharp.dll /recurse:*.cs
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
linux: atk-sharp.dll
|
|
|
|
|
|
|
|
atk-sharp.dll: generated/*.cs
|
2003-07-27 06:48:40 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -L ../glib -L ../pango -r glib-sharp.dll -r pango-sharp.dll -o atk-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
|
2003-10-08 22:13:47 +00:00
|
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
|
|
cp atk-sharp.dll $(DESTDIR)$(prefix)/lib
|
2002-05-02 21:57:41 +00:00
|
|
|
|