(calendar-holiday-list): Fix previous change.
[emacs.git] / oldXMenu / Makefile.in
blob3db3dfa2f9a8d786ee072f19d86e557a212c24fe
1 ## Makefile for oldXMenu
3 ## Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology
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.
18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
19 ## Free Software Foundation, Inc.
21 ## This program is free software; you can redistribute it and/or modify
22 ## it under the terms of the GNU General Public License as published by
23 ## the Free Software Foundation; either version 3, or (at your option)
24 ## any later version.
25 ##
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.
30 ##
31 ## You should have received a copy of the GNU General Public License
32 ## along with this program; see the file COPYING. If not, write to the
33 ## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
34 ## Boston, MA 02110-1301, USA.
37 ### Commentary:
39 ## To the best of our knowledge, this code was originally based on the
40 ## X11 oldXMenu Makefile, which was automatically generated from the
41 ## X11 oldXMenu Imakefile. There was no explicit copyright information
42 ## in the Imakefile, therefore we have added the same MIT license as
43 ## used by the rest of the oldXMenu code.
46 ### Code:
48 srcdir=@srcdir@
49 VPATH=@srcdir@
50 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
52 EXTRA=insque.o
53 CC=@CC@
54 CFLAGS=@CFLAGS@
55 CPP=@CPP@
56 LN_S=@LN_S@
57 AS = as
58 LD = ld
59 TAGS = etags
60 RM = rm -f
61 MV = mv
62 RANLIB = ranlib
63 # Solaris 2.1 ar doesn't accept the 'l' option.
64 AR = ar cq
65 LS = ls
66 LINTOPTS = -axz
67 LINTLIBFLAG = -C
68 MAKE = make
69 STD_DEFINES =
70 CDEBUGFLAGS = -O
71 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
72 tags TAGS make.log
74 OBJS = Activate.o \
75 AddPane.o \
76 AddSel.o \
77 ChgPane.o \
78 ChgSel.o \
79 Create.o \
80 DelPane.o \
81 DelSel.o \
82 Destroy.o \
83 Error.o \
84 EvHand.o \
85 FindPane.o \
86 FindSel.o \
87 InsPane.o \
88 InsSel.o \
89 Internal.o \
90 Locate.o \
91 Post.o \
92 Recomp.o \
93 SetAEQ.o \
94 SetFrz.o \
95 SetPane.o \
96 SetSel.o \
97 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
99 all:: libXMenu11.a
101 ALL_CFLAGS=$(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
102 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) $(C_SWITCH_X_MACHINE) \
103 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
104 -I../src -I${srcdir} -I${srcdir}/../src
106 .c.o:
107 $(CC) -c ${ALL_CFLAGS} $<
109 libXMenu11.a: $(OBJS) $(EXTRA)
110 $(RM) $@
111 $(AR) $@ $(OBJS) $(EXTRA)
112 @echo Do not be alarmed if the following ranlib command
113 @echo fails due to the absence of a ranlib program on your system.
114 -$(RANLIB) $@ || true
115 #If running ranlib fails, probably there is none.
116 #That's ok. So don't stop the build.
118 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
119 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
120 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
121 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
122 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
123 Create.o: Create.c XMenuInt.h XMenu.h X10.h
124 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
125 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
126 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
127 Error.o: Error.c XMenuInt.h XMenu.h X10.h
128 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
129 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
130 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
131 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
132 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
133 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
134 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
135 Post.o: Post.c XMenuInt.h XMenu.h X10.h
136 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
137 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
138 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
139 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
140 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
141 XDelAssoc.o: XDelAssoc.c X10.h
142 XLookAssoc.o: XLookAssoc.c X10.h
143 XCrAssoc.o: XCrAssoc.c X10.h
144 XDestAssoc.o: XDestAssoc.c X10.h
145 XMakeAssoc.o: XMakeAssoc.c X10.h
146 insque.o: insque.c
148 FRC.mostlyclean:
149 mostlyclean: FRC.mostlyclean
150 rm -f libXMenu11.a ${OBJS} ${EXTRA}
151 clean: mostlyclean
152 distclean: clean
153 rm -f Makefile
154 maintainer-clean: distclean
156 tags::
157 $(TAGS) -t *.[ch]