Add git-remote-testsvn to Makefile
The link-rule is a copy of the standard git$X rule but adds VCSSVN_LIB. Add executable to .gitignore. Signed-off-by: Florian Achleitner <florian.achleitner.2.6.31@gmail.com> Acked-by: David Michael Barr <b@rr-dav.id.au> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Florian Achleitner committed
Sep 19, 2012 at 17:21 UTC
48ea9f955f52cab0b259c497b4b960832dddd0ac
2 files changed
+6
.gitignore
+1
@@ -125,6 +125,7 @@
125
/git-remote-fd
126
/git-remote-ext
127
/git-remote-testgit
128
+/git-remote-testsvn
129
/git-repack
130
/git-replace
131
/git-repo-config
Makefile
+5
@@ -477,6 +477,7 @@ PROGRAM_OBJS += sh-i18n--envsubst.o
477
PROGRAM_OBJS += shell.o
478
PROGRAM_OBJS += show-index.o
479
PROGRAM_OBJS += upload-pack.o
480
+PROGRAM_OBJS += remote-testsvn.o
481
482
# Binary suffix, set to .exe for Windows builds
483
X =
@@ -2352,6 +2353,10 @@ git-http-push$X: revision.o http.o http-push.o GIT-LDFLAGS $(GITLIBS)
2353
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
2354
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
2355
2356
+git-remote-testsvn$X: remote-testsvn.o GIT-LDFLAGS $(GITLIBS) $(VCSSVN_LIB)
2357
+ $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS) \
2358
+ $(VCSSVN_LIB)
2359
+
2360
$(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY)
2361
$(QUIET_LNCP)$(RM) $@ && \
2362
ln $< $@ 2>/dev/null || \