declare smobs in alloc.c
[bpt/emacs.git] / oldXMenu / Makefile.in
1 ### @configure_input@
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-2014 Free Software Foundation, Inc.
19
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.
24
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.
29
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/>.
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
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.
41
42
43 ### Code:
44
45 srcdir=@srcdir@
46 # MinGW CPPFLAGS may use this.
47 abs_top_srcdir=@abs_top_srcdir@
48 VPATH=@srcdir@
49 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
50 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
51 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
52 PROFILING_CFLAGS = @PROFILING_CFLAGS@
53 WARN_CFLAGS = @WARN_CFLAGS@
54 WERROR_CFLAGS = @WERROR_CFLAGS@
55
56 EXTRA=insque.o
57 CC=@CC@
58 CFLAGS=@CFLAGS@
59 CPPFLAGS = @CPPFLAGS@
60
61 TAGS = etags
62 RM = rm -f
63 RANLIB = @RANLIB@
64 AR = @AR@
65 ARFLAGS = @ARFLAGS@
66 MKDIR_P = @MKDIR_P@
67
68 OBJS = Activate.o \
69 AddPane.o \
70 AddSel.o \
71 ChgPane.o \
72 ChgSel.o \
73 Create.o \
74 DelPane.o \
75 DelSel.o \
76 Destroy.o \
77 Error.o \
78 EvHand.o \
79 FindPane.o \
80 FindSel.o \
81 InsPane.o \
82 InsSel.o \
83 Internal.o \
84 Locate.o \
85 Post.o \
86 Recomp.o \
87 SetAEQ.o \
88 SetFrz.o \
89 SetPane.o \
90 SetSel.o \
91 XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o
92
93 all: libXMenu11.a
94 .PHONY: all
95
96 DEPDIR = deps
97 ## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
98 DEPFLAGS = @DEPFLAGS@
99 ## ${MKDIR_P} ${DEPDIR} (if AUTO_DEPEND); else ':'.
100 MKDEPDIR = @MKDEPDIR@
101
102 ALL_CFLAGS=$(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) \
103 $(C_SWITCH_X_SITE) $(DEPFLAGS) \
104 $(WARN_CFLAGS) $(WERROR_CFLAGS) ${PROFILING_CFLAGS} \
105 $(CPPFLAGS) $(CFLAGS) -DEMACS_BITMAP_FILES \
106 -I../src -I../lib -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib
107
108 .c.o:
109 @$(MKDEPDIR)
110 $(CC) -c ${ALL_CFLAGS} $<
111
112 libXMenu11.a: $(OBJS) $(EXTRA)
113 $(RM) $@
114 $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA)
115 $(RANLIB) $@
116
117 ## Insert either autodeps.mk (if AUTO_DEPEND), else deps.mk.
118 @oldxmenu_deps_frag@
119
120 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
121
122 clean mostlyclean:
123 rm -f libXMenu11.a ${OBJS} ${EXTRA}
124 -rm -rf ${DEPDIR}
125
126 bootstrap-clean maintainer-clean distclean: clean
127 rm -f Makefile
128
129 .PHONY: tags
130 tags:
131 $(TAGS) -t *.[ch]
132
133 ### Makefile.in ends here