Makefile.am 1015 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ## Process this file with automake to generate Makefile.in
  2. AUTOMAKE_OPTIONS = foreign nostdinc
  3. ACLOCAL_AMFLAGS = -I m4
  4. AM_CPPFLAGS = -I. -I$(top_srcdir)
  5. AM_LD = $(CC)
  6. VERSION_INFO = -version-info $(SONAME_CURRENT):$(SONAME_REVISION):$(SONAME_AGE)
  7. if DEBUG
  8. DEBUG_CFLAGS = -DDEBUG
  9. endif
  10. AM_CFLAGS = -Wall $(DEBUG_CFLAGS)
  11. AM_LDFLAGS = -z relro -z now -z defs
  12. bin_PROGRAMS =
  13. lib_LTLIBRARIES =
  14. lib_LIBRARIES =
  15. nobase_include_HEADERS =
  16. EXTRA_DIST = \
  17. faux/Makefile.am \
  18. utils/Makefile.am \
  19. testc/Makefile.am \
  20. LICENCE \
  21. README.md
  22. include $(top_srcdir)/faux/Makefile.am
  23. include $(top_srcdir)/utils/Makefile.am
  24. include $(top_srcdir)/testc/Makefile.am
  25. define CONTROL
  26. PACKAGE: faux
  27. Version: $(PACKAGE_VERSION)
  28. Architecture: amd64
  29. Maintainer: pkun
  30. Description: Various auxiliary functions
  31. Homepage: https://src.libcode.org/pkun/faux
  32. endef
  33. export CONTROL
  34. deb: all
  35. mkdir -p deb/DEBIAN
  36. echo "$$CONTROL" > deb/DEBIAN/control
  37. DESTDIR=$(shell pwd)/deb make install
  38. dpkg-deb --build deb/ faux_$(PACKAGE_VERSION).deb