You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
4.4 KiB
165 lines
4.4 KiB
# Copyright (c) 1993 Microsoft Corp.
|
|
|
|
TGT=WFW
|
|
|
|
# WINPROC Generic Win 3.1
|
|
# WFW Snowball
|
|
# IFBGPROC IFAX Background
|
|
# IFFGPROC IFAX Foreground
|
|
# WINKERN ???
|
|
# WINDRV ???
|
|
|
|
## Debug on ??
|
|
DEBUG=ON
|
|
|
|
## Relative Path to root of project
|
|
RootPath=..\..
|
|
|
|
# Directory where all intermediate/target files are to be
|
|
# built. This variable must be defined. (Use . if you want
|
|
# them to be in the same directory.)
|
|
|
|
!IF "$(DEBUG)" == "ON"
|
|
OBJDIR=debug
|
|
!ELSE
|
|
OBJDIR=retail
|
|
!ENDIF
|
|
|
|
|
|
# Set build directory
|
|
|
|
!IF "$(TGT)"=="WIN32"
|
|
|
|
TargetEnvironment=WIN32
|
|
OBJDIR=ch$(OBJDIR)
|
|
LocalCFLAGS=/DOLEFILE /DVIEWRBA /DVIEWDCX
|
|
DEFfile=awview32.def
|
|
LocalLibraries=awcodc32.lib awdcxc32.lib awresx32.lib
|
|
!IF "$(DEBUG)" == "ON"
|
|
LocalLibraries=$(LocalLibraries) awkrnl32.lib
|
|
!ENDIF
|
|
LibMain=
|
|
EXEname=$(OBJDIR)\awview32.dll
|
|
|
|
!ELSEIF "$(TGT)"=="WFW"
|
|
|
|
TargetEnvironment=WFW
|
|
OBJDIR=sb$(OBJDIR)
|
|
LocalCFLAGS=/DOLEFILE /DVIEWRBA /DVIEWDCX
|
|
DEFfile=viewrend.def
|
|
LocalPreLibs=slibcxx
|
|
LocalLibraries=faxcodec dcxcodec wpsfaxre
|
|
EXEname=$(OBJDIR)\viewrend.dll
|
|
|
|
!ELSEIF "$(TGT)"=="PCFAX"
|
|
|
|
TargetEnvironment=WFW
|
|
OBJDIR=wp$(OBJDIR)
|
|
LocalCFLAGS=/DWINFILE /DVIEWMMR
|
|
DEFfile=viewrend.def
|
|
LocalPreLibs=slibcxx
|
|
LocalLibraries=faxcomp faxspool
|
|
EXEname=$(OBJDIR)\viewrend.dll
|
|
|
|
!ELSE
|
|
|
|
TargetEnvironment=IFBGPROC
|
|
OBJDIR=if$(OBJDIR)
|
|
LocalCFLAGS=/DSECFILE /DVIEWRBA /DVIEWMMR
|
|
DEFfile=viewrend.def
|
|
LocalPreLibs=slibcxx
|
|
LocalLibraries=faxcodec wpsfaxre faxspool awfile
|
|
EXEname=$(OBJDIR)\viewrend.dll
|
|
|
|
!ENDIF
|
|
|
|
# type of library needed: dll (for dlls)/ lib (for processes)
|
|
# controls library used for linking sdllcew/slibcew
|
|
LibType=dll
|
|
|
|
# Controls whether the Exe is linked automatically using
|
|
# standard rules and options. If defined this must be assigned
|
|
# a path explicitly explicitly relative to $(OBJDIR)
|
|
|
|
# This variable is used by cleantgt to delete target files.
|
|
# Also generally used to decide what is built if the default
|
|
# target "all" is invoked
|
|
TARGETS=$(EXEname)
|
|
|
|
# Used by depends to create the include file dependencies for
|
|
# the source files. Specify paths relative to makefile directory.
|
|
SRCfiles= viewrend.cpp mmrview.cpp rbaview.cpp dcxview.cpp
|
|
|
|
# Used by the automatic linking rules to figure out what objs
|
|
# to link in. Must have full path specified. Also used by
|
|
# cleanint to delete all intermediate created objs. All such
|
|
# files must be in the $(OBJDIR) directory.
|
|
|
|
OBJfiles= $(OBJDIR)\viewrend.obj \
|
|
$(OBJDIR)\mmrview.obj \
|
|
$(OBJDIR)\rbaview.obj \
|
|
$(OBJDIR)\dcxview.obj \
|
|
|
|
# Used by automatic linking rules to find the def file
|
|
# Must be defined if EXEname is being defined. Path should
|
|
# be specified relative to the directory with the makefile.
|
|
|
|
# Used to specify the .res file if one needs to be compiled
|
|
# into the .exe. Has no effect unless EXEname is defined also.
|
|
# If not defined it is assumed that no .res file needs to be
|
|
# compiled in. Should be in $(OBJDIR) directory.
|
|
RESfile=$(OBJDIR)\viewrend.res
|
|
|
|
# This variable is used during nmake depends:
|
|
LocalCCmdIncPaths=
|
|
|
|
## ASSEMBLER
|
|
LocalAFLAGS=
|
|
LocalAIncludePaths=
|
|
|
|
## LINKER
|
|
|
|
LocalLFLAGS=
|
|
LocalLibPath=
|
|
|
|
## Include the standard Rule and Macros file for this project.
|
|
!INCLUDE $(RootPath)\common\rules.mak
|
|
|
|
# List all the buildable targets which you want to be
|
|
# public here
|
|
help: StdHelp
|
|
@echo Subproject targets:
|
|
@echo.
|
|
@echo all -- makes foo.exe
|
|
|
|
# Leave as is for default file cleanup - else
|
|
# add to it or replace with your own.
|
|
cleanint: stdclint
|
|
cleantgt: stdcltgt
|
|
|
|
## Include the Standard Targets File
|
|
!INCLUDE $(RootPath)\common\targets.mak
|
|
|
|
|
|
# You can use an automatic tool to generate all
|
|
# the appropriate include file dependencies. To use this, first
|
|
# create an empty file called depends.mak (so that the makefile
|
|
# runs) and do an "nmake depends". This will automatically generate
|
|
# a file depends.mak which lists all the include file dependencies.
|
|
# It is your responsibility to run an "nmake depends" every
|
|
# once in a while to update this file if your dependencies have
|
|
# changed. You could automatically run it each time you ran nmake
|
|
# but it is a slightly time consuming process and include file
|
|
# dependencies change so rarely that I didn't think it was worthwhile.
|
|
|
|
INCLUDE depends.mak
|
|
|
|
## the targets for this sub-project
|
|
|
|
all: $(TARGETS)
|
|
|
|
debug:
|
|
nmake DEBUG=ON all
|
|
|
|
retail:
|
|
nmake DEBUG=OFF all
|