Revision | c754103d7514f92a07c68b43b6d26d9823ffe4d8 (tree) |
---|---|
Time | 2022-04-23 21:07:05 |
Author | phabrics <phabrics@phab...> |
Commiter | phabrics |
Dependency fixes for generated source files to be properly handled by concurrent builds.
@@ -1164,7 +1164,6 @@ LT_INIT([dlopen,win32-dll]) | ||
1164 | 1164 | LT_LANG([Windows Resource]) |
1165 | 1165 | LTDL_INIT([recursive installable]) |
1166 | 1166 | CPPFLAGS="${CPPFLAGS-} ${LTDLINCL}" |
1167 | -AM_CONDITIONAL([USING_PREOPEN], [test "x${enable_static}" = "xyes"]) | |
1168 | 1167 | |
1169 | 1168 | AC_ARG_VAR([IFCONFIG], [full path to ipconfig utility]) |
1170 | 1169 | AC_ARG_VAR([ROUTE], [full path to route utility]) |
@@ -1602,4 +1601,3 @@ AC_CONFIG_FILES([Makefile | ||
1602 | 1601 | tmesh/Makefile |
1603 | 1602 | tools/Makefile]) |
1604 | 1603 | AC_OUTPUT |
1605 | - |
@@ -22,19 +22,15 @@ libtme_generic_la_SOURCES = bus.c \ | ||
22 | 22 | libtme_generic_la_LDFLAGS = -version-info 0:0:0 |
23 | 23 | libtme_generic_la_LIBADD = $(top_builddir)/libtme/libtme.la |
24 | 24 | |
25 | -noinst_SCRIPTS = fb-xlat-auto.sh \ | |
26 | - float-auto.sh \ | |
27 | - bus-device-auto.sh | |
25 | +noinst_SCRIPTS = float-auto.sh \ | |
26 | + bus-device-auto.sh \ | |
27 | + fb-xlat-auto.sh | |
28 | 28 | |
29 | -CLEANFILES = $(noinst_SCRIPTS) | |
29 | +BUILT_SOURCES = $(noinst_SCRIPTS:.sh=.c) | |
30 | 30 | |
31 | -BUILT_SOURCES = $(noinst_SCRIPTS) | |
31 | +CLEANFILES = $(noinst_SCRIPTS) $(BUILT_SOURCES) | |
32 | 32 | |
33 | -EXTRA_DIST = $(noinst_SCRIPTS) \ | |
34 | - $(noinst_SCRIPTS:.sh=.m4) \ | |
35 | - float-auto.c \ | |
36 | - bus-device-auto.c \ | |
37 | - fb-xlat-auto.pl | |
33 | +EXTRA_DIST = $(CLEANFILES) $(noinst_SCRIPTS:.sh=.m4) | |
38 | 34 | |
39 | 35 | # default rule for regenerating the portable shell scripts from m4 descriptions |
40 | 36 | $(noinst_SCRIPTS): %.sh: %.m4 |
@@ -57,15 +53,6 @@ fb-xlat-auto.c: %.c: %.sh | ||
57 | 53 | $(SHELL) $< src $(TME_FB_XLAT_SRC) dst $(TME_FB_XLAT_DST) > $@ |
58 | 54 | endif |
59 | 55 | |
60 | -# fb.lo depends on fb-xlat-auto.c: | |
61 | -fb.lo: fb-xlat-auto.c | |
62 | - | |
63 | -# float.lo depends on float-auto.c: | |
64 | -float.lo: float-auto.c | |
65 | - | |
66 | -# bus-device.lo depends on bus-device-auto.c: | |
67 | -bus-device.lo: bus-device-auto.c | |
68 | - | |
69 | 56 | pkglib_LTLIBRARIES = tme_generic.la |
70 | 57 | tme_generic_la_SOURCES = bus-el.c |
71 | 58 | tme_generic_la_LDFLAGS = -module -version-info 0:0:0 |
@@ -11,8 +11,6 @@ libtme_host_la_LIBADD = $(top_builddir)/generic/libtme-generic.la $(GTK_LIBS) | ||
11 | 11 | |
12 | 12 | EXTRA_DIST = keymap-make.pl keymap-def.h |
13 | 13 | |
14 | -display-keyboard.lo: keymap.h | |
15 | - | |
16 | 14 | BUILT_SOURCES = keymap.h |
17 | 15 | CLEANFILES = keymap.h |
18 | 16 | if USING_X |
@@ -18,10 +18,10 @@ libtme_ieee754_la_LIBADD = $(top_builddir)/generic/libtme-generic.la | ||
18 | 18 | AM_CFLAGS = @CFLAGS_NO_STRICT_ALIASING@ |
19 | 19 | |
20 | 20 | noinst_SCRIPTS = ieee754-misc-auto.sh ieee754-ops-auto.sh ieee754-precision.sh |
21 | -BUILT_SOURCES = $(noinst_SCRIPTS) ieee754-auto.h ieee754-ops-auto.h | |
22 | -CLEANFILES = $(BUILT_SOURCES) | |
21 | +BUILT_SOURCES = ieee754-auto.h ieee754-ops-auto.h ieee754-misc-auto.c | |
22 | +CLEANFILES = $(noinst_SCRIPTS) $(BUILT_SOURCES) ieee754-ops-auto.c | |
23 | 23 | |
24 | -EXTRA_DIST = $(noinst_SCRIPTS) $(noinst_SCRIPTS:.sh=.m4) softfloat-tme.h | |
24 | +EXTRA_DIST = $(CLEANFILES) $(noinst_SCRIPTS:.sh=.m4) softfloat-tme.h | |
25 | 25 | |
26 | 26 | # default rule for regenerating the portable shell scripts from m4 descriptions |
27 | 27 | $(noinst_SCRIPTS): %.sh: %.m4 |
@@ -43,5 +43,3 @@ ieee754-ops-auto.h: ieee754-ops-auto.sh ieee754-precision.sh | ||
43 | 43 | ieee754-ops-auto.c: ieee754-ops-auto.sh ieee754-precision.sh |
44 | 44 | $(SHELL) $< > $@ |
45 | 45 | |
46 | -# ieee754-misc.lo depends on ieee754-misc-auto.c: | |
47 | -ieee754-misc.lo: ieee754-misc-auto.c |
@@ -47,12 +47,13 @@ endif | ||
47 | 47 | |
48 | 48 | noinst_SCRIPTS = memory-auto.sh |
49 | 49 | |
50 | -BUILT_SOURCES = $(noinst_SCRIPTS) | |
51 | -CLEANFILES = $(noinst_SCRIPTS) | |
50 | +BUILT_SOURCES = shlibvar.h memory-auto.h memory-auto.c | |
51 | + | |
52 | +CLEANFILES = $(noinst_SCRIPTS) $(BUILT_SOURCES) | |
52 | 53 | |
53 | 54 | EXTRA_DIST = log-prf.c \ |
54 | 55 | misc.c \ |
55 | - $(noinst_SCRIPTS) \ | |
56 | + $(CLEANFILES) \ | |
56 | 57 | $(noinst_SCRIPTS:.sh=.m4) |
57 | 58 | |
58 | 59 | # default rule for regenerating the portable shell scripts from m4 descriptions |
@@ -67,11 +68,8 @@ memory-auto.h: memory-auto.sh | ||
67 | 68 | memory-auto.c: memory-auto.sh |
68 | 69 | $(SHELL) $< > $@ |
69 | 70 | |
70 | -memory-auto.lo: memory-auto.h | |
71 | - | |
72 | 71 | # module.c needs to know the LTDL_SHLIBPATH_VAR that libltdl |
73 | 72 | # is using: |
74 | -module.lo: shlibvar.h | |
75 | 73 | shlibvar.h: $(top_builddir)/config.h Makefile |
76 | 74 | grep LT_MODULE_PATH_VAR $(top_builddir)/config.h > $@ |
77 | 75 | grep LT_DLSEARCH_PATH $(top_builddir)/config.h >> $@ |
@@ -107,10 +107,3 @@ modules-local: | ||
107 | 107 | # module.c can find the uninstalled tme-plugins.txt file, and libtool |
108 | 108 | # will want to look in this directory for .la files, so we simply copy |
109 | 109 | # all of the .la files into that same directory: |
110 | -all-local: | |
111 | - @if test "x$(pkglib_LTLIBRARIES)" != x; then \ | |
112 | - for module in $(pkglib_LTLIBRARIES); do \ | |
113 | - echo $$module ; \ | |
114 | - cp $$module $(top_builddir)/tme ; \ | |
115 | - done ; \ | |
116 | - fi |