X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/a3e44e793796153ff1534be9c74fcab50b45de30..fbf5b3ce9d95a61c06ebf09ee58c809469d71387:/nt/gmake.defs diff --git a/nt/gmake.defs b/nt/gmake.defs index 9cad0a2a16..bbb560264c 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -1,6 +1,5 @@ # -*- Makefile -*- definition file for building GNU Emacs on Windows NT. -# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -# 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +# Copyright (C) 2000-2011 Free Software Foundation, Inc. # This file is part of GNU Emacs. @@ -150,7 +149,7 @@ ARCH = alpha ifeq "$(PROCESSOR_ARCHITECTURE)" "PPC" ARCH = ppc else -error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)" + $(error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)") endif endif endif @@ -207,6 +206,7 @@ CHECKING_CFLAGS = endif CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) +ESC_CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(ESC_USER_CFLAGS) $(LOCAL_FLAGS) EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 ifdef PROFILE @@ -280,6 +280,10 @@ ifdef NOCYGWIN NOCYGWIN = -mno-cygwin endif +ifdef USER_LIBS +USER_LIBS := $(patsubst %,-l%,$(USER_LIBS)) +endif + ifeq "$(ARCH)" "i386" ifdef NOOPT ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN)