Makefile.am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. #include $(top_srcdir)/tinyrl/module.am
  40. #include $(top_srcdir)/konf/module.am
  41. #include $(top_srcdir)/clish/module.am
  42. #include $(top_srcdir)/bin/module.am
  43. #include $(top_srcdir)/plugins/module.am
  44. #include $(top_srcdir)/libc/module.am
  45. #include $(top_srcdir)/doc/module.am
  46. define CONTROL
  47. PACKAGE: klish
  48. Version: $(PACKAGE_VERSION)
  49. Architecture: amd64
  50. Depends: faux
  51. Maintainer: pkun
  52. Description: The klish is a framework for implementing a CISCO-like CLI on a UNIX systems. It is configurable by XML files
  53. Homepage: http://klish.libcode.org
  54. endef
  55. export CONTROL
  56. deb: all
  57. mkdir -p deb/DEBIAN
  58. echo "$$CONTROL" > deb/DEBIAN/control
  59. DESTDIR=$(shell pwd)/deb make install
  60. dpkg-deb --build deb/ klish_$(PACKAGE_VERSION).deb