diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
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 | |||
4 | CGIT_CONFIG = /etc/cgitrc | 4 | CGIT_CONFIG = /etc/cgitrc |
5 | CACHE_ROOT = /var/cache/cgit | 5 | CACHE_ROOT = /var/cache/cgit |
6 | SHA1_HEADER = <openssl/sha.h> | 6 | SHA1_HEADER = <openssl/sha.h> |
7 | GIT_VER = 1.5.6 | 7 | GIT_VER = 1.6.0.rc1 |
8 | GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2 | 8 | GIT_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 | |||
55 | OBJECTS += html.o | 55 | OBJECTS += html.o |
56 | OBJECTS += parsing.o | 56 | OBJECTS += parsing.o |
57 | OBJECTS += shared.o | 57 | OBJECTS += shared.o |
58 | OBJECTS += ui-atom.o | ||
58 | OBJECTS += ui-blob.o | 59 | OBJECTS += ui-blob.o |
59 | OBJECTS += ui-clone.o | 60 | OBJECTS += ui-clone.o |
60 | OBJECTS += ui-commit.o | 61 | OBJECTS += ui-commit.o |
@@ -74,7 +75,7 @@ ifdef NEEDS_LIBICONV | |||
74 | endif | 75 | endif |
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 | ||
79 | all: cgit | 80 | all: cgit |
80 | 81 | ||
@@ -91,17 +92,15 @@ CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' | |||
91 | CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' | 92 | CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' |
92 | 93 | ||
93 | 94 | ||
94 | cgit: $(OBJECTS) git/libgit.a git/xdiff/lib.a | 95 | cgit: $(OBJECTS) libgit |
95 | $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) | 96 | $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) |
96 | 97 | ||
97 | cgit.o: VERSION | 98 | cgit.o: VERSION |
98 | 99 | ||
99 | -include $(OBJECTS:.o=.d) | 100 | -include $(OBJECTS:.o=.d) |
100 | 101 | ||
101 | git/libgit.a: git | 102 | libgit: |
102 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a | 103 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a |
103 | |||
104 | git/xdiff/lib.a: git | ||
105 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a | 104 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a |
106 | 105 | ||
107 | test: all | 106 | test: all |