]> git.saurik.com Git - wxWidgets.git/blobdiff - src/jpeg/makefile.vc
Always use FVIRTKEY for the accelerators under MSW.
[wxWidgets.git] / src / jpeg / makefile.vc
index 6630483d504f1e566f5865d8c07b4c7d1c13978e..6bc16cbd1a14981f18f681ab40627c20a5ccd450 100644 (file)
-# Makefile for Independent JPEG Group's software
-
-# This makefile is for Microsoft Visual C++ on Windows NT (and 95?).
-# It builds the IJG library as a statically linkable library (.LIB),
-# and builds the sample applications as console-mode apps.
-# Thanks to Xingong Chang, Raymond Everly and others.
-
-# Read installation instructions before saying "nmake" !!
-# To build an optimized library without debug info, say "nmake nodebug=1".
-
-# Put here the object file name for the correct system-dependent memory
-# manager file.  For NT we suggest jmemnobs.obj, which expects the OS to
-# provide adequate virtual memory.
-SYSDEPMEM= $D\jmemnobs.obj
-
-# miscellaneous OS-dependent stuff
-# file deletion command
-!if "$(RM)" == ""
-RM= del
-!endif
-
-# End of configurable options.
-
-# source files: JPEG library proper
-LIBSOURCES= jcapimin.c \
-        jcapistd.c \
-        jccoefct.c \
-        jccolor.c \
-        jcdctmgr.c \
-        jchuff.c \
-        jcinit.c \
-        jcmainct.c \
-        jcmarker.c \
-        jcmaster.c \
-        jcomapi.c \
-        jcparam.c \
-        jcphuff.c \
-        jcprepct.c \
-        jcsample.c \
-        jctrans.c \
-        jdapimin.c \
-        jdapistd.c \
-        jdatadst.c \
-        jdatasrc.c \
-        jdcoefct.c \
-        jdcolor.c \
-        jddctmgr.c \
-        jdhuff.c \
-        jdinput.c \
-        jdmainct.c \
-        jdmarker.c \
-        jdmaster.c \
-        jdmerge.c \
-        jdphuff.c \
-        jdpostct.c \
-        jdsample.c \
-        jdtrans.c \
-        jerror.c \
-        jfdctflt.c \
-        jfdctfst.c \
-        jfdctint.c \
-        jidctflt.c \
-        jidctfst.c \
-        jidctint.c \
-        jidctred.c \
-        jquant1.c \
-        jquant2.c \
-        jutils.c \
-        jmemmgr.c
-
-# memmgr back ends: compile only one of these into a working library
-SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c
-
-# source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom
-APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \
-        rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \
-        rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c
-
-SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)
-
-# files included by source files
-INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \
-        jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h
-
-# documentation, test, and support files
-DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \
-        wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \
-        coderules.doc filelist.doc change.log
-
-MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \
-        makefile.mc6 makefile.dj makefile.wat makefile.vc makelib.ds \
-        makeapps.ds makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st \
-        maktjpeg.st makefile.manx makefile.sas makefile.mms makefile.vms \
-        makvms.opt
-
-CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \
-        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \
-        jconfig.vms
-
-CONFIGUREFILES= config.guess config.sub install-sh ltconfig ltmain.sh
-OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm
-TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \
-        testimgp.jpg
-DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \
-        $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)
-
-# library object files common to compression and decompression
-COMOBJECTS= $D\jcomapi.obj $D\jutils.obj $D\jerror.obj $D\jmemmgr.obj $(SYSDEPMEM)
-
-# compression library object files
-CLIBOBJECTS= $D\jcapimin.obj \
-             $D\jcapistd.obj \
-             $D\jctrans.obj \
-             $D\jcparam.obj \
-             $D\jdatadst.obj \
-             $D\jcinit.obj \
-             $D\jcmaster.obj \
-             $D\jcmarker.obj \
-             $D\jcmainct.obj \
-             $D\jcprepct.obj \
-             $D\jccoefct.obj \
-             $D\jccolor.obj \
-             $D\jcsample.obj \
-             $D\jchuff.obj \
-             $D\jcphuff.obj \
-             $D\jcdctmgr.obj \
-             $D\jfdctfst.obj \
-             $D\jfdctflt.obj \
-             $D\jfdctint.obj
-
-# decompression library object files
-DLIBOBJECTS= $D\jdapimin.obj \
-             $D\jdapistd.obj \
-             $D\jdtrans.obj \
-             $D\jdatasrc.obj \
-             $D\jdmaster.obj \
-             $D\jdinput.obj \
-             $D\jdmarker.obj \
-             $D\jdhuff.obj \
-             $D\jdphuff.obj \
-             $D\jdmainct.obj \
-             $D\jdcoefct.obj \
-             $D\jdpostct.obj \
-             $D\jddctmgr.obj \
-             $D\jidctfst.obj \
-             $D\jidctflt.obj \
-             $D\jidctint.obj \
-             $D\jidctred.obj \
-             $D\jdsample.obj \
-             $D\jdcolor.obj \
-             $D\jquant1.obj \
-             $D\jquant2.obj \
-             $D\jdmerge.obj
-# These objectfiles are included in libjpeg.lib
-OBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)
-
-# object files for sample applications (excluding library files)
-COBJECTS= $D\cjpeg.obj \
-          $D\rdppm.obj \
-          $D\rdgif.obj \
-          $D\rdtarga.obj \
-          $D\rdrle.obj \
-          $D\rdbmp.obj \
-          $D\rdswitch.obj \
-          $D\cdjpeg.obj
-
-DOBJECTS= $D\djpeg.obj \
-          $D\wrppm.obj \
-          $D\wrgif.obj \
-          $D\wrtarga.obj \
-          $D\wrrle.obj \
-          $D\wrbmp.obj \
-          $D\rdcolmap.obj \
-          $D\cdjpeg.obj
-
-TROBJECTS= $D\jpegtran.obj \
-           $D\rdswitch.obj \
-           $D\cdjpeg.obj \
-           $D\transupp.obj
-
-!if "$(FINAL)" == "1"
-LIBTARGET=..\..\lib\jpeg.lib
-!else if "$(FINAL)" == "hybrid"
-LIBTARGET=..\..\lib\jpegh.lib
-!else
-LIBTARGET=..\..\lib\jpegd.lib
-!endif
-
-# Note: we have to put this first, to override the default definition
-# which doesn't work because there are too many files on the command line.
-# This means that we must explicitly use the 'all' target when making
-# jpeg.lib, because of the ordering of targets.
-
-defaulttarget:
-    echo Please use the 'all' target for this makefile.
-
-
-# Pull in standard variable definitions
-
-!include ..\makelib.vc
-
+# Makefile for Independent JPEG Group's software\r
+\r
+# This makefile is for Microsoft Visual C++ on Windows NT (and 95?).\r
+# It builds the IJG library as a statically linkable library (.LIB),\r
+# and builds the sample applications as console-mode apps.\r
+# Thanks to Xingong Chang, Raymond Everly and others.\r
+\r
+# Read installation instructions before saying "nmake" !!\r
+# To build an optimized library without debug info, say "nmake nodebug=1".\r
+\r
+# Put here the object file name for the correct system-dependent memory\r
+# manager file.  For NT we suggest jmemnobs.obj, which expects the OS to\r
+# provide adequate virtual memory.\r
+SYSDEPMEM= $D\jmemnobs.obj\r
+\r
+# miscellaneous OS-dependent stuff\r
+# file deletion command\r
+!if "$(RM)" == ""\r
+RM= erase\r
+!endif\r
+\r
+# End of configurable options.\r
+\r
+# source files: JPEG library proper\r
+LIBSOURCES= jcapimin.c \\r
+        jcapistd.c \\r
+        jccoefct.c \\r
+        jccolor.c \\r
+        jcdctmgr.c \\r
+        jchuff.c \\r
+        jcinit.c \\r
+        jcmainct.c \\r
+        jcmarker.c \\r
+        jcmaster.c \\r
+        jcomapi.c \\r
+        jcparam.c \\r
+        jcphuff.c \\r
+        jcprepct.c \\r
+        jcsample.c \\r
+        jctrans.c \\r
+        jdapimin.c \\r
+        jdapistd.c \\r
+        jdatadst.c \\r
+        jdatasrc.c \\r
+        jdcoefct.c \\r
+        jdcolor.c \\r
+        jddctmgr.c \\r
+        jdhuff.c \\r
+        jdinput.c \\r
+        jdmainct.c \\r
+        jdmarker.c \\r
+        jdmaster.c \\r
+        jdmerge.c \\r
+        jdphuff.c \\r
+        jdpostct.c \\r
+        jdsample.c \\r
+        jdtrans.c \\r
+        jerror.c \\r
+        jfdctflt.c \\r
+        jfdctfst.c \\r
+        jfdctint.c \\r
+        jidctflt.c \\r
+        jidctfst.c \\r
+        jidctint.c \\r
+        jidctred.c \\r
+        jquant1.c \\r
+        jquant2.c \\r
+        jutils.c \\r
+        jmemmgr.c\r
+\r
+# memmgr back ends: compile only one of these into a working library\r
+SYSDEPSOURCES= jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c\r
+\r
+# source files: cjpeg/djpeg/jpegtran applications, also rdjpgcom/wrjpgcom\r
+APPSOURCES= cjpeg.c djpeg.c jpegtran.c rdjpgcom.c wrjpgcom.c cdjpeg.c \\r
+        rdcolmap.c rdswitch.c transupp.c rdppm.c wrppm.c rdgif.c wrgif.c \\r
+        rdtarga.c wrtarga.c rdbmp.c wrbmp.c rdrle.c wrrle.c\r
+\r
+SOURCES= $(LIBSOURCES) $(SYSDEPSOURCES) $(APPSOURCES)\r
+\r
+# files included by source files\r
+INCLUDES= jchuff.h jdhuff.h jdct.h jerror.h jinclude.h jmemsys.h jmorecfg.h \\r
+        jpegint.h jpeglib.h jversion.h cdjpeg.h cderror.h transupp.h\r
+\r
+# documentation, test, and support files\r
+DOCS= README install.doc usage.doc cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 \\r
+        wrjpgcom.1 wizard.doc example.c libjpeg.doc structure.doc \\r
+        coderules.doc filelist.doc change.log\r
+\r
+MKFILES= configure makefile.cfg makefile.ansi makefile.unix makefile.bcc \\r
+        makefile.mc6 makefile.dj makefile.wat makefile.vc makelib.ds \\r
+        makeapps.ds makeproj.mac makcjpeg.st makdjpeg.st makljpeg.st \\r
+        maktjpeg.st makefile.manx makefile.sas makefile.mms makefile.vms \\r
+        makvms.opt\r
+\r
+CONFIGFILES= jconfig.cfg jconfig.bcc jconfig.mc6 jconfig.dj jconfig.wat \\r
+        jconfig.vc jconfig.mac jconfig.st jconfig.manx jconfig.sas \\r
+        jconfig.vms\r
+\r
+CONFIGUREFILES= config.guess config.sub install-sh ltconfig ltmain.sh\r
+OTHERFILES= jconfig.doc ckconfig.c ansi2knr.c ansi2knr.1 jmemdosa.asm\r
+TESTFILES= testorig.jpg testimg.ppm testimg.bmp testimg.jpg testprog.jpg \\r
+        testimgp.jpg\r
+DISTFILES= $(DOCS) $(MKFILES) $(CONFIGFILES) $(SOURCES) $(INCLUDES) \\r
+        $(CONFIGUREFILES) $(OTHERFILES) $(TESTFILES)\r
+\r
+# library object files common to compression and decompression\r
+COMOBJECTS= $D\jcomapi.obj $D\jutils.obj $D\jerror.obj $D\jmemmgr.obj $(SYSDEPMEM)\r
+\r
+# compression library object files\r
+CLIBOBJECTS= $D\jcapimin.obj \\r
+             $D\jcapistd.obj \\r
+             $D\jctrans.obj \\r
+             $D\jcparam.obj \\r
+             $D\jdatadst.obj \\r
+             $D\jcinit.obj \\r
+             $D\jcmaster.obj \\r
+             $D\jcmarker.obj \\r
+             $D\jcmainct.obj \\r
+             $D\jcprepct.obj \\r
+             $D\jccoefct.obj \\r
+             $D\jccolor.obj \\r
+             $D\jcsample.obj \\r
+             $D\jchuff.obj \\r
+             $D\jcphuff.obj \\r
+             $D\jcdctmgr.obj \\r
+             $D\jfdctfst.obj \\r
+             $D\jfdctflt.obj \\r
+             $D\jfdctint.obj\r
+\r
+# decompression library object files\r
+DLIBOBJECTS= $D\jdapimin.obj \\r
+             $D\jdapistd.obj \\r
+             $D\jdtrans.obj \\r
+             $D\jdatasrc.obj \\r
+             $D\jdmaster.obj \\r
+             $D\jdinput.obj \\r
+             $D\jdmarker.obj \\r
+             $D\jdhuff.obj \\r
+             $D\jdphuff.obj \\r
+             $D\jdmainct.obj \\r
+             $D\jdcoefct.obj \\r
+             $D\jdpostct.obj \\r
+             $D\jddctmgr.obj \\r
+             $D\jidctfst.obj \\r
+             $D\jidctflt.obj \\r
+             $D\jidctint.obj \\r
+             $D\jidctred.obj \\r
+             $D\jdsample.obj \\r
+             $D\jdcolor.obj \\r
+             $D\jquant1.obj \\r
+             $D\jquant2.obj \\r
+             $D\jdmerge.obj\r
+# These objectfiles are included in libjpeg.lib\r
+OBJECTS= $(CLIBOBJECTS) $(DLIBOBJECTS) $(COMOBJECTS)\r
+\r
+# object files for sample applications (excluding library files)\r
+COBJECTS= $D\cjpeg.obj \\r
+          $D\rdppm.obj \\r
+          $D\rdgif.obj \\r
+          $D\rdtarga.obj \\r
+          $D\rdrle.obj \\r
+          $D\rdbmp.obj \\r
+          $D\rdswitch.obj \\r
+          $D\cdjpeg.obj\r
+\r
+DOBJECTS= $D\djpeg.obj \\r
+          $D\wrppm.obj \\r
+          $D\wrgif.obj \\r
+          $D\wrtarga.obj \\r
+          $D\wrrle.obj \\r
+          $D\wrbmp.obj \\r
+          $D\rdcolmap.obj \\r
+          $D\cdjpeg.obj\r
+\r
+TROBJECTS= $D\jpegtran.obj \\r
+           $D\rdswitch.obj \\r
+           $D\cdjpeg.obj \\r
+           $D\transupp.obj\r
+\r
+!if "$(FINAL)" == "1"\r
+LIBTARGET=..\..\lib\jpeg.lib\r
+!else if "$(FINAL)" == "hybrid"\r
+LIBTARGET=..\..\lib\jpegh.lib\r
+!else\r
+LIBTARGET=..\..\lib\jpegd.lib\r
+!endif\r
+\r
+# Note: we have to put this first, to override the default definition\r
+# which doesn't work because there are too many files on the command line.\r
+# This means that we must explicitly use the 'all' target when making\r
+# jpeg.lib, because of the ordering of targets.\r
+\r
+defaulttarget:\r
+    echo Please use the 'all' target for this makefile.\r
+\r
+\r
+# Pull in standard variable definitions\r
+\r
+!include ..\makelib.vc\r
+\r