5 SMBCFLAGS
= $(EXTRACFLAGS
) -Os
-ffunction-sections
-fdata-sections
6 SMBLDFLAGS
= -ffunction-sections
-fdata-sections
-Wl
,--gc-sections
8 ifneq ($(CONFIG_LINUX26
),y
)
9 SMBCFLAGS
+= -DMAX_DEBUG_LEVEL
="-1"
15 mkdir
-p
$(srcdir)/bin
16 $(MAKE
) -C
$(srcdir) all
20 ac_cv_lib_resolv_dn_expand
=no \
21 ac_cv_lib_resolv__dn_expand
=no \
22 ac_cv_lib_resolv___dn_expand
=no \
24 SMB_BUILD_CC_NEGATIVE_ENUM_VALUES
=yes \
25 linux_getgrouplist_ok
=no \
27 samba_cv_have_longlong
=yes \
28 samba_cv_HAVE_INO64_T
=yes \
29 samba_cv_HAVE_OFF64_T
=yes \
30 samba_cv_HAVE_STRUCT_FLOCK64
=yes \
31 samba_cv_SIZEOF_OFF_T
=yes \
32 samba_cv_HAVE_MMAP
=yes \
33 samba_cv_HAVE_FTRUNCATE_EXTEND
=yes \
34 samba_cv_REPLACE_READDIR
=no \
35 samba_cv_HAVE_BROKEN_LINUX_SENDFILE
=no \
36 samba_cv_HAVE_SENDFILE
=no \
37 samba_cv_HAVE_SENDFILE64
=no \
38 samba_cv_HAVE_WRFILE_KEYTAB
=yes \
39 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX
=yes \
40 samba_cv_HAVE_IFACE_IFCONF
=yes \
41 samba_cv_have_setresgid
=yes \
42 samba_cv_have_setresuid
=yes \
43 samba_cv_USE_SETRESUID
=yes \
44 samba_cv_USE_SETREUID
=yes \
45 samba_cv_HAVE_GETTIMEOFDAY_TZ
=yes \
46 samba_cv_REALPATH_TAKES_NULL
=no \
47 samba_cv_HAVE_FCNTL_LOCK
=yes \
48 samba_cv_HAVE_SECURE_MKSTEMP
=yes \
49 samba_cv_HAVE_NATIVE_ICONV
=no \
50 samba_cv_HAVE_BROKEN_FCNTL64_LOCKS
=no \
51 samba_cv_HAVE_BROKEN_GETGROUPS
=no \
52 samba_cv_HAVE_BROKEN_READDIR_NAME
=no \
53 samba_cv_HAVE_C99_VSNPRINTF
=yes \
54 samba_cv_HAVE_DEV64_T
=no \
55 samba_cv_HAVE_DEVICE_MAJOR_FN
=yes \
56 samba_cv_HAVE_DEVICE_MINOR_FN
=yes \
57 samba_cv_HAVE_IFACE_AIX
=no \
58 samba_cv_HAVE_KERNEL_CHANGE_NOTIFY
=no \
59 samba_cv_HAVE_KERNEL_SHARE_MODES
=yes \
60 samba_cv_HAVE_MAKEDEV
=yes \
61 samba_cv_HAVE_TRUNCATED_SALT
=no \
62 samba_cv_HAVE_UNSIGNED_CHAR
=no \
63 samba_cv_HAVE_WORKING_AF_LOCAL
=yes \
64 samba_cv_HAVE_Werror
=yes \
65 samba_cv_REPLACE_INET_NTOA
=no \
66 samba_cv_SIZEOF_DEV_T
=yes \
67 samba_cv_SIZEOF_INO_T
=yes \
68 samba_cv_SIZEOF_TIME_T
=no \
69 CPPFLAGS
="-DNDEBUG -DSHMEM_SIZE=524288 -Dfcntl=fcntl64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_LARGE_FILES=1" \
70 CFLAGS
="$(SMBCFLAGS)" LDFLAGS
="$(SMBLDFLAGS)" CC
=$(CC
) LD
=$(LD
) AR
=$(AR
) RANLIB
=$(RANLIB
) \
76 --localstatedir
=/var \
77 --with-configdir
=/etc \
78 --with-rootsbindir
=/usr
/sbin \
79 --with-piddir
=/var
/run
/samba \
80 --with-privatedir
=/etc
/samba \
81 --with-lockdir
=/var
/lock \
83 --with-included-popt
=no \
92 --disable-krb5developer \
96 --without-acl-support \
99 --without-cifsupcall \
100 --without-cluster-support \
101 --without-sendfile-support \
107 mkdir
-p
$(srcdir)/bin
110 -$(MAKE
) -C
$(srcdir) distclean
114 @find
$(srcdir) -name config.h | xargs
rm -f
115 @find
$(srcdir) -name Makefile | xargs
rm -f
116 @find
$(srcdir) -name config.status | xargs
rm -f
117 @find
$(srcdir) -name config.cache | xargs
rm -f
120 @
install -d
$(INSTALLDIR
)/usr
/bin
/
121 @
install -d
$(INSTALLDIR
)/usr
/sbin
/
122 @
install -d
$(INSTALLDIR
)/usr
/lib
/
123 @
install -D
$(srcdir)/bin
/smbd
$(INSTALLDIR
)/usr
/sbin
/smbd
124 @
install -D
$(srcdir)/bin
/nmbd
$(INSTALLDIR
)/usr
/sbin
/nmbd
125 @
install -D
$(srcdir)/bin
/smbpasswd
$(INSTALLDIR
)/usr
/bin
/smbpasswd
126 @
install -D
$(srcdir)/bin
/libbigballofmud.so
$(INSTALLDIR
)/usr
/lib
/libbigballofmud.so
128 $(STRIP
) -s
$(INSTALLDIR
)/usr
/sbin
/smbd
129 $(STRIP
) -s
$(INSTALLDIR
)/usr
/sbin
/nmbd
130 $(STRIP
) -s
$(INSTALLDIR
)/usr
/bin
/smbpasswd
131 # do not strip shared library, it will be optimized by libfoo.pl
132 # $(STRIP) -s $(INSTALLDIR)/usr/lib/libbigballofmud.so