PageRenderTime 48ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/amanda/tags/amanda261p2/Makefile.am

#
Makefile | 108 lines | 87 code | 12 blank | 9 comment | 5 complexity | eb9eeb216ef9402d5094ea2a78d06e20 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 . -I config -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 xfer-src
  11. endif
  12. if WANT_RESTORE
  13. RESTORE_SUBDIRS = restore-src
  14. endif
  15. if WANT_RECOVER
  16. RECOVER_SUBDIRS = recover-src oldrecover-src
  17. endif
  18. if WANT_AMPLOT
  19. PLOT_SUBDIRS = amplot
  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. $(TAPE_SUBDIRS) \
  29. $(CLIENT_SUBDIRS) \
  30. $(SERVER_SUBDIRS) \
  31. $(RESTORE_SUBDIRS) \
  32. $(RECOVER_SUBDIRS) \
  33. $(PLOT_SUBDIRS) \
  34. perl \
  35. po \
  36. man \
  37. example \
  38. packaging \
  39. installcheck
  40. pkgdata_DATA = \
  41. ReleaseNotes \
  42. COPYRIGHT \
  43. NEWS \
  44. ChangeLog
  45. EXTRA_DIST += $(SNAPSHOT_STAMP) \
  46. $(pkgdata_DATA) \
  47. autogen \
  48. contrib/README \
  49. contrib/dbbackup.README \
  50. contrib/dbbackup.ksh \
  51. contrib/dbbackup.sql \
  52. contrib/dbbackup.tcl \
  53. contrib/mkamandisk \
  54. contrib/set_prod_link.pl \
  55. contrib/gsc/README \
  56. contrib/gsc/cfggsc.c \
  57. contrib/gsc/defgsc.c \
  58. contrib/gsc/gsc.add \
  59. contrib/gsc/gscdd.c \
  60. contrib/gsc/gscdds.h \
  61. contrib/gsc/makefile \
  62. contrib/gsc/tstinq.c \
  63. contrib/gsc/ucfggsc.c \
  64. patches/regex-3.6alpha.patch \
  65. patches/samba-largefs.patch \
  66. patches/tar-1.12.patch \
  67. UPGRADING \
  68. DEVELOPING
  69. libtool: $(LIBTOOL_DEPS)
  70. $(SHELL) ./config.status --recheck
  71. # empty out the installperms manifest file when we start
  72. install-exec-local: installperms-init
  73. install-data-local: installperms-init
  74. ## This is only meaningful for snapshots, but it won't hurt releases.
  75. CONFIG_STATUS = config.status
  76. $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
  77. SNAPSHOT:
  78. : SNAPSHOT file was removed, will reconfigure...
  79. lint:
  80. (cd amandad-src; make lint)
  81. (cd changer-src; make lint)
  82. (cd client-src; make lint)
  83. (cd common-src; make lint)
  84. (cd oldrecover-src; make lint)
  85. (cd recover-src; make lint)
  86. (cd restore-src; make lint)
  87. (cd server-src; make lint)
  88. (cd xfer-src; make lint)
  89. ## Do not release the *.test.c sources. They get built on the fly and
  90. ## would contain a path from the distribution machine, which will just
  91. ## confuse the target user.
  92. dist-hook:
  93. find $(distdir)/. -name '*.test.c' -exec rm {} \;
  94. # ensure that configure gets the right arguments for distcheck; this keeps the
  95. # user/group through to the distcheck, rather than defaulting back to 'amanda'.
  96. 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