home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / pdksh-4.9-src.tgz / tar.out / contrib / pdksh / sh / Makefile.in < prev    next >
Makefile  |  1996-09-28  |  5KB  |  281 lines

  1. # PD Bourne/Korn Shell
  2. # $Id: Makefile,v 1.6 93/05/08 15:59:56 sjg Exp $
  3.  
  4. #### Start of system configuration section. ####
  5.  
  6. VPATH = @srcdir@
  7. srcdir = @srcdir@
  8.  
  9. # Common prefix for machine-independent installed files.
  10. prefix = /ade
  11. # Common prefix for machine-dependent installed files.
  12. exec_prefix = $(prefix)
  13.  
  14. # Directory to install executables in.
  15. bindir = $(exec_prefix)/bin
  16. # Directory to install libraries in.
  17. libdir = $(exec_prefix)/lib
  18. # Directory to install the Info files in.
  19. infodir = $(prefix)/info
  20. # Directory to install the man page in.
  21. mandir = $(prefix)/man/man$(manext)
  22. # Number to put on the man page filename.
  23. manext = 1
  24.  
  25. # Program to install executables.
  26. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  27. # Program to install data like man pages.
  28. INSTALL_DATA = @INSTALL_DATA@
  29. # Generic install program.
  30. INSTALL = @INSTALL@
  31.  
  32. CC = @CC@
  33. DEFS = @DEFS@ -D_BSD -DUSE_TRACE -DDEBUG_AFREE
  34. CFLAGS = @CFLAGS@ -resident
  35.  
  36. LDFLAGS = @LDFLAGS@ -resident
  37. LIBS = @LIBS@
  38.  
  39. # AmigaOS hack.  Symbolic links are available, but the actual link
  40. # name needs to be AmigaOS format (device:path1/path2/...).  When
  41. # ixemul.library makes them in this format, this can be enabled.
  42. #LN_S = @LN_S@
  43. LN_S = cp
  44.  
  45. #### End of system configuration section. ####
  46.  
  47. # "-I." is needed to find config.h in the build directory.
  48. .c.o:
  49.     $(CC) -c -I. -I$(srcdir) $(DEFS) $(CFLAGS) $< $(OUTPUT_OPTION)
  50.  
  51. SHELL =    /bin/sh
  52. MAKE  = make
  53. CHMOD =    chmod
  54.  
  55. XOBJS=amiga.o
  56.  
  57. COMPATLIBS =
  58. LDLIBS = $(COMPATLIBS) $(XLIBS)
  59.  
  60. HDRS =    sh.h table.h expand.h lex.h tree.h tty.h trace.h
  61. SRCS1 =    version.c main.c misc.c trap.c alloc.c io.c \
  62.     syn.c lex.c edit.c emacs.c vi.c history.c tree.c 
  63. SRCS2 =    exec.c jobs.c \
  64.     c_sh.c c_ksh.c c_test.c getopts.c do_ulimit.c \
  65.     var.c table.c eval.c expr.c mail.c sigact.c trace.c
  66. SRCS =    Makefile $(HDRS) $(SRCS1) $(SRCS2) 
  67.  
  68. OBJS =    version.o main.o misc.o \
  69.     syn.o lex.o edit.o emacs.o vi.o tree.o \
  70.     exec.o jobs.o trap.o \
  71.     c_sh.o c_ksh.o c_test.o \
  72.     do_ulimit.o getopts.o expr.o history.o \
  73.     var.o table.o alloc.o io.o eval.o mail.o sigact.o trace.o $(XOBJS)
  74.  
  75. ksh: $(OBJS) 
  76.     $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)
  77.  
  78. clean:
  79.     rm -f *.o *.out core
  80.  
  81. clobber: clean
  82.     rm -f ksh
  83.  
  84. link:
  85.     ($(SHELL) ../std/mklinks ../std/h stdh.h)
  86.     
  87.  
  88. depend:
  89.     makedepend $(CFLAGS) $(SRCS1) $(SRCS2)
  90.  
  91. install: ksh
  92.     $(INSTALL_PROGRAM) -c ksh $(bindir)/ksh
  93.     $(INSTALL_PROGRAM) -c ksh $(bindir)/sh
  94.  
  95. .c.s:
  96.     $(CC) $(CFLAGS) -S -o $@ $<
  97.  
  98. asms: $(OBJS:.o=.s)
  99.  
  100.  
  101. # DO NOT DELETE THIS LINE -- make depend depends on it.
  102. # If this runs make out of memory, delete /usr/include lines.
  103. alloc.o: alloc.c
  104. alloc.o: config.h
  105. alloc.o: sh.h
  106. alloc.o: stdh.h
  107. alloc.o: trace.h
  108. c_ksh.o: c_ksh.c
  109. c_ksh.o: config.h
  110. c_ksh.o: sh.h
  111. c_ksh.o: stdh.h
  112. c_ksh.o: table.h
  113. c_ksh.o: trace.h
  114. c_sh.o: c_sh.c
  115. c_sh.o: config.h
  116. c_sh.o: lex.h
  117. c_sh.o: sh.h
  118. c_sh.o: stdh.h
  119. c_sh.o: table.h
  120. c_sh.o: trace.h
  121. c_sh.o: tree.h
  122. c_test.o: c_test.c
  123. c_test.o: config.h
  124. c_test.o: sh.h
  125. c_test.o: stdh.h
  126. c_test.o: trace.h
  127. edit.o: config.h
  128. edit.o: edit.c
  129. edit.o: edit.h
  130. edit.o: lex.h
  131. edit.o: sh.h
  132. edit.o: stdh.h
  133. edit.o: trace.h
  134. edit.o: tty.h
  135. emacs.o: config.h
  136. emacs.o: edit.h
  137. emacs.o: emacs.c
  138. emacs.o: expand.h
  139. emacs.o: lex.h
  140. emacs.o: sh.h
  141. emacs.o: stdh.h
  142. emacs.o: table.h
  143. emacs.o: trace.h
  144. emacs.o: tree.h
  145. eval.o: config.h
  146. eval.o: eval.c
  147. eval.o: expand.h
  148. eval.o: lex.h
  149. eval.o: sh.h
  150. eval.o: stdh.h
  151. eval.o: table.h
  152. eval.o: trace.h
  153. eval.o: tree.h
  154. exec.o: config.h
  155. exec.o: exec.c
  156. exec.o: lex.h
  157. exec.o: sh.h
  158. exec.o: stdh.h
  159. exec.o: table.h
  160. exec.o: trace.h
  161. exec.o: tree.h
  162. expr.o: config.h
  163. expr.o: expr.c
  164. expr.o: sh.h
  165. expr.o: stdh.h
  166. expr.o: table.h
  167. expr.o: trace.h
  168. getopts.o: config.h
  169. getopts.o: getopts.c
  170. getopts.o: sh.h
  171. getopts.o: stdh.h
  172. getopts.o: table.h
  173. getopts.o: trace.h
  174. history.o: config.h
  175. history.o: history.c
  176. history.o: lex.h
  177. history.o: sh.h
  178. history.o: stdh.h
  179. history.o: trace.h
  180. io.o: config.h
  181. io.o: io.c
  182. io.o: sh.h
  183. io.o: stdh.h
  184. io.o: trace.h
  185. jobs.o: config.h
  186. jobs.o: jobs.c
  187. jobs.o: sh.h
  188. jobs.o: stdh.h
  189. jobs.o: trace.h
  190. jobs.o: tree.h
  191. lex.o: config.h
  192. lex.o: expand.h
  193. lex.o: lex.c
  194. lex.o: lex.h
  195. lex.o: sh.h
  196. lex.o: stdh.h
  197. lex.o: table.h
  198. lex.o: trace.h
  199. lex.o: tree.h
  200. mail.o: config.h
  201. mail.o: mail.c
  202. mail.o: sh.h
  203. mail.o: stdh.h
  204. mail.o: table.h
  205. mail.o: trace.h
  206. main.o: config.h
  207. main.o: lex.h
  208. main.o: main.c
  209. main.o: sh.h
  210. main.o: stdh.h
  211. main.o: table.h
  212. main.o: trace.h
  213. main.o: tree.h
  214. memmove.o: memmove.c
  215. memmove.o: stdh.h
  216. misc.o: config.h
  217. misc.o: expand.h
  218. misc.o: misc.c
  219. misc.o: sh.h
  220. misc.o: stdh.h
  221. misc.o: trace.h
  222. strstr.o: stdh.h
  223. strstr.o: strstr.c
  224. syn.o: config.h
  225. syn.o: expand.h
  226. syn.o: lex.h
  227. syn.o: sh.h
  228. syn.o: stdh.h
  229. syn.o: syn.c
  230. syn.o: table.h
  231. syn.o: trace.h
  232. syn.o: tree.h
  233. sigact.o: sigact.h sigact.c
  234. table.o: config.h
  235. table.o: sh.h
  236. table.o: stdh.h
  237. table.o: table.c
  238. table.o: table.h
  239. table.o: trace.h
  240. times.o: times.c
  241. trace.o: trace.c
  242. trap.o: config.h
  243. trap.o: sh.h
  244. trap.o: stdh.h
  245. trap.o: trace.h
  246. trap.o: trap.c
  247. tree.o: config.h
  248. tree.o: sh.h
  249. tree.o: stdh.h
  250. tree.o: trace.h
  251. tree.o: tree.c
  252. tree.o: tree.h
  253. do_ulimit.o: config.h
  254. do_ulimit.o: sh.h
  255. do_ulimit.o: stdh.h
  256. do_ulimit.o: trace.h
  257. do_ulimit.o: do_ulimit.c
  258. var.o: config.h
  259. var.o: expand.h
  260. var.o: sh.h
  261. var.o: stdh.h
  262. var.o: table.h
  263. var.o: trace.h
  264. var.o: var.c
  265. version.o: config.h
  266. version.o: sh.h
  267. version.o: stdh.h
  268. version.o: trace.h
  269. version.o: version.c
  270. vi.o: config.h
  271. vi.o: edit.h
  272. vi.o: expand.h
  273. vi.o: lex.h
  274. vi.o: sh.h
  275. vi.o: stdh.h
  276. vi.o: table.h
  277. vi.o: trace.h
  278. vi.o: tree.h
  279. vi.o: vi.c
  280. # WARNING: Put nothing here or make depend will gobble it up!
  281.