implement --enable-threads and a thread-less mode
[emacs.git] / oldXMenu / Makefile.in
blobb08e6649cbd201cc7433a2e36321519b45623762
1 ### @configure_input@
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-2013 Free Software Foundation, Inc.
20 ## This program is free software: you can redistribute it and/or modify
21 ## it under the terms of the GNU General Public License as published by
22 ## the Free Software Foundation, either version 3 of the License, or
23 ## (at your option) any later version.
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.
30 ## You should have received a copy of the GNU General Public License
31 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
34 ### Commentary:
36 ## To the best of our knowledge, this code was originally based on the
37 ## X11 oldXMenu Makefile, which was automatically generated from the
38 ## X11 oldXMenu Imakefile. There was no explicit copyright information
39 ## in the Imakefile, therefore we have added the same MIT license as
40 ## used by the rest of the oldXMenu code.
43 ### Code:
45 srcdir=@srcdir@
46 VPATH=@srcdir@
47 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
48 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
49 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
50 PROFILING_CFLAGS = @PROFILING_CFLAGS@
51 WARN_CFLAGS = @WARN_CFLAGS@
52 WERROR_CFLAGS = @WERROR_CFLAGS@
54 EXTRA=insque.o
55 CC=@CC@
56 CFLAGS=@CFLAGS@
57 TAGS = etags
58 RM = rm -f
59 RANLIB = @RANLIB@
60 AR = @AR@
61 ARFLAGS = @ARFLAGS@
63 OBJS = 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
88 all:: libXMenu11.a
90 ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
91 $(C_SWITCH_X_SITE) \
92 $(WARN_CFLAGS) $(WERROR_CFLAGS) ${PROFILING_CFLAGS} \
93 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
94 -I../src -I../lib -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib
96 .c.o:
97 $(CC) -c ${ALL_CFLAGS} $<
99 libXMenu11.a: $(OBJS) $(EXTRA)
100 $(RM) $@
101 $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA)
102 $(RANLIB) $@
104 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h
105 AddPane.o: AddPane.c XMenuInt.h XMenu.h X10.h
106 AddSel.o: AddSel.c XMenuInt.h XMenu.h X10.h
107 ChgPane.o: ChgPane.c XMenuInt.h XMenu.h X10.h
108 ChgSel.o: ChgSel.c XMenuInt.h XMenu.h X10.h
109 Create.o: Create.c XMenuInt.h XMenu.h X10.h
110 DelPane.o: DelPane.c XMenuInt.h XMenu.h X10.h
111 DelSel.o: DelSel.c XMenuInt.h XMenu.h X10.h
112 Destroy.o: Destroy.c XMenuInt.h XMenu.h X10.h
113 Error.o: Error.c XMenuInt.h XMenu.h X10.h
114 EvHand.o: EvHand.c XMenuInt.h XMenu.h X10.h
115 FindPane.o: FindPane.c XMenuInt.h XMenu.h X10.h
116 FindSel.o: FindSel.c XMenuInt.h XMenu.h X10.h
117 InsPane.o: InsPane.c XMenuInt.h XMenu.h X10.h
118 InsSel.o: InsSel.c XMenuInt.h XMenu.h X10.h
119 Internal.o: Internal.c XMenuInt.h XMenu.h X10.h
120 Locate.o: Locate.c XMenuInt.h XMenu.h X10.h
121 Post.o: Post.c XMenuInt.h XMenu.h X10.h
122 Recomp.o: Recomp.c XMenuInt.h XMenu.h X10.h
123 SetAEQ.o: SetAEQ.c XMenuInt.h XMenu.h X10.h
124 SetFrz.o: SetFrz.c XMenuInt.h XMenu.h X10.h
125 SetPane.o: SetPane.c XMenuInt.h XMenu.h X10.h
126 SetSel.o: SetSel.c XMenuInt.h XMenu.h X10.h
127 XDelAssoc.o: XDelAssoc.c X10.h
128 XLookAssoc.o: XLookAssoc.c X10.h
129 XCrAssoc.o: XCrAssoc.c X10.h
130 XDestAssoc.o: XDestAssoc.c X10.h
131 XMakeAssoc.o: XMakeAssoc.c X10.h
132 insque.o: insque.c
134 FRC.mostlyclean:
135 mostlyclean: FRC.mostlyclean
136 rm -f libXMenu11.a ${OBJS} ${EXTRA}
137 clean: mostlyclean
138 distclean: clean
139 rm -f Makefile
140 maintainer-clean: distclean
142 tags::
143 $(TAGS) -t *.[ch]