makefile.manx 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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 ([email protected]) 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= jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
  30. jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
  31. jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
  32. jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
  33. jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
  34. jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
  35. jfdctfst.c jfdctint.c jidctflt.c jidctfst.c jidctint.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 rdjpgcom.c wrjpgcom.c cdjpeg.c \
  41. rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
  42. rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
  43. SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
  44. # files included by source files
  45. INCLUDES= jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h jpegint.h \
  46. jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
  47. # documentation, test, and support files
  48. DOCS= README install.txt usage.txt cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
  49. wrjpgcom.1 wizard.txt example.c libjpeg.txt structure.txt \
  50. coderules.txt filelist.txt change.log
  51. MKFILES= configure Makefile.in makefile.ansi makefile.unix makefile.b32 \
  52. makefile.bcc makefile.mc6 makefile.dj makefile.wat makefile.vc \
  53. makejdsw.vc6 makeadsw.vc6 makejdep.vc6 makejdsp.vc6 makejmak.vc6 \
  54. makecdep.vc6 makecdsp.vc6 makecmak.vc6 makeddep.vc6 makeddsp.vc6 \
  55. makedmak.vc6 maketdep.vc6 maketdsp.vc6 maketmak.vc6 makerdep.vc6 \
  56. makerdsp.vc6 makermak.vc6 makewdep.vc6 makewdsp.vc6 makewmak.vc6 \
  57. makejsln.v10 makeasln.v10 makejvcx.v10 makejfil.v10 makecvcx.v10 \
  58. makecfil.v10 makedvcx.v10 makedfil.v10 maketvcx.v10 maketfil.v10 \
  59. makervcx.v10 makerfil.v10 makewvcx.v10 makewfil.v10 makeproj.mac \
  60. makcjpeg.st makdjpeg.st makljpeg.st maktjpeg.st makefile.manx \
  61. makefile.sas makefile.mms makefile.vms makvms.opt
  62. CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
  63. jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
  64. jconfig.vms
  65. CONFIGUREFILES= config.guess config.sub install-sh ltmain.sh depcomp \
  66. missing ar-lib
  67. OTHERFILES= jconfig.txt ckconfig.c jmemdosa.asm libjpeg.map
  68. TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
  69. testimgp.jpg
  70. DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
  71. $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
  72. # library object files common to compression and decompression
  73. COMOBJECTS= jaricom.o jcomapi.o jutils.o jerror.o jmemmgr.o $(SYSDEPMEM)
  74. # compression library object files
  75. CLIBOBJECTS= jcapimin.o jcapistd.o jcarith.o jctrans.o jcparam.o \
  76. jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o \
  77. jccoefct.o jccolor.o jcsample.o jchuff.o jcdctmgr.o jfdctfst.o \
  78. jfdctflt.o jfdctint.o
  79. # decompression library object files
  80. DLIBOBJECTS= jdapimin.o jdapistd.o jdarith.o jdtrans.o jdatasrc.o \
  81. jdmaster.o jdinput.o jdmarker.o jdhuff.o jdmainct.o \
  82. jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o \
  83. jidctint.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o
  84. # These objectfiles are included in libjpeg.lib
  85. LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
  86. # object files for sample applications (excluding library files)
  87. COBJECTS= cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o \
  88. cdjpeg.o
  89. DOBJECTS= djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o \
  90. cdjpeg.o
  91. TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o transupp.o
  92. all: libjpeg.lib cjpeg djpeg jpegtran rdjpgcom wrjpgcom
  93. libjpeg.lib: $(LIBOBJECTS)
  94. -$(RM) libjpeg.lib
  95. $(AR) libjpeg.lib $(LIBOBJECTS)
  96. cjpeg: $(COBJECTS) libjpeg.lib
  97. $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.lib $(LDLIBS)
  98. djpeg: $(DOBJECTS) libjpeg.lib
  99. $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.lib $(LDLIBS)
  100. jpegtran: $(TROBJECTS) libjpeg.lib
  101. $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.lib $(LDLIBS)
  102. rdjpgcom: rdjpgcom.o
  103. $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
  104. wrjpgcom: wrjpgcom.o
  105. $(LN) $(LDFLAGS) -o wrjpgcom wrjpgcom.o $(LDLIBS)
  106. jconfig.h: jconfig.txt
  107. echo You must prepare a system-dependent jconfig.h file.
  108. echo Please read the installation directions in install.txt.
  109. exit 1
  110. clean:
  111. -$(RM) *.o cjpeg djpeg jpegtran libjpeg.lib rdjpgcom wrjpgcom
  112. -$(RM) core testout*.*
  113. test: cjpeg djpeg jpegtran
  114. -$(RM) testout*.*
  115. djpeg -dct int -ppm -outfile testout.ppm testorig.jpg
  116. djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg
  117. cjpeg -dct int -outfile testout.jpg testimg.ppm
  118. djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg
  119. cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm
  120. jpegtran -outfile testoutt.jpg testprog.jpg
  121. cmp testimg.ppm testout.ppm
  122. cmp testimg.bmp testout.bmp
  123. cmp testimg.jpg testout.jpg
  124. cmp testimg.ppm testoutp.ppm
  125. cmp testimgp.jpg testoutp.jpg
  126. cmp testorig.jpg testoutt.jpg
  127. jaricom.o: jaricom.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  128. jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  129. jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  130. jcarith.o: jcarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  131. jccoefct.o: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  132. jccolor.o: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  133. jcdctmgr.o: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  134. jchuff.o: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  135. jcinit.o: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  136. jcmainct.o: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  137. jcmarker.o: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  138. jcmaster.o: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  139. jcomapi.o: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  140. jcparam.o: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  141. jcprepct.o: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  142. jcsample.o: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  143. jctrans.o: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  144. jdapimin.o: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  145. jdapistd.o: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  146. jdarith.o: jdarith.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  147. jdatadst.o: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  148. jdatasrc.o: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
  149. jdcoefct.o: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  150. jdcolor.o: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  151. jddctmgr.o: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  152. jdhuff.o: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  153. jdinput.o: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  154. jdmainct.o: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  155. jdmarker.o: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  156. jdmaster.o: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  157. jdmerge.o: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  158. jdpostct.o: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  159. jdsample.o: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  160. jdtrans.o: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  161. jerror.o: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
  162. jfdctflt.o: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  163. jfdctfst.o: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  164. jfdctint.o: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  165. jidctflt.o: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  166. jidctfst.o: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  167. jidctint.o: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
  168. jquant1.o: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  169. jquant2.o: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  170. jutils.o: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  171. jmemmgr.o: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  172. jmemansi.o: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  173. jmemname.o: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  174. jmemnobs.o: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  175. jmemdos.o: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  176. jmemmac.o: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  177. cjpeg.o: cjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  178. djpeg.o: djpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h jversion.h
  179. jpegtran.o: jpegtran.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h transupp.h jversion.h
  180. rdjpgcom.o: rdjpgcom.c jinclude.h jconfig.h
  181. wrjpgcom.o: wrjpgcom.c jinclude.h jconfig.h
  182. cdjpeg.o: cdjpeg.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  183. rdcolmap.o: rdcolmap.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  184. rdswitch.o: rdswitch.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  185. transupp.o: transupp.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h transupp.h
  186. rdppm.o: rdppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  187. wrppm.o: wrppm.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  188. rdgif.o: rdgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  189. wrgif.o: wrgif.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  190. rdtarga.o: rdtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  191. wrtarga.o: wrtarga.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  192. rdbmp.o: rdbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  193. wrbmp.o: wrbmp.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  194. rdrle.o: rdrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h
  195. wrrle.o: wrrle.c cdjpeg.h jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h cderror.h