home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / clib / progs / utilslib / Makefile < prev    next >
Encoding:
Makefile  |  1991-10-20  |  8.6 KB  |  289 lines

  1. # Project:   Utils
  2.  
  3.  
  4. # Toolflags:
  5. CCflags = -c -depend !Depend -throwback -IC:
  6. Linkflags = -o $@
  7. ObjAsmflags = -depend !Depend -ThrowBack -Stamp -quit -CloseExec
  8. CMHGflags = 
  9. LibFileflags = -c -o $@
  10. Squeezeflags = -o $@
  11. AAsmflags = -depend !Depend -quit -CloseExec -To $@ -From
  12.  
  13.  
  14. # Final targets:
  15. @.Utils:   @.o.Alloca @.o.Bag @.o.Bitset @.o.Chdir @.o.Coroutines @.o.Deque \
  16.         @.o.Dir @.o.Dirscan @.o.Efopen @.o.Emalloc @.o.Filelen @.o.Filetime @.o.Filetype \
  17.         @.o.Filter @.o.Frename @.o.Getwd @.o.Isatty @.o.Map @.o.Message @.o.Mktemp @.o.OsCmd \
  18.         @.o.Panic @.o.Popen @.o.Queue @.o.Random @.o.Ring @.o.Set @.o.Stack @.o.Stat \
  19.         @.o.Strcchr @.o.Strdup @.o.Strlcmp @.o.Strlower @.o.Strndup @.o.Strnlcmp @.o.Strnpcpy \
  20.         @.o.Strnucmp @.o.Strpcpy @.o.Strucmp @.o.Strupper @.o.Time @.o.Touch @.o.Unexec @.o.Regex \
  21.         @.o.Getopt @.o.Getopt1 @.o.ProfileC @.o.ProfileT @.o.Caller @.o.ProgLimit @.o.Vars \
  22.         @.o.ProfileAsm @.o.Swi @.o.Fcrypt 
  23.         LibFile $(LibFileflags) @.o.Alloca @.o.Bag @.o.Bitset @.o.Chdir \
  24.         @.o.Coroutines @.o.Deque @.o.Dir @.o.Dirscan @.o.Efopen @.o.Emalloc @.o.Filelen @.o.Filetime \
  25.         @.o.Filetype @.o.Filter @.o.Frename @.o.Getwd @.o.Isatty @.o.Map @.o.Message @.o.Mktemp \
  26.         @.o.OsCmd @.o.Panic @.o.Popen @.o.Queue @.o.Random @.o.Ring @.o.Set @.o.Stack @.o.Stat \
  27.         @.o.Strcchr @.o.Strdup @.o.Strlcmp @.o.Strlower @.o.Strndup @.o.Strnlcmp @.o.Strnpcpy \
  28.         @.o.Strnucmp @.o.Strpcpy @.o.Strucmp @.o.Strupper @.o.Time @.o.Touch @.o.Unexec @.o.Regex \
  29.         @.o.Getopt @.o.Getopt1 @.o.ProfileC @.o.ProfileT @.o.Caller @.o.ProgLimit @.o.Vars \
  30.         @.o.ProfileAsm @.o.Swi @.o.Fcrypt 
  31.  
  32.  
  33. # User-editable dependencies:
  34. BIN = $.Lib
  35. HDR = $.CLib
  36.  
  37. install: @.Utils
  38.         Cdir $(HDR).H
  39.         Cdir $(HDR).Sys
  40.         Cdir $(HDR).Sys.H
  41.         Copy @.H.* $(HDR).H.* FQ~C
  42.         Copy @.Sys.H.* $(HDR).Sys.H.* FQ~C
  43.         Copy @.Getopt.H.Getopt $(HDR).H.Getopt FQ~C
  44.         Copy @.Regex.H.Regex $(HDR).H.Regex FQ~C
  45.         Copy @.Profile.H.Profile $(HDR).H.Profile FQ~C
  46.         Copy @.Utils $(BIN).Utils FQ~C
  47.  
  48. clean:
  49.         Wipe @.O.* F~C
  50.  
  51. clobber: clean
  52.         Remove @.Utils
  53.  
  54. # Static dependencies:
  55. @.o.Alloca:   @.C.Alloca
  56.         cc $(ccflags) -o @.o.Alloca @.C.Alloca 
  57. @.o.Bag:   @.C.Bag
  58.         cc $(ccflags) -o @.o.Bag @.C.Bag 
  59. @.o.Bitset:   @.C.Bitset
  60.         cc $(ccflags) -o @.o.Bitset @.C.Bitset 
  61. @.o.Chdir:   @.C.Chdir
  62.         cc $(ccflags) -o @.o.Chdir @.C.Chdir 
  63. @.o.Coroutines:   @.C.Coroutines
  64.         cc $(ccflags) -o @.o.Coroutines @.C.Coroutines 
  65. @.o.Deque:   @.C.Deque
  66.         cc $(ccflags) -o @.o.Deque @.C.Deque 
  67. @.o.Dir:   @.C.Dir
  68.         cc $(ccflags) -o @.o.Dir @.C.Dir 
  69. @.o.Dirscan:   @.C.Dirscan
  70.         cc $(ccflags) -o @.o.Dirscan @.C.Dirscan 
  71. @.o.Efopen:   @.C.Efopen
  72.         cc $(ccflags) -o @.o.Efopen @.C.Efopen 
  73. @.o.Emalloc:   @.C.Emalloc
  74.         cc $(ccflags) -o @.o.Emalloc @.C.Emalloc 
  75. @.o.Filelen:   @.C.Filelen
  76.         cc $(ccflags) -o @.o.Filelen @.C.Filelen 
  77. @.o.Filetime:   @.C.Filetime
  78.         cc $(ccflags) -o @.o.Filetime @.C.Filetime 
  79. @.o.Filetype:   @.C.Filetype
  80.         cc $(ccflags) -o @.o.Filetype @.C.Filetype 
  81. @.o.Filter:   @.C.Filter
  82.         cc $(ccflags) -o @.o.Filter @.C.Filter 
  83. @.o.Frename:   @.C.Frename
  84.         cc $(ccflags) -o @.o.Frename @.C.Frename 
  85. @.o.Getwd:   @.C.Getwd
  86.         cc $(ccflags) -o @.o.Getwd @.C.Getwd 
  87. @.o.Isatty:   @.C.Isatty
  88.         cc $(ccflags) -o @.o.Isatty @.C.Isatty 
  89. @.o.Map:   @.C.Map
  90.         cc $(ccflags) -o @.o.Map @.C.Map 
  91. @.o.Message:   @.C.Message
  92.         cc $(ccflags) -o @.o.Message @.C.Message 
  93. @.o.Mktemp:   @.C.Mktemp
  94.         cc $(ccflags) -o @.o.Mktemp @.C.Mktemp 
  95. @.o.OsCmd:   @.C.OsCmd
  96.         cc $(ccflags) -o @.o.OsCmd @.C.OsCmd 
  97. @.o.Panic:   @.C.Panic
  98.         cc $(ccflags) -o @.o.Panic @.C.Panic 
  99. @.o.Popen:   @.C.Popen
  100.         cc $(ccflags) -o @.o.Popen @.C.Popen 
  101. @.o.Queue:   @.C.Queue
  102.         cc $(ccflags) -o @.o.Queue @.C.Queue 
  103. @.o.Random:   @.C.Random
  104.         cc $(ccflags) -o @.o.Random @.C.Random 
  105. @.o.Ring:   @.C.Ring
  106.         cc $(ccflags) -o @.o.Ring @.C.Ring 
  107. @.o.Set:   @.C.Set
  108.         cc $(ccflags) -o @.o.Set @.C.Set 
  109. @.o.Stack:   @.C.Stack
  110.         cc $(ccflags) -o @.o.Stack @.C.Stack 
  111. @.o.Stat:   @.C.Stat
  112.         cc $(ccflags) -o @.o.Stat @.C.Stat 
  113. @.o.Strcchr:   @.C.Strcchr
  114.         cc $(ccflags) -o @.o.Strcchr @.C.Strcchr 
  115. @.o.Strdup:   @.C.Strdup
  116.         cc $(ccflags) -o @.o.Strdup @.C.Strdup 
  117. @.o.Strlcmp:   @.C.Strlcmp
  118.         cc $(ccflags) -o @.o.Strlcmp @.C.Strlcmp 
  119. @.o.Strlower:   @.C.Strlower
  120.         cc $(ccflags) -o @.o.Strlower @.C.Strlower 
  121. @.o.Strndup:   @.C.Strndup
  122.         cc $(ccflags) -o @.o.Strndup @.C.Strndup 
  123. @.o.Strnlcmp:   @.C.Strnlcmp
  124.         cc $(ccflags) -o @.o.Strnlcmp @.C.Strnlcmp 
  125. @.o.Strnpcpy:   @.C.Strnpcpy
  126.         cc $(ccflags) -o @.o.Strnpcpy @.C.Strnpcpy 
  127. @.o.Strnucmp:   @.C.Strnucmp
  128.         cc $(ccflags) -o @.o.Strnucmp @.C.Strnucmp 
  129. @.o.Strpcpy:   @.C.Strpcpy
  130.         cc $(ccflags) -o @.o.Strpcpy @.C.Strpcpy 
  131. @.o.Strucmp:   @.C.Strucmp
  132.         cc $(ccflags) -o @.o.Strucmp @.C.Strucmp 
  133. @.o.Strupper:   @.C.Strupper
  134.         cc $(ccflags) -o @.o.Strupper @.C.Strupper 
  135. @.o.Time:   @.C.Time
  136.         cc $(ccflags) -o @.o.Time @.C.Time 
  137. @.o.Touch:   @.C.Touch
  138.         cc $(ccflags) -o @.o.Touch @.C.Touch 
  139. @.o.Unexec:   @.C.Unexec
  140.         cc $(ccflags) -o @.o.Unexec @.C.Unexec 
  141. @.o.Regex:   @.Regex.C.Regex
  142.         cc $(ccflags) -o @.o.Regex @.Regex.C.Regex 
  143. @.o.Getopt:   @.Getopt.C.Getopt
  144.         cc $(ccflags) -o @.o.Getopt @.Getopt.C.Getopt 
  145. @.o.Getopt1:   @.Getopt.C.Getopt1
  146.         cc $(ccflags) -o @.o.Getopt1 @.Getopt.C.Getopt1 
  147. @.o.ProfileC:   @.Profile.C.ProfileC
  148.         cc $(ccflags) -o @.o.ProfileC @.Profile.C.ProfileC 
  149. @.o.ProfileT:   @.Profile.C.ProfileT
  150.         cc $(ccflags) -o @.o.ProfileT @.Profile.C.ProfileT 
  151. @.o.Caller:   @.S.Caller
  152.         objasm $(objasmflags) -from @.S.Caller -to @.o.Caller
  153. @.o.ProgLimit:   @.S.ProgLimit
  154.         objasm $(objasmflags) -from @.S.ProgLimit -to @.o.ProgLimit
  155. @.o.Vars:   @.S.Vars
  156.         objasm $(objasmflags) -from @.S.Vars -to @.o.Vars
  157. @.o.ProfileAsm:   @.Profile.S.ProfileAsm
  158.         objasm $(objasmflags) -from @.Profile.S.ProfileAsm -to @.o.ProfileAsm
  159. @.o.Swi:   @.S.Swi
  160.         objasm $(objasmflags) -from @.S.Swi -to @.o.Swi
  161. @.o.Fcrypt:   @.C.Fcrypt
  162.         cc $(ccflags) -o @.o.Fcrypt @.C.Fcrypt 
  163.  
  164.  
  165. # Dynamic dependencies:
  166. o.Fatal:    C.Fatal
  167. o.Fatal:    h.utils
  168. o.Strcchr:    C.Strcchr
  169. o.Strcchr:    h.utils
  170. o.Strdup:    C.Strdup
  171. o.Strdup:    h.utils
  172. o.Strlcmp:    C.Strlcmp
  173. o.Strlcmp:    h.utils
  174. o.Strlower:    C.Strlower
  175. o.Strlower:    h.utils
  176. o.Strndup:    C.Strndup
  177. o.Strndup:    h.utils
  178. o.Strnlcmp:    C.Strnlcmp
  179. o.Strnlcmp:    h.utils
  180. o.Strnpcpy:    C.Strnpcpy
  181. o.Strnpcpy:    h.utils
  182. o.Strnucmp:    C.Strnucmp
  183. o.Strnucmp:    h.utils
  184. o.Strpcpy:    C.Strpcpy
  185. o.Strpcpy:    h.utils
  186. o.Strucmp:    C.Strucmp
  187. o.Strucmp:    h.utils
  188. o.Strupper:    C.Strupper
  189. o.Strupper:    h.utils
  190. o.Time:    C.Time
  191. o.Time:    C:h.kernel
  192. o.Time:    C:h.swis
  193. o.Time:    sys.h.time
  194. o.Touch:    C.Touch
  195. o.Touch:    C:h.kernel
  196. o.Touch:    h.utils
  197. o.Unexec:    C.Unexec
  198. o.Unexec:    C:h.kernel
  199. o.Unexec:    h.unexec
  200. o.Getopt:    Getopt.C.Getopt
  201. o.Getopt:    Getopt.h.getopt
  202. o.Getopt1:    Getopt.C.Getopt1
  203. o.Getopt1:    Getopt.h.getopt
  204. o.ProfileC:    Profile.C.ProfileC
  205. o.ProfileC:    Profile.h.Profile
  206. o.ProfileT:    Profile.C.ProfileT
  207. o.ProfileT:    C:h.swis
  208. o.ProfileT:    C:h.kernel
  209. o.ProfileT:    Profile.h.ProfileAsm
  210. o.ProfileT:    Profile.h.Profile
  211. o.Alloca:    C.Alloca
  212. o.Alloca:    h.utils
  213. o.Bag:    C.Bag
  214. o.Bag:    h.bag
  215. o.Bitset:    C.Bitset
  216. o.Bitset:    h.bitset
  217. o.Chdir:    C.Chdir
  218. o.Chdir:    C:h.kernel
  219. o.Chdir:    h.utils
  220. o.Coroutines:    C.Coroutines
  221. o.Coroutines:    C:h.kernel
  222. o.Coroutines:    h.utils
  223. o.Deque:    C.Deque
  224. o.Deque:    h.deque
  225. o.Dir:    C.Dir
  226. o.Dir:    C:h.kernel
  227. o.Dir:    C:h.swis
  228. o.Dir:    sys.h.dir
  229. o.Dirscan:    C.Dirscan
  230. o.Dirscan:    C:h.kernel
  231. o.Dirscan:    C:h.swis
  232. o.Dirscan:    h.utils
  233. o.Efopen:    C.Efopen
  234. o.Efopen:    h.utils
  235. o.Emalloc:    C.Emalloc
  236. o.Emalloc:    h.utils
  237. o.Filelen:    C.Filelen
  238. o.Filelen:    C:h.kernel
  239. o.Filelen:    h.utils
  240. o.Filetime:    C.Filetime
  241. o.Filetime:    C:h.kernel
  242. o.Filetime:    h.utils
  243. o.Filetype:    C.Filetype
  244. o.Filetype:    C:h.kernel
  245. o.Filetype:    h.utils
  246. o.Filter:    C.Filter
  247. o.Filter:    C:h.kernel
  248. o.Filter:    h.utils
  249. o.Filter:    h.filter
  250. o.Frename:    C.Frename
  251. o.Frename:    C:h.kernel
  252. o.Frename:    h.utils
  253. o.Getwd:    C.Getwd
  254. o.Getwd:    C:h.kernel
  255. o.Getwd:    C:h.swis
  256. o.Getwd:    h.utils
  257. o.Isatty:    C.Isatty
  258. o.Isatty:    C:h.kernel
  259. o.Map:    C.Map
  260. o.Map:    h.map
  261. o.Message:    C.Message
  262. o.Message:    h.utils
  263. o.Mktemp:    C.Mktemp
  264. o.Mktemp:    C:h.kernel
  265. o.Mktemp:    C:h.swis
  266. o.Mktemp:    h.utils
  267. o.OsCmd:    C.OsCmd
  268. o.Panic:    C.Panic
  269. o.Panic:    h.utils
  270. o.Popen:    C.Popen
  271. o.Popen:    C:h.kernel
  272. o.Popen:    h.utils
  273. o.Queue:    C.Queue
  274. o.Queue:    h.queue
  275. o.Random:    C.Random
  276. o.Random:    h.utils
  277. o.Ring:    C.Ring
  278. o.Ring:    h.ring
  279. o.Set:    C.Set
  280. o.Set:    h.set
  281. o.Stack:    C.Stack
  282. o.Stack:    h.stack
  283. o.Stat:    C.Stat
  284. o.Stat:    C:h.kernel
  285. o.Stat:    sys.h.time
  286. o.Stat:    sys.h.stat
  287. o.Regex:    Regex.C.Regex
  288. o.Regex:    Regex.h.regex
  289.