aboutsummaryrefslogtreecommitdiff
path: root/nmake.opt
blob: 2291fad86c2618346dfd513234013d8577776c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
!IFDEF EXT_NMAKE_OPT
!INCLUDE $(EXT_NMAKE_OPT)
!ENDIF

# Directory tree where PROJ will be installed.
!IFNDEF INSTDIR
INSTDIR=C:\PROJ
!ENDIF

# Set the following to the directory where the PROJ distribution data files
# (ie, the contents of ..\NAD) are to be installed.  It is possible to later
# move the data files to another directory, and define the PROJ_LIB
# environment variable to point to that directory.  It is also possible to
# have PROJ_LIB name the original NAD directory of the unpacked PROJ
# distribution.  Any setting of the PROJ_LIB environment variable takes
# precedence at runtime over the setting of the PROJ_LIB_DIR macro stored in
# the compiled software.
!IFNDEF PROJ_LIB_DIR
PROJ_LIB_DIR=$(INSTDIR)\SHARE
!ENDIF

# Uncomment the first for an optimized build, or the second for debug.
!IFNDEF OPTFLAGS
!IFNDEF DEBUG
OPTFLAGS=	/Ox /Op /MD
!ELSE
OPTFLAGS=	/Zi /MD /Fdproj.pdb
!ENDIF
!ENDIF

!IFDEF SELFTEST
OPTFLAGS= $(OPTFLAGS) -DPJ_SELFTEST
!ENDIF

# Uncomment the first for linking exes against DLL or second for static
EXE_PROJ =	proj_i.lib
#EXE_PROJ =	proj.lib

# Set the version number for the DLL.  Normally we leave this blank since
# we want software that is dynamically loading the DLL to have no problem
# with version numbers.
VERSION=