spacepaste

  1.  
  2. # automatically generated makefile
  3. PYPYDIR = /home/ned/pypy/pypy
  4. TARGET = pypy-c
  5. DEFAULT_TARGET = pypy-c
  6. SOURCES = testing_1.c \
  7. structimpl.c \
  8. nonfuncnodes.c \
  9. nonfuncnodes_1.c \
  10. nonfuncnodes_2.c \
  11. nonfuncnodes_3.c \
  12. nonfuncnodes_4.c \
  13. nonfuncnodes_5.c \
  14. nonfuncnodes_6.c \
  15. nonfuncnodes_7.c \
  16. nonfuncnodes_8.c \
  17. nonfuncnodes_9.c \
  18. nonfuncnodes_10.c \
  19. rlib_rmarshal.c \
  20. translator_goal_targetpypystandalone.c \
  21. rpython_rint.c \
  22. module_sys___init__.c \
  23. interpreter_pycompiler.c \
  24. translator_sandbox_rsandbox.c \
  25. objspace_std_callmethod.c \
  26. objspace_std_listobject.c \
  27. objspace_std_stringobject.c \
  28. module_token___init__.c \
  29. objspace_std_objspace.c \
  30. module___builtin___descriptor.c \
  31. module__file_interp_file.c \
  32. rlib_rstruct_ieee.c \
  33. interpreter_error.c \
  34. rpython_memory_gc_base.c \
  35. module_posix_interp_posix.c \
  36. module__file_interp_stream.c \
  37. module__pickle_support_maker.c \
  38. interpreter_pyparser_pytokenizer.c \
  39. module___pypy___bytebuffer.c \
  40. module_sys_vm.c \
  41. rpython_exceptiondata.c \
  42. objspace_std_objecttype.c \
  43. interpreter_nestedscope.c \
  44. module__io_interp_stringio.c \
  45. rlib_runicode.c \
  46. rpython_rlist.c \
  47. rlib_rsre_rsre_core.c \
  48. objspace_std_bytearrayobject.c \
  49. objspace_std_typeobject.c \
  50. interpreter_mixedmodule.c \
  51. interpreter_pyopcode.c \
  52. module_time_interp_time.c \
  53. objspace_std_formatting.c \
  54. objspace_std_complextype.c \
  55. module_imp_interp_imp.c \
  56. interpreter_pytraceback.c \
  57. interpreter_pyparser_future.c \
  58. rpython_memory_gctransform_transform.c \
  59. module__io_interp_textio.c \
  60. module__random_interp_random.c \
  61. rlib_streamio.c \
  62. module_gc_interp_gc.c \
  63. rpython_memory_gctransform_support.c \
  64. module_operator_interp_operator.c \
  65. objspace_std_newformat.c \
  66. rpython_lltypesystem_module_ll_math.c \
  67. implement.c \
  68. implement_1.c \
  69. implement_2.c \
  70. implement_3.c \
  71. implement_4.c \
  72. objspace_std_stringtype.c \
  73. module_cmath_interp_cmath.c \
  74. objspace_std_frame.c \
  75. rlib_rdtoa.c \
  76. module_gc_referents.c \
  77. interpreter_pyparser_error.c \
  78. objspace_std_dicttype.c \
  79. interpreter_pyparser_parsestring.c \
  80. module___builtin___compiling.c \
  81. interpreter_module.c \
  82. objspace_std_default.c \
  83. rlib_rfloat.c \
  84. rlib_rgc.c \
  85. module___builtin___operation.c \
  86. objspace_std_marshal_impl.c \
  87. rlib_rbigint.c \
  88. interpreter_astcompiler_asthelpers.c \
  89. module__io_interp_bufferedio.c \
  90. module_marshal_interp_marshal.c \
  91. objspace_std_typetype.c \
  92. rlib_rsre_rsre_char.c \
  93. interpreter_executioncontext.c \
  94. interpreter_astcompiler_astbuilder.c \
  95. objspace_std_floatobject.c \
  96. objspace_std_unicodeobject.c \
  97. rpython_memory_gc_generation.c \
  98. objspace_std_identitydict.c \
  99. interpreter_baseobjspace.c \
  100. objspace_std_slicetype.c \
  101. interpreter_pyparser_automata.c \
  102. interpreter_pycode.c \
  103. module___builtin___interp_memoryview.c \
  104. objspace_std_intobject.c \
  105. interpreter_pyparser_parser.c \
  106. module___builtin_____init__.c \
  107. objspace_std_complexobject.c \
  108. objspace_std_longtype.c \
  109. interpreter_pyparser_pyparse.c \
  110. rpython_memory_gc_env.c \
  111. interpreter_buffer.c \
  112. rlib_rlocale.c \
  113. rpython_rrange.c \
  114. objspace_std_transparent.c \
  115. module__file___init__.c \
  116. objspace_std_bytearraytype.c \
  117. module_unicodedata_unicodedb_5_2_0.c \
  118. rpython_lltypesystem_rbuilder.c \
  119. rpython_memory_support.c \
  120. module_parser_pyparser.c \
  121. interpreter_astcompiler_ast.c \
  122. module___pypy___interp_identitydict.c \
  123. interpreter_argument.c \
  124. rpython_memory_gc_inspector.c \
  125. objspace_std_tupleobject.c \
  126. rpython_memory_gctransform_shadowstack.c \
  127. objspace_std_strutil.c \
  128. translator_goal_nanos.c \
  129. module___pypy___interp_builders.c \
  130. module___builtin___interp_classobj.c \
  131. rpython_lltypesystem_rstr.c \
  132. objspace_std_stdtypedef.c \
  133. module___pypy___interp_magic.c \
  134. rpython_module_ll_os_stat.c \
  135. module_imp_importing.c \
  136. interpreter_function.c \
  137. rpython_memory_gctransform_framework.c \
  138. module_sys_hook.c \
  139. module___pypy___interp_debug.c \
  140. module__sre_interp_sre.c \
  141. objspace_std_proxyobject.c \
  142. objspace_std_frozensettype.c \
  143. rpython_lltypesystem_rclass.c \
  144. module___builtin___interp_inspect.c \
  145. module__io_interp_bytesio.c \
  146. rpython_memory_gctypelayout.c \
  147. rlib_rstruct_unichar.c \
  148. objspace_std_unicodetype.c \
  149. module_exceptions_interp_exceptions.c \
  150. objspace_std_sliceobject.c \
  151. translator_c_extfunc.c \
  152. objspace_std_setobject.c \
  153. rpython_memory_lldict.c \
  154. module__weakref_interp__weakref.c \
  155. module_math_interp_math.c \
  156. rpython_lltypesystem_rlist.c \
  157. rpython_module_ll_time.c \
  158. module_sys_interp_encoding.c \
  159. objspace_std_tupletype.c \
  160. rpython_memory_gc_semispace.c \
  161. module__io___init__.c \
  162. module___builtin___abstractinst.c \
  163. interpreter_astcompiler_symtable.c \
  164. rpython_module_ll_os.c \
  165. objspace_std_listtype.c \
  166. interpreter_pyframe.c \
  167. rlib_rstack.c \
  168. interpreter_gateway.c \
  169. objspace_std_settype.c \
  170. interpreter_astcompiler_optimize.c \
  171. rlib_rposix.c \
  172. rpython_module_ll_os_environ.c \
  173. module_sys_state.c \
  174. module__codecs_interp_codecs.c \
  175. objspace_std_iterobject.c \
  176. rpython_lltypesystem_rrange.c \
  177. rlib_listsort.c \
  178. objspace_std_inttype.c \
  179. objspace_std_itertype.c \
  180. interpreter_generator.c \
  181. objspace_std_floattype.c \
  182. interpreter_typedef.c \
  183. objspace_std_boolobject.c \
  184. module__io_interp_iobase.c \
  185. rlib_rrandom.c \
  186. translator_exceptiontransform.c \
  187. objspace_std_proxy_helpers.c \
  188. objspace_descroperation.c \
  189. interpreter_astcompiler_misc.c \
  190. rpython_lltypesystem_ll_str.c \
  191. objspace_std_builtinshortcut.c \
  192. rpython_rstr.c \
  193. module___builtin___functional.c \
  194. module__io_interp_fileio.c \
  195. module__io_interp_io.c \
  196. objspace_std_dictmultiobject.c \
  197. objspace_std_longobject.c \
  198. interpreter_astcompiler_assemble.c \
  199. interpreter_astcompiler_codegen.c \
  200. objspace_std_booltype.c \
  201. rpython_lltypesystem_rffi.c \
  202. rpython_lltypesystem_llarena.c \
  203. interpreter_eval.c \
  204. rpython_lltypesystem_rdict.c \
  205. rlib_rarithmetic.c \
  206. objspace_std_rangeobject.c \
  207. objspace_std_dictproxyobject.c \
  208. profiling.c \
  209. debug_print.c \
  210. ../module_cache/module_0.c \
  211. ../module_cache/module_1.c
  212. OBJECTS = testing_1.o \
  213. structimpl.o \
  214. nonfuncnodes.o \
  215. nonfuncnodes_1.o \
  216. nonfuncnodes_2.o \
  217. nonfuncnodes_3.o \
  218. nonfuncnodes_4.o \
  219. nonfuncnodes_5.o \
  220. nonfuncnodes_6.o \
  221. nonfuncnodes_7.o \
  222. nonfuncnodes_8.o \
  223. nonfuncnodes_9.o \
  224. nonfuncnodes_10.o \
  225. rlib_rmarshal.o \
  226. translator_goal_targetpypystandalone.o \
  227. rpython_rint.o \
  228. module_sys___init__.o \
  229. interpreter_pycompiler.o \
  230. translator_sandbox_rsandbox.o \
  231. objspace_std_callmethod.o \
  232. objspace_std_listobject.o \
  233. objspace_std_stringobject.o \
  234. module_token___init__.o \
  235. objspace_std_objspace.o \
  236. module___builtin___descriptor.o \
  237. module__file_interp_file.o \
  238. rlib_rstruct_ieee.o \
  239. interpreter_error.o \
  240. rpython_memory_gc_base.o \
  241. module_posix_interp_posix.o \
  242. module__file_interp_stream.o \
  243. module__pickle_support_maker.o \
  244. interpreter_pyparser_pytokenizer.o \
  245. module___pypy___bytebuffer.o \
  246. module_sys_vm.o \
  247. rpython_exceptiondata.o \
  248. objspace_std_objecttype.o \
  249. interpreter_nestedscope.o \
  250. module__io_interp_stringio.o \
  251. rlib_runicode.o \
  252. rpython_rlist.o \
  253. rlib_rsre_rsre_core.o \
  254. objspace_std_bytearrayobject.o \
  255. objspace_std_typeobject.o \
  256. interpreter_mixedmodule.o \
  257. interpreter_pyopcode.o \
  258. module_time_interp_time.o \
  259. objspace_std_formatting.o \
  260. objspace_std_complextype.o \
  261. module_imp_interp_imp.o \
  262. interpreter_pytraceback.o \
  263. interpreter_pyparser_future.o \
  264. rpython_memory_gctransform_transform.o \
  265. module__io_interp_textio.o \
  266. module__random_interp_random.o \
  267. rlib_streamio.o \
  268. module_gc_interp_gc.o \
  269. rpython_memory_gctransform_support.o \
  270. module_operator_interp_operator.o \
  271. objspace_std_newformat.o \
  272. rpython_lltypesystem_module_ll_math.o \
  273. implement.o \
  274. implement_1.o \
  275. implement_2.o \
  276. implement_3.o \
  277. implement_4.o \
  278. objspace_std_stringtype.o \
  279. module_cmath_interp_cmath.o \
  280. objspace_std_frame.o \
  281. rlib_rdtoa.o \
  282. module_gc_referents.o \
  283. interpreter_pyparser_error.o \
  284. objspace_std_dicttype.o \
  285. interpreter_pyparser_parsestring.o \
  286. module___builtin___compiling.o \
  287. interpreter_module.o \
  288. objspace_std_default.o \
  289. rlib_rfloat.o \
  290. rlib_rgc.o \
  291. module___builtin___operation.o \
  292. objspace_std_marshal_impl.o \
  293. rlib_rbigint.o \
  294. interpreter_astcompiler_asthelpers.o \
  295. module__io_interp_bufferedio.o \
  296. module_marshal_interp_marshal.o \
  297. objspace_std_typetype.o \
  298. rlib_rsre_rsre_char.o \
  299. interpreter_executioncontext.o \
  300. interpreter_astcompiler_astbuilder.o \
  301. objspace_std_floatobject.o \
  302. objspace_std_unicodeobject.o \
  303. rpython_memory_gc_generation.o \
  304. objspace_std_identitydict.o \
  305. interpreter_baseobjspace.o \
  306. objspace_std_slicetype.o \
  307. interpreter_pyparser_automata.o \
  308. interpreter_pycode.o \
  309. module___builtin___interp_memoryview.o \
  310. objspace_std_intobject.o \
  311. interpreter_pyparser_parser.o \
  312. module___builtin_____init__.o \
  313. objspace_std_complexobject.o \
  314. objspace_std_longtype.o \
  315. interpreter_pyparser_pyparse.o \
  316. rpython_memory_gc_env.o \
  317. interpreter_buffer.o \
  318. rlib_rlocale.o \
  319. rpython_rrange.o \
  320. objspace_std_transparent.o \
  321. module__file___init__.o \
  322. objspace_std_bytearraytype.o \
  323. module_unicodedata_unicodedb_5_2_0.o \
  324. rpython_lltypesystem_rbuilder.o \
  325. rpython_memory_support.o \
  326. module_parser_pyparser.o \
  327. interpreter_astcompiler_ast.o \
  328. module___pypy___interp_identitydict.o \
  329. interpreter_argument.o \
  330. rpython_memory_gc_inspector.o \
  331. objspace_std_tupleobject.o \
  332. rpython_memory_gctransform_shadowstack.o \
  333. objspace_std_strutil.o \
  334. translator_goal_nanos.o \
  335. module___pypy___interp_builders.o \
  336. module___builtin___interp_classobj.o \
  337. rpython_lltypesystem_rstr.o \
  338. objspace_std_stdtypedef.o \
  339. module___pypy___interp_magic.o \
  340. rpython_module_ll_os_stat.o \
  341. module_imp_importing.o \
  342. interpreter_function.o \
  343. rpython_memory_gctransform_framework.o \
  344. module_sys_hook.o \
  345. module___pypy___interp_debug.o \
  346. module__sre_interp_sre.o \
  347. objspace_std_proxyobject.o \
  348. objspace_std_frozensettype.o \
  349. rpython_lltypesystem_rclass.o \
  350. module___builtin___interp_inspect.o \
  351. module__io_interp_bytesio.o \
  352. rpython_memory_gctypelayout.o \
  353. rlib_rstruct_unichar.o \
  354. objspace_std_unicodetype.o \
  355. module_exceptions_interp_exceptions.o \
  356. objspace_std_sliceobject.o \
  357. translator_c_extfunc.o \
  358. objspace_std_setobject.o \
  359. rpython_memory_lldict.o \
  360. module__weakref_interp__weakref.o \
  361. module_math_interp_math.o \
  362. rpython_lltypesystem_rlist.o \
  363. rpython_module_ll_time.o \
  364. module_sys_interp_encoding.o \
  365. objspace_std_tupletype.o \
  366. rpython_memory_gc_semispace.o \
  367. module__io___init__.o \
  368. module___builtin___abstractinst.o \
  369. interpreter_astcompiler_symtable.o \
  370. rpython_module_ll_os.o \
  371. objspace_std_listtype.o \
  372. interpreter_pyframe.o \
  373. rlib_rstack.o \
  374. interpreter_gateway.o \
  375. objspace_std_settype.o \
  376. interpreter_astcompiler_optimize.o \
  377. rlib_rposix.o \
  378. rpython_module_ll_os_environ.o \
  379. module_sys_state.o \
  380. module__codecs_interp_codecs.o \
  381. objspace_std_iterobject.o \
  382. rpython_lltypesystem_rrange.o \
  383. rlib_listsort.o \
  384. objspace_std_inttype.o \
  385. objspace_std_itertype.o \
  386. interpreter_generator.o \
  387. objspace_std_floattype.o \
  388. interpreter_typedef.o \
  389. objspace_std_boolobject.o \
  390. module__io_interp_iobase.o \
  391. rlib_rrandom.o \
  392. translator_exceptiontransform.o \
  393. objspace_std_proxy_helpers.o \
  394. objspace_descroperation.o \
  395. interpreter_astcompiler_misc.o \
  396. rpython_lltypesystem_ll_str.o \
  397. objspace_std_builtinshortcut.o \
  398. rpython_rstr.o \
  399. module___builtin___functional.o \
  400. module__io_interp_fileio.o \
  401. module__io_interp_io.o \
  402. objspace_std_dictmultiobject.o \
  403. objspace_std_longobject.o \
  404. interpreter_astcompiler_assemble.o \
  405. interpreter_astcompiler_codegen.o \
  406. objspace_std_booltype.o \
  407. rpython_lltypesystem_rffi.o \
  408. rpython_lltypesystem_llarena.o \
  409. interpreter_eval.o \
  410. rpython_lltypesystem_rdict.o \
  411. rlib_rarithmetic.o \
  412. objspace_std_rangeobject.o \
  413. objspace_std_dictproxyobject.o \
  414. profiling.o \
  415. debug_print.o \
  416. ../module_cache/module_0.o \
  417. ../module_cache/module_1.o
  418. LIBS = -lm
  419. LIBDIRS =
  420. INCLUDEDIRS = -I$(PYPYDIR)/translator/c
  421. CFLAGS = -O3 \
  422. -pthread \
  423. -fomit-frame-pointer \
  424. -Wall \
  425. -Wno-unused
  426. CFLAGSEXTRA =
  427. LDFLAGS = -pthread \
  428. -lrt \
  429. -Wl,--export-dynamic,--version-script=../dynamic-symbols-0
  430. LDFLAGS_LINK = -pthread \
  431. -lrt
  432. LDFLAGSEXTRA =
  433. CC = gcc
  434. CC_LINK = $(CC)
  435. LINKFILES =
  436. all: $(DEFAULT_TARGET)
  437. $(TARGET): $(OBJECTS)
  438. $(CC_LINK) $(LDFLAGS) $(LDFLAGSEXTRA) -o $@ $(OBJECTS) $(LIBDIRS) $(LIBS) $(LINKFILES)
  439. %.o: %.c
  440. $(CC) $(CFLAGS) $(CFLAGSEXTRA) -o $@ -c $< $(INCLUDEDIRS)
  441. clean:
  442. rm -f $(OBJECTS) $(TARGET) $(GCMAPFILES) $(ASMFILES) *.gc?? ../module_cache/*.gc??
  443. clean_noprof:
  444. rm -f $(OBJECTS) $(TARGET) $(GCMAPFILES) $(ASMFILES)
  445. debug:
  446. $(MAKE) CFLAGS="$(DEBUGFLAGS) -DRPY_ASSERT" $(TARGET)
  447. debug_exc:
  448. $(MAKE) CFLAGS="$(DEBUGFLAGS) -DRPY_ASSERT -DDO_LOG_EXC" $(TARGET)
  449. debug_mem:
  450. $(MAKE) CFLAGS="$(DEBUGFLAGS) -DRPY_ASSERT -DTRIVIAL_MALLOC_DEBUG" $(TARGET)
  451. no_obmalloc:
  452. $(MAKE) CFLAGS="-g -O2 -DRPY_ASSERT -DNO_OBMALLOC" $(TARGET)
  453. linuxmemchk:
  454. $(MAKE) CFLAGS="$(DEBUGFLAGS) -DRPY_ASSERT -DLINUXMEMCHK" $(TARGET)
  455. llsafer:
  456. $(MAKE) CFLAGS="-O2 -DRPY_LL_ASSERT" $(TARGET)
  457. lldebug:
  458. $(MAKE) CFLAGS="$(DEBUGFLAGS) -DRPY_ASSERT -DRPY_LL_ASSERT" $(TARGET)
  459. profile:
  460. $(MAKE) CFLAGS="-g -O1 -pg $(CFLAGS) -fno-omit-frame-pointer" LDFLAGS="-pg $(LDFLAGS)" $(TARGET)
  461. DEBUGFLAGS = -O1 -g
  462.