Added Makefile to generate the libgnomeprint library.
---------------------------------------------------------------------- svn path=/trunk/gtk-sharp/; revision=11115
This commit is contained in:
parent
737ac92412
commit
91c6de0cc4
2 changed files with 42 additions and 0 deletions
21
gnomeprint/Makefile
Executable file
21
gnomeprint/Makefile
Executable file
|
@ -0,0 +1,21 @@
|
|||
# Generated automatically from Makefile.in by configure.
|
||||
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: generated/*.cs
|
||||
$(MCS) --unsafe --target library -r glib-sharp.dll -o gnomeprint-sharp.dll --recurse '*.cs'
|
||||
|
||||
clean:
|
||||
rm -f *.dll
|
||||
rm -rf generated
|
||||
|
||||
install: all
|
||||
cp gst-sharp.dll $(DESTDIR)/usr/local//lib || exit 1
|
||||
|
21
gnomeprint/Makefile.in
Executable file
21
gnomeprint/Makefile.in
Executable file
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
|
Loading…
Add table
Reference in a new issue