mirror of
https://github.com/samba-team/samba.git
synced 2025-08-29 13:49:30 +03:00
r7764: Generate _ALL_OBJS list.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3bdf89b0f7
commit
ba41c0806a
@ -513,7 +513,7 @@ proto_test:
|
|||||||
@[ -f $(builddir)/include/proto.h ] || $(MAKE) proto
|
@[ -f $(builddir)/include/proto.h ] || $(MAKE) proto
|
||||||
|
|
||||||
clean: delheaders
|
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_*
|
-rm -rf librpc/gen_*
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
@ -70,6 +70,10 @@ sub create_output($)
|
|||||||
$depend->{PROTO}{TYPE} = "PROTO";
|
$depend->{PROTO}{TYPE} = "PROTO";
|
||||||
$depend->{PROTO}{NAME} = "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}) {
|
foreach $part (values %{$depend}) {
|
||||||
next if not defined($part->{OUTPUT_TYPE});
|
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->{ADD_OBJ_FILES}}) if defined($part->{ADD_OBJ_FILES});
|
||||||
push(@{$part->{OBJ_LIST}}, @{$part->{OBJ_FILES}}) if defined($part->{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}}));
|
push(@{$depend->{PROTO}{OBJ_LIST}}, @{$part->{OBJ_LIST}}) if ((not defined ($part->{NOPROTO}) or $part->{NOPROTO} eq "NO") and defined(@{$part->{OBJ_LIST}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user