1 include $(top_srcdir)/src/Common.am
3 # SAMBAPREFIX must point to the directory where Samba has been installed.
4 # By default, Samba is installed in /usr/local/samba. If you changed this
5 # by using the --prefix option when configuring Samba, you need to change
6 # SAMBAPREFIX accordingly.
8 ## FIXME: autoconf should test for the samba path.
10 SMB_AUTH_HELPER = basic_smb_auth.sh
11 SAMBAPREFIX=/usr/local/samba
12 SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER)
14 libexec_SCRIPTS = $(SMB_AUTH_HELPER)
16 libexec_PROGRAMS = basic_smb_auth
17 basic_smb_auth_SOURCES= basic_smb_auth.cc
18 basic_smb_auth_CXXFLAGS = -DSAMBAPREFIX=\"$(SAMBAPREFIX)\" -DHELPERSCRIPT=\"$(SMB_AUTH_HELPER_PATH)\"
19 basic_smb_auth_LDADD = $(COMPAT_LIB) $(XTRA_LIBS)
21 EXTRA_DIST = basic_smb_auth.sh COPYING-2.0 config.test