Skip to content

Commit 6daa7ee

Browse files
author
Klaus Treichel
committed
2005-08-17 Klaus Treichel <[email protected]> * Makefile.am: add header files to ditstributed sources. Move skels.c to not distributed sources and add mkskel-sh to EXTRA_DIST. * doc/Makefile.am: Add $(man_MANS), texinfo.tex, mkdoc, mkhtml, mkpdf, extending.txt, essay.html and binary_readme.txt to EXTRA_DIST. * etc/Makefile.am: add $(noinst_DATA) to EXTRA_DIST. * examples/Makefile.am: Move expr_c.c to BUILT_SOURCES AND add gram_c.c and gram_c.h to BUILT_SOURCES. Add expr_c.c to nodist_SOURCES and add expr_c.tc to dist_SOURCES. * tests/Makefile.am: Add run_tests and testfiles to EXTRA_DIST.
1 parent 7f674f0 commit 6daa7ee

File tree

6 files changed

+137
-24
lines changed

6 files changed

+137
-24
lines changed

ChangeLog

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
2005-08-17 Klaus Treichel <[email protected]>
2+
3+
* Makefile.am: add header files to ditstributed sources. Move skels.c to
4+
not distributed sources and add mkskel-sh to EXTRA_DIST.
5+
6+
* doc/Makefile.am: Add $(man_MANS), texinfo.tex, mkdoc, mkhtml, mkpdf,
7+
extending.txt, essay.html and binary_readme.txt to EXTRA_DIST.
8+
9+
* etc/Makefile.am: add $(noinst_DATA) to EXTRA_DIST.
10+
11+
* examples/Makefile.am: Move expr_c.c to BUILT_SOURCES AND add gram_c.c and
12+
gram_c.h to BUILT_SOURCES. Add expr_c.c to nodist_SOURCES and add expr_c.tc to
13+
dist_SOURCES.
14+
15+
* tests/Makefile.am: Add run_tests and testfiles to EXTRA_DIST.
16+
117
2005-07-25 Deryk Robosson <[email protected]>
218

319
* configure.in: Add check for BeOS which removes libm from examples.

Makefile.am

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,35 @@ noinst_LIBRARIES = libtreecc.a
66
treecc_SOURCES = main.c
77
treecc_LDADD = libtreecc.a
88

9-
libtreecc_a_SOURCES = context.c \
10-
errors.c \
11-
gen.c \
12-
gen_c.c \
13-
gen_cpp.c \
14-
gen_cs.c \
15-
gen_ruby.c \
16-
gen_java.c \
17-
gen_php.c \
18-
input.c \
19-
literal.c \
20-
node.c \
21-
oper.c \
22-
options.c \
23-
parse.c \
24-
skeleton.c \
25-
skels.c \
26-
stream.c
9+
EXTRA_DIST = mkskel-sh
10+
11+
nodist_libtreecc_a_SOURCES = skels.c
12+
13+
dist_libtreecc_a_SOURCES = context.c \
14+
errors.c \
15+
errors.h \
16+
gen.c \
17+
gen.h \
18+
gen_c.c \
19+
gen_cpp.c \
20+
gen_cs.c \
21+
gen_ruby.c \
22+
gen_java.c \
23+
gen_php.c \
24+
info.h \
25+
input.c \
26+
input.h \
27+
literal.c \
28+
node.c \
29+
oper.c \
30+
options.c \
31+
options.h \
32+
parse.c \
33+
parse.h \
34+
skeleton.c \
35+
stream.c \
36+
stream.h \
37+
system.h
2738

2839
SKELETON_FILES = $(top_srcdir)/etc/c_skel.c \
2940
$(top_srcdir)/etc/c_skel.h \

doc/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
man_MANS = treecc.1
22
info_TEXINFOS = treecc.texi
3+
EXTRA_DIST = $(man_MANS) texinfo.tex mkdoc mkhtml \
4+
mkpdf extending.txt essay.html binary_readme.txt
35
CLEANFILES = treecc.info treecc.info-1 treecc.info-2 treecc.info-3

etc/Makefile.am

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@
44

55
noinst_DATA = cpp_skel.cc cpp_skel.h c_skel.c c_skel.h \
66
cpp_gc_skel.cc cpp_gc_skel.h c_gc_skel.c c_gc_skel.h
7+
8+
## but we need to put them into the distribution
9+
10+
EXTRA_DIST = $(noinst_DATA)
11+

examples/Makefile.am

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ noinst_PROGRAMS = expr_c
66
## EXTRA_PROGRAMS = expr_cpp
77

88
expr_c_DEPENDENCIES = $(top_builddir)/treecc
9-
expr_c_SOURCES = expr_c.c gram_c.y scan_c.l
9+
BUILT_SOURCES = expr_c.c gram_c.c gram_c.h
10+
nodist_expr_c_SOURCES = expr_c.c
11+
dist_expr_c_SOURCES = expr_c.tc gram_c.y scan_c.l
1012
expr_c_LDADD = -lm
1113

1214
expr_c.c expr_c.h: $(srcdir)/expr_c.tc
1315
$(top_builddir)/treecc -o expr_c.c -h expr_c.h $(srcdir)/expr_c.tc
1416

15-
scan_c.l: gram_c.c
16-
1717
## expr_cpp_SOURCES = expr_cpp.cc gram_cpp.yy scan_cpp.ll
1818
##
1919
## expr_cpp.cc expr_cpp.h: expr_cpp.tc

tests/Makefile.am

Lines changed: 82 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
TESTS = run_tests
2+
TEST_ENVIRONMENT = $(SHELL)
3+
4+
EXTRA_DIST= run_tests \
5+
input1.out \
6+
input1.tst \
7+
input2.out \
8+
input2.tst \
9+
input3.out \
10+
input3.tst \
11+
input4.out \
12+
input4.tst \
13+
input5.out \
14+
input5.tst \
15+
input6.out \
16+
input6.tst \
17+
input7.out \
18+
input7.tst \
19+
input8.out \
20+
input8.tst \
21+
input9.out \
22+
input9.tst \
23+
input10.out \
24+
input10.tst \
25+
output1.out \
26+
output1.tst \
27+
output2.out \
28+
output2.tst \
29+
output3.out \
30+
output3.tst \
31+
output4.out \
32+
output4.tst \
33+
output5.out \
34+
output5.tst \
35+
output6.out \
36+
output6.tst \
37+
output7.out \
38+
output7.tst \
39+
output8.out \
40+
output8.tst \
41+
output9.out \
42+
output9.tst \
43+
output10.out \
44+
output10.tst \
45+
output11.out \
46+
output11.tst \
47+
output12.out \
48+
output12.tst \
49+
output13.out \
50+
output13.tst \
51+
output14.out \
52+
output14.tst \
53+
output15.out \
54+
output15.tst \
55+
output16.out \
56+
output16.tst \
57+
output17.out \
58+
output17.tst \
59+
output18.out \
60+
output18.tst \
61+
parse1.out \
62+
parse1.tst \
63+
parse2.out \
64+
parse2.tst \
65+
parse3.out \
66+
parse3.tst \
67+
parse4.out \
68+
parse4.tst \
69+
parse5.out \
70+
parse5.tst \
71+
parse6.out \
72+
parse6.tst \
73+
parse7.out \
74+
parse7.tst \
75+
parse8.out \
76+
parse8.tst \
77+
parse9.out \
78+
parse9.tst \
79+
parse10.out \
80+
parse10.tst \
81+
test_list
82+
183
noinst_PROGRAMS = test_input test_parse test_output normalize
284

385
test_input_SOURCES = test_input.c
@@ -11,7 +93,4 @@ test_output_LDADD = ../libtreecc.a
1193

1294
normalize_SOURCES = normalize.c
1395

14-
TESTS = run_tests
15-
TEST_ENVIRONMENT = $(SHELL)
16-
1796
AM_CFLAGS = -I$(srcdir)/..

0 commit comments

Comments
 (0)