Add 2011 to FSF/AIST copyright years.
[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
5df4f04c 18## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
1e49ac15
GM
19## Free Software Foundation, Inc.
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
39## X11 oldXMenu Imakefile. There was no explicit copyright information
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@
49
50EXTRA=insque.o
51CC=@CC@
52CFLAGS=@CFLAGS@
53CPP=@CPP@
54LN_S=@LN_S@
55 AS = as
56 LD = ld
57 TAGS = etags
58 RM = rm -f
59 MV = mv
60 RANLIB = ranlib
61# Solaris 2.1 ar doesn't accept the 'l' option.
62 AR = ar cq
63 LS = ls
64 LINTOPTS = -axz
65 LINTLIBFLAG = -C
66 MAKE = make
67 STD_DEFINES =
68 CDEBUGFLAGS = -O
69 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
70 tags TAGS make.log
71
72OBJS = Activate.o \
73 AddPane.o \
74 AddSel.o \
75 ChgPane.o \
76 ChgSel.o \
77 Create.o \
78 DelPane.o \
79 DelSel.o \
80 Destroy.o \
81 Error.o \
82 EvHand.o \
83 FindPane.o \
84 FindSel.o \
85 InsPane.o \
86 InsSel.o \
87 Internal.o \
88 Locate.o \
89 Post.o \
90 Recomp.o \
91 SetAEQ.o \
92 SetFrz.o \
93 SetPane.o \
94 SetSel.o \
95 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
96
97all:: libXMenu11.a
98
77ccee09 99ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
e745ede7
DL
100 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
101 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
102 -I../src -I${srcdir} -I${srcdir}/../src
103
104.c.o:
105 $(CC) -c ${ALL_CFLAGS} $<
106
107libXMenu11.a: $(OBJS) $(EXTRA)
108 $(RM) $@
109 $(AR) $@ $(OBJS) $(EXTRA)
110 @echo Do not be alarmed if the following ranlib command
111 @echo fails due to the absence of a ranlib program on your system.
112 -$(RANLIB) $@ || true
113#If running ranlib fails, probably there is none.
114#That's ok. So don't stop the build.
115
116Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
117AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
118AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
119ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
120ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
121Create.o: Create.c XMenuInt.h XMenu.h X10.h
122DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
123DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
124Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
125Error.o: Error.c XMenuInt.h XMenu.h X10.h
126EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
127FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
128FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
129InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
130InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
131Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
132Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
133Post.o: Post.c XMenuInt.h XMenu.h X10.h
134Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
135SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
136SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
137SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
138SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
139XDelAssoc.o: XDelAssoc.c X10.h
140XLookAssoc.o: XLookAssoc.c X10.h
141XCrAssoc.o: XCrAssoc.c X10.h
142XDestAssoc.o: XDestAssoc.c X10.h
143XMakeAssoc.o: XMakeAssoc.c X10.h
144insque.o: insque.c
145
146FRC.mostlyclean:
147mostlyclean: FRC.mostlyclean
148 rm -f libXMenu11.a ${OBJS} ${EXTRA}
149clean: mostlyclean
150distclean: clean
ee3ce9ff 151 rm -f Makefile
e745ede7
DL
152maintainer-clean: distclean
153
154tags::
155 $(TAGS) -t *.[ch]