aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 78aad10..b002d44 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CGIT_SCRIPT_PATH = /var/www/htdocs/cgit
4CGIT_CONFIG = /etc/cgitrc 4CGIT_CONFIG = /etc/cgitrc
5CACHE_ROOT = /var/cache/cgit 5CACHE_ROOT = /var/cache/cgit
6SHA1_HEADER = <openssl/sha.h> 6SHA1_HEADER = <openssl/sha.h>
7GIT_VER = 1.5.6 7GIT_VER = 1.6.0.rc1
8GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2 8GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
9 9
10# 10#
@@ -55,6 +55,7 @@ OBJECTS += configfile.o
55OBJECTS += html.o 55OBJECTS += html.o
56OBJECTS += parsing.o 56OBJECTS += parsing.o
57OBJECTS += shared.o 57OBJECTS += shared.o
58OBJECTS += ui-atom.o
58OBJECTS += ui-blob.o 59OBJECTS += ui-blob.o
59OBJECTS += ui-clone.o 60OBJECTS += ui-clone.o
60OBJECTS += ui-commit.o 61OBJECTS += ui-commit.o
@@ -74,7 +75,7 @@ ifdef NEEDS_LIBICONV
74endif 75endif
75 76
76 77
77.PHONY: all git test install uninstall clean force-version get-git 78.PHONY: all libgit test install uninstall clean force-version get-git
78 79
79all: cgit 80all: cgit
80 81
@@ -91,17 +92,15 @@ CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"'
91CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' 92CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"'
92 93
93 94
94cgit: $(OBJECTS) git/libgit.a git/xdiff/lib.a 95cgit: $(OBJECTS) libgit
95 $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) 96 $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS)
96 97
97cgit.o: VERSION 98cgit.o: VERSION
98 99
99-include $(OBJECTS:.o=.d) 100-include $(OBJECTS:.o=.d)
100 101
101git/libgit.a: git 102libgit:
102 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a 103 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a
103
104git/xdiff/lib.a: git
105 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a 104 $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a
106 105
107test: all 106test: all