summaryrefslogtreecommitdiff
path: root/src/Make_bc5.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-07-02 15:38:35 +0000
committerBram Moolenaar <Bram@vim.org>2004-07-02 15:38:35 +0000
commitcfbc5ee48e1b582f418f2d92ccbc4c4e84c803e1 (patch)
tree7586fe6160998a4c76a48dab221e38efe55257ef /src/Make_bc5.mak
parent843ee41eb8258ac50ed81976757d8b228382a880 (diff)
downloadvim-git-cfbc5ee48e1b582f418f2d92ccbc4c4e84c803e1.tar.gz
updated for version 7.0004
Diffstat (limited to 'src/Make_bc5.mak')
-rw-r--r--src/Make_bc5.mak33
1 files changed, 19 insertions, 14 deletions
diff --git a/src/Make_bc5.mak b/src/Make_bc5.mak
index 73d9440d8..271820d8e 100644
--- a/src/Make_bc5.mak
+++ b/src/Make_bc5.mak
@@ -76,6 +76,7 @@
# CSCOPE no or yes: include support for Cscope interface (yes)
# NETBEANS no or yes: include support for Netbeans interface (yes if GUI
# is yes)
+# NBDEBUG no or yes: include support for debugging Netbeans interface (no)
# XPM define to path to XPM dir to get support for loading XPM images.
### BOR: root of the BC installation
@@ -397,19 +398,6 @@ MBDEFINES = $(MBDEFINES) -DDYNAMIC_GETTEXT
DEFINES = $(DEFINES) -DFEAT_CSCOPE
!endif
-!if ("$(NETBEANS)"=="yes")
-DEFINES = $(DEFINES) -DFEAT_NETBEANS_INTG
-!if ("$(DEBUG)"=="yes")
-DEFINES = $(DEFINES) -DNBDEBUG
-NBDEBUG_DEP = nbdebug.h nbdebug.c
-!endif
-!endif
-
-!ifdef XPM
-DEFINES = $(DEFINES) -DFEAT_XPM_W32
-INCLUDE = $(XPM)\include;$(INCLUDE)
-!endif
-
!if ("$(GUI)"=="yes")
DEFINES = $(DEFINES) -DFEAT_GUI_W32 -DFEAT_CLIPBOARD
!if ("$(DEBUG)"=="yes")
@@ -427,11 +415,13 @@ STARTUPOBJ = c0w32.obj
LINK2 = -aa
RESFILE = vim.res
!else
+!undef NETBEANS
+!undef XPM
+!undef VIMDLL
!if ("$(DEBUG)"=="yes")
TARGET = vimd.exe
!else
# for now, anyway: VIMDLL is only for the GUI version
-!undef VIMDLL
TARGET = vim.exe
!endif
!if ($(OSTYPE)==DOS16)
@@ -447,6 +437,21 @@ LINK2 = -ap -OS -o -P
RESFILE = vim.res
!endif
+!if ("$(NETBEANS)"=="yes")
+DEFINES = $(DEFINES) -DFEAT_NETBEANS_INTG
+!if ("$(NBDEBUG)"=="yes")
+DEFINES = $(DEFINES) -DNBDEBUG
+NBDEBUG_DEP = nbdebug.h nbdebug.c
+!endif
+!endif
+
+!ifdef XPM
+!if ("$(GUI)"=="yes")
+DEFINES = $(DEFINES) -DFEAT_XPM_W32
+INCLUDE = $(XPM)\include;$(INCLUDE)
+!endif
+!endif
+
!if ("$(USEDLL)"=="yes")
DEFINES = $(DEFINES) -D_RTLDLL
!endif