Remove some unused Makefile.in variables.
[bpt/emacs.git] / oldXMenu / Makefile.in
CommitLineData
1e49ac15
GM
1## Makefile for oldXMenu
2
3## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
4
5## Permission to use, copy, modify, and distribute this
6## software and its documentation for any purpose and without
7## fee is hereby granted, provided that the above copyright
8## notice appear in all copies and that both that copyright
9## notice and this permission notice appear in supporting
10## documentation, and that the name of M.I.T. not be used in
11## advertising or publicity pertaining to distribution of the
12## software without specific, written prior permission.
13## M.I.T. makes no representations about the suitability of
14## this software for any purpose. It is provided "as is"
15## without express or implied warranty.
16
17
e3cf0cde
GM
18## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
19## 2010 Free Software Foundation, Inc.
1e49ac15 20
4eaa4034 21## This program is free software: you can redistribute it and/or modify
1e49ac15 22## it under the terms of the GNU General Public License as published by
4eaa4034
GM
23## the Free Software Foundation, either version 3 of the License, or
24## (at your option) any later version.
25
1e49ac15
GM
26## This program is distributed in the hope that it will be useful,
27## but WITHOUT ANY WARRANTY; without even the implied warranty of
28## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29## GNU General Public License for more details.
4eaa4034 30
1e49ac15 31## You should have received a copy of the GNU General Public License
4eaa4034 32## along with this program. If not, see <http://www.gnu.org/licenses/>.
1e49ac15
GM
33
34
35### Commentary:
36
37## To the best of our knowledge, this code was originally based on the
38## X11 oldXMenu Makefile, which was automatically generated from the
e3cf0cde 39## X11 oldXMenu Imakefile. There was no explicit copyright information
1e49ac15
GM
40## in the Imakefile, therefore we have added the same MIT license as
41## used by the rest of the oldXMenu code.
42
43
44### Code:
45
e745ede7
DL
46srcdir=@srcdir@
47VPATH=@srcdir@
48C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
ed6281b0 49C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
fa5e317a
GM
50C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
51C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
e745ede7
DL
52
53EXTRA=insque.o
54CC=@CC@
55CFLAGS=@CFLAGS@
e3cf0cde
GM
56TAGS = etags
57RM = rm -f
58RANLIB = ranlib
e745ede7 59# Solaris 2.1 ar doesn't accept the 'l' option.
e3cf0cde 60AR = ar cq
e745ede7
DL
61
62OBJS = Activate.o \
63 AddPane.o \
64 AddSel.o \
65 ChgPane.o \
66 ChgSel.o \
67 Create.o \
68 DelPane.o \
69 DelSel.o \
70 Destroy.o \
71 Error.o \
72 EvHand.o \
73 FindPane.o \
74 FindSel.o \
75 InsPane.o \
76 InsSel.o \
77 Internal.o \
78 Locate.o \
79 Post.o \
80 Recomp.o \
81 SetAEQ.o \
82 SetFrz.o \
83 SetPane.o \
84 SetSel.o \
85 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
86
87all:: libXMenu11.a
88
77ccee09 89ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
e769f484 90 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \
e745ede7
DL
91 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
92 -I../src -I${srcdir} -I${srcdir}/../src
93
94.c.o:
95 $(CC) -c ${ALL_CFLAGS} $<
96
97libXMenu11.a: $(OBJS) $(EXTRA)
98 $(RM) $@
99 $(AR) $@ $(OBJS) $(EXTRA)
100 @echo Do not be alarmed if the following ranlib command
101 @echo fails due to the absence of a ranlib program on your system.
102 -$(RANLIB) $@ || true
103#If running ranlib fails, probably there is none.
104#That's ok. So don't stop the build.
105
106Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
107AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
108AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
109ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
110ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
111Create.o: Create.c XMenuInt.h XMenu.h X10.h
112DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
113DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
114Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
115Error.o: Error.c XMenuInt.h XMenu.h X10.h
116EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
117FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
118FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
119InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
120InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
121Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
122Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
123Post.o: Post.c XMenuInt.h XMenu.h X10.h
124Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
125SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
126SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
127SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
128SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
129XDelAssoc.o: XDelAssoc.c X10.h
130XLookAssoc.o: XLookAssoc.c X10.h
131XCrAssoc.o: XCrAssoc.c X10.h
132XDestAssoc.o: XDestAssoc.c X10.h
133XMakeAssoc.o: XMakeAssoc.c X10.h
134insque.o: insque.c
135
136FRC.mostlyclean:
137mostlyclean: FRC.mostlyclean
138 rm -f libXMenu11.a ${OBJS} ${EXTRA}
139clean: mostlyclean
140distclean: clean
ee3ce9ff 141 rm -f Makefile
e745ede7
DL
142maintainer-clean: distclean
143
144tags::
145 $(TAGS) -t *.[ch]