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)
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.
26 # MinGW CPPFLAGS may use this.
27 abs_top_srcdir
=@abs_top_srcdir@
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
= @WARN_CFLAGS@
35 WARN_CFLAGS
:= $(filter-out -Wwrite-strings
,${WARN_CFLAGS})
36 WERROR_CFLAGS
= @WERROR_CFLAGS@
37 CAIRO_CFLAGS
= @CAIRO_CFLAGS@
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
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 " $@
;
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 " $@
;
69 AM_V_at
= $(am__v_at_@AM_V@
)
70 am__v_at_
= $(am__v_at_@AM_DEFAULT_V@
)
75 AUTO_DEPEND
= @AUTO_DEPEND@
77 ifeq ($(AUTO_DEPEND
),yes
)
78 DEPFLAGS
= -MMD
-MF
${DEPDIR}/$*.d
-MP
79 MKDEPDIR
= ${MKDIR_P} ${DEPDIR}
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
) \
95 -I
$(srcdir) -I
$(srcdir)/..
/src
-I..
/lib
-I
$(srcdir)/..
/lib
102 $(AM_V_CC
)$(CC
) -c
$(CPPFLAGS
) $(ALL_CFLAGS
) $<
106 $(AM_V_at
)$(AR
) $(ARFLAGS
) $@
$(OBJS
)
107 $(AM_V_at
)$(RANLIB
) $@
109 globals_h
= ..
/src
/globals.h
111 $(MAKE
) -C ..
/src globals.h
113 ifeq ($(AUTO_DEPEND
),yes
)
114 -include $(ALLOBJS
:%.o
=${DEPDIR}/%.d
)
116 include $(srcdir)/deps.mk
119 .PHONY
: mostlyclean clean distclean bootstrap-clean maintainer-clean
122 rm -f
*.o liblw.a \
#*
128 bootstrap-clean maintainer-clean
: distclean
132 ETAGS
= ..
/lib-src
/etags
134 ctagsfiles
= $(srcdir)/*.
[ch
]
137 "$(ETAGS)" $(ctagsfiles
)
142 ### Makefile.in ends here