makefile.manx 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. # Makefile for Independent JPEG Group's software
  2. # This makefile is for Amiga systems using Manx Aztec C ver 5.x.
  3. # Thanks to D.J. James (djjames@cup.portal.com) for this version.
  4. # Read installation instructions before saying "make" !!
  5. # The name of your C compiler:
  6. CC= cc
  7. # You may need to adjust these cc options:
  8. # Uncomment for generic 68000 code (will work on any Amiga)
  9. ARCHFLAGS= -sn
  10. # Uncomment for 68020/68030 code (faster, but won't run on 68000 CPU)
  11. #ARCHFLAGS= -c2
  12. CFLAGS= -MC -MD $(ARCHFLAGS) -spfam -r4
  13. # Link-time cc options:
  14. LDFLAGS= -g
  15. # To link any special libraries, add the necessary -l commands here.
  16. LDLIBS= -lml -lcl
  17. # Put here the object file name for the correct system-dependent memory
  18. # manager file. For Amiga we recommend jmemname.o.
  19. SYSDEPMEM= jmemname.o
  20. # miscellaneous OS-dependent stuff
  21. # linker
  22. LN= ln
  23. # file deletion command
  24. RM= delete quiet
  25. # library (.lib) file creation command
  26. AR= lb
  27. # End of configurable options.
  28. # source files: JPEG library proper
  29. LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
  30. jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
  31. jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
  32. jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
  33. jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
  34. jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
  35. jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
  36. jquant2.c jutils.c jmemmgr.c
  37. # memmgr back ends: compile only one of these into a working library
  38. SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
  39. # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
  40. APPSOURCES= cjpeg.c djpeg.c jpegtran.c cdjpeg.c rdcolmap.c rdswitch.c \
  41. rdjpgcom.c wrjpgcom.c rdppm.c wrppm.c rdgif.c wrgif.c rdtarga.c \
  42. wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  43. SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
  44. # files included by source files
  45. INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
  46. jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
  47. # documentation, test, and support files
  48. DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  49. wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
  50. coderules.doc filelist.doc change.log
  51. MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
  52. makefile.mc6 makefile.dj makefile.wat makcjpeg.st makdjpeg.st \
  53. makljpeg.st maktjpeg.st makefile.manx makefile.sas makefile.mms \
  54. makefile.vms makvms.opt
  55. CONFIGFILES= jconfig.cfg jconfig.manx jconfig.sas jconfig.st jconfig.bcc \
  56. jconfig.mc6 jconfig.dj jconfig.wat jconfig.vms
  57. OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
  58. TESTFILES= testorig.jpg testimg.ppm testimg.gif testimg.jpg testprog.jpg \
  59. testimgp.jpg
  60. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  61. $(OTHERFILES) $(TESTFILES)
  62. # library object files common to compression and decompression
  63. COMOBJECTS= jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM)
  64. # compression library object files
  65. CLIBOBJECTS= jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o \
  66. jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o \
  67. jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o \
  68. jfdctint.o
  69. # decompression library object files
  70. DLIBOBJECTS= jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o \
  71. jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o \
  72. jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o \
  73. jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
  74. # These objectfiles are included in libjpeg.lib
  75. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  76. # object files for sample applications (excluding library files)
  77. COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \
  78. cdjpeg.o
  79. DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \
  80. cdjpeg.o
  81. TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
  82. all: libjpeg.lib cjpeg djpeg jpegtran rdjpgcom wrjpgcom
  83. libjpeg.lib: $(LIBOBJECTS)
  84. -$(RM) libjpeg.lib
  85. $(AR) libjpeg.lib $(LIBOBJECTS)
  86. cjpeg: $(COBJECTS) libjpeg.lib
  87. $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.lib $(LDLIBS)
  88. djpeg: $(DOBJECTS) libjpeg.lib
  89. $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.lib $(LDLIBS)
  90. jpegtran: $(TROBJECTS) libjpeg.lib
  91. $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.lib $(LDLIBS)
  92. rdjpgcom: rdjpgcom.o
  93. $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
  94. wrjpgcom: wrjpgcom.o
  95. $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS)
  96. jconfig.h: jconfig.doc
  97. echo You must prepare a system-dependent jconfig.h file.
  98. echo Please read the installation directions in install.doc.
  99. exit 1
  100. clean:
  101. -$(RM) *.o cjpeg djpeg jpegtran libjpeg.lib rdjpgcom wrjpgcom
  102. -$(RM) core testout*.*
  103. test: cjpeg djpeg jpegtran
  104. -$(RM) testout*.*
  105. djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  106. djpeg -dct int -gif -outfile testout.gif testorig.jpg
  107. cjpeg -dct int -outfile testout.jpg testimg.ppm
  108. djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  109. cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  110. jpegtran -outfile testoutt.jpg testprog.jpg
  111. cmp testimg.ppm testout.ppm
  112. cmp testimg.gif testout.gif
  113. cmp testimg.jpg testout.jpg
  114. cmp testimg.ppm testoutp.ppm
  115. cmp testimgp.jpg testoutp.jpg
  116. cmp testorig.jpg testoutt.jpg
  117. jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  118. jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  119. jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  120. jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  121. jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  122. jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  123. jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  124. jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  125. jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  126. jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  127. jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  128. jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  129. jcphuff.o: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
  130. jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  131. jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  132. jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  133. jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  134. jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  135. jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  136. jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  137. jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  138. jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  139. jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  140. jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  141. jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  142. jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  143. jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  144. jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  145. jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  146. jdphuff.o: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
  147. jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  148. jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  149. jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  151. jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  152. jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  153. jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  154. jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  155. jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  156. jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  157. jidctred.o: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  158. jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  159. jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  160. jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  162. jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  163. jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  164. jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  165. jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  166. jmemmac.o: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  167. cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  168. djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  169. jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  170. cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  171. rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  172. rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  173. rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h
  174. wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h
  175. rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  176. wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  177. rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  178. wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  179. rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  180. wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  181. rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  182. wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  183. rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  184. wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h