Fix documentation of forward-line
[emacs.git] / lwlib / Makefile.in
blob2fd59598e3ecf6a713fd7ac2f7d85fbb6ac25343
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 AUTO_DEPEND = @AUTO_DEPEND@
75 ifeq ($(AUTO_DEPEND),yes)
76 DEPFLAGS = -MMD -MF ${DEPDIR}/$*.d -MP
77 MKDEPDIR = ${MKDIR_P} ${DEPDIR}
78 else
79 DEPFLAGS =
80 MKDEPDIR = :
81 endif
83 ## ../src is where the generated file (config.h, globals.h) are.
84 ## $(srcdir)/../src is where the non-generated files (lisp.h) are.
85 ## (In an out-of-tree build, these two are not the same.)
86 ## $(srcdir) is where the lwlib sources are.
87 ## There are no generated lwlib files, hence no need for -I.
88 ALL_CFLAGS= $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
89 $(C_SWITCH_MACHINE) $(DEPFLAGS) \
90 $(WARN_CFLAGS) $(WERROR_CFLAGS) $(PROFILING_CFLAGS) $(CFLAGS) \
91 -Demacs -I../src \
92 -I$(srcdir) -I$(srcdir)/../src -I../lib -I$(srcdir)/../lib
94 all: liblw.a
95 .PHONY: all
97 .c.o:
98 @$(MKDEPDIR)
99 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
101 liblw.a: $(OBJS)
102 $(AM_V_GEN)rm -f $@
103 $(AM_V_at)$(AR) $(ARFLAGS) $@ $(OBJS)
104 $(AM_V_at)$(RANLIB) $@
106 globals_h = ../src/globals.h
107 $(globals_h):
108 $(MAKE) -C ../src globals.h
110 ifeq ($(AUTO_DEPEND),yes)
111 -include $(ALLOBJS:%.o=${DEPDIR}/%.d)
112 else
113 include $(srcdir)/deps.mk
114 endif
116 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
118 clean mostlyclean:
119 rm -f *.o liblw.a \#*
120 -rm -rf ${DEPDIR}
122 distclean: clean
123 rm -f Makefile
125 bootstrap-clean maintainer-clean: distclean
126 rm -f TAGS
129 ETAGS = ../lib-src/etags
131 ctagsfiles= $(srcdir)/*.[ch]
133 TAGS: $(ctagsfiles)
134 "$(ETAGS)" $(ctagsfiles)
135 tags: TAGS
136 .PHONY: tags
139 ### Makefile.in ends here