Mercurial > emacs
annotate oldXMenu/Makefile.in @ 108550:339bb0f23bf9
merge trunk
author | Kenichi Handa <handa@etlken> |
---|---|
date | Thu, 06 May 2010 09:50:39 +0900 |
parents | a13ac113e6f6 |
children | 39e86d46390a |
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 |
106815 | 18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
76172
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 |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
21 ## This program is free software: you can redistribute it and/or modify |
76172
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 |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
23 ## the Free Software Foundation, either version 3 of the License, or |
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
24 ## (at your option) any later version. |
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
25 |
76172
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. |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
30 |
76172
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 |
94791
3765d76f7fa8
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79743
diff
changeset
|
32 ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
76172
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
33 |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
34 |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
35 ### Commentary: |
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 ## 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
|
38 ## X11 oldXMenu Makefile, which was automatically generated from the |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
39 ## X11 oldXMenu Imakefile. There was no explicit copyright information |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
40 ## 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
|
41 ## used by the rest of the oldXMenu code. |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
42 |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
43 |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
44 ### Code: |
4c7031ffe8e3
Add MIT copyright and license.
Glenn Morris <rgm@gnu.org>
parents:
76168
diff
changeset
|
45 |
25858 | 46 srcdir=@srcdir@ |
47 VPATH=@srcdir@ | |
48 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | |
108129 | 49 C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ |
108232
a13ac113e6f6
Yet another missing piece of C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
50 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@ |
a13ac113e6f6
Yet another missing piece of C_SWITCH commit.
Glenn Morris <rgm@gnu.org>
parents:
108129
diff
changeset
|
51 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@ |
25858 | 52 |
53 EXTRA=insque.o | |
54 CC=@CC@ | |
55 CFLAGS=@CFLAGS@ | |
56 CPP=@CPP@ | |
57 LN_S=@LN_S@ | |
58 AS = as | |
59 LD = ld | |
60 TAGS = etags | |
61 RM = rm -f | |
62 MV = mv | |
63 RANLIB = ranlib | |
64 # Solaris 2.1 ar doesn't accept the 'l' option. | |
65 AR = ar cq | |
66 LS = ls | |
67 LINTOPTS = -axz | |
68 LINTLIBFLAG = -C | |
69 MAKE = make | |
70 STD_DEFINES = | |
71 CDEBUGFLAGS = -O | |
72 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \ | |
73 tags TAGS make.log | |
74 | |
75 OBJS = Activate.o \ | |
76 AddPane.o \ | |
77 AddSel.o \ | |
78 ChgPane.o \ | |
79 ChgSel.o \ | |
80 Create.o \ | |
81 DelPane.o \ | |
82 DelSel.o \ | |
83 Destroy.o \ | |
84 Error.o \ | |
85 EvHand.o \ | |
86 FindPane.o \ | |
87 FindSel.o \ | |
88 InsPane.o \ | |
89 InsSel.o \ | |
90 Internal.o \ | |
91 Locate.o \ | |
92 Post.o \ | |
93 Recomp.o \ | |
94 SetAEQ.o \ | |
95 SetFrz.o \ | |
96 SetPane.o \ | |
97 SetSel.o \ | |
98 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o | |
99 | |
100 all:: libXMenu11.a | |
101 | |
96923
d89afa2b4c2f
* config.in: Regenerate.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
94791
diff
changeset
|
102 ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \ |
108094
7a80cd5e5722
* Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
107830
diff
changeset
|
103 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \ |
25858 | 104 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \ |
105 -I../src -I${srcdir} -I${srcdir}/../src | |
106 | |
107 .c.o: | |
108 $(CC) -c ${ALL_CFLAGS} $< | |
109 | |
110 libXMenu11.a: $(OBJS) $(EXTRA) | |
111 $(RM) $@ | |
112 $(AR) $@ $(OBJS) $(EXTRA) | |
113 @echo Do not be alarmed if the following ranlib command | |
114 @echo fails due to the absence of a ranlib program on your system. | |
115 -$(RANLIB) $@ || true | |
116 #If running ranlib fails, probably there is none. | |
117 #That's ok. So don't stop the build. | |
118 | |
119 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h | |
120 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h | |
121 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h | |
122 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h | |
123 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h | |
124 Create.o: Create.c XMenuInt.h XMenu.h X10.h | |
125 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h | |
126 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h | |
127 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h | |
128 Error.o: Error.c XMenuInt.h XMenu.h X10.h | |
129 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h | |
130 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h | |
131 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h | |
132 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h | |
133 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h | |
134 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h | |
135 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h | |
136 Post.o: Post.c XMenuInt.h XMenu.h X10.h | |
137 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h | |
138 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h | |
139 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h | |
140 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h | |
141 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h | |
142 XDelAssoc.o: XDelAssoc.c X10.h | |
143 XLookAssoc.o: XLookAssoc.c X10.h | |
144 XCrAssoc.o: XCrAssoc.c X10.h | |
145 XDestAssoc.o: XDestAssoc.c X10.h | |
146 XMakeAssoc.o: XMakeAssoc.c X10.h | |
147 insque.o: insque.c | |
148 | |
149 FRC.mostlyclean: | |
150 mostlyclean: FRC.mostlyclean | |
151 rm -f libXMenu11.a ${OBJS} ${EXTRA} | |
152 clean: mostlyclean | |
153 distclean: clean | |
76168 | 154 rm -f Makefile |
25858 | 155 maintainer-clean: distclean |
156 | |
157 tags:: | |
158 $(TAGS) -t *.[ch] |