dotgnu-pnet-commits
[Top][All Lists]
Advanced

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

[dotgnu-pnet-commits] treecc ChangeLog Makefile.am examples/Makefile....


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] treecc ChangeLog Makefile.am examples/Makefile....
Date: Sat, 20 Jan 2007 13:14:25 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    treecc
Changes by:     Klaus Treichel <ktreichel>      07/01/20 13:14:25

Modified files:
        .              : ChangeLog Makefile.am 
        examples       : Makefile.am 
        tests          : Makefile.am 

Log message:
        Fix the building out of the tree (Robert Schwebel).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/treecc/ChangeLog?cvsroot=dotgnu-pnet&r1=1.119&r2=1.120
http://cvs.savannah.gnu.org/viewcvs/treecc/Makefile.am?cvsroot=dotgnu-pnet&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/treecc/examples/Makefile.am?cvsroot=dotgnu-pnet&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/treecc/tests/Makefile.am?cvsroot=dotgnu-pnet&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/ChangeLog,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -b -r1.119 -r1.120
--- ChangeLog   20 Feb 2006 02:18:03 -0000      1.119
+++ ChangeLog   20 Jan 2007 13:14:24 -0000      1.120
@@ -1,3 +1,18 @@
+2007-01-20  Robert Schwebel  <address@hidden>
+
+       * configure.in: Remove AM_MAINTAINER_MODE to enable automatic 
reconfigure
+       if one of the autotool input files was changed.
+
+       * Makefile.am: Remove the $(top_srcdir) in the skels.c dependencies 
because
+       we allready are in the source dir.
+
+       * examples/Makefile.am: Move generated sources to nodist_expr_c_SOURCES
+       which prevents the build system trying to package them into the
+       distribution.
+
+       * tests/Makefile.am: Fix the building out of the tree by specifying
+       $(top_builddir).or $(top_srcdir) to point to the right location.
+
 2006-02-20  Russell Stuart  <address@hidden>
 
        * minor re-work of build-debian-packages.

Index: Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- Makefile.am 6 Oct 2005 17:28:59 -0000       1.9
+++ Makefile.am 20 Jan 2007 13:14:24 -0000      1.10
@@ -46,7 +46,7 @@
                                 $(top_srcdir)/etc/cpp_gc_skel.h \
                                 $(top_srcdir)/etc/cpp_gc_skel.cc
 
-skels.c: $(SKELETON_FILES) $(top_srcdir)/mkskel-sh
-       $(SHELL) $(top_srcdir)/mkskel-sh $(SKELETON_FILES) >skels.c
+skels.c: $(SKELETON_FILES) mkskel-sh
+       $(SHELL) mkskel-sh $(SKELETON_FILES) >skels.c
 
 CLEANFILES = skels.c

Index: examples/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/examples/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- examples/Makefile.am        6 Oct 2005 17:28:59 -0000       1.12
+++ examples/Makefile.am        20 Jan 2007 13:14:24 -0000      1.13
@@ -7,10 +7,11 @@
 
 EXTRA_DIST = expr_c.tc gram_c.h
 
-expr_c_DEPENDENCIES = $(top_builddir)/treecc
+## expr_c_DEPENDENCIES = $(top_builddir)/treecc
 BUILT_SOURCES = expr_c.c  expr_c.h gram_c.c gram_c.h
 
-expr_c_SOURCES = expr_c.c expr_c.h gram_c.y scan_c.l
+expr_c_SOURCES = gram_c.y scan_c.l
+nodist_expr_c_SOURCES = expr_c.c expr_c.h
 expr_c_LDADD = -lm
 
 expr_c.c expr_c.h: $(srcdir)/expr_c.tc
@@ -21,7 +22,7 @@
 ## expr_cpp_SOURCES = expr_cpp.cc gram_cpp.yy scan_cpp.ll
 ##
 ## expr_cpp.cc expr_cpp.h: expr_cpp.tc
-##     ../treecc $(srcdir)/expr_cpp.tc
+##     $(top_builddir)/treecc $(srcdir)/expr_cpp.tc
 
 AM_YFLAGS = -d
 

Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/treecc/tests/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- tests/Makefile.am   17 Aug 2005 19:52:01 -0000      1.6
+++ tests/Makefile.am   20 Jan 2007 13:14:25 -0000      1.7
@@ -83,14 +83,14 @@
 noinst_PROGRAMS = test_input test_parse test_output normalize
 
 test_input_SOURCES = test_input.c
-test_input_LDADD = ../libtreecc.a
+test_input_LDADD = $(top_builddir)/libtreecc.a
 
 test_parse_SOURCES = test_parse.c
-test_parse_LDADD = ../libtreecc.a
+test_parse_LDADD = $(top_builddir)/libtreecc.a
 
 test_output_SOURCES = test_output.c
-test_output_LDADD = ../libtreecc.a
+test_output_LDADD = $(top_builddir)/libtreecc.a
 
 normalize_SOURCES = normalize.c
 
-AM_CFLAGS = -I$(srcdir)/..
+AM_CFLAGS = -I$(top_srcdir)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]