Add xref-pulse-on-jump
[emacs.git] / lwlib / Makefile.in
blob1f332e92939d1de7f87c471fa6b7b5547aad32a4
1 ### @configure_input@
3 # Copyright (C) 1992, 1993 Lucid, Inc.
4 # Copyright (C) 1994, 2001-2015 Free Software Foundation, Inc.
6 # This file is part of the Lucid Widget Library.
8 # The Lucid Widget Library is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 1, or (at your option)
11 # any later version.
13 # The Lucid Widget Library is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
22 # This was taken from the output of Imake using Lucid's Imakefile.
23 # and set up to be configured by ../configure.
25 srcdir=@srcdir@
26 # MinGW CPPFLAGS may use this.
27 abs_top_srcdir=@abs_top_srcdir@
28 VPATH=@srcdir@
29 @SET_MAKE@
30 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
31 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
32 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
33 PROFILING_CFLAGS = @PROFILING_CFLAGS@
34 WARN_CFLAGS = `echo @WARN_CFLAGS@ | sed 's/ -Wwrite-strings//'`
35 WERROR_CFLAGS = @WERROR_CFLAGS@
37 CC=@CC@
38 CFLAGS=@CFLAGS@
39 CPPFLAGS=@CPPFLAGS@
40 RANLIB=@RANLIB@
42 AR = @AR@
43 ARFLAGS = @ARFLAGS@
44 MKDIR_P = @MKDIR_P@
46 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
47 MOTIF_OBJS = lwlib-Xm.o
49 ## LUCID_OBJS or MOTIF_OBJS.
50 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
52 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
54 # 'make' verbosity.
55 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
57 AM_V_CC = $(am__v_CC_@AM_V@)
58 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
59 am__v_CC_0 = @echo " CC " $@;
60 am__v_CC_1 =
62 AM_V_GEN = $(am__v_GEN_@AM_V@)
63 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
64 am__v_GEN_0 = @echo " GEN " $@;
65 am__v_GEN_1 =
67 AM_V_at = $(am__v_at_@AM_V@)
68 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
69 am__v_at_0 = @
70 am__v_at_1 =
72 DEPDIR = deps
73 ## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
74 DEPFLAGS = @DEPFLAGS@
75 ## ${MKDIR_P} ${DEPDIR} (if AUTO_DEPEND); else ':'.
76 MKDEPDIR = @MKDEPDIR@
78 ## ../src is where the generated file (config.h, globals.h) are.
79 ## $(srcdir)/../src is where the non-generated files (lisp.h) are.
80 ## (In an out-of-tree build, these two are not the same.)
81 ## $(srcdir) is where the lwlib sources are.
82 ## There are no generated lwlib files, hence no need for -I.
83 ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
84 $(C_SWITCH_MACHINE) $(DEPFLAGS) \
85 $(WARN_CFLAGS) $(WERROR_CFLAGS) $(PROFILING_CFLAGS) $(CFLAGS) \
86 -Demacs -I../src \
87 -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib
89 all: liblw.a
90 .PHONY: all
92 .c.o:
93 @$(MKDEPDIR)
94 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
96 liblw.a: $(OBJS)
97 $(AM_V_GEN)rm -f $@
98 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS)
99 $(AM_V_at)$(RANLIB) $@
101 globals_h = ../src/globals.h
102 $(globals_h):
103 $(MAKE) -C ../src globals.h
105 ## Insert either autodeps.mk (if AUTO_DEPEND), else deps.mk.
106 @lwlib_deps_frag@
108 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
110 clean mostlyclean:
111 rm -f *.o liblw.a \#*
112 -rm -rf ${DEPDIR}
114 distclean: clean
115 rm -f Makefile
117 bootstrap-clean maintainer-clean: distclean
118 rm -f TAGS
121 ETAGS = ../lib-src/etags
123 ctagsfiles= $(srcdir)/*.[ch]
125 TAGS: $(ctagsfiles)
126 "$(ETAGS)" $(ctagsfiles)
127 tags: TAGS
128 .PHONY: tags
131 ### Makefile.in ends here