Merge from trunk after a lot of time.
[bpt/emacs.git] / oldXMenu / Makefile.in
CommitLineData
bbece175 1### @configure_input@
1e49ac15
GM
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
ab422c4d 18## Copyright (C) 2001-2013 Free Software Foundation, Inc.
1e49ac15 19
4eaa4034 20## This program is free software: you can redistribute it and/or modify
1e49ac15 21## it under the terms of the GNU General Public License as published by
4eaa4034
GM
22## the Free Software Foundation, either version 3 of the License, or
23## (at your option) any later version.
24
1e49ac15
GM
25## This program is distributed in the hope that it will be useful,
26## but WITHOUT ANY WARRANTY; without even the implied warranty of
27## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28## GNU General Public License for more details.
4eaa4034 29
1e49ac15 30## You should have received a copy of the GNU General Public License
4eaa4034 31## along with this program. If not, see <http://www.gnu.org/licenses/>.
1e49ac15
GM
32
33
34### Commentary:
35
36## To the best of our knowledge, this code was originally based on the
37## X11 oldXMenu Makefile, which was automatically generated from the
e3cf0cde 38## X11 oldXMenu Imakefile. There was no explicit copyright information
1e49ac15
GM
39## in the Imakefile, therefore we have added the same MIT license as
40## used by the rest of the oldXMenu code.
41
42
43### Code:
44
e745ede7
DL
45srcdir=@srcdir@
46VPATH=@srcdir@
47C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
fa5e317a
GM
48C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
49C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
e6cfa7c3 50PROFILING_CFLAGS = @PROFILING_CFLAGS@
b8df54ff
PE
51WARN_CFLAGS = @WARN_CFLAGS@
52WERROR_CFLAGS = @WERROR_CFLAGS@
e745ede7
DL
53
54EXTRA=insque.o
55CC=@CC@
56CFLAGS=@CFLAGS@
e3cf0cde
GM
57TAGS = etags
58RM = rm -f
e49dca3d 59RANLIB = @RANLIB@
150798c5
UM
60AR = @AR@
61ARFLAGS = @ARFLAGS@
e745ede7
DL
62
63OBJS = Activate.o \
64 AddPane.o \
65 AddSel.o \
66 ChgPane.o \
67 ChgSel.o \
68 Create.o \
69 DelPane.o \
70 DelSel.o \
71 Destroy.o \
72 Error.o \
73 EvHand.o \
74 FindPane.o \
75 FindSel.o \
76 InsPane.o \
77 InsSel.o \
78 Internal.o \
79 Locate.o \
80 Post.o \
81 Recomp.o \
82 SetAEQ.o \
83 SetFrz.o \
84 SetPane.o \
85 SetSel.o \
86 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
87
224e313d
PE
88all: libXMenu11.a
89.PHONY: all
e745ede7 90
77ccee09 91ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
2f097256 92 $(C_SWITCH_X_SITE) \
bdf35b6a 93 $(WARN_CFLAGS) $(WERROR_CFLAGS) ${PROFILING_CFLAGS} \
e745ede7 94 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
414e642c 95 -I../src -I../lib -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib
e745ede7
DL
96
97.c.o:
98 $(CC) -c ${ALL_CFLAGS} $<
99
100libXMenu11.a: $(OBJS) $(EXTRA)
101 $(RM) $@
150798c5 102 $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA)
e49dca3d 103 $(RANLIB) $@
e745ede7
DL
104
105Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
106AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
107AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
108ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
109ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
110Create.o: Create.c XMenuInt.h XMenu.h X10.h
111DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
112DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
113Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
114Error.o: Error.c XMenuInt.h XMenu.h X10.h
115EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
116FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
117FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
118InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
119InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
120Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
121Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
122Post.o: Post.c XMenuInt.h XMenu.h X10.h
123Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
124SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
125SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
126SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
127SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
128XDelAssoc.o: XDelAssoc.c X10.h
129XLookAssoc.o: XLookAssoc.c X10.h
130XCrAssoc.o: XCrAssoc.c X10.h
131XDestAssoc.o: XDestAssoc.c X10.h
132XMakeAssoc.o: XMakeAssoc.c X10.h
133insque.o: insque.c
134
135FRC.mostlyclean:
136mostlyclean: FRC.mostlyclean
137 rm -f libXMenu11.a ${OBJS} ${EXTRA}
138clean: mostlyclean
139distclean: clean
ee3ce9ff 140 rm -f Makefile
e745ede7
DL
141maintainer-clean: distclean
142
224e313d 143tags:
e745ede7 144 $(TAGS) -t *.[ch]
224e313d 145.PHONY: tags