Makefile.am 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. if ENABLE_VFS_SMB
  2. SAMBA_CFLAGS = -DCONFIGDIR=\""@smbconfigdir@"\"
  3. SAMBA_SUBDIRS = samba
  4. endif
  5. DIST_SUBDIRS = extfs fish
  6. SUBDIRS = $(SAMBA_SUBDIRS)
  7. if ENABLE_VFS_EXTFS
  8. SUBDIRS += extfs
  9. endif
  10. if ENABLE_VFS_FISH
  11. SUBDIRS += fish
  12. endif
  13. AM_CFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir) $(SAMBA_CFLAGS)
  14. AM_CPPFLAGS = -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\"
  15. BASICFILES = \
  16. vfs.c vfs.h vfs-impl.h \
  17. direntry.c xdirentry.h \
  18. parse_ls_vga.c \
  19. utilvfs.c utilvfs.h \
  20. gc.c gc.h \
  21. local.c local.h
  22. CPIOFILES = cpio.c
  23. TARFILES = tar.c
  24. SFSFILES = sfs.c
  25. EXTFSFILES = extfs.c
  26. UNDELFILES = undelfs.c
  27. NETFILES = netutil.c netutil.h
  28. FTPFILES = ftpfs.c ftpfs.h
  29. FISHFILES = fish.c fish.h fishdef.h
  30. SMBFILES = smbfs.c smbfs.h
  31. libvfs_mc_la_SOURCES = $(BASICFILES)
  32. if ENABLE_VFS_CPIO
  33. libvfs_mc_la_SOURCES += $(CPIOFILES)
  34. endif
  35. if ENABLE_VFS_TAR
  36. libvfs_mc_la_SOURCES += $(TARFILES)
  37. endif
  38. if ENABLE_VFS_SFS
  39. libvfs_mc_la_SOURCES += $(SFSFILES)
  40. endif
  41. if ENABLE_VFS_EXTFS
  42. libvfs_mc_la_SOURCES += $(EXTFSFILES)
  43. endif
  44. if ENABLE_VFS_UNDELFS
  45. libvfs_mc_la_SOURCES += $(UNDELFILES)
  46. endif
  47. if ENABLE_VFS_NET
  48. libvfs_mc_la_SOURCES += $(NETFILES)
  49. endif
  50. if ENABLE_VFS_FTP
  51. libvfs_mc_la_SOURCES += $(FTPFILES)
  52. endif
  53. if ENABLE_VFS_FISH
  54. libvfs_mc_la_SOURCES += $(FISHFILES)
  55. endif
  56. if ENABLE_VFS_SMB
  57. libvfs_mc_la_SOURCES += $(SMBFILES)
  58. endif
  59. EXTRA_DIST = HACKING README \
  60. $(BASICFILES) \
  61. $(CPIOFILES) \
  62. $(TARFILES) \
  63. $(SFSFILES) \
  64. $(EXTFSFILES) \
  65. $(UNDELFILES) \
  66. $(NETFILES) \
  67. $(FTPFILES) \
  68. $(FISHFILES) \
  69. $(SMBFILES)
  70. dist-hook:
  71. $(mkinstalldirs) $(distdir)/samba
  72. $(mkinstalldirs) $(distdir)/samba/include
  73. $(mkinstalldirs) $(distdir)/samba/lib
  74. $(mkinstalldirs) $(distdir)/samba/libsmb
  75. $(mkinstalldirs) $(distdir)/samba/param
  76. for I in $(SAMBA_DIST); do \
  77. cp -p $(srcdir)/samba/$$I $(distdir)/samba/$$I || exit 1; \
  78. done
  79. mostlyclean-local:
  80. if test -f samba/Makefile; then \
  81. (cd samba && $(MAKE) mostlyclean) \
  82. else :; fi
  83. clean-local:
  84. if test -f samba/Makefile; then \
  85. (cd samba && $(MAKE) clean) \
  86. else :; fi
  87. distclean-local:
  88. if test -f samba/Makefile; then \
  89. (cd samba && $(MAKE) distclean) \
  90. else :; fi
  91. noinst_LTLIBRARIES = libvfs-mc.la
  92. SAMBA_DIST = \
  93. Makefile.in \
  94. aclocal.m4 \
  95. configure.ac \
  96. configure \
  97. internals.doc \
  98. parsing.doc \
  99. include/byteorder.h \
  100. include/charset.h \
  101. include/client.h \
  102. include/config.h.in \
  103. include/includes.h \
  104. include/kanji.h \
  105. include/local.h \
  106. include/nameserv.h \
  107. include/nterr.h \
  108. include/proto.h \
  109. include/smb.h \
  110. include/stamp-h.in \
  111. include/trans2.h \
  112. include/version.h \
  113. lib/charcnv.c \
  114. lib/charset.c \
  115. lib/debug.c \
  116. lib/interface.c \
  117. lib/kanji.c \
  118. lib/md4.c \
  119. lib/netmask.c \
  120. lib/slprintf.c \
  121. lib/system.c \
  122. lib/time.c \
  123. lib/username.c \
  124. lib/util.c \
  125. lib/util_file.c \
  126. lib/util_sock.c \
  127. lib/util_str.c \
  128. libsmb/clientgen.c \
  129. libsmb/namequery.c \
  130. libsmb/nmblib.c \
  131. libsmb/nterr.c \
  132. libsmb/pwd_cache.c \
  133. libsmb/smbdes.c \
  134. libsmb/smbencrypt.c \
  135. libsmb/smberr.c \
  136. param/loadparm.c \
  137. param/params.c