Mercurial > hg > xemacs-beta
comparison nt/xemacs.mak @ 5940:c608d4b0b75e cygwin64 tip
rescue lost branch from 64bit.backup
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Thu, 16 Dec 2021 18:48:58 +0000 |
parents | 2f34b59f451a |
children |
comparison
equal
deleted
inserted
replaced
5928:2f34b59f451a | 5940:c608d4b0b75e |
---|---|
70 SRCROOT=$(MAKEROOT) | 70 SRCROOT=$(MAKEROOT) |
71 BLDROOT=$(MAKEROOT) | 71 BLDROOT=$(MAKEROOT) |
72 !endif | 72 !endif |
73 !endif | 73 !endif |
74 | 74 |
75 !if [copy $(SRCROOT)\version.sh.in $(SRCROOT)\version.sh] | 75 #!if [copy $(SRCROOT)\version.sh.in $(SRCROOT)\version.sh] |
76 !endif | 76 #!endif |
77 !if exist($(SRCROOT)\.hg) | 77 #!if exist($(SRCROOT)\.hg) |
78 !if [hg identify >> $(SRCROOT)\version.sh] | 78 #!if [hg identify >> $(SRCROOT)\version.sh] |
79 !endif | 79 #!endif |
80 !endif | 80 #!endif |
81 | 81 |
82 # Program name and version | 82 # Program name and version |
83 !include "$(SRCROOT)\version.sh" | 83 !include "$(SRCROOT)\version.sh" |
84 | 84 |
85 ########################### Basic vars referring to directories, both in | 85 ########################### Basic vars referring to directories, both in |
736 !endif | 736 !endif |
737 | 737 |
738 !if $(USE_CRTDLL) | 738 !if $(USE_CRTDLL) |
739 ! if $(DEBUG_XEMACS) && "$(OK_TO_USE_MSVCRTD)" == "1" | 739 ! if $(DEBUG_XEMACS) && "$(OK_TO_USE_MSVCRTD)" == "1" |
740 C_LIBFLAG=-MDd | 740 C_LIBFLAG=-MDd |
741 LIBC_LIB=msvcrtd.lib | 741 LIBC_LIB=msvcrtd.lib ucrtd.lib vcruntimed.lib |
742 ! else | 742 ! else |
743 C_LIBFLAG=-MD | 743 C_LIBFLAG=-MD |
744 LIBC_LIB=msvcrt.lib | 744 LIBC_LIB=msvcrt.lib ucrt.lib vcruntime.lib |
745 ! endif | 745 ! endif |
746 !else | 746 !else |
747 C_LIBFLAG=-ML | 747 C_LIBFLAG=-ML |
748 LIBC_LIB=libc.lib | 748 LIBC_LIB=libc.lib |
749 !endif | 749 !endif |
791 ########################### Determine generic includes/defines/flags. | 791 ########################### Determine generic includes/defines/flags. |
792 | 792 |
793 INCLUDES=-I$(NT)\inc -I$(SRC) $(OPT_INCLUDES) | 793 INCLUDES=-I$(NT)\inc -I$(SRC) $(OPT_INCLUDES) |
794 | 794 |
795 DEFINES=$(OPT_DEFINES) \ | 795 DEFINES=$(OPT_DEFINES) \ |
796 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs -DNTDDI_VERSION=NTDDI_WIN2K -D_WIN32_WINNT=_WIN32_WINNT_WIN2K \ | 796 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs -DNTDDI_VERSION=NTDDI_WIN2K -D_WIN32_WINNT=_WIN32_WINNT_WIN2K -D_CRT_NO_POSIX_ERROR_CODES \ |
797 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES) | 797 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES) |
798 | 798 |
799 CFLAGS_NO_OPT=-nologo -W3 -DSTRICT $(DEBUG_FLAGS_COMPILE) | 799 CFLAGS_NO_OPT=-nologo -W3 -DSTRICT $(DEBUG_FLAGS_COMPILE) |
800 | 800 |
801 CFLAGS_NO_LIB=$(CFLAGS_NO_OPT) $(OPTFLAGS) | 801 CFLAGS_NO_LIB=$(CFLAGS_NO_OPT) $(OPTFLAGS) |