Makefile.am 1.5 KB

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