* test/lisp/net/tramp-tests.el (tramp-test17-dired-with-wildcards): New test.
[emacs.git] / lwlib / Makefile.in
blobee7a2040e890e5bb1ecad15250ba743d5c6ce247
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 all: liblw.a
26 .PHONY: all
28 srcdir=@srcdir@
29 # MinGW CPPFLAGS may use this.
30 abs_top_srcdir=@abs_top_srcdir@
31 VPATH=@srcdir@
32 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
33 C_SWITCH_SYSTEM=@C_SWITCH_SYSTEM@
34 C_SWITCH_MACHINE=@C_SWITCH_MACHINE@
35 PROFILING_CFLAGS = @PROFILING_CFLAGS@
36 WARN_CFLAGS = @WARN_CFLAGS@
37 WARN_CFLAGS := $(filter-out -Wwrite-strings,${WARN_CFLAGS})
38 WERROR_CFLAGS = @WERROR_CFLAGS@
39 CAIRO_CFLAGS= @CAIRO_CFLAGS@
41 CC=@CC@
42 CFLAGS=@CFLAGS@
43 CPPFLAGS=@CPPFLAGS@
44 RANLIB=@RANLIB@
46 AR = @AR@
47 ARFLAGS = @ARFLAGS@
48 MKDIR_P = @MKDIR_P@
49 EXEEXT = @EXEEXT@
51 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
52 MOTIF_OBJS = lwlib-Xm.o
54 ## LUCID_OBJS or MOTIF_OBJS.
55 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
57 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
59 # 'make' verbosity.
60 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
62 AM_V_CC = $(am__v_CC_@AM_V@)
63 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
64 am__v_CC_0 = @echo " CC " $@;
65 am__v_CC_1 =
67 AM_V_GEN = $(am__v_GEN_@AM_V@)
68 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
69 am__v_GEN_0 = @echo " GEN " $@;
70 am__v_GEN_1 =
72 AM_V_at = $(am__v_at_@AM_V@)
73 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
74 am__v_at_0 = @
75 am__v_at_1 =
77 AUTO_DEPEND = @AUTO_DEPEND@
78 DEPDIR = deps
79 ifeq ($(AUTO_DEPEND),yes)
80 DEPFLAGS = -MMD -MF $(DEPDIR)/$*.d -MP
81 -include $(ALLOBJS:%.o=$(DEPDIR)/%.d)
82 else
83 DEPFLAGS =
84 include $(srcdir)/deps.mk
85 endif
87 ## ../src is where the generated file (config.h, globals.h) are.
88 ## $(srcdir)/../src is where the non-generated files (lisp.h) are.
89 ## (In an out-of-tree build, these two are not the same.)
90 ## $(srcdir) is where the lwlib sources are.
91 ## There are no generated lwlib files, hence no need for -I.
92 ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
93 $(C_SWITCH_MACHINE) $(DEPFLAGS) \
94 $(WARN_CFLAGS) $(WERROR_CFLAGS) $(PROFILING_CFLAGS) $(CFLAGS) \
95 $(CAIRO_CFLAGS) \
96 -Demacs -I../src \
97 -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib
99 .c.o:
100 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
102 liblw.a: $(OBJS)
103 $(AM_V_GEN)rm -f $@
104 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS)
105 $(AM_V_at)$(RANLIB) $@
107 globals_h = ../src/globals.h
108 $(globals_h):
109 $(MAKE) -C ../src globals.h
111 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
113 clean mostlyclean:
114 rm -f *.o liblw.a \#* $(DEPDIR)/*
116 distclean: clean
117 rm -f Makefile
118 rm -fr $(DEPDIR)
120 bootstrap-clean maintainer-clean: distclean
121 rm -f TAGS
123 ETAGS = ../lib-src/etags${EXEEXT}
125 ${ETAGS}: FORCE
126 ${MAKE} -C ../lib-src $(notdir $@)
128 ctagsfiles= $(wildcard ${srcdir}/*.[ch])
130 FORCE:
131 .PHONY: tags FORCE
132 tags: TAGS
133 TAGS: ${ETAGS} $(ctagsfiles)
134 ${ETAGS} $(ctagsfiles)
136 ### Makefile.in ends here