Advertisement
_dinsdale

auto-detect makefile

Aug 1st, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.94 KB | None | 0 0
  1. russellh@g1 ~/l/l/src> make clean guess
  2. rm -f liblua.a lua luac lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o lua.o luac.o
  3. Guessing FreeBSD
  4. make all SYSCFLAGS="-DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit" SYSLIBS="-Wl,-E -ledit" CC="cc"
  5. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lapi.c -o lapi.o
  6. In file included from lapi.c:16:
  7. In file included from ./lua.h:16:
  8. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  9. #define LUA_USE_READLINE /* needs some extra libraries */
  10. ^
  11. <command line>:3:9: note: previous definition is here
  12. #define LUA_USE_READLINE 1
  13. ^
  14. 1 warning generated.
  15. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lcode.c -o lcode.o
  16. In file included from lcode.c:16:
  17. In file included from ./lua.h:16:
  18. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  19. #define LUA_USE_READLINE /* needs some extra libraries */
  20. ^
  21. <command line>:3:9: note: previous definition is here
  22. #define LUA_USE_READLINE 1
  23. ^
  24. 1 warning generated.
  25. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lctype.c -o lctype.o
  26. In file included from lctype.c:13:
  27. In file included from ./lctype.h:10:
  28. In file included from ./lua.h:16:
  29. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  30. #define LUA_USE_READLINE /* needs some extra libraries */
  31. ^
  32. <command line>:3:9: note: previous definition is here
  33. #define LUA_USE_READLINE 1
  34. ^
  35. 1 warning generated.
  36. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ldebug.c -o ldebug.o
  37. In file included from ldebug.c:17:
  38. In file included from ./lua.h:16:
  39. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  40. #define LUA_USE_READLINE /* needs some extra libraries */
  41. ^
  42. <command line>:3:9: note: previous definition is here
  43. #define LUA_USE_READLINE 1
  44. ^
  45. 1 warning generated.
  46. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ldo.c -o ldo.o
  47. In file included from ldo.c:17:
  48. In file included from ./lua.h:16:
  49. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  50. #define LUA_USE_READLINE /* needs some extra libraries */
  51. ^
  52. <command line>:3:9: note: previous definition is here
  53. #define LUA_USE_READLINE 1
  54. ^
  55. 1 warning generated.
  56. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ldump.c -o ldump.o
  57. In file included from ldump.c:15:
  58. In file included from ./lua.h:16:
  59. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  60. #define LUA_USE_READLINE /* needs some extra libraries */
  61. ^
  62. <command line>:3:9: note: previous definition is here
  63. #define LUA_USE_READLINE 1
  64. ^
  65. 1 warning generated.
  66. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lfunc.c -o lfunc.o
  67. In file included from lfunc.c:15:
  68. In file included from ./lua.h:16:
  69. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  70. #define LUA_USE_READLINE /* needs some extra libraries */
  71. ^
  72. <command line>:3:9: note: previous definition is here
  73. #define LUA_USE_READLINE 1
  74. ^
  75. 1 warning generated.
  76. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lgc.c -o lgc.o
  77. In file included from lgc.c:15:
  78. In file included from ./lua.h:16:
  79. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  80. #define LUA_USE_READLINE /* needs some extra libraries */
  81. ^
  82. <command line>:3:9: note: previous definition is here
  83. #define LUA_USE_READLINE 1
  84. ^
  85. 1 warning generated.
  86. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c llex.c -o llex.o
  87. In file included from llex.c:16:
  88. In file included from ./lua.h:16:
  89. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  90. #define LUA_USE_READLINE /* needs some extra libraries */
  91. ^
  92. <command line>:3:9: note: previous definition is here
  93. #define LUA_USE_READLINE 1
  94. ^
  95. 1 warning generated.
  96. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lmem.c -o lmem.o
  97. In file included from lmem.c:15:
  98. In file included from ./lua.h:16:
  99. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  100. #define LUA_USE_READLINE /* needs some extra libraries */
  101. ^
  102. <command line>:3:9: note: previous definition is here
  103. #define LUA_USE_READLINE 1
  104. ^
  105. 1 warning generated.
  106. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lobject.c -o lobject.o
  107. In file included from lobject.c:20:
  108. In file included from ./lua.h:16:
  109. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  110. #define LUA_USE_READLINE /* needs some extra libraries */
  111. ^
  112. <command line>:3:9: note: previous definition is here
  113. #define LUA_USE_READLINE 1
  114. ^
  115. 1 warning generated.
  116. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lopcodes.c -o lopcodes.o
  117. In file included from lopcodes.c:15:
  118. In file included from ./lopcodes.h:10:
  119. In file included from ./llimits.h:15:
  120. In file included from ./lua.h:16:
  121. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  122. #define LUA_USE_READLINE /* needs some extra libraries */
  123. ^
  124. <command line>:3:9: note: previous definition is here
  125. #define LUA_USE_READLINE 1
  126. ^
  127. 1 warning generated.
  128. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lparser.c -o lparser.o
  129. In file included from lparser.c:15:
  130. In file included from ./lua.h:16:
  131. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  132. #define LUA_USE_READLINE /* needs some extra libraries */
  133. ^
  134. <command line>:3:9: note: previous definition is here
  135. #define LUA_USE_READLINE 1
  136. ^
  137. 1 warning generated.
  138. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lstate.c -o lstate.o
  139. In file included from lstate.c:16:
  140. In file included from ./lua.h:16:
  141. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  142. #define LUA_USE_READLINE /* needs some extra libraries */
  143. ^
  144. <command line>:3:9: note: previous definition is here
  145. #define LUA_USE_READLINE 1
  146. ^
  147. 1 warning generated.
  148. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lstring.c -o lstring.o
  149. In file included from lstring.c:15:
  150. In file included from ./lua.h:16:
  151. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  152. #define LUA_USE_READLINE /* needs some extra libraries */
  153. ^
  154. <command line>:3:9: note: previous definition is here
  155. #define LUA_USE_READLINE 1
  156. ^
  157. 1 warning generated.
  158. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ltable.c -o ltable.o
  159. In file included from ltable.c:29:
  160. In file included from ./lua.h:16:
  161. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  162. #define LUA_USE_READLINE /* needs some extra libraries */
  163. ^
  164. <command line>:3:9: note: previous definition is here
  165. #define LUA_USE_READLINE 1
  166. ^
  167. 1 warning generated.
  168. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ltm.c -o ltm.o
  169. In file included from ltm.c:15:
  170. In file included from ./lua.h:16:
  171. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  172. #define LUA_USE_READLINE /* needs some extra libraries */
  173. ^
  174. <command line>:3:9: note: previous definition is here
  175. #define LUA_USE_READLINE 1
  176. ^
  177. 1 warning generated.
  178. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lundump.c -o lundump.o
  179. In file included from lundump.c:15:
  180. In file included from ./lua.h:16:
  181. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  182. #define LUA_USE_READLINE /* needs some extra libraries */
  183. ^
  184. <command line>:3:9: note: previous definition is here
  185. #define LUA_USE_READLINE 1
  186. ^
  187. 1 warning generated.
  188. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lvm.c -o lvm.o
  189. In file included from lvm.c:19:
  190. In file included from ./lua.h:16:
  191. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  192. #define LUA_USE_READLINE /* needs some extra libraries */
  193. ^
  194. <command line>:3:9: note: previous definition is here
  195. #define LUA_USE_READLINE 1
  196. ^
  197. 1 warning generated.
  198. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lzio.c -o lzio.o
  199. In file included from lzio.c:15:
  200. In file included from ./lua.h:16:
  201. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  202. #define LUA_USE_READLINE /* needs some extra libraries */
  203. ^
  204. <command line>:3:9: note: previous definition is here
  205. #define LUA_USE_READLINE 1
  206. ^
  207. 1 warning generated.
  208. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lauxlib.c -o lauxlib.o
  209. In file included from lauxlib.c:25:
  210. In file included from ./lua.h:16:
  211. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  212. #define LUA_USE_READLINE /* needs some extra libraries */
  213. ^
  214. <command line>:3:9: note: previous definition is here
  215. #define LUA_USE_READLINE 1
  216. ^
  217. 1 warning generated.
  218. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lbaselib.c -o lbaselib.o
  219. In file included from lbaselib.c:18:
  220. In file included from ./lua.h:16:
  221. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  222. #define LUA_USE_READLINE /* needs some extra libraries */
  223. ^
  224. <command line>:3:9: note: previous definition is here
  225. #define LUA_USE_READLINE 1
  226. ^
  227. 1 warning generated.
  228. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lbitlib.c -o lbitlib.o
  229. In file included from lbitlib.c:13:
  230. In file included from ./lua.h:16:
  231. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  232. #define LUA_USE_READLINE /* needs some extra libraries */
  233. ^
  234. <command line>:3:9: note: previous definition is here
  235. #define LUA_USE_READLINE 1
  236. ^
  237. 1 warning generated.
  238. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lcorolib.c -o lcorolib.o
  239. In file included from lcorolib.c:15:
  240. In file included from ./lua.h:16:
  241. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  242. #define LUA_USE_READLINE /* needs some extra libraries */
  243. ^
  244. <command line>:3:9: note: previous definition is here
  245. #define LUA_USE_READLINE 1
  246. ^
  247. 1 warning generated.
  248. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ldblib.c -o ldblib.o
  249. In file included from ldblib.c:17:
  250. In file included from ./lua.h:16:
  251. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  252. #define LUA_USE_READLINE /* needs some extra libraries */
  253. ^
  254. <command line>:3:9: note: previous definition is here
  255. #define LUA_USE_READLINE 1
  256. ^
  257. 1 warning generated.
  258. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c liolib.c -o liolib.o
  259. In file included from liolib.c:20:
  260. In file included from ./lua.h:16:
  261. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  262. #define LUA_USE_READLINE /* needs some extra libraries */
  263. ^
  264. <command line>:3:9: note: previous definition is here
  265. #define LUA_USE_READLINE 1
  266. ^
  267. 1 warning generated.
  268. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lmathlib.c -o lmathlib.o
  269. In file included from lmathlib.c:16:
  270. In file included from ./lua.h:16:
  271. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  272. #define LUA_USE_READLINE /* needs some extra libraries */
  273. ^
  274. <command line>:3:9: note: previous definition is here
  275. #define LUA_USE_READLINE 1
  276. ^
  277. 1 warning generated.
  278. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c loslib.c -o loslib.o
  279. In file included from loslib.c:19:
  280. In file included from ./lua.h:16:
  281. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  282. #define LUA_USE_READLINE /* needs some extra libraries */
  283. ^
  284. <command line>:3:9: note: previous definition is here
  285. #define LUA_USE_READLINE 1
  286. ^
  287. 1 warning generated.
  288. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lstrlib.c -o lstrlib.o
  289. In file included from lstrlib.c:22:
  290. In file included from ./lua.h:16:
  291. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  292. #define LUA_USE_READLINE /* needs some extra libraries */
  293. ^
  294. <command line>:3:9: note: previous definition is here
  295. #define LUA_USE_READLINE 1
  296. ^
  297. 1 warning generated.
  298. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c ltablib.c -o ltablib.o
  299. In file included from ltablib.c:17:
  300. In file included from ./lua.h:16:
  301. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  302. #define LUA_USE_READLINE /* needs some extra libraries */
  303. ^
  304. <command line>:3:9: note: previous definition is here
  305. #define LUA_USE_READLINE 1
  306. ^
  307. 1 warning generated.
  308. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lutf8lib.c -o lutf8lib.o
  309. In file included from lutf8lib.c:18:
  310. In file included from ./lua.h:16:
  311. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  312. #define LUA_USE_READLINE /* needs some extra libraries */
  313. ^
  314. <command line>:3:9: note: previous definition is here
  315. #define LUA_USE_READLINE 1
  316. ^
  317. 1 warning generated.
  318. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c loadlib.c -o loadlib.o
  319. In file included from loadlib.c:21:
  320. In file included from ./lua.h:16:
  321. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  322. #define LUA_USE_READLINE /* needs some extra libraries */
  323. ^
  324. <command line>:3:9: note: previous definition is here
  325. #define LUA_USE_READLINE 1
  326. ^
  327. 1 warning generated.
  328. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c linit.c -o linit.o
  329. In file included from linit.c:32:
  330. In file included from ./lua.h:16:
  331. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  332. #define LUA_USE_READLINE /* needs some extra libraries */
  333. ^
  334. <command line>:3:9: note: previous definition is here
  335. #define LUA_USE_READLINE 1
  336. ^
  337. 1 warning generated.
  338. ar rcu liblua.a lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o
  339. ranlib liblua.a
  340. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c lua.c -o lua.o
  341. In file included from lua.c:17:
  342. In file included from ./lua.h:16:
  343. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  344. #define LUA_USE_READLINE /* needs some extra libraries */
  345. ^
  346. <command line>:3:9: note: previous definition is here
  347. #define LUA_USE_READLINE 1
  348. ^
  349. 1 warning generated.
  350. cc -o lua lua.o liblua.a -lm -Wl,-E -ledit
  351. cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -DLUA_USE_READLINE -I/usr/include/edit -c luac.c -o luac.o
  352. In file included from luac.c:18:
  353. In file included from ./lua.h:16:
  354. ./luaconf.h:64:9: warning: 'LUA_USE_READLINE' macro redefined [-Wmacro-redefined]
  355. #define LUA_USE_READLINE /* needs some extra libraries */
  356. ^
  357. <command line>:3:9: note: previous definition is here
  358. #define LUA_USE_READLINE 1
  359. ^
  360. 1 warning generated.
  361. cc -o luac luac.o liblua.a -lm -Wl,-E -ledit
  362. russellh@g1 ~/l/l/src>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement