2003-04-14 Charles Iliya Krempeaux <charles@reptile.ca>

* gtk-sharp.pc.in : Created to be used for the detection of
          Gtk#.
        * parser/gapi.pc.in : Created to be used for the detection
          of gapi.pl.
        * makefile : Deleted it.  (Actually, renamed it to Makefile.in.)
        * Makefile.in : Created it from the old makefile, and modified it
          to account for gtk-sharp.pc.
        * configure.in : Made it so it will generate gtk-sharp.pc
          from gtk-sharp.pc.in,  parser/gapi.pc from
          parser/gapi.pc.in, and Makefile from Makefile.in.
        * parser/Makefile.in : Modified it to account for parser/gapi.pc.

svn path=/trunk/gtk-sharp/; revision=13846
This commit is contained in:
Charles Iliya Krempeaux 2003-04-21 15:25:26 +00:00
parent bec19dfbab
commit b6a0a2b504
6 changed files with 86 additions and 0 deletions

View File

@ -8,6 +8,20 @@
* sources/Gtk.metadata: added pass_out attribute for tx and ty
arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos.
2003-04-14 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk-sharp.pc.in : Created to be used for the detection of
Gtk#.
* parser/gapi.pc.in : Created to be used for the detection
of gapi.pl.
* makefile : Deleted it. (Actually, renamed it to Makefile.in.)
* Makefile.in : Created it from the old makefile, and modified it
to account for gtk-sharp.pc.
* configure.in : Made it so it will generate gtk-sharp.pc
from gtk-sharp.pc.in, parser/gapi.pc from
parser/gapi.pc.in, and Makefile from Makefile.in.
* parser/Makefile.in : Modified it to account for parser/gapi.pc.
2003-04-14 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom:

66
Makefile.in Normal file
View File

@ -0,0 +1,66 @@
NATIVE_DIRS = glue parser
DIRS=generator api glib pango atk gdk gtk glade art gnome gda gnomedb gconf rsvg sample
ROOT=/cygdrive/$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
CSC=$(ROOT)/microsoft.net/framework/v1.0.3705/csc.exe
MCS=mcs
all: linux
windows:
for i in $(DIRS); do \
CSC=$(CSC) $(MAKE) -C $$i windows || exit 1; \
done;
unix:
@echo "'make unix' is broken for now."
linux: native binding
binding:
for i in $(DIRS); do \
MCS="$(MCS)" $(MAKE) -C $$i || exit 1;\
done;
native:
for i in $(NATIVE_DIRS); do \
$(MAKE) -C $$i || exit 1; \
done
clean:
for i in $(NATIVE_DIRS) $(DIRS); do \
$(MAKE) -C $$i clean || exit 1; \
done;
distclean: clean
for i in $(NATIVE_DIRS); do \
$(MAKE) -C $$i distclean || exit 1; \
done
for i in $(DIRS); do \
$(MAKE) -C $$i distclean || true; \
rm -f $$i/Makefile; \
done
rm -f config.cache config.h config.log config.status libtool
rm -f gtk-sharp.pc
rm -f Makefile
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-pkgconfig
install-binding:
for i in $(DIRS); do \
$(MAKE) -C $$i install || exit 1; \
done
install-native:
for i in $(NATIVE_DIRS); do \
$(MAKE) -C $$i install || exit 1; \
done
install-pkgconfig:
./mkinstalldirs $(DESTDIR)@prefix@/lib/pkgconfig
cp gtk-sharp.pc $(DESTDIR)@prefix@/lib/pkgconfig

View File

@ -130,6 +130,9 @@ gst/Makefile
rsvg/Makefile
sample/Makefile
sample/rsvg/Makefile
gtk-sharp.pc
parser/gapi.pc
Makefile
])
echo "---"

0
gtk-sharp.pc.in Normal file
View File

View File

@ -20,6 +20,7 @@ clean:
distclean:
rm -f Makefile gapi_format_xml
rm -f gapi.pc
prefix=@prefix@
DESTDIR=
@ -33,3 +34,5 @@ install: all
../mkinstalldirs $(DESTDIR)$(prefix)/share/perl5/GAPI && \
cp $$i $(DESTDIR)$(prefix)/share/perl5/GAPI; \
done
../mkinstalldirs $(DESTDIR)$(prefix)/lib/pkgconfig && \
cp gapi.pc $(DESTDIR)$(prefix)/lib/pkgconfig

0
parser/gapi.pc.in Normal file
View File