5c87903756
* makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) svn path=/trunk/gtk-sharp/; revision=9828
26 lines
680 B
Makefile
26 lines
680 B
Makefile
MCS = mcs
|
|
DESTDIR =
|
|
bindir = @prefix@/bin
|
|
|
|
SOURCES = \
|
|
schemagen.cs \
|
|
#
|
|
|
|
all: gconfsharp-schemagen.exe gconfsharp-schemagen
|
|
|
|
gconfsharp-schemagen.exe: $(SOURCES)
|
|
$(MCS) /out:gconfsharp-schemagen.exe $(SOURCES)
|
|
|
|
gconfsharp-schemagen: gconfsharp-schemagen.in
|
|
sed -e 's^\@bindir\@^$(bindir)^g' < gconfsharp-schemagen.in > gconfsharp-schemagen.tmp \
|
|
&& mv gconfsharp-schemagen.tmp gconfsharp-schemagen \
|
|
&& chmod +x gconfsharp-schemagen
|
|
|
|
install: all
|
|
../../mkinstalldirs $(DESTDIR)@prefix@/bin && \
|
|
chmod +x gconfsharp-schemagen && cp gconfsharp-schemagen.exe gconfsharp-schemagen $(DESTDIR)@prefix@/bin
|
|
|
|
clean:
|
|
rm -f gconfsharp-schemagen.exe
|
|
rm -f gconfsharp-schemagen
|
|
|