Lines 1-25
Link Here
|
1 |
--- src/lib/Makefile.in.orig 2016-06-17 17:20:00 UTC |
|
|
2 |
+++ src/lib/Makefile.in |
3 |
@@ -895,8 +895,9 @@ uninstall-am: uninstall-includeHEADERS u |
4 |
|
5 |
|
6 |
atom-glue.c: $(ATOM_FILES) Makefile |
7 |
- $(AM_V_GEN)($(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
8 |
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \ |
9 |
+ $(AM_V_GEN)(for f in $(ATOM_FILES:%=$(srcdir)/%); do \ |
10 |
+ $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
11 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \ |
12 |
$(SED) -n 's+^void init_atom_builder_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \ |
13 |
sort | \ |
14 |
$(AWK) '{ atoms[$$2] = 1 } \ |
15 |
@@ -905,8 +906,9 @@ atom-glue.c: $(ATOM_FILES) Makefile |
16 |
print " static int init = 0; if (init) return; init++;"; \ |
17 |
for (atom in atoms) { print " init_atom_builder_"atom"();" } \ |
18 |
print "}"; }' && \ |
19 |
+ for f in $(ATOM_FILES:%=$(srcdir)/%); do \ |
20 |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
21 |
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ATOM_FILES:%=$(srcdir)/%) | \ |
22 |
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $$f; done | \ |
23 |
$(SED) -n 's+^void init_atom_map_\([^(]*\)().*, \([0-9]*\)).*+\2 \1+p' | \ |
24 |
sort -n | \ |
25 |
$(AWK) '{ atoms[$$2] = 1 } \ |
26 |
yes |
27 |
native |
28 |
text/plain |