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