@@ -916,7 +916,6 @@ export PYTHON_PATH
916916TEST_SHELL_PATH = $(SHELL_PATH )
917917
918918LIB_FILE = libgit.a
919- REFTABLE_LIB = reftable/libreftable.a
920919
921920GENERATED_H += command-list.h
922921GENERATED_H += config-list.h
@@ -1134,6 +1133,19 @@ LIB_OBJS += refs/iterator.o
11341133LIB_OBJS += refs/packed-backend.o
11351134LIB_OBJS += refs/ref-cache.o
11361135LIB_OBJS += refspec.o
1136+ LIB_OBJS += reftable/basics.o
1137+ LIB_OBJS += reftable/error.o
1138+ LIB_OBJS += reftable/block.o
1139+ LIB_OBJS += reftable/blocksource.o
1140+ LIB_OBJS += reftable/iter.o
1141+ LIB_OBJS += reftable/merged.o
1142+ LIB_OBJS += reftable/pq.o
1143+ LIB_OBJS += reftable/record.o
1144+ LIB_OBJS += reftable/stack.o
1145+ LIB_OBJS += reftable/system.o
1146+ LIB_OBJS += reftable/table.o
1147+ LIB_OBJS += reftable/tree.o
1148+ LIB_OBJS += reftable/writer.o
11371149LIB_OBJS += remote.o
11381150LIB_OBJS += replace-object.o
11391151LIB_OBJS += repo-settings.o
@@ -1394,8 +1406,7 @@ CLAR_TEST_OBJS += $(UNIT_TEST_DIR)/unit-test.o
13941406
13951407UNIT_TEST_OBJS += $(UNIT_TEST_DIR ) /test-lib.o
13961408
1397- # reftable lib may in turn depend on what is in libgit.a
1398- GITLIBS = common-main.o $(LIB_FILE ) $(REFTABLE_LIB ) $(LIB_FILE )
1409+ GITLIBS = common-main.o $(LIB_FILE )
13991410EXTLIBS =
14001411
14011412GIT_USER_AGENT = git/$(GIT_VERSION )
@@ -2727,20 +2738,6 @@ reconfigure config.mak.autogen: config.status
27272738.PHONY : reconfigure # This is a convenience target.
27282739endif
27292740
2730- REFTABLE_OBJS += reftable/basics.o
2731- REFTABLE_OBJS += reftable/error.o
2732- REFTABLE_OBJS += reftable/block.o
2733- REFTABLE_OBJS += reftable/blocksource.o
2734- REFTABLE_OBJS += reftable/iter.o
2735- REFTABLE_OBJS += reftable/merged.o
2736- REFTABLE_OBJS += reftable/pq.o
2737- REFTABLE_OBJS += reftable/record.o
2738- REFTABLE_OBJS += reftable/stack.o
2739- REFTABLE_OBJS += reftable/system.o
2740- REFTABLE_OBJS += reftable/table.o
2741- REFTABLE_OBJS += reftable/tree.o
2742- REFTABLE_OBJS += reftable/writer.o
2743-
27442741TEST_OBJS := $(patsubst % $X,% .o,$(TEST_PROGRAMS ) ) $(patsubst % ,t/helper/% ,$(TEST_BUILTINS_OBJS ) )
27452742
27462743.PHONY : test-objs
@@ -2762,7 +2759,7 @@ OBJECTS += $(SCALAR_OBJS)
27622759OBJECTS += $(PROGRAM_OBJS )
27632760OBJECTS += $(TEST_OBJS )
27642761OBJECTS += $(FUZZ_OBJS )
2765- OBJECTS += $(REFTABLE_OBJS ) $( REFTABLE_TEST_OBJS )
2762+ OBJECTS += $(REFTABLE_TEST_OBJS )
27662763OBJECTS += $(UNIT_TEST_OBJS )
27672764OBJECTS += $(CLAR_TEST_OBJS )
27682765OBJECTS += $(patsubst % ,$(UNIT_TEST_DIR ) /% .o,$(UNIT_TEST_PROGRAMS ) )
@@ -2914,9 +2911,6 @@ scalar$X: scalar.o GIT-LDFLAGS $(GITLIBS)
29142911$(LIB_FILE ) : $(LIB_OBJS )
29152912 $(QUIET_AR )$(RM ) $@ && $(AR ) $(ARFLAGS ) $@ $^
29162913
2917- $(REFTABLE_LIB ) : $(REFTABLE_OBJS )
2918- $(QUIET_AR )$(RM ) $@ && $(AR ) $(ARFLAGS ) $@ $^
2919-
29202914export DEFAULT_EDITOR DEFAULT_PAGER
29212915
29222916Documentation/GIT-EXCLUDED-PROGRAMS : FORCE
@@ -3755,7 +3749,7 @@ clean: profile-clean coverage-clean cocciclean
37553749 $(RM ) git.rc git.res
37563750 $(RM ) $(OBJECTS )
37573751 $(RM ) headless-git.o
3758- $(RM ) $(LIB_FILE ) $( REFTABLE_LIB )
3752+ $(RM ) $(LIB_FILE )
37593753 $(RM ) $(ALL_PROGRAMS ) $(SCRIPT_LIB ) $(BUILT_INS ) $(OTHER_PROGRAMS )
37603754 $(RM ) $(TEST_PROGRAMS )
37613755 $(RM ) $(FUZZ_PROGRAMS )
@@ -3948,7 +3942,6 @@ endif
39483942
39493943LIBGIT_PUB_OBJS += contrib/libgit-sys/public_symbol_export.o
39503944LIBGIT_PUB_OBJS += libgit.a
3951- LIBGIT_PUB_OBJS += reftable/libreftable.a
39523945
39533946LIBGIT_PARTIAL_EXPORT = contrib/libgit-sys/partial_symbol_export.o
39543947
0 commit comments