Some further improvements for tramp-gvfs.el
[emacs.git] / lib / Makefile.in
blobee41ea3e55e035c3be12cfb936bbd8c6e50a922f
1 ### @configure_input@
3 # Copyright 2017 Free Software Foundation, Inc.
5 # This file is part of GNU Emacs.
7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20 srcdir = @srcdir@
21 VPATH = @srcdir@
23 # Variables substituted by 'configure', and not autogenerated in gnulib.mk,
24 # or needed before gnulib.mk is included.
25 abs_top_srcdir = @abs_top_srcdir@
26 top_builddir = @top_builddir@
27 top_srcdir = @top_srcdir@
29 all:
30 .PHONY: all
32 # 'make' verbosity.
33 AM_V_AR = $(am__v_AR_@AM_V@)
34 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
35 am__v_AR_0 = @echo " AR " $@;
36 am__v_AR_1 =
38 AM_V_CC = $(am__v_CC_@AM_V@)
39 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
40 am__v_CC_0 = @echo " CC " $@;
41 am__v_CC_1 =
43 AM_V_GEN = $(am__v_GEN_@AM_V@)
44 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
45 am__v_GEN_0 = @echo " GEN " $@;
46 am__v_GEN_1 =
48 AM_V_at = $(am__v_at_@AM_V@)
49 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
50 am__v_at_0 = @
51 am__v_at_1 =
53 ALL_CFLAGS= \
54 $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) $(DEPFLAGS) \
55 $(GNULIB_WARN_CFLAGS) $(WERROR_CFLAGS) $(PROFILING_CFLAGS) $(CFLAGS) \
56 -I. -I../src -I$(srcdir) -I$(srcdir)/../src \
57 $(if $(patsubst e-%,,$(notdir $<)),,-Demacs)
59 SYSTEM_TYPE = @SYSTEM_TYPE@
60 ifeq ($(SYSTEM_TYPE),windows-nt)
61 include $(srcdir)/../nt/gnulib-cfg.mk
62 endif
63 include gnulib.mk
64 ifneq ($(SYSTEM_TYPE),windows-nt)
65 libgnu_a_SOURCES += openat-die.c save-cwd.c
66 endif
68 DEPDIR = deps
69 ifeq ($(AUTO_DEPEND),yes)
70 DEPFLAGS = -MMD -MF $(DEPDIR)/$*.d -MP
71 -include $(ALLOBJS:%.o=$(DEPDIR)/%.d)
72 else
73 DEPFLAGS =
74 endif
76 .PRECIOUS: ../config.status Makefile
77 ../config.status: $(top_srcdir)/configure.ac $(top_srcdir)/m4/*.m4
78 $(MAKE) -C .. $(notdir $@)
79 Makefile: ../config.status $(srcdir)/Makefile.in
80 $(MAKE) -C .. src/$@
82 libgnu_a_OBJECTS = $(gl_LIBOBJS) \
83 $(patsubst %.c,%.o,$(filter %.c,$(libgnu_a_SOURCES)))
84 libegnu_a_OBJECTS = $(patsubst %.o,e-%.o,$(libgnu_a_OBJECTS))
86 $(libegnu_a_OBJECTS) $(libgnu_a_OBJECTS): $(BUILT_SOURCES)
88 .c.o:
89 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
90 e-%.o: %.c
91 $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -Demacs -o $@ $<
93 all: libgnu.a $(if $(HYBRID_MALLOC),libegnu.a)
95 libgnu.a: $(libgnu_a_OBJECTS)
96 $(AM_V_at)rm -f $@
97 $(AM_V_AR)$(AR) $(ARFLAGS) $@ $(libgnu_a_OBJECTS)
98 $(AM_V_at)$(RANLIB) $@
100 libegnu.a: $(libegnu_a_OBJECTS)
101 $(AM_V_at)rm -f $@
102 $(AM_V_AR)$(AR) $(ARFLAGS) $@ $(libegnu_a_OBJECTS)
103 $(AM_V_at)$(RANLIB) $@
105 ETAGS = ../lib-src/etags$(EXEEXT)
106 $(ETAGS):
107 $(MAKE) -C $(dir $@) $(notdir $@)
108 tagsfiles= $(wildcard $(srcdir)/*.[ch])
109 tags: TAGS
110 TAGS: $(ETAGS) $(tagsfiles)
111 $(ETAGS) $(tagsfiles)
112 .PHONY: $(ETAGS) tags
114 clean:
115 rm -f *.[ao] *-t \#* $(DEPDIR)/*
116 mostlyclean: clean
117 rm -f $(filter-out %-t,$(MOSTLYCLEANFILES))
118 distclean bootstrap-clean: mostlyclean
119 rm -f Makefile
120 rm -fr $(DEPDIR)
121 maintainer-clean: distclean
122 rm -f TAGS gnulib.mk
123 .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean
125 # Tell versions [3.59,3.63) of GNU make to not export all variables.
126 # Otherwise a system limit (for SysV at least) may be exceeded.
127 .NOEXPORT: