• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionc754103d7514f92a07c68b43b6d26d9823ffe4d8 (tree)
Time2022-04-23 21:07:05
Authorphabrics <phabrics@phab...>
Commiterphabrics

Log Message

Dependency fixes for generated source files to be properly handled by concurrent builds.

Change Summary

Incremental Difference

--- a/contrib/tme-0.8/configure.ac
+++ b/contrib/tme-0.8/configure.ac
@@ -1164,7 +1164,6 @@ LT_INIT([dlopen,win32-dll])
11641164 LT_LANG([Windows Resource])
11651165 LTDL_INIT([recursive installable])
11661166 CPPFLAGS="${CPPFLAGS-} ${LTDLINCL}"
1167-AM_CONDITIONAL([USING_PREOPEN], [test "x${enable_static}" = "xyes"])
11681167
11691168 AC_ARG_VAR([IFCONFIG], [full path to ipconfig utility])
11701169 AC_ARG_VAR([ROUTE], [full path to route utility])
@@ -1602,4 +1601,3 @@ AC_CONFIG_FILES([Makefile
16021601 tmesh/Makefile
16031602 tools/Makefile])
16041603 AC_OUTPUT
1605-
--- a/contrib/tme-0.8/generic/Makefile.am
+++ b/contrib/tme-0.8/generic/Makefile.am
@@ -22,19 +22,15 @@ libtme_generic_la_SOURCES = bus.c \
2222 libtme_generic_la_LDFLAGS = -version-info 0:0:0
2323 libtme_generic_la_LIBADD = $(top_builddir)/libtme/libtme.la
2424
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
2828
29-CLEANFILES = $(noinst_SCRIPTS)
29+BUILT_SOURCES = $(noinst_SCRIPTS:.sh=.c)
3030
31-BUILT_SOURCES = $(noinst_SCRIPTS)
31+CLEANFILES = $(noinst_SCRIPTS) $(BUILT_SOURCES)
3232
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)
3834
3935 # default rule for regenerating the portable shell scripts from m4 descriptions
4036 $(noinst_SCRIPTS): %.sh: %.m4
@@ -57,15 +53,6 @@ fb-xlat-auto.c: %.c: %.sh
5753 $(SHELL) $< src $(TME_FB_XLAT_SRC) dst $(TME_FB_XLAT_DST) > $@
5854 endif
5955
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-
6956 pkglib_LTLIBRARIES = tme_generic.la
7057 tme_generic_la_SOURCES = bus-el.c
7158 tme_generic_la_LDFLAGS = -module -version-info 0:0:0
--- a/contrib/tme-0.8/host/Makefile.am
+++ b/contrib/tme-0.8/host/Makefile.am
@@ -11,8 +11,6 @@ libtme_host_la_LIBADD = $(top_builddir)/generic/libtme-generic.la $(GTK_LIBS)
1111
1212 EXTRA_DIST = keymap-make.pl keymap-def.h
1313
14-display-keyboard.lo: keymap.h
15-
1614 BUILT_SOURCES = keymap.h
1715 CLEANFILES = keymap.h
1816 if USING_X
--- a/contrib/tme-0.8/ic/ieee754/Makefile.am
+++ b/contrib/tme-0.8/ic/ieee754/Makefile.am
@@ -18,10 +18,10 @@ libtme_ieee754_la_LIBADD = $(top_builddir)/generic/libtme-generic.la
1818 AM_CFLAGS = @CFLAGS_NO_STRICT_ALIASING@
1919
2020 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
2323
24-EXTRA_DIST = $(noinst_SCRIPTS) $(noinst_SCRIPTS:.sh=.m4) softfloat-tme.h
24+EXTRA_DIST = $(CLEANFILES) $(noinst_SCRIPTS:.sh=.m4) softfloat-tme.h
2525
2626 # default rule for regenerating the portable shell scripts from m4 descriptions
2727 $(noinst_SCRIPTS): %.sh: %.m4
@@ -43,5 +43,3 @@ ieee754-ops-auto.h: ieee754-ops-auto.sh ieee754-precision.sh
4343 ieee754-ops-auto.c: ieee754-ops-auto.sh ieee754-precision.sh
4444 $(SHELL) $< > $@
4545
46-# ieee754-misc.lo depends on ieee754-misc-auto.c:
47-ieee754-misc.lo: ieee754-misc-auto.c
--- a/contrib/tme-0.8/libtme/Makefile.am
+++ b/contrib/tme-0.8/libtme/Makefile.am
@@ -47,12 +47,13 @@ endif
4747
4848 noinst_SCRIPTS = memory-auto.sh
4949
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)
5253
5354 EXTRA_DIST = log-prf.c \
5455 misc.c \
55- $(noinst_SCRIPTS) \
56+ $(CLEANFILES) \
5657 $(noinst_SCRIPTS:.sh=.m4)
5758
5859 # default rule for regenerating the portable shell scripts from m4 descriptions
@@ -67,11 +68,8 @@ memory-auto.h: memory-auto.sh
6768 memory-auto.c: memory-auto.sh
6869 $(SHELL) $< > $@
6970
70-memory-auto.lo: memory-auto.h
71-
7271 # module.c needs to know the LTDL_SHLIBPATH_VAR that libltdl
7372 # is using:
74-module.lo: shlibvar.h
7573 shlibvar.h: $(top_builddir)/config.h Makefile
7674 grep LT_MODULE_PATH_VAR $(top_builddir)/config.h > $@
7775 grep LT_DLSEARCH_PATH $(top_builddir)/config.h >> $@
--- a/contrib/tme-0.8/modules
+++ b/contrib/tme-0.8/modules
@@ -107,10 +107,3 @@ modules-local:
107107 # module.c can find the uninstalled tme-plugins.txt file, and libtool
108108 # will want to look in this directory for .la files, so we simply copy
109109 # 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