2002-10-19 09:31:20 +00:00
|
|
|
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
|
2002-12-22 05:08:52 +00:00
|
|
|
../../mkinstalldirs $(DESTDIR)@prefix@/bin && \
|
2002-10-19 09:31:20 +00:00
|
|
|
chmod +x gconfsharp-schemagen && cp gconfsharp-schemagen.exe gconfsharp-schemagen $(DESTDIR)@prefix@/bin
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f gconfsharp-schemagen.exe
|
|
|
|
rm -f gconfsharp-schemagen
|
|
|
|
|