home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / OS2 / EMXFIX04.ZIP / MAKEFILE < prev    next >
Text File  |  1994-01-23  |  17KB  |  582 lines

  1. #
  2. # /emx/test/makefile
  3. #
  4. CFLAGS=-g -Wall
  5. CC=gcc $(CFLAGS)
  6. B=/emx/bin/
  7. I=/emx/include/
  8. S=$(I)sys/
  9. IP=/emx/include.cpp/
  10. L=/emx/lib/
  11. SIGNAL=$(I)signal.h $(S)signal.h
  12. FCNTL=$(I)fcntl.h $(S)fcntl.h
  13. ERRNO=$(I)errno.h $(S)errno.h
  14. LIBS=$(L)crt0.o $(L)c.a $(L)gcc.a
  15. LIBP=$(L)iostream.a
  16. LIBOS2=$(L)os2.a
  17. LIBBSD=$(L)bsd.a
  18.  
  19. .SUFFIXES: .o .c .cc .s .exe
  20.  
  21. .c.o:
  22.     $(CC) -c $<
  23.  
  24. .cc.o:
  25.     $(CC) -c $<
  26.  
  27. .c.s:
  28.     $(CC) -S $<
  29.  
  30. .o.exe:
  31.     $(CC) -o $*.exe $<
  32.  
  33. default:        all
  34.  
  35. all:            tests plusplus os2only dosonly
  36.  
  37. tests:          access.exe alarm.exe args.exe bsdtest.exe conv.exe \
  38.                 coretest.exe coretst2.exe ctypetst.exe debug.exe divtest.exe \
  39.                 dttest.exe exec.exe explode.exe float.exe ftwtest.exe \
  40.                 fullpath.exe hexdump.exe hw_io.exe longlong.exe math.exe \
  41.                 mdecho.exe memory.exe memtest.exe mftest.exe nls.exe pack.exe \
  42.                 pid.exe printf.exe printf0.exe retcode.exe rndheap.exe \
  43.                 sbrktest.exe scanf.exe sig1.exe sig2.exe sig3.exe sig4.exe \
  44.                 sig5.exe sig6.exe sigsegv.exe splitarg.exe stack.exe \
  45.                 stdiotst.exe strtol.exe system.exe swaptest.exe termio.exe \
  46.                 timetest.exe tmpnam.exe trunc.exe uname.exe version.exe \
  47.                 vftest.exe video.exe wmftest.exe wm_test.exe
  48.  
  49. dosonly:        hw_mem.exe int10.exe
  50.  
  51. os2only:        dlltest1 dlltest2 c16 far16.exe eatest.exe fork.exe idle.exe \
  52.                 kbd.exe msgtest os2test.exe pm1.exe pipe.exe popen.exe \
  53.                 read_kbd.exe select.exe showmem1.exe threads.exe thunk.exe \
  54.                 vio.exe
  55.  
  56. c16:            c16.dll c16test1.exe c16test2.exe
  57.  
  58. dlltest1:       dlltest1.exe testdll1.dll
  59.  
  60. dlltest2:       dlltest2.exe testdll2.dll
  61.  
  62. dlltest3:       dlltest3.exe testdll3.dll
  63.  
  64. dlltest4:       dlltest4.exe testdll4.dll
  65.  
  66. plusplus:       hello.exe stdio.exe test1.exe test2.exe dlltest3
  67.  
  68. msgtest:        msgtest.exe msgtest.msg
  69.  
  70. clean:
  71.     -del *.o $(DELOPT)
  72.     -del *.exe $(DELOPT)
  73.     -del *.dll $(DELOPT)
  74.     -del *.obj $(DELOPT)
  75.     -del *.map $(DELOPT)
  76.     -del *.msg $(DELOPT)
  77.     -del *.lib $(DELOPT)
  78.     -del coretest $(DELOPT)
  79.     -del coretest.cor $(DELOPT)
  80.     -del mathtest.out $(DELOPT)
  81.     -del pm1 $(DELOPT)
  82.     -del pm1.res $(DELOPT)
  83.     -del c16.a $(DELOPT)
  84.     -del strtol.t1 $(DELOPT)
  85.     -del strtol.t2 $(DELOPT)
  86.     -del strtol.t3 $(DELOPT)
  87.     -del strtol.t4 $(DELOPT)
  88.     -del testdll3.def $(DELOPT)
  89.  
  90. access.o:       access.c $(I)stdio.h $(I)io.h $(I)string.h $(I)stdlib.h
  91. alarm.o:        alarm.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(SIGNAL)
  92. args.o:         args.c $(I)stdio.h $(I)stdlib.h
  93. bsdtest.o:      bsdtest.c $(I)stdio.h $(I)stdlib.h
  94. conv.o:         conv.c $(I)stdio.h $(I)stdlib.h $(I)string.h
  95. coretest.o:     coretest.c $(I)stdio.h $(I)stdlib.h $(I)io.h $(FCNTL) \
  96.                 $(S)types.h $(S)stat.h $(SIGNAL) $(I)string.h
  97. ctypetst.o:     ctypetst.c $(I)stdio.h $(I)string.h $(I)ctype.h
  98. debug.o:        debug.c $(I)stdio.h $(I)string.h $(I)process.h \
  99.                 $(S)ptrace.h $(S)reg.h $(S)user.h $(I)stdlib.h
  100. divtest.o:      divtest.c $(I)stdio.h $(I)stdlib.h
  101. dttest.o:       dttest.c $(I)stdio.h $(I)stdlib.h $(I)getopt.h $(I)time.h \
  102.                 $(S)dirtree.h $(S)param.h
  103. exec.o:         exec.c $(I)stdio.h $(I)string.h $(I)process.h $(SIGNAL)
  104. explode.o:      explode.c $(I)stdio.h $(I)stdlib.h
  105. far16.o:        far16.c $(I)stdio.h $(I)os2.h $(I)os2thunk.h
  106. float.o:        float.c $(I)stdio.h $(I)float.h
  107. fork.o:         fork.c $(I)process.h $(I)stdio.h $(I)string.h $(I)stdlib.h \
  108.                 $(I)getopt.h $(SIGNAL) $(I)time.h
  109. ftwtest.o:      ftwtest.c $(I)stdio.h $(S)types.h $(S)stat.h \
  110.                 $(I)ftw.h
  111. fullpath.o:     fullpath.c $(I)stdio.h $(I)stdlib.h $(S)param.h \
  112.                 $(I)getopt.h
  113. hello.o:        hello.cc $(IP)iostream.h
  114. hexdump.o:      hexdump.c $(I)stdio.h $(I)stdlib.h $(I)io.h $(FCNTL) \
  115.                 $(S)ioctl.h
  116. hw_io.o:        hw_io.c $(I)stdio.h $(I)stdlib.h $(S)hw.h $(I)string.h
  117. hw_mem.o:       hw_mem.c $(I)stdio.h $(I)stdlib.h $(S)hw.h $(I)memory.h \
  118.                 $(I)io.h
  119. idle.o:         idle.c $(I)stdio.h $(I)process.h $(I)string.h $(I)os2emx.h \
  120.                 $(I)stdlib.h
  121. eatest.o:       eatest.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)getopt.h \
  122.                 $(I)io.h $(S)ea.h
  123. math.o:         math.c $(I)stdio.h $(I)stdlib.h $(I)math.h
  124. mdecho.o:       mdecho.c $(I)stdio.h $(S)moddef.h
  125. memory.o:       memory.c $(I)stdio.h $(I)string.h
  126. memtest.o:      memtest.c $(S)emx.h $(I)stdio.h $(I)stdlib.h \
  127.                 $(I)string.h $(I)io.h
  128. mftest.o:       mftest.c $(I)stdio.h $(I)stdlib.h $(I)getopt.h $(ERRNO)
  129. nls.o:          nls.c $(S)nls.h $(I)stdio.h $(I)string.h $(I)stdlib.h
  130. os2test.o:      os2test.c $(I)stdio.h $(I)string.h $(I)os2emx.h
  131. pack.o:         pack.c $(I)stdio.h
  132. pid.o:          pid.c $(I)stdio.h $(I)process.h
  133. pipe.o:         pipe.c $(I)stdio.h $(I)io.h $(I)process.h $(I)unistd.h \
  134.                 $(I)stdlib.h $(FCNTL) $(I)string.h $(SIGNAL)
  135. pm1.o:          pm1.c pm1.h $(I)stdio.h $(I)os2emx.h
  136. popen.o:        popen.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)getopt.h
  137. printf.o:       printf.c $(I)stdio.h
  138. printf0.o:      printf0.c $(I)stdio.h
  139. retcode.o:      retcode.c $(I)stdlib.h
  140. rndheap.o:      rndheap.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)malloc.h \
  141.                 $(I)getopt.h $(SIGNAL) $(ERRNO)
  142. sbrktest.o:     sbrktest.c $(I)stdio.h $(I)stdlib.h $(I)string.h
  143. scanf.o:        scanf.c $(I)stdio.h
  144. select.o:       select.c $(I)stdio.h $(I)io.h $(I)process.h $(I)unistd.h \
  145.                 $(I)stdlib.h $(FCNTL) $(I)string.h $(SIGNAL) $(S)ioctl.h \
  146.                 $(S)types.h $(S)time.h
  147. showmem.o:      showmem.c $(I)stdio.h $(I)stdlib.h $(I)os2emx.h
  148. showmem1.o:     showmem1.c $(I)stdio.h $(I)stdlib.h
  149. sig1.o:         sig1.c $(I)stdio.h $(SIGNAL)
  150. sig2.o:         sig1.c $(I)stdio.h $(I)stdlib.h $(SIGNAL) $(I)setjmp.h \
  151.                 $(I)process.h
  152. sig3.o:         sig3.c $(I)stdio.h $(I)stdlib.h $(SIGNAL) $(I)setjmp.h
  153. sig4.o:         sig4.c $(I)stdio.h $(I)stdlib.h $(SIGNAL)
  154. sig5.o:         sig5.c $(I)stdio.h $(SIGNAL)
  155. sig6.o:         sig6.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(SIGNAL) \
  156.                 $(I)setjmp.h $(I)float.h
  157. sigsegv.o:      sigsegv.c $(I)stdio.h $(I)stdlib.h $(SIGNAL)
  158. splitarg.o:     splitarg.c $(I)stdio.h $(I)stdlib.h $(I)string.h
  159. stack.o:        stack.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(SIGNAL) \
  160.                 $(I)alloca.h
  161. stdio.o:        stdio.cc $(I)stdio.h $(IP)iostream.h
  162. stdiotst.o:     stdiotst.c $(I)stdio.h $(I)stdlib.h
  163. strtol.o:       strtol.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)errno.h
  164. system.o:       system.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)process.h
  165. swaptest.o:     swaptest.c $(I)stdio.h $(I)stdlib.h $(I)io.h
  166. termio.o:       termio.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(I)io.h \
  167.                 $(ERRNO) $(SIGNAL) $(I)process.h $(I)setjmp.h \
  168.                 $(S)types.h $(S)time.h $(S)termio.h $(I)fcntl.h \
  169.                 $(S)ioctl.h
  170. test1.o:        test1.cc $(I)stdio.h $(IP)iostream.h
  171. test2.o:        test2.cc $(IP)iostream.h
  172. timetest.o:     timetest.c $(I)stdio.h $(I)time.h $(S)types.h \
  173.                 $(S)stat.h $(I)io.h $(I)stdlib.h $(I)ctype.h $(I)string.h \
  174.                 $(I)getopt.h
  175. tmpnam.o:       tmpnam.c $(I)stdio.h
  176. trunc.o:        trunc.c $(I)stdio.h $(I)stdlib.h $(I)io.h $(I)getopt.h \
  177.                 $(I)fcntl.h
  178. uname.o:        uname.c $(I)stdio.h $(S)utsname.h
  179. version.o:      version.c $(I)stdio.h $(I)stdlib.h $(I)string.h $(S)emx.h
  180. video.o:        video.c $(I)stdio.h $(I)stdlib.h $(S)video.h
  181. int10.o:        int10.c $(I)stdio.h $(I)stdlib.h $(I)dos.h
  182. wm_test.o:      wm_test.c $(I)stdio.h $(I)stdlib.h $(I)string.h \
  183.                 $(S)video.h $(S)winmgr.h $(S)kbdscan.h
  184.  
  185. longlong.o:     longlong.c $(I)stdio.h $(I)stdlib.h
  186.     @echo 2 warnings expected
  187.     $(CC) -c longlong.c
  188.  
  189. imp1.o:         testdll1.imp
  190.     emximp -a testdll1.imp
  191.  
  192. msgtest.obj:    msgtest.c
  193.     gcc -c msgtest.c -Zomf
  194.  
  195. #
  196. # Regression test for strtol() and strtoul()
  197. #
  198. strtol:         strtol.exe strtol.in1 strtol.in2 strtol.in3 strtol.in4 \
  199.         strtol.ok1 strtol.ok2 strtol.ok3 strtol.ok4
  200.     strtol s 0 <strtol.in1 >strtol.t1
  201.     strtol u 0 <strtol.in2 >strtol.t2
  202.     strtol s 1 <strtol.in3 >strtol.t3
  203.     strtol u 2 <strtol.in4 >strtol.t4
  204.     diff strtol.ok1 strtol.t1
  205.     diff strtol.ok2 strtol.t2
  206.     diff strtol.ok3 strtol.t3
  207.     diff strtol.ok4 strtol.t4
  208.  
  209. #
  210. # _cdecl thunks
  211. #
  212. # Required tools: Microsoft C 6.00A and MASM 6.00A
  213. #
  214. c16test1.exe: c16test1.o c16.a
  215.     $(CC) -o c16test1.exe c16test1.o c16.a
  216.  
  217. c16test2.exe: c16test2.o c16.a
  218.     $(CC) -o c16test2.exe c16test2.o c16.a
  219.  
  220. c16test1.o: c16test1.c
  221.     $(CC) -c c16test1.c
  222.  
  223. c16test2.o: c16test2.c
  224.     $(CC) -c c16test2.c
  225.  
  226. c16.dll: c16init.obj c16.obj c16.def
  227.     link c16init c16 /align:16 /nod,c16.dll,nul,,c16.def
  228.  
  229. c16init.obj: c16init.asm
  230.     ml -c -W3 c16init.asm
  231.  
  232. c16.obj: c16.c
  233.     cl -c -Lp -Alfu -G2s -W4 c16.c
  234.  
  235. c16.a: c16.imp
  236.     emximp -o c16.a c16.imp
  237.  
  238. #
  239. # mkmsgf comes with the "IBM Developer's Toolkit for OS/2 2.0"
  240. #
  241. msgtest.msg:    msgtest.txt
  242.     mkmsgf msgtest.txt msgtest.msg
  243.  
  244. #
  245. #
  246. #
  247. testdll1.o: testdll1.c
  248.     $(CC) -Zdll -c testdll1.c
  249.  
  250. testdll1.dll: testdll1.o testdll1.def $(LIBS) $(LIBOS2)
  251.     $(CC) -Zdll -o testdll1.dll testdll1.o -s
  252.  
  253. dlltest1.o:     dlltest1.c
  254.  
  255. dlltest1.exe:   dlltest1.o imp1.o
  256.     $(CC) -o dlltest1.exe dlltest1.o imp1.o
  257.  
  258.  
  259. #
  260. # Test shared/instance data
  261. #
  262. testdll2.obj: testdll2.c
  263.     $(CC) -Zomf -Zdll -c testdll2.c
  264.  
  265. private.obj: private.c
  266.     $(CC) -Zdll -c private.c
  267.     emxomf -DPRIV private.o
  268.  
  269. testdll2.dll: testdll2.obj private.obj testdll2.def
  270.     $(CC) -Zomf -Zdll -o testdll2.dll testdll2.obj private.obj testdll2.def
  271.  
  272. testdll2.lib: testdll2.def
  273.     emximp -o testdll2.lib testdll2.def
  274.  
  275. dlltest2.obj: dlltest2.c
  276.     $(CC) -Zomf -c dlltest2.c
  277.  
  278. dlltest2.exe: dlltest2.obj testdll2.lib
  279.     $(CC) -Zomf -o dlltest2.exe dlltest2.obj testdll2.lib
  280.  
  281. #
  282. # Test constructors/destructors in DLLs
  283. #
  284. testdll3.obj: testdll3.cc testdll3.h
  285.     $(CC) -Zomf -Zdll -Zmtd -c testdll3.cc
  286.  
  287. testdll3.def: testdll3.df testdll3.obj
  288.     copy testdll3.df testdll3.def
  289.     emxexp testdll3.obj >>testdll3.def
  290.  
  291. testdll3.dll: testdll3.obj testdll3.def
  292.     $(CC) -Zomf -Zdll -Zmtd -o testdll3.dll testdll3.obj testdll3.def -lwrap
  293.  
  294. testdll3.lib: testdll3.def
  295.     emximp -o testdll3.lib testdll3.def
  296.  
  297. dlltest3.obj: dlltest3.cc testdll3.h
  298.     $(CC) -Zomf -Zmtd -c dlltest3.cc
  299.  
  300. dlltest3.exe: dlltest3.obj testdll3.lib
  301.     $(CC) -Zomf -Zmtd -o dlltest3.exe dlltest3.obj testdll3.lib
  302.  
  303. #
  304. # Test building custom C library DLL
  305. #
  306. # Note: SET LIB=\emx\lib
  307. #
  308. testdll4.obj: testdll4.c testdll4.h
  309.     $(CC) -Zomf -Zdll -Zmts -c testdll4.c
  310.  
  311. testdll4.dll: testdll4.obj testdll4.def
  312.     link386 /nol /noi dll0 testdll4,testdll4.dll,nul,cdllobj gcc emxmt emx2 os2,testdll4
  313.  
  314. testdll4.lib: testdll4.def
  315.     emximp -o testdll4.lib testdll4.def
  316.  
  317. dlltest4.obj: dlltest4.c testdll4.h
  318.     $(CC) -Zomf -Zmtd -c dlltest4.c
  319.  
  320. dlltest4.exe: dlltest4.obj testdll4.lib
  321.     link386 /nol /noi crt0 dlltest4,dlltest4,nul,testdll4 emx2;
  322.  
  323. #
  324. #
  325. #
  326.  
  327. access.exe:     access.o $(LIBS)
  328.     $(CC) -o access.exe access.o
  329.  
  330. alarm.exe:      alarm.o $(LIBS)
  331.     $(CC) -o alarm.exe alarm.o
  332.  
  333. args.exe:       args.o $(LIBS)
  334.     $(CC) -o args.exe args.o
  335.  
  336. bsdtest.exe:    bsdtest.o $(LIBS) $(LIBBSD)
  337.     $(CC) -o bsdtest.exe bsdtest.o -lbsd
  338.  
  339. conv.exe:       conv.o $(LIBS)
  340.     $(CC) -o conv.exe conv.o
  341.  
  342. coretest:       coretest.o $(LIBS)
  343.     $(CC) -o coretest coretest.o
  344.  
  345. coretest.exe:   coretest
  346.     emxbind $(B)emxl coretest
  347.  
  348. coretest.cor:   coretest.exe
  349.     coretest
  350.  
  351. coretst2.exe:   coretest coretest.cor
  352.     emxbind -ccoretest.cor $(B)emxl coretest coretst2
  353.  
  354. ctypetst.exe:   ctypetst.o $(LIBS)
  355.     $(CC) -o ctypetst.exe ctypetst.o
  356.  
  357. debug.exe:      debug.o $(LIBS)
  358.     $(CC) -o debug.exe debug.o
  359.  
  360. divtest.exe:    divtest.o $(LIBS)
  361.     $(CC) -o divtest.exe divtest.o
  362.  
  363. dttest.exe:     dttest.o $(LIBS)
  364.     $(CC) -o dttest.exe dttest.o
  365.  
  366. exec.exe:       exec.o $(LIBS)
  367.     $(CC) -o exec.exe exec.o
  368.     emxbind -aq exec -p
  369.  
  370. explode.exe:    explode.o $(LIBS)
  371.     $(CC) -o explode.exe explode.o
  372.  
  373. far16.exe:      far16.o $(LIBS) $(LIBOS2)
  374.     $(CC) -o far16.exe far16.o
  375.  
  376. float.exe:      float.o $(LIBS)
  377.     $(CC) -o float.exe float.o
  378.  
  379. fork.exe:       fork.o $(LIBS)
  380.     $(CC) -o fork.exe fork.o
  381.  
  382. ftwtest.exe:    ftwtest.o $(LIBS)
  383.     $(CC) -o ftwtest.exe ftwtest.o
  384.  
  385. fullpath.exe:   fullpath.o $(LIBS)
  386.     $(CC) -o fullpath.exe fullpath.o
  387.  
  388. hello.exe:      hello.o $(LIBS) $(LIBP)
  389.     $(CC) -o hello.exe hello.o -liostream
  390.  
  391. hexdump.exe:    hexdump.o $(LIBS)
  392.     $(CC) -o hexdump.exe hexdump.o
  393.  
  394. hw_io.exe:      hw_io.o $(LIBS)
  395.     $(CC) -o hw_io.exe hw_io.o
  396.     emxbind -aq hw_io -ai
  397.  
  398. hw_mem.exe:     hw_mem.o $(LIBS)
  399.     $(CC) -o hw_mem.exe hw_mem.o
  400.     emxbind -aq hw_mem -am -p
  401.  
  402. idle.exe:       idle.o $(LIBS) $(LIBOS2)
  403.     $(CC) -o idle.exe idle.o
  404.  
  405. kbd.exe:        kbd.c $(LIBS) $(LIBOS2)
  406.     $(CC) -o kbd.exe kbd.c -Zomf -Zsys
  407.  
  408. eatest.exe:     eatest.o $(LIBS) $(LIBOS2)
  409.     $(CC) -o eatest.exe eatest.o
  410.  
  411. longlong.exe:   longlong.o $(LIBS)
  412.     $(CC) -o longlong.exe longlong.o
  413.  
  414. math.exe:       math.o $(LIBS)
  415.     $(CC) -o math.exe math.o
  416.  
  417. mdecho.exe:     mdecho.o $(LIBS) $(L)moddef.a
  418.     $(CC) -o mdecho.exe mdecho.o -lmoddef
  419.  
  420. memory.exe:     memory.o $(LIBS)
  421.     $(CC) -o memory.exe memory.o
  422.  
  423. memtest.exe:    memtest.o $(LIBS)
  424.     $(CC) -o memtest.exe memtest.o
  425.  
  426. mftest.exe:      mftest.o $(LIBS)
  427.     $(CC) -o mftest.exe mftest.o
  428.  
  429. msgtest.exe:    msgtest.obj
  430.     $(CC) -o msgtest.exe msgtest.obj -Zomf
  431.  
  432. nls.exe:        nls.o $(LIBS)
  433.     $(CC) -o nls.exe nls.o
  434.  
  435. os2test.exe:    os2test.o $(LIBS) $(LIBOS2)
  436.     $(CC) -o os2test.exe os2test.o
  437.  
  438. pack.exe:       pack.o $(LIBS)
  439.     $(CC) -o pack.exe pack.o
  440.  
  441. pid.exe:        pid.o $(LIBS)
  442.     $(CC) -o pid.exe pid.o
  443.  
  444. pipe.exe:       pipe.o $(LIBS)
  445.     $(CC) -o pipe.exe pipe.o
  446.  
  447. pm1.res:        pm1.rc pm1.h
  448.     rc -r -i \emx\include pm1.rc
  449.  
  450. pm1:            pm1.o $(LIBS) $(LIBOS2)
  451.     $(CC) -o pm1 pm1.o
  452.  
  453. pm1.exe:        pm1 pm1.res
  454.     emxbind -bpq -rpm1.res /emx/bin/emxl pm1
  455.  
  456. popen.exe:      popen.o $(LIBS)
  457.     $(CC) -o popen.exe popen.o
  458.  
  459. printf.exe:     printf.o $(LIBS)
  460.     $(CC) -o printf.exe printf.o
  461.  
  462. printf0.exe:    printf0.o $(LIBS)
  463.     $(CC) -o printf0.exe printf0.o
  464.  
  465. read_kbd.exe:   read_kbd.c
  466.     $(CC) -O -o read_kbd.exe read_kbd.c -Zomf -Zsys
  467.  
  468. retcode.exe:    retcode.o $(LIBS)
  469.     $(CC) -o retcode.exe retcode.o
  470.  
  471. rndheap.exe:    rndheap.o $(LIBS)
  472.     $(CC) -o rndheap.exe rndheap.o
  473.  
  474. sbrktest.exe:   sbrktest.o showmem.o $(LIBS)
  475.     $(CC) -o sbrktest.exe sbrktest.o showmem.o
  476.  
  477. scanf.exe:      scanf.o $(LIBS)
  478.     $(CC) -o scanf.exe scanf.o
  479.  
  480. select.exe:     select.o $(LIBS)
  481.     $(CC) -o select.exe select.o
  482.  
  483. showmem1.exe:    showmem1.o showmem.o $(LIBS) $(LIBOS2)
  484.     $(CC) -o showmem1.exe showmem1.o showmem.o
  485.  
  486. sig1.exe:       sig1.o $(LIBS)
  487.     $(CC) -o sig1.exe sig1.o
  488.  
  489. sig2.exe:       sig2.o $(LIBS)
  490.     $(CC) -o sig2.exe sig2.o
  491.  
  492. sig3.exe:       sig3.o $(LIBS)
  493.     $(CC) -o sig3.exe sig3.o
  494.  
  495. sig4.exe:       sig4.o $(LIBS)
  496.     $(CC) -o sig4.exe sig4.o
  497.  
  498. sig5.exe:       sig5.o $(LIBS)
  499.     $(CC) -o sig5.exe sig5.o
  500.  
  501. sig6.exe:       sig6.o $(LIBS)
  502.     $(CC) -o sig6.exe sig6.o
  503.  
  504. sigsegv.exe:    sigsegv.o $(LIBS)
  505.     $(CC) -o sigsegv.exe sigsegv.o
  506.  
  507. splitarg.exe:   splitarg.o $(LIBS)
  508.     $(CC) -o splitarg.exe splitarg.o
  509.  
  510. stack.exe:      stack.o $(LIBS)
  511.     $(CC) -o stack.exe stack.o
  512.  
  513. stdio.exe:      stdio.o $(LIBS) $(LIBP)
  514.     $(CC) -o stdio.exe stdio.o -liostream
  515.  
  516. stdiotst.exe:   stdiotst.o $(LIBS)
  517.     $(CC) -o stdiotst.exe stdiotst.o
  518.  
  519. strtol.exe:     strtol.o $(LIBS)
  520.     $(CC) -o strtol.exe strtol.o
  521.  
  522. system.exe:     system.o $(LIBS)
  523.     $(CC) -o system.exe system.o
  524.     emxbind -aq system -p
  525.  
  526. swaptest.exe:   swaptest.o $(LIBS)
  527.     $(CC) -o swaptest.exe swaptest.o
  528.  
  529. termio.exe:     termio.o $(LIBS)
  530.     $(CC) -o termio.exe termio.o
  531.  
  532. test1.exe:      test1.o $(LIBS) $(LIBP)
  533.     $(CC) -o test1.exe test1.o -liostream
  534.  
  535. test2.exe:      test2.o $(LIBS) $(LIBP)
  536.     $(CC) -o test2.exe test2.o -liostream
  537.  
  538. threads.exe:    threads.c $(I)stdio.h $(I)stdlib.h $(I)string.h \
  539.                 $(I)ctype.h $(I)getopt.h $(I)os2emx.h
  540.     $(CC) -o threads.exe threads.c -Zomf -Zmts
  541.  
  542. thunk.exe:      thunk.c $(I)os2thunk.h
  543.     $(CC) -o thunk.exe thunk.c
  544.  
  545. timetest.exe:   timetest.o $(LIBS)
  546.     $(CC) -o timetest.exe timetest.o
  547.  
  548. tmpnam.exe:     tmpnam.o $(LIBS)
  549.     $(CC) -o tmpnam.exe tmpnam.o
  550.  
  551. trunc.exe:      trunc.o $(LIBS)
  552.     $(CC) -o trunc.exe trunc.o
  553.  
  554. uname.exe:      uname.o $(LIBS)
  555.     $(CC) -o uname.exe uname.o
  556.  
  557. version.exe:    version.o $(LIBS)
  558.     $(CC) -o version.exe version.o
  559.  
  560. vftest.exe:     vftest.o $(LIBS) $(L)video.a
  561.     $(CC) -o vftest.exe vftest.o -lvideo
  562.     emxbind -aq vftest -acm
  563.  
  564. video.exe:      video.o $(LIBS) $(L)video.a
  565.     $(CC) -o video.exe video.o -lvideo
  566.     emxbind -aq video -acm
  567.  
  568. vio.exe:        vio.c
  569.     $(CC) -O -o vio.exe vio.c -Zomf -Zmtd
  570.  
  571. int10.exe:      int10.o $(LIBS)
  572.     $(CC) -o int10.exe int10.o
  573.     emxbind -aq int10 -ac
  574.  
  575. wmftest.exe:    wmftest.o $(LIBS) $(L)video.a
  576.     $(CC) -o wmftest.exe wmftest.o -lvideo
  577.     emxbind -aq wmftest -acm
  578.  
  579. wm_test.exe:    wm_test.o $(LIBS) $(L)video.a
  580.     $(CC) -o wm_test.exe wm_test.o -lvideo
  581.     emxbind -aq wm_test -acm
  582.