comparison nt/xemacs.mak @ 3741:8aa52dcfc11a

[xemacs-hg @ 2006-12-12 14:54:49 by vins] Don't require MSVCRTD.dll when building setup kits.
author vins
date Tue, 12 Dec 2006 14:54:49 +0000
parents 57711e9aac15
children e358b6c40407
comparison
equal deleted inserted replaced
3740:a9ddcf85ec1f 3741:8aa52dcfc11a
194 !endif 194 !endif
195 !if !defined(SUPPORT_EDIT_AND_CONTINUE) 195 !if !defined(SUPPORT_EDIT_AND_CONTINUE)
196 SUPPORT_EDIT_AND_CONTINUE=0 196 SUPPORT_EDIT_AND_CONTINUE=0
197 !endif 197 !endif
198 198
199 !if !defined(BUILD_FOR_SETUP_KIT) || "$(BUILD_FOR_SETUP_KIT)" == "0"
200 OK_TO_USE_MSVCRTD=1
201 !else
202 OK_TO_USE_MSVCRTD=0
203 !endif
204
199 !if !defined(ERROR_CHECK_ALL) 205 !if !defined(ERROR_CHECK_ALL)
200 !if "$(emacs_is_beta)" != "" 206 !if "$(emacs_is_beta)" != ""
201 ERROR_CHECK_ALL=1 207 ERROR_CHECK_ALL=1
202 !else 208 !else
203 ERROR_CHECK_ALL=0 209 ERROR_CHECK_ALL=0
709 BROWSERFLAGS= 715 BROWSERFLAGS=
710 716
711 !endif 717 !endif
712 718
713 !if $(USE_CRTDLL) 719 !if $(USE_CRTDLL)
714 ! if $(DEBUG_XEMACS) 720 ! if $(DEBUG_XEMACS) && "$(OK_TO_USE_MSVCRTD)" == "1"
715 C_LIBFLAG=-MDd 721 C_LIBFLAG=-MDd
716 LIBC_LIB=msvcrtd.lib 722 LIBC_LIB=msvcrtd.lib
717 ! else 723 ! else
718 C_LIBFLAG=-MD 724 C_LIBFLAG=-MD
719 LIBC_LIB=msvcrt.lib 725 LIBC_LIB=msvcrt.lib
720 ! endif 726 ! endif
721 !else 727 !else
722 C_LIBFLAG=-ML 728 C_LIBFLAG=-ML
723 LIBC_LIB=libc.lib 729 LIBC_LIB=libc.lib
724 !endif 730 !endif
725 731