YFS Coverity 11738
[heimdal.git] / windows / NTMakefile.w32
blob48e6aed260482106fc60c9b585d3dbd92ff9a9bf
1 ########################################################################
3 # Copyright (c) 2009-2011, Secure Endpoints Inc.
4 # All rights reserved.
5
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9
10 # - Redistributions of source code must retain the above copyright
11 #   notice, this list of conditions and the following disclaimer.
12
13 # - Redistributions in binary form must reproduce the above copyright
14 #   notice, this list of conditions and the following disclaimer in
15 #   the documentation and/or other materials provided with the
16 #   distribution.
17
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22 # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 # POSSIBILITY OF SUCH DAMAGE.
30
32 all::
34 clean::
36 test::
38 prep::
40 all:: prep
42 !include <Win32.Mak>
44 !ifdef NODEBUG
45 BUILD=rel
46 !else
47 BUILD=dbg
48 !endif
50 !if exist($(MAKEDIR)\windows\NTMakefile.w32)
51 SRC=$(MAKEDIR)
52 !elseif exist($(MAKEDIR)\..\windows\NTMakefile.w32)
53 SRC=$(MAKEDIR)\..
54 !elseif exist($(MAKEDIR)\..\..\windows\NTMakefile.w32)
55 SRC=$(MAKEDIR)\..\..
56 !elseif exist($(MAKEDIR)\..\..\..\windows\NTMakefile.w32)
57 SRC=$(MAKEDIR)\..\..\..
58 !elseif exist($(MAKEDIR)\..\..\..\..\windows\NTMakefile.w32)
59 SRC=$(MAKEDIR)\..\..\..\..
60 !else
61 !  error Cant determine source directory
62 !endif
64 !  if "$(CPU)"=="i386" || "$(CPU)"=="x86"
65 MCPU=x86
66 !  elseif "$(CPU)"=="AMD64"
67 MCPU=amd64
68 !  else
69 !    error Unknown CPU
70 !  endif
72 !include "NTMakefile.config"
74 #----------------------------------------------------------------
75 # Directory macros
77 DESTDIR         =$(SRC)\out\dest_$(CPU)
78 OBJDIR          =$(SRC)\out\obj_$(CPU)
80 INCDIR          =$(DESTDIR)\inc
81 LIBDIR          =$(DESTDIR)\lib
82 BINDIR          =$(DESTDIR)\bin
83 PLUGINDIR       =$(BINDIR)
84 DOCDIR          =$(DESTDIR)\doc
85 SBINDIR         =$(BINDIR)
86 LIBEXECDIR      =$(BINDIR)
87 ASMDIR          =$(BINDIR)
88 INSTDIR         =$(DESTDIR)\install
89 SDKDIR          =$(SRC)\out\sdk
90 SDKINCDIR       =$(SDKDIR)\inc
91 SDKLIBDIR       =$(SDKDIR)\lib\$(CPU)
92 SDKSRCDIR       =$(SDKDIR)\src
93 SDKREDISTDIR    =$(SDKDIR)\redist\$(CPU)
95 !ifdef RELDIR
96 SRCDIR =$(SRC)\$(RELDIR)
97 OBJ    =$(OBJDIR)\$(RELDIR)
98 !else
99 OBJ    =$(OBJDIR)
100 !endif
102 # For tests:
103 PATH=$(PATH);$(BINDIR)
105 #----------------------------------------------------------------
106 # Command macros
108 RMAKE=nmake /nologo /f NTMakefile RECURSE=1
109 MKDIR=md
110 CP=copy /Y
111 LINK=link
112 LM=lib
113 RM=del /q
114 ECHO=echo
115 RC=rc
117 #----------------------------------------------------------------
118 # Program macros
120 AWK_CMD=gawk.exe
121 YACC_CMD=bison.exe
122 LEX_CMD=flex.exe
123 PYTHON=python.exe
124 PERL=perl.exe
125 CMP=cmp.exe
126 SIGNTOOL=signtool.exe
127 MAKECAT=makecat.exe
128 HHC=hhc.exe
129 MAKEINFO=makeinfo.exe
130 SED=sed.exe
132 CANDLE_CMD=candle.exe
133 LIGHT_CMD=light.exe
135 # Only used for tests
136 SH=sh.exe
138 # Commands
139 AWK=$(AWK_CMD)
140 YACC=$(YACC_CMD) -y
141 LEX=$(LEX_CMD)
142 CANDLE=$(CANDLE_CMD) -nologo
143 LIGHT=$(LIGHT_CMD) -nologo
145 #----------------------------------------------------------------
146 # External dependencies
148 # For pthread support to be enabled, both PTHREAD_INC and PTHREAD_LIB
149 # should be defined.  PTHREAD_INC should be the include directory
150 # where pthread.h is to be found (i.e. $(PTHREAD_INC)\pthread.h should
151 # exist), and PTHREAD_LIB is the full path to the pthread import
152 # library.
154 # Note that both paths should not contain any whitespace.
156 !ifdef PTHREAD_INC
157 pthreadinc= -I$(PTHREAD_INC)
158 !endif
160 #----------------------------------------------------------------
161 # Build options
163 cincdirs=$(cincdirs) -I$(INCDIR) -I$(INCDIR)\krb5 $(pthreadinc)
164 cdefines=$(cdefines) -DHAVE_CONFIG_H
165 # Windows CNG provider
166 cdefines=$(cdefines) -DHCRYPTO_DEF_PROVIDER=w32crypto
167 cdebug=$(cdebug) /Zi
168 ldebug=$(ldebug) /DEBUG
169 localcflags=$(localcflags) /Oy-
171 # Disable warnings:
173 # C4996: 'function' was declared deprecated
174 # C4127: Conditional expression is constant
175 # C4244: Conversion from 'type1' to 'type2', possible loss of data
176 # C4100: 'identifier': unreferenced formal parameter
177 # C4706: Assignment within conditional expression
178 # C4214: Nonstandard extension used
179 # C4267: '': Conversion from 'type1' to 'type2', possible loss of data
180 # C4018: '': Signed/unsigned mismatch
181 # C4204: Nonstandard extension used: non-constant aggregate initializer
182 # C4221: Nonstandard extension used: 'v1': cannot be initialized using address of automatic variable 'v2'
183 # C4295: '': Array is too small to include a terminating null character
184 # C4146: Unary minus operator applied to unsigned type, result still unsigned.
186 cwarn=$(cwarn) -D_CRT_SECURE_NO_WARNINGS -wd4996 -wd4127 -wd4244 -wd4100 -wd4706
187 cwarn=$(cwarn) -wd4214 -wd4267 -wd4018 -wd4389 -wd4204 -wd4221 -wd4295 -wd4146
189 !if "$(CPU)"=="i386"
190 libmach=/machine:X86
191 !elseif "$(CPU)"=="AMD64"
192 libmach=/machine:X64
193 !else
194 !  error Unknown CPU value
195 !endif
197 !ifdef NO_MP
198 MPOPT=
199 !else
200 MPOPT=/MP
201 !endif
203 !ifndef STATICRUNTIME
205 C2OBJ_C = $(CC) $(cdebug) $(cflags) $(cvarsdll) $(AUXCFLAGS) $(intcflags) $(cdefines) $(cincdirs) $(cwarn)
206 EXECONLINK_C = $(LINK) $(ldebug) $(conlflags) $(conlibsdll) $(libmach)
207 EXEGUILINK_C = $(LINK) $(ldebug) $(guilflags) $(guilibsdll) $(libmach)
208 DLLCONLINK_C = $(LINK) $(ldebug) $(dlllflags) $(conlibsdll) $(libmach)
209 DLLGUILINK_C = $(LINK) $(ldebug) $(dlllflags) $(guilibsdll) $(libmach)
211 !else # STATICRUNTIME
213 C2OBJ_C = $(CC) $(cdebug) $(cflags) $(cvarsmt) $(AUXCFLAGS) $(intcflags) $(cdefines) $(cincdirs) $(cwarn)
214 EXECONLINK_C = $(LINK) $(ldebug) $(conlflags) $(conlibsmt) $(libmach)
215 EXEGUILINK_C = $(LINK) $(ldebug) $(guilflags) $(guilibsmt) $(libmach)
216 DLLCONLINK_C = $(LINK) $(ldebug) $(dlllflags) $(conlibsmt) $(libmach)
217 DLLGUILINK_C = $(LINK) $(ldebug) $(dlllflags) $(guilibsmt) $(libmach)
219 !endif
221 LIBGUI_C = $(LM) /nologo $(libmach) /SUBSYSTEM:WINDOWS
222 LIBCON_C = $(LM) /nologo $(libmach) /SUBSYSTEM:CONSOLE
224 C2OBJ = $(C2OBJ_C) -Fo$@ -Fd$(@D)\ $**
225 C2OBJ_NP = $(C2OBJ_C) $(MPOPT) $<
226 C2OBJ_P = $(C2OBJ_NP) -Fo$(OBJ)\ -Fd$(OBJ)\ #
227 EXECONLINK = $(EXECONLINK_C) -OUT:$@ $**
228 EXEGUILINK = $(EXEGUILINK_C) -OUT:$@ $**
229 DLLCONLINK = $(DLLCONLINK_C) -OUT:$@ $**
230 DLLGUILINK = $(DLLGUILINK_C) -OUT:$@ $**
231 LIBGUI = $(LIBGUI_C) /OUT:$@ $**
232 LIBCON = $(LIBCON_C) /OUT:$@ $**
234 # Preprocess files to stdout using config.h
235 CPREPROCESSOUT = $(CC) /EP /FI$(INCDIR)\config.h /TC /DCPP_ONLY=1
237 # Resources
239 RC2RES_C = $(RC) $(cincdirs) $(AUXRCFLAGS)
240 RC2RES = $(RC2RES_C) -fo $@ $**
242 #----------------------------------------------------------------------
243 # If this is the initial invocation, we check if all the build
244 # utilities are there.  Also show the commands macros.
246 !ifndef RECURSE
248 REQUIRED_TOOLS= \
249         "$(AWK_CMD)" "$(YACC_CMD)" "$(LEX_CMD)" "$(PYTHON)" "$(PERL)" \
250         "$(CMP)" "$(SED)" "$(SIGNTOOL)" "$(MAKECAT)" "$(MAKEINFO)" "$(HHC)"
252 !ifdef BUILD_INSTALLERS
253 REQUIRED_TOOLS=$(REQUIRED_TOOLS) "$(CANDLE_CMD)" "$(LIGHT_CMD)"
254 !endif
256 OPTIONAL_TOOLS="$(SH)" 
258 check-utils:
259         @for %%g in ( $(REQUIRED_TOOLS) ) do @( \
260         for /f %%f in ( "%%g" ) do @( \
261                 if exist %%f @( \
262                         echo Found %%f \
263                 ) else if "%%~$$PATH:f"=="" @( \
264                         echo Could not find %%f in PATH && \
265                         exit /b 1 \
266                 ) else @( \
267                         echo Found %%~$$PATH:f \
268                 ) \
269         ) \
270         )
271         @for %%g in ( $(OPTIONAL_TOOLS) ) do @( \
272         for /f %%f in ( "%%g" ) do @( \
273                 if exist %%f @( \
274                         echo Found %%f \
275                 ) else if "%%~$$PATH:f"=="" @( \
276                         echo Could not find %%f in PATH && \
277                         echo Optional targets may fail. \
278                 ) else @( \
279                         echo Found %%~$$PATH:f \
280                 ) \
281         ) \
282         )
285 prep:: check-utils
287 show-cmds:
288         @$(ECHO) C2OBJ=$(C2OBJ_C:\=\\)
289         @$(ECHO).
290         @$(ECHO) EXECONLINK=$(EXECONLINK_C)
291         @$(ECHO).
292         @$(ECHO) EXEGUILINK=$(EXEGUILINK_C)
293         @$(ECHO).
294         @$(ECHO) DLLCONLINK=$(DLLCONLINK_C)
295         @$(ECHO).
296         @$(ECHO) DLLGUILINK=$(DLLGUILINK_C)
297         @$(ECHO).
298         @$(ECHO) LIBGUI=$(LIBGUI_C)
299         @$(ECHO).
300         @$(ECHO) LIBCON=$(LIBCON_C)
302 prep:: show-cmds
304 !endif                          # RECURSE
306 {}.c{$(OBJ)}.obj::
307         $(C2OBJ_C) /Fd$(OBJ)\ /Fo$(OBJ)\ $(localcflags) $(MPOPT) @<<
311 {$(OBJ)}.c{$(OBJ)}.obj::
312         $(C2OBJ_C) /Fd$(OBJ)\ /Fo$(OBJ)\ $(extcflags) $(MPOPT) @<<
316 {}.cpp{$(OBJ)}.obj::
317         $(C2OBJ_C) /Fd$(OBJ)\ /Fo$(OBJ)\ $(localcflags) $(MPOPT) @<<
321 {$(OBJ)}.cpp{$(OBJ)}.obj::
322         $(C2OBJ_C) /Fd$(OBJ)\ /Fo$(OBJ)\ $(extcflags) $(MPOPT) @<<
326 {}.hin{$(INCDIR)}.h:
327         $(CP) $< $@
329 {}.h{$(INCDIR)}.h:
330         $(CP) $< $@
332 {}.h{$(INCDIR)\krb5}.h:
333         $(CP) $< $@
335 {$(OBJ)}.h{$(INCDIR)}.h:
336         $(CP) $< $@
338 {$(OBJ)}.x{$(OBJ)}.c:
339         $(CP) $< $@
341 {$(OBJ)}.hx{$(INCDIR)}.h:
342         $(CP) $< $@
344 {$(OBJ)}.hx{$(OBJ)}.h:
345         $(CP) $< $@
347 {}.rc{$(OBJ)}.res:
348         $(RC2RES)
350 #----------------------------------------------------------------------
351 # Announce the build directory
353 !ifdef RELDIR
354 all:: announce
356 all-tools:: announce-tools
358 test:: announce
360 clean:: announce
362 announce:
363         @echo.
364         @echo --------- Entering $(RELDIR:\= ):
366 announce-tools:
367         @echo.
368         @echo --------- Entering $(RELDIR:\= ) tools:
369 !endif
371 #----------------------------------------------------------------------
372 # Create any required directories if they don't already exist
374 prep:: mkdirs
376 mkdirs:
377 !  if !exist("$(OBJ)")
378         -$(MKDIR) "$(OBJ)"
379 !  endif
380 !  if !exist("$(DESTDIR)")
381         -$(MKDIR) "$(DESTDIR)"
382 !  endif
383 !  if !exist("$(LIBDIR)")
384         -$(MKDIR) "$(LIBDIR)"
385 !  endif
386 !  if !exist("$(BINDIR)")
387         -$(MKDIR) "$(BINDIR)"
388 !  endif
389 !  if !exist("$(PLUGINDIR)")
390         -$(MKDIR) "$(PLUGINDIR)"
391 !  endif
392 !  if !exist("$(INCDIR)")
393         -$(MKDIR) "$(INCDIR)"
394 !  endif
395 !  if !exist("$(DOCDIR)")
396         -$(MKDIR) "$(DOCDIR)"
397 !  endif
398 !  if !exist("$(INCDIR)\gssapi")
399         -$(MKDIR) "$(INCDIR)\gssapi"
400 !  endif
401 !  if !exist("$(INCDIR)\hcrypto")
402         -$(MKDIR) "$(INCDIR)\hcrypto"
403 !  endif
404 !  if !exist("$(INCDIR)\kadm5")
405         -$(MKDIR) "$(INCDIR)\kadm5"
406 !  endif
407 !  if !exist("$(INCDIR)\krb5")
408         -$(MKDIR) "$(INCDIR)\krb5"
409 !  endif
411 #----------------------------------------------------------------------
412 # If SUBDIRS is defined, we should recurse into the subdirectories
414 !ifdef SUBDIRS
415 subdirs:
416         @for %%f in ( $(SUBDIRS) ) do @ (pushd %%f && $(RMAKE) && popd) || exit /b 1
418 clean-subdirs:
419         @for %%f in ( $(SUBDIRS) ) do @ (pushd %%f && $(RMAKE) clean && popd) || exit /b 1
421 test-subdirs:
422         @for %%f in ( $(SUBDIRS) ) do @ (pushd %%f && $(RMAKE) test && popd) || exit /b 1
424 all:: subdirs
426 clean:: clean-subdirs
428 test:: test-subdirs
430 !endif
432 #----------------------------------------------------------------------
433 # Clean targets
435 !ifdef CLEANFILES
436 clean::
437         -$(RM) $(CLEANFILES)
438 !endif
439 !ifdef RELDIR
440 clean::
441         -$(RM) $(OBJ)\*.*
442 !endif
444 .SUFFIXES: .c .cpp .hin .h .x .hx
446 #----------------------------------------------------------------------
447 # Manifest handling
449 # Starting with Visual Studio 8, the C compiler and the linker
450 # generate manifests so that the applications will link with the
451 # correct side-by-side DLLs at run-time.  These are required for
452 # correct operation under Windows XP and later.  We also have custom
453 # manifests which need to be merged with the manifests that VS
454 # creates.
456 # The syntax for invoking the _VC_MANIFEST_EMBED_FOO macro is:
457 # $(_VC_MANIFEST_EMBED_???) <additional manifests>
460 MT=mt.exe -nologo
462 _VC_MANIFEST_EMBED_EXE= \
463 ( if exist $@.manifest $(MT) -outputresource:$@;1 -manifest $@.manifest $(APPMANIFEST) )
465 _VC_MANIFEST_EMBED_EXE_NOHEIM= \
466 ( if exist $@.manifest $(MT) -outputresource:$@;1 -manifest $@.manifest )
468 _VC_MANIFEST_EMBED_DLL= \
469 ( if exist $@.manifest $(MT) -outputresource:$@;2 -manifest $@.manifest )
471 _MERGE_MANIFEST_DLL= \
472 ( $(MT) -inputresource:$@;2 -manifest $(APPMANIFEST) -outputresource:$@;2 )
474 _INSERT_APPMANIFEST_DLL= \
475 ( $(MT) -manifest $(APPMANIFEST) -outputresource:$@;2 )
477 # Note that if you are merging manifests, then the VS generated
478 # manifest should be cleaned up after calling _VC_MANIFEST_EMBED_???.
479 # This ensures that even if the DLL or EXE is executed in-place, the
480 # embedded manifest will be used.  Otherwise the $@.manifest file will
481 # be used.
483 _VC_MANIFEST_CLEAN= \
484 ( if exist $@.manifest $(RM) $@.manifest )
486 # End of manifest handling
488 #----------------------------------------------------------------------
489 # Code and assembly signing
491 # SIGNTOOL_C is any set of options required for certificate/private
492 # key selection for code signging.
494 # SIGNTOOL_O is any set of additional options to signtool.exe
496 # SIGNTOOL_T is the timestamp option
498 !ifdef CODESIGN
499 _CODESIGN=( $(CODESIGN) $@ )
500 !else
502 !ifdef SIGNTOOL_C
504 !ifndef SIGNTOOL_T
505 SIGNTOOL_T=/t http://timestamp.verisign.com/scripts/timstamp.dll
506 !endif
508 _CODESIGN=( $(SIGNTOOL) sign $(SIGNTOOL_O) $(SIGNTOOL_T) $(SIGNTOOL_C) /v $@ )
509 !else
510 _CODESIGN=( echo Skipping code sign )
511 !endif
513 !endif
515 #----------------------------------------------------------------------
516 # Symbol Store Support
518 # SYMSTORE_EXE is full path to symstore.exe
520 # SYMSTORE_ROOT is full path to root directory of symbol store
522 # SYMSTORE_COMMENT is optional comment to include in symbol store catalog entry
525 !IF DEFINED(SYMSTORE_EXE) && DEFINED(SYMSTORE_ROOT)
526 !IF "$(SYMSTORE_COMMENT)" != ""
527 SYMSTORE_COMMENT = |$(SYMSTORE_COMMENT)
528 !ENDIF
529 SYMSTORE_IMPORT= \
530 $(SYMSTORE_EXE) add /s $(SYMSTORE_ROOT) /t "Heimdal" /v "$(BUILD)-$(CPU)-$(VER_PACKAGE_VERSION)" /c "$(@F)$(SYMSTORE_COMMENT)" /f $*.*
531 !ELSE
532 SYMSTORE_IMPORT=@echo No symbol store
533 !ENDIF
535 #----------------------------------------------------------------------
536 # Convenience macros for preparing EXEs and DLLs.  These are multiline
537 # macros that deal with manifests and code signing.  Unless we need to
538 # include custom manifests, these are what we should be using to
539 # prepare binaries.
541 EXEPREP=\
542 ( $(_VC_MANIFEST_EMBED_EXE) && $(_VC_MANIFEST_CLEAN) && $(SYMSTORE_IMPORT) && $(_CODESIGN) ) || ( $(RM) $@ && exit /b 1 )
544 EXEPREP_NOHEIM=\
545 ( $(_VC_MANIFEST_EMBED_EXE_NOHEIM) && $(_VC_MANIFEST_CLEAN) && $(SYMSTORE_IMPORT) && $(_CODESIGN) ) || ( $(RM) $@ && exit /b 1 )
547 EXEPREP_NODIST=\
548 ( $(_VC_MANIFEST_EMBED_EXE_NOHEIM) && $(_VC_MANIFEST_CLEAN) && $(SYMSTORE_IMPORT) ) || ( $(RM) $@ && exit /b 1 )
550 DLLPREP=\
551 ( $(_VC_MANIFEST_EMBED_DLL) && $(_VC_MANIFEST_CLEAN) && $(SYMSTORE_IMPORT) && $(_CODESIGN) ) || ( $(RM) $@ && exit /b 1 )
553 DLLPREP_NODIST=\
554 ( $(_VC_MANIFEST_EMBED_DLL) && $(_VC_MANIFEST_CLEAN) && $(SYMSTORE_IMPORT) ) || ( $(RM) $@ && exit /b 1 )
556 DLLPREP_MERGE=\
557 ( ( $(_MERGE_MANIFEST_DLL) || $(_INSERT_APPMANIFEST_DLL) && $(SYMSTORE_IMPORT) ) && $(_CODESIGN) ) || ( $(RM) $@ && exit /b 1 )
559 #----------------------------------------------------------------------
560 # Convenience macros for import libraries and assemblies
563 LIBASN1     =$(LIBDIR)\libasn1.lib
564 LIBCOMERR   =$(LIBDIR)\libcom_err.lib
565 LIBEDITLINE =$(LIBDIR)\libeditline.lib
566 LIBGSSAPI   =$(LIBDIR)\libgssapi.lib
567 LIBHCRYPTO  =$(LIBDIR)\libhcrypto.lib
568 LIBHDB      =$(LIBDIR)\libhdb.lib
569 LIBHEIMBASE =$(LIBDIR)\libheimbase.lib
570 LIBHEIMDAL  =$(LIBDIR)\heimdal.lib
571 LIBHEIMIPCC =$(LIBDIR)\libheim-ipcc.lib
572 LIBHEIMIPCS =$(LIBDIR)\libheim-ipcs.lib
573 LIBHEIMNTLM =$(LIBDIR)\libheimntlm.lib
574 LIBHX509    =$(LIBDIR)\libhx509.lib
575 LIBKADM5CLNT=$(LIBDIR)\libkadm5clnt.lib
576 LIBKADM5SRV =$(LIBDIR)\libkadm5srv.lib
577 LIBKDC      =$(LIBDIR)\libkdc.lib
578 LIBLTM      =$(LIBDIR)\libltm.lib
579 LIBKRB5     =$(LIBDIR)\libkrb5.lib
580 LIBRFC3961  =$(LIBDIR)\librfc3961.lib
581 LIBROKEN    =$(LIBDIR)\libroken.lib
582 LIBSL       =$(LIBDIR)\libsl.lib
583 LIBSQLITE   =$(LIBDIR)\libsqlite.lib
584 LIBVERS     =$(LIBDIR)\libvers.lib
585 LIBWIND     =$(LIBDIR)\libwind.lib
587 !ifdef VER_DEBUG
588 ASM_DBG=.Debug
589 !endif
590 !ifdef VER_PRERELEASE
591 ASM_PRE=.Pre
592 !endif
593 !ifdef VER_PRIVATE
594 ASM_PVT=.Private
595 !endif
596 !ifdef VER_SPECIAL
597 ASM_SPC=.Special
598 !endif
600 ASMKRBNAME  =Heimdal.Kerberos$(ASM_SPC)$(ASM_PVT)$(ASM_PRE)$(ASM_DBG)
601 APPMANIFEST =$(INCDIR)\Heimdal.Application.$(MCPU).manifest