From 91c6de0cc44c4e76bdc1f125994e8ff9c57f9a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1nchez=20Acosta?= Date: Sun, 2 Feb 2003 17:49:37 +0000 Subject: [PATCH] Added Makefile to generate the libgnomeprint library. ---------------------------------------------------------------------- svn path=/trunk/gtk-sharp/; revision=11115 --- gnomeprint/Makefile | 21 +++++++++++++++++++++ gnomeprint/Makefile.in | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100755 gnomeprint/Makefile create mode 100755 gnomeprint/Makefile.in diff --git a/gnomeprint/Makefile b/gnomeprint/Makefile new file mode 100755 index 000000000..948a27609 --- /dev/null +++ b/gnomeprint/Makefile @@ -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 + diff --git a/gnomeprint/Makefile.in b/gnomeprint/Makefile.in new file mode 100755 index 000000000..66ab02c89 --- /dev/null +++ b/gnomeprint/Makefile.in @@ -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 +