diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2009-09-30 03:37:41 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2009-09-30 03:37:41 +0000 |
| commit | 0bb9f58d36b2130fa0eeba850671ffa512287b1b (patch) | |
| tree | 9f41658694c6ff7d868384c4a9da240908ec7898 /nmake.opt | |
| parent | 4e8443b0a0fa29ee7d6d9b7cf75620902791c43f (diff) | |
| download | PROJ-0bb9f58d36b2130fa0eeba850671ffa512287b1b.tar.gz PROJ-0bb9f58d36b2130fa0eeba850671ffa512287b1b.zip | |
Update so that various items can be overridden externall (#54)
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1656 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'nmake.opt')
| -rw-r--r-- | nmake.opt | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,5 +1,11 @@ +!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 @@ -9,11 +15,18 @@ INSTDIR=C:\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= /nologo /Ox /Op /MD -#OPTFLAGS= /nologo /Zi /MD /Fdproj.pdb +!ELSE +OPTFLAGS= /nologo /Zi /MD /Fdproj.pdb +!ENDIF +!ENDIF # Uncomment the first for linking exes against DLL or second for static EXE_PROJ = proj_i.lib |
