Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. if TESTC
  11. TESTC_CFLAGS = -DTESTC
  12. endif
  13. AM_CFLAGS = -Wall $(DEBUG_CFLAGS) $(TESTC_CFLAGS)
  14. bin_PROGRAMS =
  15. lib_LTLIBRARIES =
  16. lib_LIBRARIES =
  17. nobase_include_HEADERS =
  18. noinst_HEADERS =
  19. EXTRA_DIST =
  20. klish/Makefile.am \
  21. bin/Makefile.am
  22. # bin/module.am \
  23. # clish/module.am \
  24. # tinyrl/module.am \
  25. # konf/module.am \
  26. # plugins/module.am \
  27. # libc/module.am \
  28. # doc/module.am \
  29. # contrib \
  30. # xml-examples \
  31. # debian \
  32. # clish.xsd \
  33. # LICENCE \
  34. # README \
  35. # CHANGES \
  36. # ISSUES
  37. include $(top_srcdir)/klish/Makefile.am
  38. include $(top_srcdir)/bin/Makefile.am
  39. define CONTROL
  40. PACKAGE: klish
  41. Version: $(PACKAGE_VERSION)
  42. Architecture: amd64
  43. Depends: faux
  44. Maintainer: pkun
  45. Description: The klish is a framework for implementing a CISCO-like CLI on a UNIX systems. It is configurable by XML files
  46. Homepage: http://klish.libcode.org
  47. endef
  48. export CONTROL
  49. deb: all
  50. mkdir -p deb/DEBIAN
  51. echo "$$CONTROL" > deb/DEBIAN/control
  52. DESTDIR=$(shell pwd)/deb make install
  53. dpkg-deb --build deb/ klish_$(PACKAGE_VERSION).deb