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-04 02:02:28 +00:00
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
all: linux
|
2002-01-04 02:02:28 +00:00
|
|
|
|
|
|
|
windows:
|
|
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:pango-sharp.dll /recurse:*.cs
|
|
|
|
|
2002-05-02 21:57:41 +00:00
|
|
|
linux: pango-sharp.dll
|
|
|
|
|
|
|
|
pango-sharp.dll: generated/*.cs
|
2003-07-27 06:48:40 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0660,0661 --target library -L ../glib -r glib-sharp.dll -r System.Drawing -o pango-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 pango-sharp.dll $(DESTDIR)$(prefix)/lib
|
2002-05-02 21:57:41 +00:00
|
|
|
|