modmake.rulesam 733 B

123456789101112131415161718192021
  1. AUTOMAKE_OPTIONS = foreign subdir-objects
  2. AM_CFLAGS = $(SWITCH_AM_CFLAGS) $(SWITCH_ANSI_CFLAGS)
  3. AM_CPPFLAGS = $(SWITCH_AM_CXXFLAGS)
  4. AM_LDFLAGS = $(SWITCH_AM_LDFLAGS)
  5. DEFAULT_VARS = CFLAGS="$(CFLAGS)" CPPFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" CXX="$(CXX)"
  6. DEFAULT_ARGS = --build=$(build) --host=$(host) --target=$(target) --prefix="$(prefix)" --exec_prefix="$(exec_prefix)" --libdir="$(libdir)" --disable-shared --with-pic
  7. moddir=@modulesdir@
  8. all-modules: all
  9. depend-modules: depend
  10. clean-modules: clean
  11. install-modules: install
  12. uninstall-modules: uninstall
  13. distclean-modules: distclean
  14. extraclean-modules: extraclean
  15. print_tests:
  16. @set +e; \
  17. test -z "$(TESTS)" || for i in $(TESTS); do echo $(subdir)/$$i; done;