summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-06-23 15:23:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:42 -0500
commitf877a7fdf570db5c36c29eebc0e579f848e4a912 (patch)
treeea83c95176875f884eed4f7558a6e73ec633a019 /source4/build
parentf1a853664ca143466ebd12958c1b1ac7f3c039dd (diff)
downloadsamba-f877a7fdf570db5c36c29eebc0e579f848e4a912.tar.gz
samba-f877a7fdf570db5c36c29eebc0e579f848e4a912.tar.bz2
samba-f877a7fdf570db5c36c29eebc0e579f848e4a912.zip
r7845: remove unused files
and remove all generated files with make distclean and make realdistclean metze (This used to be commit f964e228c9ceeb3dc4d0afd1b6b092734e06e372)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm15
1 files changed, 6 insertions, 9 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 51aa08ab05..29eee6c468 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -486,20 +486,16 @@ sub _prepare_proto_rules()
# exist, not necessarily that they are up to date. Since they're
# removed by 'make clean' this will always be run when you do anything
# afterwards.
-proto_exists: include/proto.h include/build_env.h
+proto_exists: include/proto.h
delheaders: pch_clean
- -rm -f $(builddir)/include/proto.h $(builddir)/include/build_env.h:
+ -rm -f $(builddir)/include/proto.h
include/proto.h:
@cd $(srcdir) && $(SHELL) script/mkproto.sh "$(PERL)" \
-h _PROTO_H_ $(builddir)/include/proto.h \
$(PROTO_PROTO_OBJS)
-include/build_env.h:
- @echo Building include/build_env.h
- @cd $(srcdir) && $(SHELL) script/build_env.sh $(srcdir) $(builddir) $(CC) > $(builddir)/include/build_env.h
-
# 'make headers' or 'make proto' calls a subshell because we need to
# make sure these commands are executed in sequence even for a
# parallel make.
@@ -518,18 +514,19 @@ clean: delheaders
distclean: clean
-rm -f bin/.dummy
- -rm -f include/config.h
+ -rm -f include/config.h include/smb_build.h
-rm -f Makefile*
-rm -f config.status
- -rm -f config.smb_build.*
-rm -f config.log config.cache
+ -rm -f samba4-deps.dot
+ -rm -f lib/registry/winregistry.pc
removebackup:
-rm -f *.bak *~ */*.bak */*~ */*/*.bak */*/*~ */*/*/*.bak */*/*/*~
realdistclean: distclean removebackup
-rm -f include/config.h.in
- -rm -f lib/version.h
+ -rm -f include/version.h
-rm -f configure
__EOD__