Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. if USE_SAMBA_FS
  2. SUBDIRS = samba extfs
  3. else
  4. SUBDIRS = extfs
  5. endif
  6. DIST_SUBDIRS = extfs
  7. if USE_SAMBA_FS
  8. AM_CFLAGS = $(GLIB_CFLAGS) -DCONFIGDIR=\""@configdir@"\"
  9. else
  10. AM_CFLAGS = $(GLIB_CFLAGS)
  11. endif
  12. BASICFILES = \
  13. cpio.c \
  14. direntry.c \
  15. extfs.c \
  16. local.c \
  17. names.c \
  18. tar.c \
  19. sfs.c \
  20. vfs.c
  21. VFSHDRS = \
  22. extfs.h \
  23. fish.h \
  24. ftpfs.h \
  25. local.h \
  26. mcfs.h \
  27. mcfsutil.h \
  28. names.h \
  29. smbfs.h \
  30. tar.h \
  31. tcputil.h \
  32. utilvfs.h \
  33. vfs.h \
  34. xdirentry.h
  35. SMBFILES = smbfs.c
  36. if USE_SAMBA_FS
  37. SMB_NETFILES = $(SMBFILES)
  38. endif
  39. UNDELFILES = undelfs.c
  40. if USE_UNDEL_FS
  41. UNDEL_FILES = $(UNDELFILES)
  42. endif
  43. NETFILES = tcputil.c fish.c ftpfs.c mcfs.c mcfsutil.c utilvfs.c \
  44. $(SMB_NETFILES)
  45. NONETFILES = $(BASICFILES) $(UNDEL_FILES)
  46. EXTRA_DIST = ChangeLog README README.fish \
  47. $(VFSHDRS) $(BASICFILES) $(NETFILES) $(SMBFILES) $(UNDELFILES)
  48. dist-hook:
  49. $(mkinstalldirs) $(distdir)/samba
  50. $(mkinstalldirs) $(distdir)/samba/include
  51. $(mkinstalldirs) $(distdir)/samba/lib
  52. $(mkinstalldirs) $(distdir)/samba/libsmb
  53. $(mkinstalldirs) $(distdir)/samba/param
  54. $(mkinstalldirs) $(distdir)/samba/tests
  55. for I in $(SAMBA_DIST); do \
  56. cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
  57. done
  58. mostlyclean-local:
  59. if test -f samba/Makefile; then \
  60. (cd samba && $(MAKE) mostlyclean) \
  61. else :; fi
  62. clean-local:
  63. if test -f samba/Makefile; then \
  64. (cd samba && $(MAKE) clean) \
  65. else :; fi
  66. distclean-local:
  67. if test -f samba/Makefile; then \
  68. (cd samba && $(MAKE) distclean) \
  69. else :; fi
  70. if USE_VFS
  71. noinst_LIBRARIES = libvfs-mc.a
  72. else
  73. noinst_LIBRARIES =
  74. endif
  75. if USE_VFS_NET
  76. libvfs_mc_a_SOURCES = $(NETFILES) $(NONETFILES)
  77. else
  78. libvfs_mc_a_SOURCES = $(NONETFILES)
  79. endif
  80. if USE_MCFS
  81. sbin_PROGRAMS = mcserv
  82. endif
  83. mcserv_SOURCES = mcserv.c mcfsutil.c
  84. mcserv_LDADD = $(PAMLIBS) $(LCRYPT)
  85. SAMBA_DIST = \
  86. Makefile.in \
  87. aclocal.m4 \
  88. architecture.doc \
  89. configure.in \
  90. configure \
  91. internals.doc \
  92. parsing.doc \
  93. include/byteorder.h \
  94. include/charset.h \
  95. include/client.h \
  96. include/config.h.in \
  97. include/dlinklist.h \
  98. include/includes.h \
  99. include/kanji.h \
  100. include/local.h \
  101. include/nameserv.h \
  102. include/ntdomain.h \
  103. include/nterr.h \
  104. include/proto.h \
  105. include/rpc_dce.h \
  106. include/rpc_lsa.h \
  107. include/rpc_misc.h \
  108. include/rpc_netlogon.h \
  109. include/rpc_reg.h \
  110. include/rpc_samr.h \
  111. include/rpc_secdes.h \
  112. include/rpc_srvsvc.h \
  113. include/rpc_wkssvc.h \
  114. include/rpcclient.h \
  115. include/smb.h \
  116. include/stamp-h.in \
  117. include/trans2.h \
  118. include/version.h \
  119. lib/charcnv.c \
  120. lib/charset.c \
  121. lib/debug.c \
  122. lib/doscalls.c \
  123. lib/genrand.c \
  124. lib/interface.c \
  125. lib/kanji.c \
  126. lib/md4.c \
  127. lib/netmask.c \
  128. lib/slprintf.c \
  129. lib/system.c \
  130. lib/time.c \
  131. lib/username.c \
  132. lib/util.c \
  133. lib/util_file.c \
  134. lib/util_sock.c \
  135. lib/util_str.c \
  136. lib/util_unistr.c \
  137. libsmb/clientgen.c \
  138. libsmb/namequery.c \
  139. libsmb/nmblib.c \
  140. libsmb/nterr.c \
  141. libsmb/pwd_cache.c \
  142. libsmb/smbdes.c \
  143. libsmb/smbencrypt.c \
  144. libsmb/smberr.c \
  145. param/loadparm.c \
  146. param/params.c \
  147. tests/README \
  148. tests/getgroups.c \
  149. tests/summary.c \
  150. tests/trivial.c