annotate oldXMenu/Makefile.in @ 85414:f79d3fec6de7

(encoded-kbd-setup-display): Be careful not to remove keymaps that just happen to inherit from one of ours. When setting up our keymap, make sure it won't be accidentally modified by someone else.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 18 Oct 2007 18:53:28 +0000
parents 95361d2f1ff8
children 43c5da03890c f55f9811f5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
1 ## Makefile for oldXMenu
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
2
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
3 ## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
4
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
5 ## Permission to use, copy, modify, and distribute this
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
6 ## software and its documentation for any purpose and without
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
7 ## fee is hereby granted, provided that the above copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
8 ## notice appear in all copies and that both that copyright
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
9 ## notice and this permission notice appear in supporting
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
10 ## documentation, and that the name of M.I.T. not be used in
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
11 ## advertising or publicity pertaining to distribution of the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
12 ## software without specific, written prior permission.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
13 ## M.I.T. makes no representations about the suitability of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
14 ## this software for any purpose. It is provided "as is"
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
15 ## without express or implied warranty.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
16
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
17
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
19 ## Free Software Foundation, Inc.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
20
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
21 ## This program is free software; you can redistribute it and/or modify
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
22 ## it under the terms of the GNU General Public License as published by
78306
95361d2f1ff8 Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 76172
diff changeset
23 ## the Free Software Foundation; either version 3, or (at your option)
76172
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
24 ## any later version.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
25 ##
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
26 ## This program is distributed in the hope that it will be useful,
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
27 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
28 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
29 ## GNU General Public License for more details.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
30 ##
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
31 ## You should have received a copy of the GNU General Public License
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
32 ## along with this program; see the file COPYING. If not, write to the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
33 ## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
34 ## Boston, MA 02110-1301, USA.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
35
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
36
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
37 ### Commentary:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
38
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
39 ## To the best of our knowledge, this code was originally based on the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
40 ## X11 oldXMenu Makefile, which was automatically generated from the
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
41 ## X11 oldXMenu Imakefile. There was no explicit copyright information
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
42 ## in the Imakefile, therefore we have added the same MIT license as
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
43 ## used by the rest of the oldXMenu code.
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
44
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
45
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
46 ### Code:
4c7031ffe8e3 Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents: 76168
diff changeset
47
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
48 srcdir=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
49 VPATH=@srcdir@
Dave Love <fx@gnu.org>
parents:
diff changeset
50 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
Dave Love <fx@gnu.org>
parents:
diff changeset
51
Dave Love <fx@gnu.org>
parents:
diff changeset
52 EXTRA=insque.o
Dave Love <fx@gnu.org>
parents:
diff changeset
53 CC=@CC@
Dave Love <fx@gnu.org>
parents:
diff changeset
54 CFLAGS=@CFLAGS@
Dave Love <fx@gnu.org>
parents:
diff changeset
55 CPP=@CPP@
Dave Love <fx@gnu.org>
parents:
diff changeset
56 LN_S=@LN_S@
Dave Love <fx@gnu.org>
parents:
diff changeset
57 AS = as
Dave Love <fx@gnu.org>
parents:
diff changeset
58 LD = ld
Dave Love <fx@gnu.org>
parents:
diff changeset
59 TAGS = etags
Dave Love <fx@gnu.org>
parents:
diff changeset
60 RM = rm -f
Dave Love <fx@gnu.org>
parents:
diff changeset
61 MV = mv
Dave Love <fx@gnu.org>
parents:
diff changeset
62 RANLIB = ranlib
Dave Love <fx@gnu.org>
parents:
diff changeset
63 # Solaris 2.1 ar doesn't accept the 'l' option.
Dave Love <fx@gnu.org>
parents:
diff changeset
64 AR = ar cq
Dave Love <fx@gnu.org>
parents:
diff changeset
65 LS = ls
Dave Love <fx@gnu.org>
parents:
diff changeset
66 LINTOPTS = -axz
Dave Love <fx@gnu.org>
parents:
diff changeset
67 LINTLIBFLAG = -C
Dave Love <fx@gnu.org>
parents:
diff changeset
68 MAKE = make
Dave Love <fx@gnu.org>
parents:
diff changeset
69 STD_DEFINES =
Dave Love <fx@gnu.org>
parents:
diff changeset
70 CDEBUGFLAGS = -O
Dave Love <fx@gnu.org>
parents:
diff changeset
71 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
Dave Love <fx@gnu.org>
parents:
diff changeset
72 tags TAGS make.log
Dave Love <fx@gnu.org>
parents:
diff changeset
73
Dave Love <fx@gnu.org>
parents:
diff changeset
74 OBJS = Activate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
75 AddPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
76 AddSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
77 ChgPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
78 ChgSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
79 Create.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
80 DelPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
81 DelSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
82 Destroy.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
83 Error.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
84 EvHand.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
85 FindPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
86 FindSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
87 InsPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
88 InsSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
89 Internal.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
90 Locate.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
91 Post.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
92 Recomp.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
93 SetAEQ.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
94 SetFrz.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
95 SetPane.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
96 SetSel.o \
Dave Love <fx@gnu.org>
parents:
diff changeset
97 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 all:: libXMenu11.a
Dave Love <fx@gnu.org>
parents:
diff changeset
100
Dave Love <fx@gnu.org>
parents:
diff changeset
101 ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
Dave Love <fx@gnu.org>
parents:
diff changeset
102 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
Dave Love <fx@gnu.org>
parents:
diff changeset
103 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
Dave Love <fx@gnu.org>
parents:
diff changeset
104 -I../src -I${srcdir} -I${srcdir}/../src
Dave Love <fx@gnu.org>
parents:
diff changeset
105
Dave Love <fx@gnu.org>
parents:
diff changeset
106 .c.o:
Dave Love <fx@gnu.org>
parents:
diff changeset
107 $(CC) -c ${ALL_CFLAGS} $<
Dave Love <fx@gnu.org>
parents:
diff changeset
108
Dave Love <fx@gnu.org>
parents:
diff changeset
109 libXMenu11.a: $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
110 $(RM) $@
Dave Love <fx@gnu.org>
parents:
diff changeset
111 $(AR) $@ $(OBJS) $(EXTRA)
Dave Love <fx@gnu.org>
parents:
diff changeset
112 @echo Do not be alarmed if the following ranlib command
Dave Love <fx@gnu.org>
parents:
diff changeset
113 @echo fails due to the absence of a ranlib program on your system.
Dave Love <fx@gnu.org>
parents:
diff changeset
114 -$(RANLIB) $@ || true
Dave Love <fx@gnu.org>
parents:
diff changeset
115 #If running ranlib fails, probably there is none.
Dave Love <fx@gnu.org>
parents:
diff changeset
116 #That's ok. So don't stop the build.
Dave Love <fx@gnu.org>
parents:
diff changeset
117
Dave Love <fx@gnu.org>
parents:
diff changeset
118 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
119 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
120 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
121 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
122 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
123 Create.o: Create.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
124 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
125 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
126 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
127 Error.o: Error.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
128 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
129 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
130 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
131 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
132 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
133 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
134 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
135 Post.o: Post.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
136 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
137 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
138 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
139 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
140 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
141 XDelAssoc.o: XDelAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
142 XLookAssoc.o: XLookAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
143 XCrAssoc.o: XCrAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
144 XDestAssoc.o: XDestAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
145 XMakeAssoc.o: XMakeAssoc.c X10.h
Dave Love <fx@gnu.org>
parents:
diff changeset
146 insque.o: insque.c
Dave Love <fx@gnu.org>
parents:
diff changeset
147
Dave Love <fx@gnu.org>
parents:
diff changeset
148 FRC.mostlyclean:
Dave Love <fx@gnu.org>
parents:
diff changeset
149 mostlyclean: FRC.mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
150 rm -f libXMenu11.a ${OBJS} ${EXTRA}
Dave Love <fx@gnu.org>
parents:
diff changeset
151 clean: mostlyclean
Dave Love <fx@gnu.org>
parents:
diff changeset
152 distclean: clean
76168
1be79dda87d7 (distclean): Remove Makefile.
Glenn Morris <rgm@gnu.org>
parents: 56026
diff changeset
153 rm -f Makefile
25858
Dave Love <fx@gnu.org>
parents:
diff changeset
154 maintainer-clean: distclean
Dave Love <fx@gnu.org>
parents:
diff changeset
155
Dave Love <fx@gnu.org>
parents:
diff changeset
156 tags::
Dave Love <fx@gnu.org>
parents:
diff changeset
157 $(TAGS) -t *.[ch]