home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / language / perl_419 / makefile.std < prev    next >
Makefile  |  1993-10-23  |  9KB  |  455 lines

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