Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
2004-03-17 John Luke <jluke@cfl.rr.com>
Browse files Browse the repository at this point in the history
        * makefile.am:
        * gtksourceview/makefile.am: make distcheck fixes from Gtk#
        and other updates
        * sources/makefile: use .raw for the api file output
        * gtksourceview/gtksourceview-api.xml: remove
        * gtksourceview/gtksourceview-api.raw: add and regen

svn path=/trunk/gtksourceview-sharp/; revision=24265
  • Loading branch information
John Luke committed Mar 18, 2004
1 parent eb8fbae commit ea58332
Show file tree
Hide file tree
Showing 7 changed files with 474 additions and 400 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
@@ -1,3 +1,12 @@
2004-03-17 John Luke <jluke@cfl.rr.com>

* makefile.am:
* gtksourceview/makefile.am: make distcheck fixes from Gtk#
and other updates
* sources/makefile: use .raw for the api file output
* gtksourceview/gtksourceview-api.xml: remove
* gtksourceview/gtksourceview-api.raw: add and regen

2004-03-07 John Luke <jluke@cfl.rr.com>

* configure.in: bump version number to 0.2
Expand Down
4 changes: 2 additions & 2 deletions gtksourceview-sharp.pc.in
Expand Up @@ -3,7 +3,7 @@ exec_prefix=${prefix}
libdir=${exec_prefix}/lib


Name: Gtk#
Description: Gtk# - GNOME .NET Binding
Name: GtkSourceView#
Description: GtkSourceView# - gtksourceview .NET Binding
Version: @VERSION@
Libs: -lib:${exec_prefix}/lib -r:gtksourceview-sharp
1 change: 1 addition & 0 deletions gtksourceview/.cvsignore
Expand Up @@ -3,3 +3,4 @@ makefile
*.dll
generated
generated-stamp
gtksourceview-api.xml

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions gtksourceview/makefile.am
Expand Up @@ -16,7 +16,7 @@ ASSEMBLIES= -r atk-sharp.dll \
-r gnome-sharp.dll \
-r pango-sharp.dll

EXTRA_DIST = GtkSourceView.cs *.custom *.metadata *.xml
EXTRA_DIST = $(sources) $(customs) Gtk.metadata gtksourceview-api.raw

gtksourceviewsharpdir = $(libdir)
gtksourceviewsharp_DATA = gtksourceview-sharp.dll
Expand All @@ -26,13 +26,27 @@ api_DATA = gtksourceview-api.xml

all: $(LIBRARY)

generated-stamp: $(APIS) *.custom *.metadata
$(GAPI_FIXUP) --api=gtksourceview-api.xml --metadata=Gtk.metadata && \
gtksourceview-api.xml:
cp $(srcdir)/gtksourceview-api.raw gtksourceview-api.xml
chmod u+w gtksourceview-api.xml
$(GAPI_FIXUP) --api=gtksourceview-api.xml --metadata=$(srcdir)/Gtk.metadata

generated-stamp: $(APIS) $(customs) $(sources) Gtk.metadata
$(GAPI_CODEGEN) --include $(INCLUDE_APIS) --generate $(APIS) \
--outdir=generated --customdir=. --assembly-name=gtksourceview-sharp && touch generated-stamp

$(LIBRARY): generated-stamp
$(MCS) --unsafe --target library $(ASSEMBLIES) --recurse '*.cs' -o $(LIBRARY)
sources = GtkSourceView.cs
build_sources = $(addprefix $(srcdir)/, $(sources))

customs = SourceBuffer.custom
build_customs = $(addprefix $(srcdir)/, $(customs))

$(LIBRARY): generated-stamp $(build_sources)
$(MCS) --unsafe --target library $(ASSEMBLIES) \
generated/*.cs $(build_source) -o $(LIBRARY)

CLEANFILES = $(LIBRARY) generated/*.cs generated-stamp gtksourceview-api.xml

distclean-local:
rm -f makefile

clean:
rm -rf $(LIBRARY) generated generated-stamp
2 changes: 2 additions & 0 deletions makefile.am
Expand Up @@ -10,3 +10,5 @@ pkgconfig_DATA = gtksourceview-sharp.pc
mimeinfodir = @gtksourceview_prefix@/share/mime-info
mimeinfo_DATA = gtksourceview-sharp.mime gtksourceview-sharp.keys

distclean-local:
rm -f makefile
2 changes: 1 addition & 1 deletion sources/gtksourceview-sharp-sources.xml
@@ -1,5 +1,5 @@
<gapi-parser-input>
<api filename="../gtksourceview/gtksourceview-api.xml">
<api filename="../gtksourceview/gtksourceview-api.raw">
<library name="gtksourceview-1.0">
<namespace name="Gtk">
<dir>gtksourceview-0.7.0/gtksourceview</dir>
Expand Down

0 comments on commit ea58332

Please sign in to comment.