diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-06-19 22:34:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:33 -0500 |
commit | 1b69bc899681fe96a5a368cbe3ead4527dbb69c5 (patch) | |
tree | d1d53a43609c612e94acdc97a26b19e4a80105a3 | |
parent | a40d966ff592436be7014c8a83144c0a5901c1fb (diff) | |
download | samba-1b69bc899681fe96a5a368cbe3ead4527dbb69c5.tar.gz samba-1b69bc899681fe96a5a368cbe3ead4527dbb69c5.tar.bz2 samba-1b69bc899681fe96a5a368cbe3ead4527dbb69c5.zip |
r7764: Generate _ALL_OBJS list.
(This used to be commit ba41c0806afc065d4de15a51430676d35b9055db)
-rw-r--r-- | source4/build/smb_build/makefile.pm | 2 | ||||
-rw-r--r-- | source4/build/smb_build/output.pm | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index a58ed8cf76..74d87fad31 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -513,7 +513,7 @@ proto_test: @[ -f $(builddir)/include/proto.h ] || $(MAKE) proto clean: delheaders - -rm -f *.o */*.o */*/*.o */*/*/*.o bin/* bin/.SUBSYSTEM_* bin/.MODULE_* + -rm -f *.o */*.o */*/*.o */*/*/*.o bin/* bin/.*_* -rm -rf librpc/gen_* distclean: clean diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index 49b066f228..f156f7945b 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -70,6 +70,10 @@ sub create_output($) $depend->{PROTO}{TYPE} = "PROTO"; $depend->{PROTO}{NAME} = "PROTO"; + $depend->{ALL_OBJS}{OUTPUT_TYPE} = "OBJLIST"; + $depend->{ALL_OBJS}{TYPE} = ""; + $depend->{ALL_OBJS}{NAME} = "ALL_OBJS"; + foreach $part (values %{$depend}) { next if not defined($part->{OUTPUT_TYPE}); @@ -83,6 +87,7 @@ sub create_output($) push(@{$part->{OBJ_LIST}}, @{$part->{ADD_OBJ_FILES}}) if defined($part->{ADD_OBJ_FILES}); push(@{$part->{OBJ_LIST}}, @{$part->{OBJ_FILES}}) if defined($part->{OBJ_FILES}); + push(@{$depend->{ALL_OBJS}{OBJ_LIST}}, @{$part->{OBJ_LIST}}) if (defined(@{$part->{OBJ_LIST}})); push(@{$depend->{PROTO}{OBJ_LIST}}, @{$part->{OBJ_LIST}}) if ((not defined ($part->{NOPROTO}) or $part->{NOPROTO} eq "NO") and defined(@{$part->{OBJ_LIST}})); } |