Merge from emacs-23
[bpt/emacs.git] / oldXMenu / Makefile.in
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
18 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
19 ## 2010 Free Software Foundation, Inc.
20
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 of the License, or
24 ## (at your option) 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. If not, see <http://www.gnu.org/licenses/>.
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
46 srcdir=@srcdir@
47 VPATH=@srcdir@
48 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
49 C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@
50 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
51 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
52
53 EXTRA=insque.o
54 CC=@CC@
55 CFLAGS=@CFLAGS@
56 TAGS = etags
57 RM = rm -f
58 RANLIB = @RANLIB@
59 # Solaris 2.1 ar doesn't accept the 'l' option.
60 AR = ar cq
61
62 OBJS = 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
87 all:: libXMenu11.a
88
89 ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
90 $(C_SWITCH_X_SITE) $(C_SWITCH_X_SYSTEM) \
91 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
92 -I../src -I${srcdir} -I${srcdir}/../src
93
94 .c.o:
95 $(CC) -c ${ALL_CFLAGS} $<
96
97 libXMenu11.a: $(OBJS) $(EXTRA)
98 $(RM) $@
99 $(AR) $@ $(OBJS) $(EXTRA)
100 $(RANLIB) $@
101
102 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
103 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
104 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
105 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
106 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
107 Create.o: Create.c XMenuInt.h XMenu.h X10.h
108 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
109 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
110 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
111 Error.o: Error.c XMenuInt.h XMenu.h X10.h
112 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
113 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
114 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
115 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
116 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
117 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
118 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
119 Post.o: Post.c XMenuInt.h XMenu.h X10.h
120 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
121 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
122 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
123 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
124 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
125 XDelAssoc.o: XDelAssoc.c X10.h
126 XLookAssoc.o: XLookAssoc.c X10.h
127 XCrAssoc.o: XCrAssoc.c X10.h
128 XDestAssoc.o: XDestAssoc.c X10.h
129 XMakeAssoc.o: XMakeAssoc.c X10.h
130 insque.o: insque.c
131
132 FRC.mostlyclean:
133 mostlyclean: FRC.mostlyclean
134 rm -f libXMenu11.a ${OBJS} ${EXTRA}
135 clean: mostlyclean
136 distclean: clean
137 rm -f Makefile
138 maintainer-clean: distclean
139
140 tags::
141 $(TAGS) -t *.[ch]