-all: basics bin/asn1_compile bin/compile_et binaries
+all: basics bin/asn1_compile bin/compile_et binaries libraries modules
include heimdal_build/config.mk
include config.mk
include kdc/config.mk
include passdb/config.mk
-DEFAULT_HEADERS = $(srcdir)/include/smb.h $(srcdir)/include/core.h
+DEFAULT_HEADERS = $(srcdir)/include/core.h
binaries: $(BINARIES)
libraries: $(STATIC_LIBS) $(SHARED_LIBS)
-DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\"
install: showlayout installbin installdat installswat installmisc installlib \
- installheader installpc
+ installheader installpc installplugins
# DESTDIR is used here to prevent packagers wasting their time
# duplicating the Makefile. Remove it and you will have the privilege
installpc: installdirs
@$(SHELL) $(srcdir)/script/installpc.sh $(srcdir) $(DESTDIR)$(PKGCONFIGDIR) $(PC_FILES)
-uninstall: uninstallbin uninstallman uninstallmisc uninstalllib uninstallheader
+uninstall: uninstallbin uninstallman uninstallmisc uninstalllib uninstallheader \
+ uninstallplugins
uninstallmisc:
#FIXME
lib/util/util_proto.h \
lib/charset/charset.h \
param/param.h \
+ libcli/util/proto.h
clean_pch:
-rm -f include/includes.h.gch
@echo Removing hostcc objects
@-find . -name '*.ho' -exec rm -f '{}' \;
@echo Removing binaries
- @-rm -f $(BIN_PROGS) $(SBIN_PROGS)
+ @-rm -f $(BIN_PROGS) $(SBIN_PROGS) $(BINARIES)
@echo Removing libraries
- @-rm -f bin/*.$(SHLIBEXT).*
+ @-rm -f $(STATIC_LIBRARIES) $(SHARED_LIBRARIES)
+ @-rm -f bin/*.$(SHLIBEXT)*
+ @echo Removing modules
+ @-rm -f $(SHARED_MODULES) $(PLUGINS)
+ @-rm -f bin/*_init_module.c
@echo Removing dummy targets
@-rm -f bin/.*_*
@echo Removing generated files
+ @-rm -f bin/*_init_module.c
@-rm -rf librpc/gen_*
@-rm -f lib/registry/regf.h lib/registry/tdr_regf*
@echo Removing proto headers
-rm -f config.log config.cache
-rm -f samba4-deps.dot
-rm -f config.pm config.mk
+ -rm -f $(PC_FILES)
removebackup:
-rm -f *.bak *~ */*.bak */*~ */*/*.bak */*/*~ */*/*/*.bak */*/*/*~