Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
155 lines (124 sloc) 4.44 KB
# These are some standard rules common to all Makefiles.
include $(srcdir)/BINFILES
include $(srcdir)/SRCFILES
include $(srcdir)/EXTRAFILES
include $(srcdir)/MISCFILES
AM_DEFAULT_VERBOSITY = 0
ifneq ($(MAKE_TERMOUT),)
ifeq ($(TERM),xterm)
am__v_color_cc=\033[27;32m
am__v_color_ld=\033[27;34m
am__v_color_rc=\033[27;36m
am__v_color_off=\033[m
endif
endif
ifeq ($(ECHO_E),)
ECHO_E=echo -e
endif
am__v_CC_0 = @$(ECHO_E) " $(am__v_color_cc)CC$(am__v_color_off) " $@;
am__v_CC_1 =
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
AM_V_CC = $(am__v_CC_$(V))
am__v_CXX_0 = @$(ECHO_E) " $(am__v_color_cc)CXX$(am__v_color_off) " $@;
am__v_CXX_1 =
am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY))
AM_V_CXX = $(am__v_CXX_$(V))
am__v_AS_0 = @$(ECHO_E) " $(am__v_color_cc)AS$(am__v_color_off) " $@;
am__v_AS_1 =
am__v_AS_ = $(am__v_AS_$(AM_DEFAULT_VERBOSITY))
AM_V_AS = $(am__v_AS_$(V))
am__v_CPPAS_0 = @$(ECHO_E) " $(am__v_color_cc)CPPAS$(am__v_color_off) " $@;
am__v_CPPAS_1 =
am__v_CPPAS_ = $(am__v_CPPAS_$(AM_DEFAULT_VERBOSITY))
AM_V_CPPAS = $(am__v_CPPAS_$(V))
am__v_CCLD_0 = @$(ECHO_E) " $(am__v_color_ld)CCLD$(am__v_color_off) " $@;
am__v_CCLD_1 =
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
AM_V_CCLD = $(am__v_CCLD_$(V))
am__v_CXXLD_0 = @$(ECHO_E) " $(am__v_color_ld)CXXLD$(am__v_color_off) " $@;
am__v_CXXLD_1 =
am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY))
AM_V_CXXLD = $(am__v_CXXLD_$(V))
am__v_AR_0 = @$(ECHO_E) " $(am__v_color_ld)AR$(am__v_color_off) " $@;
am__v_AR_1 =
am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY))
AM_V_AR = $(am__v_AR_$(V))
am__v_RANLIB_0 = @$(ECHO_E) " $(am__v_color_ld)RANLIB$(am__v_color_off) " $@;
am__v_RANLIB_1 =
am__v_RANLIB_ = $(am__v_RANLIB_$(AM_DEFAULT_VERBOSITY))
AM_V_RANLIB = $(am__v_RANLIB_$(V))
am__v_STRIP_0 = @$(ECHO_E) " $(am__v_color_ld)STRIP$(am__v_color_off) " $@;
am__v_STRIP_1 =
am__v_STRIP_ = $(am__v_STRIP_$(AM_DEFAULT_VERBOSITY))
AM_V_STRIP = $(am__v_STRIP_$(V))
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 = @echo generating $@;
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_MSGFMT_0 = @echo " MSGFMT "
am__v_MSGFMT_1 = @echo generating
AM_V_MSGFMT = $(am__v_MSGFMT_$(V))
am__v_MSGFMT_ = $(am__v_MSGFMT_$(AM_DEFAULT_VERBOSITY))
am__v_MAN_0 = @echo " MAN "
am__v_MAN_1 = @echo formatting
AM_V_MAN = $(am__v_MAN_$(V))
am__v_MAN_ = $(am__v_MAN_$(AM_DEFAULT_VERBOSITY))
AM_V_at = $(am__v_at_$(V))
am__v_at_0 = @
am__v_at_1 =
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
all: all-here all-recursive
clean:: clean-recursive
rm -f *.o lib*.a *.tmp
rm -f core report nohup.out errlog
rm -f foobar foo bar baz junk schrott muell
bakclean: bakclean-recursive
rm -f *~ *#
rm -f *.orig *.rej
distclean: distclean-recursive
rm -f *.o lib*.a *.tmp *~ *# *.orig *.rej
rm -f core report nohup.out errlog
rm -f foobar foo bar baz junk schrott muell
rm -rf .deps $(GENFILES)
install: all-here install-recursive
uninstall: uninstall-recursive
DISTFILES = $(MISCFILES) $(SRCFILES)
distdir = $(top_builddir)/$(BUILDLIB)-$(VERSION)
distdir: $(DISTFILES) distdir-local
-rm -rf $(distdir)
mkdir -p $(distdir)
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -d $$d/$$file \
|| test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2>/dev/null \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
done
list='$(SUBDIRS)'; for subdir in $$list; do \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
(cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
done
distdir-local:
all-recursive:: all-here
all-recursive clean-recursive bakclean-recursive distclean-recursive \
install-recursive uninstall-recursive dist-recursive::
@set fnord $(MAKEFLAGS); amf=$$2; \
list='$(SUBDIRS)'; for subdir in $$list; do \
target=`echo $@ | sed s/-recursive//`; \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) -r $$target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
#
# global CFLAGS and ASFLAGS
#
INCLUDES = -I$(top_srcdir)
DEFINITIONS =
CFLAGS = $(INCLUDES) $(DEFINITIONS) $(GENERAL) $(OPTS) $(WARN)
ASFLAGS = $(INCLUDES) $(DEFINITIONS) $(GENERAL)
LDFLAGS =
You can’t perform that action at this time.