Makefile.am 954 B

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