2005-08-03 08:15:16 +04:00
# master list of build config files for Samba4
i n c l u d e h e i m d a l _ b u i l d / c o n f i g . m k
i n c l u d e c o n f i g . m k
i n c l u d e d s d b / c o n f i g . m k
i n c l u d e g t k / c o n f i g . m k
i n c l u d e s m b d / c o n f i g . m k
i n c l u d e s m b d / p r o c e s s _ m o d e l . m k
i n c l u d e l i b n e t / c o n f i g . m k
i n c l u d e a u t h / c o n f i g . m k
i n c l u d e n s s w i t c h / c o n f i g . m k
i n c l u d e l i b / b a s i c . m k
i n c l u d e l i b / s o c k e t / c o n f i g . m k
i n c l u d e l i b / l d b / c o n f i g . m k
i n c l u d e l i b / t a l l o c / c o n f i g . m k
i n c l u d e l i b / t d b / c o n f i g . m k
i n c l u d e l i b / t l s / c o n f i g . m k
i n c l u d e l i b / r e g i s t r y / c o n f i g . m k
i n c l u d e l i b / m e s s a g i n g / c o n f i g . m k
i n c l u d e l i b / e v e n t s / c o n f i g . m k
i n c l u d e l i b / p o p t / c o n f i g . m k
i n c l u d e l i b / c m d l i n e / c o n f i g . m k
i n c l u d e l i b / s o c k e t _ w r a p p e r / c o n f i g . m k
i n c l u d e l i b / a p p w e b / c o n f i g . m k
i n c l u d e p a r a m / c o n f i g . m k
i n c l u d e s m b _ s e r v e r / c o n f i g . m k
i n c l u d e r p c _ s e r v e r / c o n f i g . m k
i n c l u d e l d a p _ s e r v e r / c o n f i g . m k
i n c l u d e w e b _ s e r v e r / c o n f i g . m k
i n c l u d e w i n b i n d / c o n f i g . m k
i n c l u d e n b t _ s e r v e r / c o n f i g . m k
i n c l u d e c l d a p _ s e r v e r / c o n f i g . m k
i n c l u d e a u t h / g e n s e c / c o n f i g . m k
i n c l u d e a u t h / k e r b e r o s / c o n f i g . m k
i n c l u d e a u t h / n t l m s s p / c o n f i g . m k
i n c l u d e l i b c l i / a u t h / c o n f i g . m k
i n c l u d e l i b c l i / l d a p / c o n f i g . m k
i n c l u d e l i b c l i / c o n f i g . m k
i n c l u d e u t i l s / n e t / c o n f i g . m k
i n c l u d e u t i l s / c o n f i g . m k
i n c l u d e n t v f s / p o s i x / c o n f i g . m k
i n c l u d e n t v f s / c o n f i g . m k
i n c l u d e n t v f s / u n i x u i d / c o n f i g . m k
i n c l u d e n t p t r / c o n f i g . m k
i n c l u d e t o r t u r e / c o n f i g . m k
i n c l u d e l i b r p c / c o n f i g . m k
i n c l u d e c l i e n t / c o n f i g . m k
i n c l u d e l i b c l i / c o n f i g . m k
i n c l u d e l i b c l i / s e c u r i t y / c o n f i g . m k
i n c l u d e l i b / c o m / c o n f i g . m k
i n c l u d e s c r i p t i n g / c o n f i g . m k
i n c l u d e k d c / c o n f i g . m k
i n c l u d e l i b / r e p l a c e / c o n f i g . m k
i n c l u d e s c r i p t i n g / e j s / c o n f i g . m k
2005-08-04 08:45:42 +04:00
all : binary_asn 1_compile binary_compile_et binaries
2005-08-03 08:15:16 +04:00
binaries : $( BIN_PROGS ) $( SBIN_PROGS )
manpages : $( MANPAGES )
2005-08-03 09:28:08 +04:00
everything : all
2005-08-03 08:15:16 +04:00
showlayout :
@echo "Samba will be installed into:"
@echo " basedir: $( BASEDIR) "
@echo " bindir: $( BINDIR) "
@echo " sbindir: $( SBINDIR) "
@echo " libdir: $( LIBDIR) "
@echo " vardir: $( VARDIR) "
@echo " privatedir: $( PRIVATEDIR) "
@echo " piddir: $( PIDDIR) "
@echo " lockdir: $( LOCKDIR) "
@echo " swatdir: $( SWATDIR) "
@echo " mandir: $( MANDIR) "
showflags :
@echo "Samba will be compiled with flags:"
@echo " CFLAGS = $( CFLAGS) "
@echo " LD_FLAGS = $( LD_FLAGS) "
@echo " STLD_FLAGS = $( STLD_FLAGS) "
@echo " SHLD_FLAGS = $( SHLD_FLAGS) "
2005-08-04 06:27:30 +04:00
install : showlayout installbin installdat installswat installmisc
2005-08-03 08:15:16 +04:00
2005-08-03 09:28:08 +04:00
# DESTDIR is used here to prevent packagers wasting their time
# duplicating the Makefile. Remove it and you will have the privilege
# of packaging each samba release for multiple versions of multiple
# distributions and operating systems, or at least supplying patches
# to all the packaging files required for this, prior to committing
# the removal of DESTDIR. Do not remove it even though you think it
# is not used.
installdirs :
@$( SHELL) $( srcdir) /script/installdirs.sh $( DESTDIR) $( BASEDIR) $( DESTDIR) $( BINDIR) $( DESTDIR) $( SBINDIR) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( VARDIR) $( DESTDIR) $( PRIVATEDIR) $( DESTDIR) $( PIDDIR) $( DESTDIR) $( LOCKDIR) $( DESTDIR) $( PRIVATEDIR) /tls
installbin : binaries installdirs
@$( SHELL) $( srcdir) /script/installbin.sh $( INSTALLPERMS) $( DESTDIR) $( BASEDIR) $( DESTDIR) $( SBINDIR) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( VARDIR) $( SBIN_PROGS)
@$( SHELL) $( srcdir) /script/installbin.sh $( INSTALLPERMS) $( DESTDIR) $( BASEDIR) $( DESTDIR) $( BINDIR) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( VARDIR) $( BIN_PROGS)
installdat : installdirs
@$( SHELL) $( srcdir) /script/installdat.sh $( DESTDIR) $( LIBDIR) $( srcdir)
installswat : installdirs
@$( SHELL) $( srcdir) /script/installswat.sh $( DESTDIR) $( SWATDIR) $( srcdir) $( DESTDIR) $( LIBDIR)
installman : installdirs
@$( SHELL) $( srcdir) /script/installman.sh $( DESTDIR) $( MANDIR) $( MANPAGES)
2005-08-04 06:27:30 +04:00
installmisc : installdirs
@$( SHELL) $( srcdir) /script/installmisc.sh $( srcdir) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( BINDIR)
uninstall : uninstallbin uninstallman uninstallmisc
uninstallmisc :
#FIXME
2005-08-03 09:28:08 +04:00
uninstallbin :
@$( SHELL) $( srcdir) /script/uninstallbin.sh $( INSTALLPERMS) $( DESTDIR) $( BASEDIR) $( DESTDIR) $( SBINDIR) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( VARDIR) $( DESTDIR) $( SBIN_PROGS)
@$( SHELL) $( srcdir) /script/uninstallbin.sh $( INSTALLPERMS) $( DESTDIR) $( BASEDIR) $( DESTDIR) $( BINDIR) $( DESTDIR) $( LIBDIR) $( DESTDIR) $( VARDIR) $( DESTDIR) $( BIN_PROGS)
uninstallman :
@$( SHELL) $( srcdir) /script/uninstallman.sh $( DESTDIR) $( MANDIR) $( MANPAGES)
etags :
etags ` find $( srcdir) -name "*.[ch]" `
ctags :
ctags ` find $( srcdir) -name "*.[ch]" `
idl_full : build /pidl /Parse /Pidl /IDL .pm
@CPP= " $( CPP) " PERL = " $( PERL) " script/build_idl.sh FULL @PIDL_ARGS@
idl : build /pidl /Parse /Pidl /IDL .pm
@CPP= " $( CPP) " PERL = " $( PERL) " script/build_idl.sh PARTIAL @PIDL_ARGS@
build/pidl/Parse/Pidl/IDL.pm : build /pidl /idl .yp
-yapp -s -m 'Parse::Pidl::IDL' -o build/pidl/Parse/Pidl/IDL.pm build/pidl/idl.yp
smb_interfaces : build /pidl /smb_interfaces .pm
$( PERL) -Ibuild/pidl script/build_smb_interfaces.pl \
include/smb_interfaces.h
build/pidl/smb_interfaces.pm : build /pidl /smb_interfaces .yp
-yapp -s -m 'smb_interfaces' -o build/pidl/smb_interfaces.pm build/pidl/smb_interfaces.yp
2005-08-04 08:45:42 +04:00
include/config.h :
@echo "include/config.h not present"
@echo "You need to rerun ./autogen.sh and ./configure"
@/bin/false
include/proto.h : $( PROTO_PROTO_OBJS :.o =.c )
@-rm -f include/includes.h.gch
@$( SHELL) script/mkproto.sh " $( PERL) " \
-h _PROTO_H_ include/proto.h \
$( PROTO_PROTO_OBJS)
@touch include/proto.h
2005-08-03 09:28:08 +04:00
2005-08-04 08:45:42 +04:00
proto : include /proto .h
2005-08-04 08:53:06 +04:00
pch : include /config .h \
include/proto.h \
idl \
include/includes.h.gch
2005-08-03 09:28:08 +04:00
2005-08-04 08:45:42 +04:00
basics : include /config .h \
include/proto.h \
idl \
heimdal_basics
2005-08-03 09:28:08 +04:00
test : $( DEFAULT_TEST_TARGET )
test-swrap : all
./script/tests/selftest.sh ${ selftest_prefix } /st all SOCKET_WRAPPER
test-noswrap : all
./script/tests/selftest.sh ${ selftest_prefix } /st all
quicktest : all
./script/tests/selftest.sh ${ selftest_prefix } /st quick SOCKET_WRAPPER
valgrindtest : all
SMBD_VALGRIND = "xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
./script/tests/selftest.sh ${ selftest_prefix } /st quick SOCKET_WRAPPER
.y.c :
$( YACC) -d -o $@ $<
.l.c :
$( LEX) -o $@ $<