Makefile.am 991 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. include $(top_srcdir)/faux/Makefile.am
  21. include $(top_srcdir)/utils/Makefile.am
  22. include $(top_srcdir)/testc/Makefile.am
  23. define CONTROL
  24. PACKAGE: faux
  25. Version: $(PACKAGE_VERSION)
  26. Architecture: amd64
  27. Maintainer: pkun
  28. Description: Various auxiliary functions
  29. Homepage: https://src.libcode.org/pkun/faux
  30. endef
  31. export CONTROL
  32. deb: all
  33. mkdir -p deb/DEBIAN
  34. echo "$$CONTROL" > deb/DEBIAN/control
  35. DESTDIR=$(shell pwd)/deb make install
  36. dpkg-deb --build deb/ faux_$(PACKAGE_VERSION).deb