home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / perl / perl5a1.lha / perl5alpha1 / atarist / makefile.st < prev    next >
Encoding:
Makefile  |  1992-08-08  |  8.6 KB  |  466 lines

  1. # : Makefile.SH,v 9820Revision: 4.0.1.2 9820Date: 91/06/07 10:14:43 $
  2. #
  3. # $Log:    makefile.st,v $
  4. # Revision 4.1  92/08/07  17:18:40  lwall
  5. # Stage 6 Snapshot
  6. # Revision 4.0.1.1  92/06/08  11:50:13  lwall
  7. # Initial revision
  8. # Revision 4.0.1.2  91/06/07  10:14:43  lwall
  9. # patch4: cflags now emits entire cc command except for the filename
  10. # patch4: alternate make programs are now semi-supported
  11. # patch4: uperl.o no longer tries to link in libraries prematurely
  12. # patch4: installperl now installs x2p stuff too
  13. # Revision 4.0.1.1  91/04/11  17:30:39  lwall
  14. # patch1: C flags are now settable on a per-file basis
  15. # Revision 4.0  91/03/20  00:58:54  lwall
  16. # 4.0 baseline.
  17.  
  18. CC = cgcc
  19. YACC = bison -y
  20. LDFLAGS = 
  21. CLDFLAGS = 
  22. SMALL = 
  23. LARGE =  
  24. mallocsrc = 
  25. mallocobj = 
  26. SLN = ln -s
  27.  
  28. libs = -lgdbm -lpml 
  29.  
  30. public = perl.ttp
  31.  
  32. # To use an alternate make, set  in config.sh.
  33. MAKE = make
  34.  
  35.  
  36. CCCMD = $(CC) -O2 -fomit-frame-pointer -fstrength-reduce -c
  37.  
  38. private = 
  39.  
  40. scripts = 
  41.  
  42. manpages = perl.man h2ph.man
  43.  
  44. util = echo.ttp perlglob.ttp
  45.  
  46. sh = Makefile.SH makedepend.SH h2ph.SH
  47.  
  48. h1 = EXTERN.h INTERN.h arg.h array.h cmd.h config.h form.h handy.h
  49. h2 = hash.h perl.h regcomp.h regexp.h spat.h stab.h str.h util.h
  50.  
  51. h = $(h1) $(h2)
  52.  
  53. c1 = array.c cmd.c cons.c consarg.c doarg.c doio.c dolist.c dump.c
  54. c2 = eval.c form.c hash.c $(mallocsrc) perl.c regcomp.c regexec.c
  55. c3 = stab.c str.c toke.c util.c atarist.c usersub.c
  56.  
  57. c = $(c1) $(c2) $(c3)
  58.  
  59. obj1 = array.o cmd.o cons.o consarg.o doarg.o doio.o dolist.o dump.o
  60. obj2 = eval.o form.o hash.o $(mallocobj) perl.o regcomp.o regexec.o
  61. obj3 = stab.o str.o toke.o util.o atarist.o
  62.  
  63. obj = $(obj1) $(obj2) $(obj3)
  64.  
  65. lintflags = -hbvxac
  66.  
  67. # grrr
  68. SHELL = /bin/sh
  69.  
  70. .c.o:
  71.     $(CCCMD) $*.c
  72.  
  73. all: $(public)  $(util)
  74.  
  75. # This is the standard version that contains no "taint" checks and is
  76. # used for all scripts that aren't set-id or running under something set-id.
  77. # The $& notation is tells Sequent machines that it can do a parallel make,
  78. # and is harmless otherwise.
  79.  
  80. perl.ttp: perly.o $(obj) usersub.o
  81.     $(CC) $(LARGE) $(CLDFLAGS) $(obj) perly.o usersub.o $(libs) -o perl.ttp -v -s
  82.  
  83. echo.ttp: wildmat.o echo.c
  84.     $(CC) -O -mshort -fomit-frame-pointer -o echo.ttp \
  85.     echo.c wildmat.o -liio16 -s
  86.  
  87. perlglob.ttp: wildmat.o perlglob.c
  88.     $(CC) -O -mshort -fomit-frame-pointer -o perlglob.ttp \
  89.     perlglob.c wildmat.o -liio16 -s
  90.  
  91. # we cant do a uperl.o, so we do our best.
  92. #
  93. uperl.a: perly.o $(obj)
  94.     car rs uperl.a perly.o $(obj)
  95.  
  96. wildmat.o: wildmat.c
  97.     $(CC) -O -mshort -fomit-frame-pointer -c wildmat.c
  98.  
  99. perly.h: perly.c
  100.     @ echo Dummy dependency for dumb parallel make
  101.     touch perly.h
  102.  
  103. perly.c: perly.y perly.fixer
  104.     @ echo 'Expect either' 29 shift/reduce and 59 reduce/reduce conflicts...
  105.     @ echo '           or' 27 shift/reduce and 61 reduce/reduce conflicts...
  106.     $(YACC) -d perly.y
  107.     sh ./perly.fixer y.tab.c perly.c
  108.     mv y.tab.h perly.h
  109.     echo 'extern YYSTYPE yylval;' >>perly.h
  110.  
  111. perly.o: perly.c perly.h $(h)
  112.     $(CCCMD) perly.c
  113.  
  114.  
  115. clean:
  116.     rm -f *.o 
  117.  
  118. realclean: clean
  119.     rm -f *.ttp report core
  120.     rm -f perly.c perly.h 
  121.  
  122. # The following lint has practically everything turned on.  Unfortunately,
  123. # you have to wade through a lot of mumbo jumbo that can't be suppressed.
  124. # If the source file has a /*NOSTRICT*/ somewhere, ignore the lint message
  125. # for that spot.
  126.  
  127. lint: perly.c $(c)
  128.     lint $(lintflags) $(defs) perly.c $(c) > perl.fuzz
  129.  
  130. depend: makedepend
  131.     - test -f perly.h || cp /dev/null perly.h
  132.     ./makedepend
  133.     - test -s perly.h || /bin/rm -f perly.h
  134.  
  135. test: perl
  136.     - cd t && chmod +x TEST */*.t
  137.     - cd t && (rm -f perl; $(SLN) ../perl .) && ./perl TEST </dev/tty
  138.  
  139. clist:
  140.     echo $(c) | tr ' ' '\012' >.clist
  141.  
  142. hlist:
  143.     echo $(h) | tr ' ' '\012' >.hlist
  144.  
  145. shlist:
  146.     echo $(sh) | tr ' ' '\012' >.shlist
  147.  
  148. # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
  149. # If this runs make out of memory, delete /usr/include lines.
  150. array.o: EXTERN.h
  151. array.o: arg.h
  152. array.o: array.c
  153. array.o: array.h
  154. array.o: cmd.h
  155. array.o: config.h
  156. array.o: form.h
  157. array.o: handy.h
  158. array.o: hash.h
  159. array.o: perl.h
  160. array.o: regexp.h
  161. array.o: spat.h
  162. array.o: stab.h
  163. array.o: str.h
  164. array.o: util.h
  165. cmd.o: EXTERN.h
  166. cmd.o: arg.h
  167. cmd.o: array.h
  168. cmd.o: cmd.c
  169. cmd.o: cmd.h
  170. cmd.o: config.h
  171. cmd.o: form.h
  172. cmd.o: handy.h
  173. cmd.o: hash.h
  174. cmd.o: perl.h
  175. cmd.o: regexp.h
  176. cmd.o: spat.h
  177. cmd.o: stab.h
  178. cmd.o: str.h
  179. cmd.o: util.h
  180. cons.o: EXTERN.h
  181. cons.o: arg.h
  182. cons.o: array.h
  183. cons.o: cmd.h
  184. cons.o: config.h
  185. cons.o: cons.c
  186. cons.o: form.h
  187. cons.o: handy.h
  188. cons.o: hash.h
  189. cons.o: perl.h
  190. cons.o: perly.h
  191. cons.o: regexp.h
  192. cons.o: spat.h
  193. cons.o: stab.h
  194. cons.o: str.h
  195. cons.o: util.h
  196. consarg.o: EXTERN.h
  197. consarg.o: arg.h
  198. consarg.o: array.h
  199. consarg.o: cmd.h
  200. consarg.o: config.h
  201. consarg.o: consarg.c
  202. consarg.o: form.h
  203. consarg.o: handy.h
  204. consarg.o: hash.h
  205. consarg.o: perl.h
  206. consarg.o: regexp.h
  207. consarg.o: spat.h
  208. consarg.o: stab.h
  209. consarg.o: str.h
  210. consarg.o: util.h
  211. doarg.o: EXTERN.h
  212. doarg.o: arg.h
  213. doarg.o: array.h
  214. doarg.o: cmd.h
  215. doarg.o: config.h
  216. doarg.o: doarg.c
  217. doarg.o: form.h
  218. doarg.o: handy.h
  219. doarg.o: hash.h
  220. doarg.o: perl.h
  221. doarg.o: regexp.h
  222. doarg.o: spat.h
  223. doarg.o: stab.h
  224. doarg.o: str.h
  225. doarg.o: util.h
  226. doio.o: EXTERN.h
  227. doio.o: arg.h
  228. doio.o: array.h
  229. doio.o: cmd.h
  230. doio.o: config.h
  231. doio.o: doio.c
  232. doio.o: form.h
  233. doio.o: handy.h
  234. doio.o: hash.h
  235. doio.o: perl.h
  236. doio.o: regexp.h
  237. doio.o: spat.h
  238. doio.o: stab.h
  239. doio.o: str.h
  240. doio.o: util.h
  241. dolist.o: EXTERN.h
  242. dolist.o: arg.h
  243. dolist.o: array.h
  244. dolist.o: cmd.h
  245. dolist.o: config.h
  246. dolist.o: dolist.c
  247. dolist.o: form.h
  248. dolist.o: handy.h
  249. dolist.o: hash.h
  250. dolist.o: perl.h
  251. dolist.o: regexp.h
  252. dolist.o: spat.h
  253. dolist.o: stab.h
  254. dolist.o: str.h
  255. dolist.o: util.h
  256. dump.o: EXTERN.h
  257. dump.o: arg.h
  258. dump.o: array.h
  259. dump.o: cmd.h
  260. dump.o: config.h
  261. dump.o: dump.c
  262. dump.o: form.h
  263. dump.o: handy.h
  264. dump.o: hash.h
  265. dump.o: perl.h
  266. dump.o: regexp.h
  267. dump.o: spat.h
  268. dump.o: stab.h
  269. dump.o: str.h
  270. dump.o: util.h
  271. eval.o: EXTERN.h
  272. eval.o: arg.h
  273. eval.o: array.h
  274. eval.o: cmd.h
  275. eval.o: config.h
  276. eval.o: eval.c
  277. eval.o: form.h
  278. eval.o: handy.h
  279. eval.o: hash.h
  280. eval.o: perl.h
  281. eval.o: regexp.h
  282. eval.o: spat.h
  283. eval.o: stab.h
  284. eval.o: str.h
  285. eval.o: util.h
  286. form.o: EXTERN.h
  287. form.o: arg.h
  288. form.o: array.h
  289. form.o: cmd.h
  290. form.o: config.h
  291. form.o: form.c
  292. form.o: form.h
  293. form.o: handy.h
  294. form.o: hash.h
  295. form.o: perl.h
  296. form.o: regexp.h
  297. form.o: spat.h
  298. form.o: stab.h
  299. form.o: str.h
  300. form.o: util.h
  301. hash.o: EXTERN.h
  302. hash.o: arg.h
  303. hash.o: array.h
  304. hash.o: cmd.h
  305. hash.o: config.h
  306. hash.o: form.h
  307. hash.o: handy.h
  308. hash.o: hash.c
  309. hash.o: hash.h
  310. hash.o: perl.h
  311. hash.o: regexp.h
  312. hash.o: spat.h
  313. hash.o: stab.h
  314. hash.o: str.h
  315. hash.o: util.h
  316. perl.o: EXTERN.h
  317. perl.o: arg.h
  318. perl.o: array.h
  319. perl.o: cmd.h
  320. perl.o: config.h
  321. perl.o: form.h
  322. perl.o: handy.h
  323. perl.o: hash.h
  324. perl.o: patchlevel.h
  325. perl.o: perl.c
  326. perl.o: perl.h
  327. perl.o: perly.h
  328. perl.o: regexp.h
  329. perl.o: spat.h
  330. perl.o: stab.h
  331. perl.o: str.h
  332. perl.o: util.h
  333. regcomp.o: EXTERN.h
  334. regcomp.o: INTERN.h
  335. regcomp.o: arg.h
  336. regcomp.o: array.h
  337. regcomp.o: cmd.h
  338. regcomp.o: config.h
  339. regcomp.o: form.h
  340. regcomp.o: handy.h
  341. regcomp.o: hash.h
  342. regcomp.o: perl.h
  343. regcomp.o: regcomp.c
  344. regcomp.o: regcomp.h
  345. regcomp.o: regexp.h
  346. regcomp.o: spat.h
  347. regcomp.o: stab.h
  348. regcomp.o: str.h
  349. regcomp.o: util.h
  350. regexec.o: EXTERN.h
  351. regexec.o: arg.h
  352. regexec.o: array.h
  353. regexec.o: cmd.h
  354. regexec.o: config.h
  355. regexec.o: form.h
  356. regexec.o: handy.h
  357. regexec.o: hash.h
  358. regexec.o: perl.h
  359. regexec.o: regcomp.h
  360. regexec.o: regexec.c
  361. regexec.o: regexp.h
  362. regexec.o: spat.h
  363. regexec.o: stab.h
  364. regexec.o: str.h
  365. regexec.o: util.h
  366. stab.o: EXTERN.h
  367. stab.o: arg.h
  368. stab.o: array.h
  369. stab.o: cmd.h
  370. stab.o: config.h
  371. stab.o: form.h
  372. stab.o: handy.h
  373. stab.o: hash.h
  374. stab.o: perl.h
  375. stab.o: regexp.h
  376. stab.o: spat.h
  377. stab.o: stab.c
  378. stab.o: stab.h
  379. stab.o: str.h
  380. stab.o: util.h
  381. str.o: EXTERN.h
  382. str.o: arg.h
  383. str.o: array.h
  384. str.o: cmd.h
  385. str.o: config.h
  386. str.o: form.h
  387. str.o: handy.h
  388. str.o: hash.h
  389. str.o: perl.h
  390. str.o: perly.h
  391. str.o: regexp.h
  392. str.o: spat.h
  393. str.o: stab.h
  394. str.o: str.c
  395. str.o: str.h
  396. str.o: util.h
  397. toke.o: EXTERN.h
  398. toke.o: arg.h
  399. toke.o: array.h
  400. toke.o: cmd.h
  401. toke.o: config.h
  402. toke.o: form.h
  403. toke.o: handy.h
  404. toke.o: hash.h
  405. toke.o: perl.h
  406. toke.o: perly.h
  407. toke.o: regexp.h
  408. toke.o: spat.h
  409. toke.o: stab.h
  410. toke.o: str.h
  411. toke.o: toke.c
  412. toke.o: util.h
  413. util.o: EXTERN.h
  414. util.o: arg.h
  415. util.o: array.h
  416. util.o: cmd.h
  417. util.o: config.h
  418. util.o: form.h
  419. util.o: handy.h
  420. util.o: hash.h
  421. util.o: perl.h
  422. util.o: regexp.h
  423. util.o: spat.h
  424. util.o: stab.h
  425. util.o: str.h
  426. util.o: util.c
  427. util.o: util.h
  428. atarist.o: EXTERN.h
  429. atarist.o: arg.h
  430. atarist.o: array.h
  431. atarist.o: cmd.h
  432. atarist.o: config.h
  433. atarist.o: form.h
  434. atarist.o: handy.h
  435. atarist.o: hash.h
  436. atarist.o: perl.h
  437. atarist.o: regexp.h
  438. atarist.o: spat.h
  439. atarist.o: stab.h
  440. atarist.o: str.h
  441. atarist.o: atarist.c
  442. atarist.o: util.h
  443.  
  444. malloc.o: EXTERN.h
  445. malloc.o: arg.h
  446. malloc.o: array.h
  447. malloc.o: cmd.h
  448. malloc.o: config.h
  449. malloc.o: form.h
  450. malloc.o: handy.h
  451. malloc.o: hash.h
  452. malloc.o: perl.h
  453. malloc.o: regexp.h
  454. malloc.o: spat.h
  455. malloc.o: stab.h
  456. malloc.o: str.h
  457. malloc.o: malloc.c
  458. malloc.o: util.h
  459.  
  460.