2002-08-23 Rachel Hestilow <hestilow@ximian.com>

* Applied patch from Robot101 for maintainer-clean, etc.
	Needed for packaging.

svn path=/trunk/gtk-sharp/; revision=6977
This commit is contained in:
Rachel Hestilow 2002-08-23 21:22:16 +00:00
parent 2d8d20e341
commit 0f652408ed
12 changed files with 41 additions and 29 deletions

View File

@ -1,3 +1,8 @@
2002-08-23 Rachel Hestilow <hestilow@ximian.com>
* Applied patch from Robot101 for maintainer-clean, etc.
Needed for packaging.
2002-08-20 Rachel Hestilow <hestilow@ximian.com> 2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* generator/SymbolTable.cs (Trim): Work around "void*". * generator/SymbolTable.cs (Trim): Work around "void*".

View File

@ -15,13 +15,14 @@ all: generated-stamp
generated-stamp: $(APIS) ../generator/gapi_codegen.exe generated-stamp: $(APIS) ../generator/gapi_codegen.exe
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) && touch generated-stamp $(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) && touch generated-stamp
clean: clean:
rm -f generated-stamp
prefix=@prefix@ prefix=@prefix@
apidir = $(DESTDIR)$(prefix)/share/gapi DESTDIR=
apidir=$(DESTDIR)$(prefix)/share/gapi
install: all install: all
../mkinstalldirs $(apidir) ../mkinstalldirs $(apidir) && \
cp $(APIS) $(apidir) cp $(APIS) $(apidir)

View File

@ -13,7 +13,7 @@ art-sharp.dll: generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/*.cs rm -rf generated
install: all install: all
cp art-sharp.dll $(DESTDIR)@prefix@/lib cp art-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -13,7 +13,7 @@ atk-sharp.dll: generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/* rm -rf generated
install: all install: all
cp atk-sharp.dll $(DESTDIR)@prefix@/lib cp atk-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -13,7 +13,7 @@ gdk-sharp.dll: *.cs generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/* rm -rf generated
install: all install: all
cp gdk-sharp.dll $(DESTDIR)@prefix@/lib cp gdk-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -1,5 +1,6 @@
MCS=mcs MCS=mcs
RUNTIME=mono RUNTIME=mono
DESTDIR=
all: linux all: linux
@ -15,6 +16,7 @@ clean:
prefix=@prefix@ prefix=@prefix@
install: all install: all
../mkinstalldirs $(DESTDIR)$(prefix)/bin && \
cp gapi_codegen.exe $(DESTDIR)$(prefix)/bin cp gapi_codegen.exe $(DESTDIR)$(prefix)/bin
gapi_codegen.exe: *.cs gapi_codegen.exe: *.cs

View File

@ -14,8 +14,7 @@ glade-sharp.dll: generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/* rm -rf generated
install: all install: all
@ENABLE_GLADE_TRUE@ cp glade-sharp.dll $(DESTDIR)@prefix@/lib @ENABLE_GLADE_TRUE@ cp glade-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -14,7 +14,7 @@ gnome-sharp.dll: generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/*.cs rm -rf generated
install: all install: all
@ENABLE_GNOME_TRUE@ cp gnome-sharp.dll $(DESTDIR)@prefix@/lib @ENABLE_GNOME_TRUE@ cp gnome-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -13,7 +13,7 @@ gtk-sharp.dll: *.cs generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/* rm -rf generated
install: all install: all
cp gtk-sharp.dll $(DESTDIR)@prefix@/lib cp gtk-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -8,8 +8,8 @@ MCS=mcs
all: linux all: linux
windows: windows:
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; CSC=$(CSC) make windows) || exit 1;\ CSC=$(CSC) make -C $$i windows || exit 1; \
done; done;
unix: unix:
@ -19,37 +19,41 @@ linux: native binding
binding: binding:
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; MCS="$(MCS)" make) || exit 1;\ MCS="$(MCS)" make -C $$i || exit 1;\
done; done;
native: native:
for i in $(NATIVE_DIRS); do \ for i in $(NATIVE_DIRS); do \
(cd $$i; make) || exit 1;\ make -C $$i || exit 1; \
done done
clean: clean:
for i in $(NATIVE_DIRS) $(DIRS); do \ for i in $(NATIVE_DIRS) $(DIRS); do \
(cd $$i; make clean) || exit 1; \ make -C $$i clean || exit 1; \
done; done;
distclean: clean distclean: clean
for i in $(NATIVE_DIRS); do \ for i in $(NATIVE_DIRS); do \
(cd $$i; make distclean) || exit 1;\ make -C $$i distclean || exit 1; \
done done
for i in $(DIRS); do \ for i in $(DIRS); do \
rm -f $$i/Makefile; \ rm -f $$i/Makefile; \
done done
rm -f config.cache config.h config.log config.status libtool rm -f config.cache config.h config.log config.status libtool
maintainer-clean: distclean
rm -f aclocal.m4 config.guess config.h.in config.sub
rm -f configure install-sh ltmain.sh missing
rm -f mkinstalldirs stamp-h glue/Makefile.in
install: install-native install-binding install: install-native install-binding
install-binding: install-binding:
for i in $(DIRS); do \ for i in $(DIRS); do \
(cd $$i; make install) || exit 1; \ make -C $$i install || exit 1; \
done;
install-native:
for i in $(NATIVE_DIRS); do \
(cd $$i; make install) || exit 1;\
done done
install-native:
for i in $(NATIVE_DIRS); do \
make -C $$i install || exit 1; \
done

View File

@ -13,7 +13,7 @@ pango-sharp.dll: generated/*.cs
clean: clean:
rm -f *.dll rm -f *.dll
rm -f generated/* rm -rf generated
install: all install: all
cp pango-sharp.dll $(DESTDIR)@prefix@/lib cp pango-sharp.dll $(DESTDIR)@prefix@/lib

View File

@ -14,16 +14,17 @@ clean:
rm -f gapi_format_xml rm -f gapi_format_xml
distclean: distclean:
rm -f gapi_format_xml rm -f Makefile gapi_format_xml
prefix=@prefix@ prefix=@prefix@
DESTDIR=
install: all install: all
for i in $(SCRIPTS) gapi_format_xml; do \ for i in $(SCRIPTS) gapi_format_xml; do \
../mkinstalldirs $(DESTDIR)$(prefix)/bin && \
cp $$i $(DESTDIR)$(prefix)/bin; \ cp $$i $(DESTDIR)$(prefix)/bin; \
done done
for i in $(MODULES); do \ for i in $(MODULES); do \
../mkinstalldirs $(DESTDIR)$(prefix)/share/perl5/GAPI && \ ../mkinstalldirs $(DESTDIR)$(prefix)/share/perl5/GAPI && \
cp $$i $(DESTDIR)$(prefix)/share/perl5/GAPI; \ cp $$i $(DESTDIR)$(prefix)/share/perl5/GAPI; \
done done