PageRenderTime 61ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/amanda/tags/3_3_0beta1/Makefile.am

#
Makefile | 116 lines | 93 code | 14 blank | 9 comment | 5 complexity | 1b7d2a1362b2887c2d591531f98773bb MD5 | raw file
  1. ## Process this file with automake to produce Makefile.in
  2. AUTOMAKE_OPTIONS = 1.4 foreign
  3. include $(top_srcdir)/config/automake/vars.am
  4. include $(top_srcdir)/config/automake/installperms.am
  5. ACLOCAL_AMFLAGS = --force -I config -I . -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
  6. if WANT_CLIENT
  7. CLIENT_SUBDIRS = client-src application-src
  8. endif
  9. if WANT_SERVER
  10. SERVER_SUBDIRS = device-src server-src changer-src
  11. endif
  12. if WANT_RECOVER
  13. RECOVER_SUBDIRS = recover-src oldrecover-src
  14. endif
  15. if WANT_AMPLOT
  16. PLOT_SUBDIRS = amplot
  17. endif
  18. if WANT_NDMP
  19. NDMP_SUBDIRS = ndmp-src
  20. endif
  21. # order is significant, don't change it arbitrarily
  22. SUBDIRS = . \
  23. gnulib \
  24. config \
  25. common-src \
  26. amar-src \
  27. amandad-src \
  28. xfer-src \
  29. $(NDMP_SUBDIRS) \
  30. $(TAPE_SUBDIRS) \
  31. $(CLIENT_SUBDIRS) \
  32. $(SERVER_SUBDIRS) \
  33. $(RESTORE_SUBDIRS) \
  34. $(RECOVER_SUBDIRS) \
  35. $(PLOT_SUBDIRS) \
  36. perl \
  37. po \
  38. man \
  39. example \
  40. packaging \
  41. installcheck
  42. pkgdata_DATA = \
  43. ReleaseNotes \
  44. COPYRIGHT \
  45. NEWS \
  46. ChangeLog
  47. EXTRA_DIST += $(SNAPSHOT_STAMP) \
  48. $(pkgdata_DATA) \
  49. autogen \
  50. contrib/README \
  51. contrib/dbbackup.README \
  52. contrib/dbbackup.ksh \
  53. contrib/dbbackup.sql \
  54. contrib/dbbackup.tcl \
  55. contrib/mkamandisk \
  56. contrib/set_prod_link.pl \
  57. contrib/gsc/README \
  58. contrib/gsc/cfggsc.c \
  59. contrib/gsc/defgsc.c \
  60. contrib/gsc/gsc.add \
  61. contrib/gsc/gscdd.c \
  62. contrib/gsc/gscdds.h \
  63. contrib/gsc/makefile \
  64. contrib/gsc/tstinq.c \
  65. contrib/gsc/ucfggsc.c \
  66. patches/regex-3.6alpha.patch \
  67. patches/samba-largefs.patch \
  68. patches/tar-1.12.patch \
  69. UPGRADING \
  70. DEVELOPING \
  71. VERSION \
  72. FULL_VERSION
  73. FULL_VERSION: VERSION
  74. $(srcdir)/config/set_full_version $(top_srcdir)
  75. config.status: FULL_VERSION
  76. libtool: $(LIBTOOL_DEPS)
  77. $(SHELL) ./config.status --recheck
  78. # empty out the installperms manifest file when we start
  79. install-exec-local: installperms-init
  80. install-data-local: installperms-init
  81. ## This is only meaningful for snapshots, but it won't hurt releases.
  82. CONFIG_STATUS = config.status
  83. $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
  84. SNAPSHOT:
  85. : SNAPSHOT file was removed, will reconfigure...
  86. lint:
  87. (cd amandad-src; make lint)
  88. (cd changer-src; make lint)
  89. (cd client-src; make lint)
  90. (cd common-src; make lint)
  91. (cd oldrecover-src; make lint)
  92. (cd recover-src; make lint)
  93. (cd server-src; make lint)
  94. (cd xfer-src; make lint)
  95. ## Do not release the *.test.c sources. They get built on the fly and
  96. ## would contain a path from the distribution machine, which will just
  97. ## confuse the target user.
  98. dist-hook:
  99. find $(distdir)/. -name '*.test.c' -exec rm {} \;
  100. # ensure that configure gets the right arguments for distcheck; this keeps the
  101. # user/group through to the distcheck, rather than defaulting back to 'amanda'.
  102. DISTCHECK_CONFIGURE_FLAGS = --with-user=$(CLIENT_LOGIN) --with-group=$(SETUID_GROUP) --with-owner=$(BINARY_OWNER) --disable-installperms --without-amperldir --without-force-uid --with-tmpdir=$(AMANDA_TMPDIR) SINGLE_USERID=yes CLOBBER_MY_CONFIG=OK