lib_LTLIBRARIES = libconfig.la if BUILDCXX lib_LTLIBRARIES += libconfig++.la endif # Versioning rules ( C:R:A ) # # Perform EACH step that applies. # # 1. Start with version 0:0:0. # 2. If any of the sources have changed, increment R. This is a new revision # of the current interface. # 3. If the interface has changed, increment C and set R to 0. This is the # first revision of a new interface. # 4. If the new interface is a superset of the previous interface # (that is, if the previous interface has not been broken by the # changes in this new release), increment A. This release is backwards # compatible with the previous release. # 5. If the new interface has removed elements with respect to the # previous interface, then backward compatibility is broken; set A to 0. # This release has a new, but backwards incompatible interface. # # For more info see section 6.3 of the GNU Libtool Manual. VERINFO = -version-info 10:2:1 PARSER_PREFIX = libconfig_yy libconfig_la_LDFLAGS = $(VERINFO) -no-undefined libconfig___la_LDFLAGS = $(VERINFO) -no-undefined libsrc = libconfig.c scanner.l grammar.y parsectx.h wincompat.h \ scanctx.c scanctx.h strbuf.c strbuf.h libinc = libconfig.h libsrc_cpp = $(libsrc) libconfigcpp.c++ libinc_cpp = libconfig.h++ BUILT_SOURCES = scanner.c scanner.h grammar.c grammar.h libconfig_la_SOURCES = $(libsrc) libconfig___la_SOURCES = $(libsrc_cpp) libcppflags = -D_REENTRANT libcppxxflags = -D_REENTRANT if GNU_WIN libcppflags += -DLIBCONFIG_EXPORTS libcppxxflags += -DLIBCONFIGXX_EXPORTS -DLIBCONFIG_STATIC endif libconfig_la_CPPFLAGS = -DPARSER_PREFIX=\"$(PARSER_PREFIX)\" $(libcppflags) libconfig___la_CPPFLAGS = -DPARSER_PREFIX=\"$(PARSER_PREFIX)\" $(libcppxxflags) include_HEADERS = $(libinc) if BUILDCXX include_HEADERS += $(libinc_cpp) endif AM_YFLAGS = -d -p $(PARSER_PREFIX) AM_LFLAGS = --header-file=scanner.h --prefix=$(PARSER_PREFIX) EXTRA_DIST = \ $(BUILT_SOURCES) \ libconfigcpp.cc libconfig.hh \ *.vcproj pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libconfig.pc if BUILDCXX pkgconfig_DATA += libconfig++.pc endif 402a64d27e0476'>root/INSTALL
blob: b42a17ac4640e9a2bfe5e480e44d0eef3f365928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182