| 1 | #
|
|---|
| 2 | # Stripped down makefile for compiled the subset of IJG 6a used by
|
|---|
| 3 | # the Unix version of the Generalised Bitmap Module.
|
|---|
| 4 | #
|
|---|
| 5 |
|
|---|
| 6 | # Using Watcom C/C++
|
|---|
| 7 | CC = wcc386
|
|---|
| 8 |
|
|---|
| 9 | # Compile objects suitable for GBM
|
|---|
| 10 | # Can't use -we due to 'unreachable code warning' in JPEG source
|
|---|
| 11 | CFLAGS = -bt=DOS -dDOS32 -oit -4r -s -w3 -zp4 -mf -zq -fr
|
|---|
| 12 |
|
|---|
| 13 | # Put here the object file name for the correct system-dependent memory
|
|---|
| 14 | # manager file. For Unix this is usually jmemnobs.obj, but you may want
|
|---|
| 15 | # to use jmemansi.obj or jmemname.obj if you have limited swap space.
|
|---|
| 16 | SYSDEPMEM= jmemnobs.obj
|
|---|
| 17 |
|
|---|
| 18 | # End of configurable options.
|
|---|
| 19 |
|
|---|
| 20 | # source files: JPEG library proper
|
|---|
| 21 | LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \
|
|---|
| 22 | jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \
|
|---|
| 23 | jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \
|
|---|
| 24 | jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \
|
|---|
| 25 | jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \
|
|---|
| 26 | jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \
|
|---|
| 27 | jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \
|
|---|
| 28 | jquant2.c jutils.c jmemmgr.c
|
|---|
| 29 | # memmgr back ends: compile only one of these into a working library
|
|---|
| 30 | SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
|
|---|
| 31 | # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
|
|---|
| 32 | SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
|
|---|
| 33 | # files included by source files
|
|---|
| 34 | INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
|
|---|
| 35 | jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h
|
|---|
| 36 | # library object files common to compression and decompression
|
|---|
| 37 | COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM)
|
|---|
| 38 | # compression library object files
|
|---|
| 39 | CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj jcinit.obj \
|
|---|
| 40 | jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj jccoefct.obj jccolor.obj \
|
|---|
| 41 | jcsample.obj jchuff.obj jcphuff.obj jcdctmgr.obj jfdctfst.obj jfdctflt.obj \
|
|---|
| 42 | jfdctint.obj
|
|---|
| 43 | # decompression library object files
|
|---|
| 44 | DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj jdmaster.obj \
|
|---|
| 45 | jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj jdmainct.obj jdcoefct.obj \
|
|---|
| 46 | jdpostct.obj jddctmgr.obj jidctfst.obj jidctflt.obj jidctint.obj jidctred.obj \
|
|---|
| 47 | jdsample.obj jdcolor.obj jquant1.obj jquant2.obj jdmerge.obj
|
|---|
| 48 | # These objectfiles are included in libjpeg.a
|
|---|
| 49 | LIBOBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
|
|---|
| 50 |
|
|---|
| 51 | .c.obj :
|
|---|
| 52 | $(CC) $(CFLAGS) $*.c
|
|---|
| 53 |
|
|---|
| 54 | jpegobjs: $(LIBOBJECTS)
|
|---|
| 55 |
|
|---|
| 56 | jconfig.h: jconfig.doc
|
|---|
| 57 | echo You must prepare a system-dependent jconfig.h file.
|
|---|
| 58 | echo Please read the installation directions in install.doc.
|
|---|
| 59 | exit 1
|
|---|
| 60 |
|
|---|
| 61 | jcapimin.obj: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 62 | jcapistd.obj: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 63 | jccoefct.obj: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 64 | jccolor.obj: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 65 | jcdctmgr.obj: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 66 | jchuff.obj: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
|
|---|
| 67 | jcinit.obj: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 68 | jcmainct.obj: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 69 | jcmarker.obj: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 70 | jcmaster.obj: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 71 | jcomapi.obj: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 72 | jcparam.obj: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 73 | jcphuff.obj: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
|
|---|
| 74 | jcprepct.obj: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 75 | jcsample.obj: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 76 | jctrans.obj: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 77 | jdapimin.obj: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 78 | jdapistd.obj: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 79 | jdatadst.obj: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
|
|---|
| 80 | jdatasrc.obj: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
|
|---|
| 81 | jdcoefct.obj: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 82 | jdcolor.obj: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 83 | jddctmgr.obj: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 84 | jdhuff.obj: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
|
|---|
| 85 | jdinput.obj: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 86 | jdmainct.obj: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 87 | jdmarker.obj: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 88 | jdmaster.obj: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 89 | jdmerge.obj: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 90 | jdphuff.obj: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
|
|---|
| 91 | jdpostct.obj: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 92 | jdsample.obj: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 93 | jdtrans.obj: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 94 | jerror.obj: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
|
|---|
| 95 | jfdctflt.obj: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 96 | jfdctfst.obj: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 97 | jfdctint.obj: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 98 | jidctflt.obj: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 99 | jidctfst.obj: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 100 | jidctint.obj: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 101 | jidctred.obj: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
|
|---|
| 102 | jquant1.obj: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 103 | jquant2.obj: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 104 | jutils.obj: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
|
|---|
| 105 | jmemmgr.obj: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|
| 106 | jmemansi.obj: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|
| 107 | jmemname.obj: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|
| 108 | jmemnobs.obj: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|
| 109 | jmemdos.obj: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|
| 110 | jmemmac.obj: jmemmac.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
|
|---|