annotate nt/makefile.nt @ 11436:9829d3c035f2

(x_term_init): Call XtSetLanguageProc only if HAVE_X11XTR6. (XTread_socket): Pass dpyinfo to popup_get_selection. (XTread_socket): For ConfigureNotify, combine the USE_X_TOOLKIT and non-toolkit cases, which provides some things that were missing in the former.
author Richard M. Stallman <rms@gnu.org>
date Fri, 14 Apr 1995 03:58:51 +0000
parents 306b976d73bf
children 1877e9736ea1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11401
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2 # Top level makefile for building GNU Emacs on Windows NT
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4 # This file is part of GNU Emacs.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 # GNU Emacs is free software; you can redistribute it and/or modify
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 # it under the terms of the GNU General Public License as published by
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 # the Free Software Foundation; either version 2, or (at your option)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 # any later version.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 # GNU Emacs is distributed in the hope that it will be useful,
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 # GNU General Public License for more details.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 # You should have received a copy of the GNU General Public License
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 # along with GNU Emacs; see the file COPYING. If not, write to
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 # Geoff Voelker (voelker@cs.washington.edu) 11-20-93
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 # 9-6-94
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 !include makefile.def
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24 SUBDIRS = lib-src src lisp
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 # Build emacs
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29 all:; for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt all
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32 # Build and install emacs in INSTALL_DIR
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34 install: all
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35 - mkdir $(INSTALL_DIR)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt install
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37 - $(CP) emacs.bat $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
38 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 echo SameDirTest > ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41 if not exist $(INSTALL_DIR)\same-dir.tst $(MAKE) -f makefile.nt real_install
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
46 # This installs executables from ..\bin into the installation directory
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
47 # without building anything.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
48 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
49 fast_install:
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
50 - mkdir $(INSTALL_DIR)\data
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
51 $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
52 - mkdir $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
53 - $(CP) emacs.bat $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
54 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
55 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
56 echo SameDirTest > ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
57 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
58 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
59 if not exist $(INSTALL_DIR)\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
60 if not exist $(INSTALL_DIR)\same-dir.tst nmake -f $(MAKE) real_install
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
61 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
62 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
63
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
64 real_install:
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
65 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
66 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
67 echo SameDirTest > ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
68 - mkdir $(INSTALL_DIR)\etc
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
69 - mkdir $(INSTALL_DIR)\info
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
70 - mkdir $(INSTALL_DIR)\lock
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
71 - mkdir $(INSTALL_DIR)\data
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
72 if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
73 if not exist $(INSTALL_DIR)\nt\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
74 - del /q ..\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
75 - del /q $(INSTALL_DIR)\same-dir.tst
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
76
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
77 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
78 # Maintenance
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
79 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
80 clean:; - del /q /s *~
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
81 - $(DEL_TREE) deleted
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
82 - $(DEL_TREE) ..\bin
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
83 for %%f in ( $(SUBDIRS) ) do cd ..\%%f & $(MAKE) -f makefile.nt clean