91c6de0cc4
---------------------------------------------------------------------- svn path=/trunk/gtk-sharp/; revision=11115
21 lines
456 B
Makefile
Executable file
21 lines
456 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gnomeprint-sharp.dll /recurse:*.cs
|
|
|
|
linux: gnomeprint-sharp.dll
|
|
|
|
gnomeprint-sharp.dll: *.cs
|
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gnomeprint-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
cp gnomeprint-sharp.dll $(DESTDIR)@prefix@/lib || exit 1
|
|
|