[gtksourceviewmm] Transition to mm-common: codegen.



commit c967c4b0bd0f2240dfe4bb576b11f1f83c31003c
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Tue Dec 8 22:31:10 2009 +0100

    Transition to mm-common: codegen.
    
    * codegen/Makefile.am: Modify it to build extra defs generator.
    * codegen/extradefs/.gitignore:
    * codegen/m4/filelist.am: New files.

 codegen/Makefile.am          |   12 +++++++++---
 codegen/extradefs/.gitignore |    2 ++
 codegen/m4/filelist.am       |    3 +++
 3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/codegen/Makefile.am b/codegen/Makefile.am
index cab6f1a..2ddb543 100644
--- a/codegen/Makefile.am
+++ b/codegen/Makefile.am
@@ -1,9 +1,15 @@
+AUTOMAKE_OPTIONS = subdir-objects
 
-include $(top_srcdir)/tools/Makefile_list_of_sources.am_fragment
+include $(srcdir)/m4/filelist.am
 
-SUBDIRS = m4 extra_defs_gen
+dist_noinst_DATA = $(addprefix m4/,$(files_codegen_m4))
+noinst_PROGRAMS = extradefs/generate_extra_defs
 
-EXTRA_DIST = Makefile_list_of_sources.am_fragment README TODO
+extradefs_generate_extra_defs_SOURCES = extradefs/generate_extra_defs_gtksourceview.cc
+extradefs_generate_extra_defs_LDADD   = $(GTKSOURCEVIEWMM_LIBS) -lglibmm_generate_extra_defs-2.4
 
+AM_CPPFLAGS = -I$(top_builddir) $(GTHREAD_CFLAGS) $(GTKSOURCEVIEWMM_CFLAGS)
+AM_CXXFLAGS = $(GTKSOURCEVIEWMM_WXXFLAGS)
 
+.DELETE_ON_ERROR:
 
diff --git a/codegen/extradefs/.gitignore b/codegen/extradefs/.gitignore
new file mode 100644
index 0000000..d6f3e9b
--- /dev/null
+++ b/codegen/extradefs/.gitignore
@@ -0,0 +1,2 @@
+/.dirstamp
+/generate_extra_defs
diff --git a/codegen/m4/filelist.am b/codegen/m4/filelist.am
new file mode 100644
index 0000000..e668315
--- /dev/null
+++ b/codegen/m4/filelist.am
@@ -0,0 +1,3 @@
+files_codegen_m4 = convert_gtksourceview.m4	\
+	convert_gtksourceviewmm.m4 		\
+	convert.m4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]