aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-06-29 10:51:11 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-06-29 10:51:11 +0300
commit34b9d0566dbee4b3a4ddfa4cbf23b9c689393fb8 (patch)
tree63b3830d3fdb0c6354f3550f23fdc3b5ea7ca24a /src
parenteb98370ae03aa778d0a69df83f6f4a5cecff0b38 (diff)
downloadgrecs-34b9d0566dbee4b3a4ddfa4cbf23b9c689393fb8.tar.gz
grecs-34b9d0566dbee4b3a4ddfa4cbf23b9c689393fb8.tar.bz2
Fix parrallel builds. Fix memory leak in wordsplit.
Diffstat (limited to 'src')
-rw-r--r--src/Make.am85
1 files changed, 41 insertions, 44 deletions
diff --git a/src/Make.am b/src/Make.am
index 5199991..9a67037 100644
--- a/src/Make.am
+++ b/src/Make.am
@@ -1,3 +1,3 @@
1# This file is part of grecs - Gray's Extensible Configuration System 1# This file is part of grecs - Gray's Extensible Configuration System
2# Copyright (C) 2007-2019 Sergey Poznyakoff 2# Copyright (C) 2007-2020 Sergey Poznyakoff
3# 3#
@@ -17,30 +17,6 @@
17PARSER_DEFS = 17PARSER_DEFS =
18 18BUILT_SOURCES = grecs-gram.h
19if GRECS_COND_META1_PARSER 19EXTRA_DIST=\
20 GRECS_PARSER_META1 = meta1-gram.y meta1-lex.l 20 $(PP_SETUP_FILE)\
21 GRECS_EXTRA_META1 = meta1-gram.h 21 Make.am Make-inst.am Make-shared.am Make-static.am
22 PARSER_DEFS += -DENABLE_META1_PARSER
23endif
24
25if GRECS_COND_BIND_PARSER
26 GRECS_PARSER_BIND = bind-gram.y bind-lex.l
27 GRECS_EXTRA_BIND = bind-gram.h
28 PARSER_DEFS += -DENABLE_BIND_PARSER
29endif
30
31if GRECS_COND_DHCPD_PARSER
32 GRECS_PARSER_DHCPD = dhcpd-gram.y dhcpd-lex.l
33 GRECS_EXTRA_DHCPD = dhcpd-gram.h
34 PARSER_DEFS += -DENABLE_DHCPD_PARSER
35endif
36
37if GRECS_COND_GIT_PARSER
38 GRECS_PARSER_GIT = git-parser.c
39 PARSER_DEFS += -DENABLE_GIT_PARSER
40endif
41
42if GRECS_COND_JSON
43 GRECS_JSON = json-gram.y json-lex.l jsonfmt.c
44 GRECS_EXTRA_JSON = json-gram.h
45endif
46 22
@@ -54,2 +30,3 @@ GRECS_SRC = \
54 grecs-lex.l\ 30 grecs-lex.l\
31 grecs-gram.h\
55 ipstr.c\ 32 ipstr.c\
@@ -70,8 +47,37 @@ GRECS_SRC = \
70 txtacc.c\ 47 txtacc.c\
71 version.c\ 48 version.c
72 $(GRECS_JSON)\ 49
73 $(GRECS_PARSER_BIND)\ 50grecs-gram.h: grecs-gram.c
74 $(GRECS_PARSER_DHCPD)\ 51
75 $(GRECS_PARSER_GIT)\ 52if GRECS_COND_META1_PARSER
76 $(GRECS_PARSER_META1) 53 GRECS_SRC += meta1-gram.y meta1-lex.l meta1-gram.h
54 BUILT_SOURCES += meta1-gram.h
55 PARSER_DEFS += -DENABLE_META1_PARSER
56meta1-gram.h: meta1-gram.c
57endif
58
59if GRECS_COND_BIND_PARSER
60 GRECS_SRC += bind-gram.y bind-lex.l bind-gram.h
61 BUILT_SOURCES += bind-gram.h
62 PARSER_DEFS += -DENABLE_BIND_PARSER
63bind-gram.h: bind-gram.c
64endif
65
66if GRECS_COND_DHCPD_PARSER
67 GRECS_SRC += dhcpd-gram.y dhcpd-lex.l dhcpd-gram.h
68 BUILT_SOURCES += dhcpd-gram.h
69 PARSER_DEFS += -DENABLE_DHCPD_PARSER
70dhcpd-gram.h: dhcpd-gram.c
71endif
72
73if GRECS_COND_GIT_PARSER
74 GRECS_SRC += git-parser.c
75 PARSER_DEFS += -DENABLE_GIT_PARSER
76endif
77
78if GRECS_COND_JSON
79 GRECS_SRC += json-gram.y json-lex.l jsonfmt.c json-gram.h
80 BUILT_SOURCES += json-gram.h
81json-gram.h: json-gram.c
82endif
77 83
@@ -84,11 +90,2 @@ endif
84 90
85EXTRA_DIST=\
86 grecs-gram.h\
87 $(GRECS_EXTRA_BIND)\
88 $(GRECS_EXTRA_DHCPD)\
89 $(GRECS_EXTRA_JSON)\
90 $(GRECS_EXTRA_META1)\
91 $(PP_SETUP_FILE)\
92 Make.am Make-inst.am Make-shared.am Make-static.am
93
94AM_CPPFLAGS = \ 91AM_CPPFLAGS = \

Return to:

Send suggestions and report system problems to the System administrator.