24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
AUTOMAKE_OPTIONS = foreign subdir-objects
|
|
AM_CFLAGS = $(SWITCH_AM_CFLAGS) $(SWITCH_ANSI_CFLAGS)
|
|
AM_CPPFLAGS = $(SWITCH_AM_CXXFLAGS)
|
|
AM_LDFLAGS = $(SWITCH_AM_LDFLAGS)
|
|
DEFAULT_VARS = CFLAGS="$(CFLAGS)" CPPFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" CXX="$(CXX)"
|
|
DEFAULT_ARGS = --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)" --disable-shared --with-pic
|
|
|
|
#we should set all these vars from configure, no reason to have these in each Makefile.am
|
|
LIBTOOL = echo "`link=\`echo $@|grep .la;echo $@|grep .so;echo $@|grep .dll\`;if test -n "$$link"; then echo Creating $@;fi`";`if test -z "$(VERBOSE)" ; \
|
|
then echo $(SHELL) $(switch_builddir)/quiet_libtool ;else echo $(SHELL) $(switch_builddir)/libtool; fi`
|
|
AM_MAKEFLAGS=`test -n "$(VERBOSE)" || echo -s`
|
|
# Dirty trick to override the link output
|
|
LIBS+=> $(MODNAME).log || error="yes";if test -n "$(VERBOSE)" -o "$$error" = "yes";then cat $(MODNAME).log;fi;if test "$$error" = "yes";then exit 1;fi
|
|
|
|
moddir=@modulesdir@
|
|
|
|
all-modules: all
|
|
depend-modules: depend
|
|
clean-modules: clean
|
|
install-modules: install
|
|
uninstall-modules: uninstall
|
|
distclean-modules: distclean
|
|
extraclean-modules: extraclean
|