secureswitools/makekeys/src/makekeys.mak
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 # Microsoft Developer Studio Generated NMAKE File, Based on makekeys.dsp
       
     2 !IF "$(CFG)" == ""
       
     3 CFG=makekeys - Win32 Debug
       
     4 !MESSAGE No configuration specified. Defaulting to makekeys - Win32 Debug.
       
     5 !ENDIF 
       
     6 
       
     7 !IF "$(CFG)" != "makekeys - Win32 Release" && "$(CFG)" != "makekeys - Win32 Debug"
       
     8 !MESSAGE Invalid configuration "$(CFG)" specified.
       
     9 !MESSAGE You can specify a configuration when running NMAKE
       
    10 !MESSAGE by defining the macro CFG on the command line. For example:
       
    11 !MESSAGE 
       
    12 !MESSAGE NMAKE /f "makekeys.mak" CFG="makekeys - Win32 Debug"
       
    13 !MESSAGE 
       
    14 !MESSAGE Possible choices for configuration are:
       
    15 !MESSAGE 
       
    16 !MESSAGE "makekeys - Win32 Release" (based on "Win32 (x86) Console Application")
       
    17 !MESSAGE "makekeys - Win32 Debug" (based on "Win32 (x86) Console Application")
       
    18 !MESSAGE 
       
    19 !ERROR An invalid configuration is specified.
       
    20 !ENDIF 
       
    21 
       
    22 !IF "$(OS)" == "Windows_NT"
       
    23 NULL=
       
    24 !ELSE 
       
    25 NULL=nul
       
    26 !ENDIF 
       
    27 
       
    28 CPP=cl.exe
       
    29 RSC=rc.exe
       
    30 
       
    31 !IF  "$(CFG)" == "makekeys - Win32 Release"
       
    32 
       
    33 OUTDIR=.
       
    34 INTDIR=.
       
    35 # Begin Custom Macros
       
    36 OutDir=.
       
    37 # End Custom Macros
       
    38 
       
    39 ALL : "$(OUTDIR)\$(EPOCROOT)Epoc32\tools\makekeys.exe"
       
    40 
       
    41 
       
    42 CLEAN :
       
    43 	-@erase "$(INTDIR)\CertificateGenerator.obj"
       
    44 	-@erase "$(INTDIR)\CertificateGenerator.sbr"
       
    45 	-@erase "$(INTDIR)\CertificateRequestGenerator.obj"
       
    46 	-@erase "$(INTDIR)\CertificateRequestGenerator.sbr"
       
    47 	-@erase "$(INTDIR)\DSAKeyGenerator.obj"
       
    48 	-@erase "$(INTDIR)\DSAKeyGenerator.sbr"
       
    49 	-@erase "$(INTDIR)\KeyGenerator.obj"
       
    50 	-@erase "$(INTDIR)\KeyGenerator.sbr"
       
    51 	-@erase "$(INTDIR)\MAKEKEYS.obj
       
    52 	-@erase "$(INTDIR)\MAKEKEYS.sbr
       
    53 	-@erase "$(INTDIR)\MAKEKEYS.res
       
    54 	-@erase "$(INTDIR)\PARSECMD.obj
       
    55 	-@erase "$(INTDIR)\PARSECMD.sbr
       
    56 	-@erase "$(INTDIR)\RSAKeyGenerator.obj"
       
    57 	-@erase "$(INTDIR)\RSAKeyGenerator.sbr"
       
    58 	-@erase "$(INTDIR)\UTILS.OBJ"
       
    59 	-@erase "$(INTDIR)\UTILS.sbr"
       
    60 	-@erase "$(INTDIR)\vc60.idb"
       
    61 	-@erase "$(OUTDIR)\makekeys.ilk"
       
    62 	-@erase "$(INTDIR)\makekeys.bsc"
       
    63 	-@erase "$(OUTDIR)\makekeys.pdb"
       
    64 	-@erase "$(OUTDIR)\makekeys.map"
       
    65 	-@erase "$(OUTDIR)\$(EPOCROOT)Epoc32\tools\makekeys.exe"
       
    66 
       
    67 
       
    68 CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "..\..\openssllib\import\inc" /I "..\..\swisistools\source\makesis" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Fp"$(INTDIR)\makekeys.pch" /YX /FD /c 
       
    69 
       
    70 .c{$(INTDIR)}.obj::
       
    71    $(CPP) @<<
       
    72    $(CPP_PROJ) $< 
       
    73 <<
       
    74 
       
    75 .cpp{$(INTDIR)}.obj::
       
    76    $(CPP) @<<
       
    77    $(CPP_PROJ) $< 
       
    78 <<
       
    79 
       
    80 .cxx{$(INTDIR)}.obj::
       
    81    $(CPP) @<<
       
    82    $(CPP_PROJ) $< 
       
    83 <<
       
    84 
       
    85 .c{$(INTDIR)}.sbr::
       
    86    $(CPP) @<<
       
    87    $(CPP_PROJ) $< 
       
    88 <<
       
    89 
       
    90 .cpp{$(INTDIR)}.sbr::
       
    91    $(CPP) @<<
       
    92    $(CPP_PROJ) $< 
       
    93 <<
       
    94 
       
    95 .cxx{$(INTDIR)}.sbr::
       
    96    $(CPP) @<<
       
    97    $(CPP_PROJ) $< 
       
    98 <<
       
    99 
       
   100 BSC32=bscmake.exe
       
   101 BSC32_FLAGS=/nologo /o"$(OUTDIR)\makekeys.bsc" 
       
   102 BSC32_SBRS= \
       
   103 	"$(INTDIR)\MAKEKEYS.sbr" \
       
   104 	"$(INTDIR)\PARSECMD.sbr" \
       
   105 	"$(INTDIR)\UTILS.sbr" \
       
   106 	"$(INTDIR)\CertificateGenerator.sbr" \
       
   107 	"$(INTDIR)\CertificateRequestGenerator.sbr" \
       
   108 	"$(INTDIR)\DSAKeyGenerator.sbr" \
       
   109 	"$(INTDIR)\KeyGenerator.sbr" \
       
   110 	"$(INTDIR)\RSAKeyGenerator.sbr" \
       
   111 
       
   112 "$(OUTDIR)\makekeys.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
       
   113     $(BSC32) @<<
       
   114   $(BSC32_FLAGS) $(BSC32_SBRS)
       
   115 <<
       
   116 	
       
   117 LINK32=link.exe
       
   118 LINK32_FLAGS=shell32.lib gdi32.lib advapi32.lib libeay32.lib /nologo /subsystem:console /defaultlib:"libc.lib" /incremental:no /pdb:"$(OUTDIR)\makekeys.pdb" /map:"$(INTDIR)\makekeys.map" /machine:I386 /out:"$(EPOCROOT)Epoc32\tools/makekeys.exe" /libpath:"C:\Apps\MSVC6\VC98\Lib" /libpath:"..\..\openssllib\import\bin\rel" /OPT:NOREF
       
   119 LINK32_OBJS= \
       
   120 	"$(INTDIR)\CertificateGenerator.obj" \
       
   121 	"$(INTDIR)\CertificateRequestGenerator.obj" \
       
   122 	"$(INTDIR)\DSAKeyGenerator.obj" \
       
   123 	"$(INTDIR)\KeyGenerator.obj" \
       
   124 	"$(INTDIR)\MAKEKEYS.OBJ" \
       
   125 	"$(INTDIR)\PARSECMD.OBJ" \
       
   126 	"$(INTDIR)\RSAKeyGenerator.obj" \
       
   127 	"$(INTDIR)\UTILS.OBJ"
       
   128 
       
   129 "$(OUTDIR)\$(EPOCROOT)Epoc32\tools\makekeys.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
       
   130     $(LINK32) @<<
       
   131   $(LINK32_FLAGS) $(LINK32_OBJS)
       
   132 <<
       
   133 
       
   134 SOURCE="$(InputPath)"
       
   135 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
       
   136 
       
   137 ALL : $(DS_POSTBUILD_DEP)
       
   138 
       
   139 # Begin Custom Macros
       
   140 OutDir=.
       
   141 # End Custom Macros
       
   142 
       
   143 $(DS_POSTBUILD_DEP) : "$(OUTDIR)\$(EPOCROOT)Epoc32\tools\makekeys.exe"
       
   144 	del makekeys.obj
       
   145 	del makekeys.map
       
   146 	del makekeys.pch
       
   147 	del parsecmd.obj
       
   148 	del utils.obj
       
   149 	del certificategenerator.obj
       
   150 	del certificateRequestgenerator.obj
       
   151 	del dsakeygenerator.obj
       
   152 	del keygenerator.obj
       
   153 	del rsakeygenerator.obj
       
   154 	del vc60.idb
       
   155 
       
   156 
       
   157 !ELSEIF  "$(CFG)" == "makekeys - Win32 Debug"
       
   158 
       
   159 OUTDIR=.
       
   160 INTDIR=.
       
   161 # Begin Custom Macros
       
   162 OutDir=.
       
   163 # End Custom Macros
       
   164 
       
   165 ALL : "$(OUTDIR)\$(EPOCROOT)Epoc32\release\winc\deb\makekeys.exe"
       
   166 
       
   167 
       
   168 CLEAN :
       
   169 	-@erase "$(INTDIR)\CertificateGenerator.obj"
       
   170 	-@erase "$(INTDIR)\CertificateGenerator.sbr"
       
   171 	-@erase "$(INTDIR)\CertificateRequestGenerator.obj"
       
   172 	-@erase "$(INTDIR)\CertificateRequestGenerator.sbr"
       
   173 	-@erase "$(INTDIR)\DSAKeyGenerator.obj"
       
   174 	-@erase "$(INTDIR)\DSAKeyGenerator.sbr"
       
   175 	-@erase "$(INTDIR)\KeyGenerator.obj"
       
   176 	-@erase "$(INTDIR)\KeyGenerator.sbr"
       
   177 	-@erase "$(INTDIR)\MAKEKEYS.OBJ"
       
   178 	-@erase "$(INTDIR)\MAKEKEYS.sbr"
       
   179 	-@erase "$(INTDIR)\PARSECMD.OBJ"
       
   180 	-@erase "$(INTDIR)\PARSECMD.sbr"
       
   181 	-@erase "$(INTDIR)\RSAKeyGenerator.obj"
       
   182 	-@erase "$(INTDIR)\RSAKeyGenerator.sbr"
       
   183 	-@erase "$(INTDIR)\UTILS.OBJ"
       
   184 	-@erase "$(INTDIR)\UTILS.sbr"
       
   185 	-@erase "$(INTDIR)\vc60.idb"
       
   186 	-@erase "$(INTDIR)\vc60.pdb"
       
   187 	-@erase "$(OUTDIR)\$(EPOCROOT)Epoc32\release\winc\deb\makekeys.exe"
       
   188 	-@erase "$(INTDIR)\makekeys.bsc"
       
   189 	-@erase "$(INTDIR)\makekeys.map"
       
   190 
       
   191 CPP=cl.exe
       
   192 CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "..\..\openssllib\import\inc" /I "..\..\swisistools\source\makesis" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /D "_AFXDLL" /Fp"$(INTDIR)\makekeys.pch" /YX /FD /GZ /c 
       
   193 .c{$(INTDIR)}.obj::
       
   194    $(CPP) @<<
       
   195    $(CPP_PROJ) $< 
       
   196 <<
       
   197 
       
   198 .cpp{$(INTDIR)}.obj::
       
   199    $(CPP) @<<
       
   200    $(CPP_PROJ) $< 
       
   201 <<
       
   202 
       
   203 .cxx{$(INTDIR)}.obj::
       
   204    $(CPP) @<<
       
   205    $(CPP_PROJ) $< 
       
   206 <<
       
   207 
       
   208 .c{$(INTDIR)}.sbr::
       
   209    $(CPP) @<<
       
   210    $(CPP_PROJ) $< 
       
   211 <<
       
   212 
       
   213 .cpp{$(INTDIR)}.sbr::
       
   214    $(CPP) @<<
       
   215    $(CPP_PROJ) $< 
       
   216 <<
       
   217 
       
   218 .cxx{$(INTDIR)}.sbr::
       
   219    $(CPP) @<<
       
   220    $(CPP_PROJ) $< 
       
   221 <<
       
   222 
       
   223 BSC32=bscmake.exe
       
   224 BSC32_FLAGS=/nologo /o"$(OUTDIR)\makekeys.bsc" 
       
   225 BSC32_SBRS= \
       
   226 	"$(INTDIR)\MAKEKEYS.sbr" \
       
   227 	"$(INTDIR)\PARSECMD.sbr" \
       
   228 	"$(INTDIR)\UTILS.sbr" \
       
   229 	"$(INTDIR)\CertificateGenerator.sbr" \
       
   230 	"$(INTDIR)\CertificateRequestGenerator.sbr" \
       
   231 	"$(INTDIR)\DSAKeyGenerator.sbr" \
       
   232 	"$(INTDIR)\KeyGenerator.sbr" \
       
   233 	"$(INTDIR)\RSAKeyGenerator.sbr" \
       
   234 
       
   235 	
       
   236 LINK32=link.exe
       
   237 LINK32_FLAGS=shell32.lib gdi32.lib advapi32.lib libeay32.lib /ignore:4099 /nologo /defaultlib:"libcd.lib" /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\makekeys.pdb" /map:"$(INTDIR)\makekeys.map" /debug /machine:I386 /out:"$(EPOCROOT)Epoc32\release\winc\deb/makekeys.exe" /libpath:"C:\Apps\MSVC6\VC98\Lib" /libpath:"..\..\openssllib\import\bin\deb" /OPT:NOREF
       
   238 LINK32_OBJS= \
       
   239 	"$(INTDIR)\CertificateGenerator.obj" \
       
   240 	"$(INTDIR)\CertificateRequestGenerator.obj" \
       
   241 	"$(INTDIR)\DSAKeyGenerator.obj" \
       
   242 	"$(INTDIR)\KeyGenerator.obj" \
       
   243 	"$(INTDIR)\MAKEKEYS.OBJ" \
       
   244 	"$(INTDIR)\PARSECMD.OBJ" \
       
   245 	"$(INTDIR)\RSAKeyGenerator.obj" \
       
   246 	"$(INTDIR)\UTILS.OBJ"
       
   247 
       
   248 "$(OUTDIR)\$(EPOCROOT)Epoc32\release\winc\deb\makekeys.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
       
   249     $(LINK32) @<<
       
   250   $(LINK32_FLAGS) $(LINK32_OBJS)
       
   251 <<
       
   252 
       
   253 SOURCE="$(InputPath)"
       
   254 PostBuild_Desc=remove intermediate files
       
   255 DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
       
   256 
       
   257 ALL : $(DS_POSTBUILD_DEP)
       
   258 
       
   259 # Begin Custom Macros
       
   260 OutDir=.
       
   261 # End Custom Macros
       
   262 
       
   263 $(DS_POSTBUILD_DEP) : "$(OUTDIR)\$(EPOCROOT)Epoc32\release\winc\deb\makekeys.exe"
       
   264 	del makekeys.obj
       
   265 	del makekeys.map
       
   266 	del makekeys.pch
       
   267 	del parsecmd.obj
       
   268 	del utils.obj
       
   269 	del certificategenerator.obj
       
   270 	del certificateRequestgenerator.obj
       
   271 	del dsakeygenerator.obj
       
   272 	del keygenerator.obj
       
   273 	del rsakeygenerator.obj
       
   274 	del vc60.idb
       
   275 	del vc60.pdb
       
   276 
       
   277 !ENDIF 
       
   278 
       
   279 .c{$(INTDIR)}.obj::
       
   280    $(CPP) @<<
       
   281    $(CPP_PROJ) $< 
       
   282 <<
       
   283 
       
   284 .cpp{$(INTDIR)}.obj::
       
   285    $(CPP) @<<
       
   286    $(CPP_PROJ) $< 
       
   287 <<
       
   288 
       
   289 .cxx{$(INTDIR)}.obj::
       
   290    $(CPP) @<<
       
   291    $(CPP_PROJ) $< 
       
   292 <<
       
   293 
       
   294 .c{$(INTDIR)}.sbr::
       
   295    $(CPP) @<<
       
   296    $(CPP_PROJ) $< 
       
   297 <<
       
   298 
       
   299 .cpp{$(INTDIR)}.sbr::
       
   300    $(CPP) @<<
       
   301    $(CPP_PROJ) $< 
       
   302 <<
       
   303 
       
   304 .cxx{$(INTDIR)}.sbr::
       
   305    $(CPP) @<<
       
   306    $(CPP_PROJ) $< 
       
   307 <<
       
   308 
       
   309 
       
   310 !IF "$(NO_EXTERNAL_DEPS)" != "1"
       
   311 !IF EXISTS("makekeys.dep")
       
   312 !INCLUDE "makekeys.dep"
       
   313 !ELSE 
       
   314 !MESSAGE Warning: cannot find "makekeys.dep"
       
   315 !ENDIF 
       
   316 !ENDIF 
       
   317 
       
   318 
       
   319 !IF "$(CFG)" == "makekeys - Win32 Release" || "$(CFG)" == "makekeys - Win32 Debug"
       
   320 SOURCE=.\CertificateGenerator.cpp
       
   321 
       
   322 "$(INTDIR)\CertificateGenerator.obj" : $(SOURCE) "$(INTDIR)"
       
   323 
       
   324 
       
   325 SOURCE=.\CertificateRequestGenerator.cpp
       
   326 
       
   327 "$(INTDIR)\CertificateRequestGenerator.obj" : $(SOURCE) "$(INTDIR)"
       
   328 
       
   329 
       
   330 SOURCE=.\DSAKeyGenerator.cpp
       
   331 
       
   332 "$(INTDIR)\DSAKeyGenerator.obj" : $(SOURCE) "$(INTDIR)"
       
   333 
       
   334 
       
   335 SOURCE=.\KeyGenerator.cpp
       
   336 
       
   337 "$(INTDIR)\KeyGenerator.obj" : $(SOURCE) "$(INTDIR)"
       
   338 
       
   339 
       
   340 SOURCE=.\MAKEKEYS.CPP
       
   341 
       
   342 "$(INTDIR)\MAKEKEYS.OBJ" : $(SOURCE) "$(INTDIR)"
       
   343 
       
   344 
       
   345 SOURCE=.\PARSECMD.CPP
       
   346 
       
   347 "$(INTDIR)\PARSECMD.OBJ" : $(SOURCE) "$(INTDIR)"
       
   348 
       
   349 
       
   350 SOURCE=.\RSAKeyGenerator.cpp
       
   351 
       
   352 "$(INTDIR)\RSAKeyGenerator.obj" : $(SOURCE) "$(INTDIR)"
       
   353 
       
   354 
       
   355 SOURCE=.\UTILS.CPP
       
   356 
       
   357 "$(INTDIR)\UTILS.OBJ" : $(SOURCE) "$(INTDIR)"
       
   358 
       
   359 
       
   360 
       
   361 !ENDIF 
       
   362