]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.b32 | |
3 | # Author: Julian Smart | |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds JPEG library (BC++ 32-bit) | |
11 | ||
12 | # WXWIN and BCCDIR are set by parent make | |
13 | ||
14 | LIBTARGET =..\..\lib\jpeg.lib | |
15 | ||
16 | SYSDEPMEM= jmemnobs.obj | |
17 | ||
18 | # source files: JPEG library proper | |
19 | LIBSOURCES= jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \ | |
20 | jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \ | |
21 | jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \ | |
22 | jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \ | |
23 | jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \ | |
24 | jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \ | |
25 | jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \ | |
26 | jquant2.c jutils.c jmemmgr.c | |
27 | # memmgr back ends: compile only one of these into a working library | |
28 | SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c | |
29 | # source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom | |
30 | APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \ | |
31 | rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \ | |
32 | rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c | |
33 | SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES) | |
34 | # files included by source files | |
35 | INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \ | |
36 | jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h | |
37 | # documentation, test, and support files | |
38 | DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \ | |
39 | wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \ | |
40 | coderules.doc filelist.doc change.log | |
41 | MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \ | |
42 | makefile.mc6 makefile.dj makefile.wat makefile.vc makelib.ds \ | |
43 | makeapps.ds makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st \ | |
44 | maktjpeg.st makefile.manx makefile.sas makefile.mms makefile.vms \ | |
45 | makvms.opt | |
46 | CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \ | |
47 | jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \ | |
48 | jconfig.vms | |
49 | CONFIGUREFILES= config.guess config.sub install-sh ltconfig ltmain.sh | |
50 | OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm | |
51 | TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \ | |
52 | testimgp.jpg | |
53 | DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \ | |
54 | $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES) | |
55 | # library object files common to compression and decompression | |
56 | COMOBJECTS= jcomapi.obj jutils.obj jerror.obj jmemmgr.obj $(SYSDEPMEM) | |
57 | # compression library object files | |
58 | CLIBOBJECTS= jcapimin.obj jcapistd.obj jctrans.obj jcparam.obj jdatadst.obj \ | |
59 | jcinit.obj jcmaster.obj jcmarker.obj jcmainct.obj jcprepct.obj \ | |
60 | jccoefct.obj jccolor.obj jcsample.obj jchuff.obj jcphuff.obj \ | |
61 | jcdctmgr.obj jfdctfst.obj jfdctflt.obj jfdctint.obj | |
62 | # decompression library object files | |
63 | DLIBOBJECTS= jdapimin.obj jdapistd.obj jdtrans.obj jdatasrc.obj \ | |
64 | jdmaster.obj jdinput.obj jdmarker.obj jdhuff.obj jdphuff.obj \ | |
65 | jdmainct.obj jdcoefct.obj jdpostct.obj jddctmgr.obj jidctfst.obj \ | |
66 | jidctflt.obj jidctint.obj jidctred.obj jdsample.obj jdcolor.obj \ | |
67 | jquant1.obj jquant2.obj jdmerge.obj | |
68 | # These objectfiles are included in libjpeg.lib | |
69 | OBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS) | |
70 | # object files for sample applications (excluding library files) | |
71 | COBJECTS= cjpeg.obj rdppm.obj rdgif.obj rdtarga.obj rdrle.obj rdbmp.obj \ | |
72 | rdswitch.obj cdjpeg.obj | |
73 | DOBJECTS= djpeg.obj wrppm.obj wrgif.obj wrtarga.obj wrrle.obj wrbmp.obj \ | |
74 | rdcolmap.obj cdjpeg.obj | |
75 | TROBJECTS= jpegtran.obj rdswitch.obj cdjpeg.obj transupp.obj | |
76 | ||
77 | !include $(WXWIN)\src\makelib.b32 |