!if "$(FINAL)" == "1"
LIBTARGET=..\..\lib\jpeg.lib
+!else if "$(FINAL)" == "hybrid"
+LIBTARGET=..\..\lib\jpegh.lib
!else
LIBTARGET=..\..\lib\jpegd.lib
!endif
clean:
-erase $(LIBTARGET)
-erase *.obj
-
+
# Pull in standard variable definitions
!include ..\makelib.vc
#
!include <ntwin32.mak>
-WXVERSION=22_0
+WXVERSION=23_0
WIN95=1
!if "$(WIN95)" == "0"
!if "$(FINAL)" == "1"
D=Release
+!else if "$(FINAL)" == "hybrid"
+D=Hybrid
+LIBEXT=h
+WXLIBNAME=$(WXLIBNAME)$(LIBEXT)
!else
guilibsdll= oldnames.lib kernel32.lib \
ws2_32.lib mswsock.lib advapi32.lib user32.lib \
DEBUG_FLAGS= /Zi /D__WXDEBUG__ # /DDEBUG=1 # /FR
LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
_CRTFLAG=/MDd
+
+!else if "$(FINAL)" == "hybrid"
+OPT = /Od /Gy
+DEBUG_FLAGS= /Zi /D__WXDEBUG__ /D__NO_VC_CRTDBG__
+LINK_DEBUG_FLAGS=-debug:full -debugtype:cv
+_CRTFLAG=/MD
+
!else
# /O1 - smallest code
# /O2 - fastest code
_CRTFLAG=/MD
!endif
+
!if "$(CRTFLAG)" == ""
CRTFLAG=$(_CRTFLAG)
!endif
!if "$(FINAL)" == "1"
WINPNGLIB=..\..\lib\png.lib
+!else if "$(FINAL)" == "hybrid"
+WINPNGLIB=..\..\lib\pngh.lib
!else
WINPNGLIB=..\..\lib\pngd.lib
!endif
CFLAGS= /W4 /Zi $(CRTFLAG) /GX /Od /D__WXMSW__ $(INC)
LINKFLAGS=/NOD /CO /ONERROR:NOEXE
_CRTFLAG=/MDd
+!else if "$(FINAL)" == "hybrid"
+OPT = /Od
+CPPFLAGS= /W4 /Zi $(CRTFLAG) /GX $(ZOPTION) $(OPT) /D__WXMSW__ $(INC)
+CFLAGS= /W4 /Zi $(CRTFLAG) /GX /Od /D__WXMSW__ $(INC)
+LINKFLAGS=/NOD /CO /ONERROR:NOEXE
+_CRTFLAG=/MD
!else
# /Ox for real FINAL version
OPT = /O2
CPPFLAGS= /W4 $(CRTFLAG) /GX /D__WXMSW__ $(INC)
CFLAGS= /W4 $(CRTFLAG) /GX /D__WXMSW__ $(INC)
LINKFLAGS=/NOD /ONERROR:NOEXE
-_CRTFLAG=/MDd
+_CRTFLAG=/MD
!endif
!if "$(CRTFLAG)" == ""
!if "$(FINAL)" == "1"
LIBTARGET=$(WXDIR)\lib\tiff.lib
+!else if "$(FINAL)" == "hybrid"
+LIBTARGET=$(WXDIR)\lib\tiffh.lib
!else
LIBTARGET=$(WXDIR)\lib\tiffd.lib
!endif
!if "$(FINAL)" == "1"
LIBTARGET=$(WXDIR)\lib\xpm.lib
+!else if "$(FINAL)" == "hybrid"
+LIBTARGET=$(WXDIR)\lib\xpmh.lib
!else
LIBTARGET=$(WXDIR)\lib\xpmd.lib
!endif
!if "$(FINAL)" == "0"
CFLAGS=/Od $(CRTFLAG) /GX
_CRTFLAG=/MDd
+!else if "$(FINAL)" == "hybrid"
+CFLAGS=/Od $(CRTFLAG) /GX
+_CRTFLAG=/MD
!else
CFLAGS=-O2 $(CRTFLAG) /GX
_CRTFLAG=/MD
!if "$(FINAL)" == "1"
LIBTARGET=..\..\lib\zlib.lib
+!else if "$(FINAL)" == "hybrid"
+LIBTARGET=..\..\lib\zlibh.lib
!else
LIBTARGET=..\..\lib\zlibd.lib
!endif