Add new command gnus-article-sort-by-marks
[emacs.git] / lwlib / Makefile.in
blobd6a8f50ce747d71437b414162cbec82bcb662dad
1 ### @configure_input@
3 # Copyright (C) 1992, 1993 Lucid, Inc.
4 # Copyright (C) 1994, 2001-2017 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 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
30 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
31 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
32 PROFILING_CFLAGS = @PROFILING_CFLAGS@
33 WARN_CFLAGS = @WARN_CFLAGS@
34 WARN_CFLAGS := $(filter-out -Wwrite-strings,${WARN_CFLAGS})
35 WERROR_CFLAGS = @WERROR_CFLAGS@
36 CAIRO_CFLAGS= @CAIRO_CFLAGS@
38 CC=@CC@
39 CFLAGS=@CFLAGS@
40 CPPFLAGS=@CPPFLAGS@
41 RANLIB=@RANLIB@
43 AR = @AR@
44 ARFLAGS = @ARFLAGS@
45 MKDIR_P = @MKDIR_P@
46 EXEEXT = @EXEEXT@
48 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
49 MOTIF_OBJS = lwlib-Xm.o
51 ## LUCID_OBJS or MOTIF_OBJS.
52 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
54 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
56 # 'make' verbosity.
57 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
59 AM_V_CC = $(am__v_CC_@AM_V@)
60 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
61 am__v_CC_0 = @echo " CC " $@;
62 am__v_CC_1 =
64 AM_V_GEN = $(am__v_GEN_@AM_V@)
65 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
66 am__v_GEN_0 = @echo " GEN " $@;
67 am__v_GEN_1 =
69 AM_V_at = $(am__v_at_@AM_V@)
70 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
71 am__v_at_0 = @
72 am__v_at_1 =
74 DEPDIR = deps
75 AUTO_DEPEND = @AUTO_DEPEND@
77 ifeq ($(AUTO_DEPEND),yes)
78 DEPFLAGS = -MMD -MF ${DEPDIR}/$*.d -MP
79 MKDEPDIR = ${MKDIR_P} ${DEPDIR}
80 else
81 DEPFLAGS =
82 MKDEPDIR = :
83 endif
85 ## ../src is where the generated file (config.h, globals.h) are.
86 ## $(srcdir)/../src is where the non-generated files (lisp.h) are.
87 ## (In an out-of-tree build, these two are not the same.)
88 ## $(srcdir) is where the lwlib sources are.
89 ## There are no generated lwlib files, hence no need for -I.
90 ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
91 $(C_SWITCH_MACHINE) $(DEPFLAGS) \
92 $(WARN_CFLAGS) $(WERROR_CFLAGS) $(PROFILING_CFLAGS) $(CFLAGS) \
93 $(CAIRO_CFLAGS) \
94 -Demacs -I../src \
95 -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib
97 all: liblw.a
98 .PHONY: all
100 .c.o:
101 @$(MKDEPDIR)
102 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
104 liblw.a: $(OBJS)
105 $(AM_V_GEN)rm -f $@
106 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS)
107 $(AM_V_at)$(RANLIB) $@
109 globals_h = ../src/globals.h
110 $(globals_h):
111 $(MAKE) -C ../src globals.h
113 ifeq ($(AUTO_DEPEND),yes)
114 -include $(ALLOBJS:%.o=${DEPDIR}/%.d)
115 else
116 include $(srcdir)/deps.mk
117 endif
119 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
121 clean mostlyclean:
122 rm -f *.o liblw.a \#*
123 -rm -rf ${DEPDIR}
125 distclean: clean
126 rm -f Makefile
128 bootstrap-clean maintainer-clean: distclean
129 rm -f TAGS
131 ETAGS = ../lib-src/etags${EXEEXT}
133 ${ETAGS}: FORCE
134 ${MAKE} -C ../lib-src $(notdir $@)
136 ctagsfiles= $(wildcard ${srcdir}/*.[ch])
138 FORCE:
139 .PHONY: tags FORCE
140 tags: TAGS
141 TAGS: ${ETAGS} $(ctagsfiles)
142 ${ETAGS} $(ctagsfiles)
144 ### Makefile.in ends here