comparison src/Makefile @ 14:946da5994c01

updated for version 7.0006
author vimboss
date Mon, 05 Jul 2004 15:58:32 +0000
parents 24d5189d3956
children 3ba373b54370
comparison
equal deleted inserted replaced
13:24d5189d3956 14:946da5994c01
352 # DARWIN - detecting Mac OS X 352 # DARWIN - detecting Mac OS X
353 # Uncomment this line when you want to compile a Unix version of Vim on 353 # Uncomment this line when you want to compile a Unix version of Vim on
354 # Darwin. None of the Mac specific options or files will be used. 354 # Darwin. None of the Mac specific options or files will be used.
355 #CONF_OPT_DARWIN = --disable-darwin 355 #CONF_OPT_DARWIN = --disable-darwin
356 356
357 # PERL - For creating Vim with Perl interface 357 # PERL
358 # Uncomment this when you want to include the Perl interface. 358 # Uncomment this when you want to include the Perl interface.
359 # The Perl option sometimes causes problems, because it adds extra flags 359 # The Perl option sometimes causes problems, because it adds extra flags
360 # to the command line. If you see strange flags during compilation, check in 360 # to the command line. If you see strange flags during compilation, check in
361 # auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting 361 # auto/config.mk where they come from. If it's PERL_CFLAGS, try commenting
362 # the next line. 362 # the next line.
363 # When you get an error for a missing "perl.exp" file, try creating an emtpy 363 # When you get an error for a missing "perl.exp" file, try creating an emtpy
364 # one: "touch perl.exp". 364 # one: "touch perl.exp".
365 # This requires at least "small" features, "tiny" doesn't work. 365 # This requires at least "small" features, "tiny" doesn't work.
366 #CONF_OPT_PERL = --enable-perlinterp 366 #CONF_OPT_PERL = --enable-perlinterp
367 367
368 # PYTHON - For creating Vim with Python interface 368 # PYTHON
369 # Uncomment this when you want to include the Python interface. 369 # Uncomment this when you want to include the Python interface.
370 #CONF_OPT_PYTHON = --enable-pythoninterp 370 #CONF_OPT_PYTHON = --enable-pythoninterp
371 371
372 # TCL - For creating Vim with Tcl interface 372 # TCL
373 # Uncomment this when you want to include the Tcl interface. 373 # Uncomment this when you want to include the Tcl interface.
374 #CONF_OPT_TCL = --enable-tclinterp 374 #CONF_OPT_TCL = --enable-tclinterp
375 375
376 # RUBY - For creating Vim with Ruby interface 376 # RUBY
377 # Uncomment this when you want to include the Ruby interface. 377 # Uncomment this when you want to include the Ruby interface.
378 #CONF_OPT_RUBY = --enable-rubyinterp 378 #CONF_OPT_RUBY = --enable-rubyinterp
379 379
380 # CSCOPE - For creating Vim with Cscope interface 380 # MZSCHEME
381 # Uncomment this when you want to include the MzScheme interface.
382 #CONF_OPT_MZSCHEME = --enable-mzschemeinterp
383 # PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
384 #CONF_OPT_PLTHOME = --with-plthome=/usr/local/plt
385 #CONF_OPT_PLTHOME = --with-plthome=/usr/local/drscheme
386 #CONF_OPT_PLTHOME = --with-plthome=/home/me/mz
387
388 # CSCOPE
381 # Uncomment this when you want to include the Cscope interface. 389 # Uncomment this when you want to include the Cscope interface.
382 #CONF_OPT_CSCOPE = --enable-cscope 390 #CONF_OPT_CSCOPE = --enable-cscope
383 391
384 # WORKSHOP - Sun Visual Workshop interface. Only works with Motif! 392 # WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
385 #CONF_OPT_WORKSHOP = --enable-workshop 393 #CONF_OPT_WORKSHOP = --enable-workshop
1045 ### KDE GUI interface. 1053 ### KDE GUI interface.
1046 KDE_DIR = $(KDE_PREFIX) 1054 KDE_DIR = $(KDE_PREFIX)
1047 KDE_INCL = gui.h 1055 KDE_INCL = gui.h
1048 KDE_SRC = gui.c pty.c gui_kde.cc gui_kde_x11.cc gui_kde_widget.cc gui_kde_widget_moc.cc kvim_iface_skel.cc 1056 KDE_SRC = gui.c pty.c gui_kde.cc gui_kde_x11.cc gui_kde_widget.cc gui_kde_widget_moc.cc kvim_iface_skel.cc
1049 KDE_OBJ = objects/gui.o objects/pty.o objects/gui_kde.o objects/gui_kde_x11.o \ 1057 KDE_OBJ = objects/gui.o objects/pty.o objects/gui_kde.o objects/gui_kde_x11.o \
1050 objects/gui_kde_widget.o objects/gui_kde_widget_moc.o \ 1058 objects/gui_kde_widget.o objects/gui_kde_widget_moc.o \
1051 objects/kvim_iface_skel.o 1059 objects/kvim_iface_skel.o
1052 KDE_DEFS = -DFEAT_GUI_KDE $(NARROW_PROTO) 1060 KDE_DEFS = -DFEAT_GUI_KDE $(NARROW_PROTO)
1053 KDE_IPATH = $(GUI_INC_LOC) 1061 KDE_IPATH = $(GUI_INC_LOC)
1054 KDE_LIBS_DIR = $(GUI_LIB_LOC) 1062 KDE_LIBS_DIR = $(GUI_LIB_LOC)
1055 KDE_LIBS1 = 1063 KDE_LIBS1 =
1243 1251
1244 .SUFFIXES: 1252 .SUFFIXES:
1245 .SUFFIXES: .cc .c .o .pro 1253 .SUFFIXES: .cc .c .o .pro
1246 1254
1247 PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS) 1255 PRE_DEFS = -Iproto $(DEFS) $(GUI_DEFS) $(GUI_IPATH) $(CPPFLAGS) $(EXTRA_IPATHS)
1248 POST_DEFS = $(X_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS) 1256 POST_DEFS = $(X_CFLAGS) $(MZSCHEME_CFLAGS) $(PERL_CFLAGS) $(PYTHON_CFLAGS) $(TCL_CFLAGS) $(RUBY_CFLAGS) $(EXTRA_DEFS)
1249 1257
1250 ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS) 1258 ALL_CFLAGS = $(PRE_DEFS) $(CFLAGS) $(PROFILE_CFLAGS) $(POST_DEFS)
1251 1259
1252 LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca 1260 LINT_CFLAGS = -DLINT -I. $(PRE_DEFS) $(POST_DEFS) -Dinline= -D__extension__= -Dalloca=alloca
1253 1261
1254 DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS) 1262 DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
1255 1263
1256 PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS) 1264 PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
1257 1265
1258 ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR) 1266 ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
1259 ALL_LIBS = $(GUI_LIBS1) $(GUI_X_LIBS) $(GUI_LIBS2) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(LIBS) $(EXTRA_LIBS) $(PERL_LIBS) $(PYTHON_LIBS) $(TCL_LIBS) $(RUBY_LIBS) $(PROFILE_LIBS) 1267 ALL_LIBS = $(GUI_LIBS1) $(GUI_X_LIBS) $(GUI_LIBS2) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(LIBS) $(EXTRA_LIBS) $(MZSCHEME_LIBS) $(PERL_LIBS) $(PYTHON_LIBS) $(TCL_LIBS) $(RUBY_LIBS) $(PROFILE_LIBS)
1260 1268
1261 # abbreviations 1269 # abbreviations
1262 DEST_BIN = $(DESTDIR)$(BINDIR) 1270 DEST_BIN = $(DESTDIR)$(BINDIR)
1263 DEST_VIM = $(DESTDIR)$(VIMLOC) 1271 DEST_VIM = $(DESTDIR)$(VIMLOC)
1264 DEST_RT = $(DESTDIR)$(VIMRTLOC) 1272 DEST_RT = $(DESTDIR)$(VIMRTLOC)
1332 undo.c \ 1340 undo.c \
1333 version.c \ 1341 version.c \
1334 window.c \ 1342 window.c \
1335 $(OS_EXTRA_SRC) 1343 $(OS_EXTRA_SRC)
1336 1344
1337 SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(PERL_SRC) $(PYTHON_SRC) \ 1345 SRC = $(BASIC_SRC) $(GUI_SRC) $(HANGULIN_SRC) $(MZSCHEME_SRC) \
1338 $(TCL_SRC) $(RUBY_SRC) $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC) 1346 $(PERL_SRC) $(PYTHON_SRC) $(TCL_SRC) $(RUBY_SRC) \
1347 $(SNIFF_SRC) $(WORKSHOP_SRC) $(WSDEBUG_SRC)
1339 1348
1340 TAGS_SRC = *.c *.cpp *.cc if_perl.xs 1349 TAGS_SRC = *.c *.cpp *.cc if_perl.xs
1341 1350
1342 EXTRA_SRC = hangulin.c auto/if_perl.c if_perlsfio.c if_python.c if_tcl.c \ 1351 EXTRA_SRC = hangulin.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
1343 if_ruby.c if_sniff.c gui_beval.c \ 1352 if_python.c if_tcl.c if_ruby.c if_sniff.c gui_beval.c \
1344 workshop.c wsdebug.c integration.c netbeans.c 1353 workshop.c wsdebug.c integration.c netbeans.c
1345 1354
1346 # All sources, also the ones that are not configured 1355 # All sources, also the ones that are not configured
1347 ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC) 1356 ALL_SRC = $(BASIC_SRC) $(ALL_GUI_SRC) $(EXTRA_SRC)
1348 1357
1349 # Which files to check with lint. Select one of these three lines. ALL_SRC 1358 # Which files to check with lint. Select one of these three lines. ALL_SRC
1397 objects/term.o \ 1406 objects/term.o \
1398 objects/ui.o \ 1407 objects/ui.o \
1399 objects/undo.o \ 1408 objects/undo.o \
1400 objects/window.o \ 1409 objects/window.o \
1401 $(GUI_OBJ) \ 1410 $(GUI_OBJ) \
1411 $(MZSCHEME_OBJ) \
1402 $(PERL_OBJ) \ 1412 $(PERL_OBJ) \
1403 $(PYTHON_OBJ) \ 1413 $(PYTHON_OBJ) \
1404 $(TCL_OBJ) \ 1414 $(TCL_OBJ) \
1405 $(RUBY_OBJ) \ 1415 $(RUBY_OBJ) \
1406 $(OS_EXTRA_OBJ) \ 1416 $(OS_EXTRA_OBJ) \
1486 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \ 1496 $(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
1487 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \ 1497 $(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
1488 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \ 1498 $(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
1489 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \ 1499 $(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
1490 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \ 1500 $(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
1491 $(CONF_ARGS) 1501 $(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
1492 1502
1493 # Use "make reconfig" to rerun configure without cached values. 1503 # Use "make reconfig" to rerun configure without cached values.
1494 # When config.h changes, most things will be recompiled automatically. 1504 # When config.h changes, most things will be recompiled automatically.
1495 # Invoke $(MAKE) to run config with the empty auto/config.mk. 1505 # Invoke $(MAKE) to run config with the empty auto/config.mk.
1496 # Invoke $(MAKE) to build all with the filled auto/config.mk. 1506 # Invoke $(MAKE) to build all with the filled auto/config.mk.
2279 $(CCC) -o $@ if_cscope.c 2289 $(CCC) -o $@ if_cscope.c
2280 2290
2281 objects/if_xcmdsrv.o: if_xcmdsrv.c 2291 objects/if_xcmdsrv.o: if_xcmdsrv.c
2282 $(CCC) -o $@ if_xcmdsrv.c 2292 $(CCC) -o $@ if_xcmdsrv.c
2283 2293
2294 objects/if_mzsch.o: if_mzsch.c
2295 $(CCC) -o $@ if_mzsch.c
2296
2284 objects/if_perl.o: auto/if_perl.c 2297 objects/if_perl.o: auto/if_perl.c
2285 $(CCC) -o $@ auto/if_perl.c 2298 $(CCC) -o $@ auto/if_perl.c
2286 2299
2287 objects/if_perlsfio.o: if_perlsfio.c 2300 objects/if_perlsfio.o: if_perlsfio.c
2288 $(CCC) -o $@ if_perlsfio.c 2301 $(CCC) -o $@ if_perlsfio.c
2755 ex_cmds.h proto.h globals.h 2768 ex_cmds.h proto.h globals.h
2756 objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \ 2769 objects/hangulin.o: hangulin.c vim.h auto/config.h feature.h os_unix.h \
2757 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \ 2770 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2758 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \ 2771 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2759 globals.h farsi.h arabic.h 2772 globals.h farsi.h arabic.h
2773 objects/if_mzsch.o: if_mzsch.c vim.h auto/config.h feature.h os_unix.h \
2774 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2775 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2776 globals.h farsi.h arabic.h
2760 objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \ 2777 objects/if_perl.o: auto/if_perl.c vim.h auto/config.h feature.h os_unix.h \
2761 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \ 2778 auto/osdef.h ascii.h keymap.h term.h macros.h structs.h regexp.h \
2762 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \ 2779 gui.h gui_beval.h proto/gui_beval.pro option.h ex_cmds.h proto.h \
2763 globals.h farsi.h arabic.h 2780 globals.h farsi.h arabic.h
2764 objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \ 2781 objects/if_perlsfio.o: if_perlsfio.c vim.h auto/config.h feature.h os_unix.h \