diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 |
@@ -75,7 +76,7 @@ ifdef NEEDS_LIBICONV | |||
75 | endif | 76 | endif |
76 | 77 | ||
77 | 78 | ||
78 | .PHONY: all git test install uninstall clean force-version get-git | 79 | .PHONY: all libgit test install uninstall clean force-version get-git |
79 | 80 | ||
80 | all: cgit | 81 | all: cgit |
81 | 82 | ||
@@ -92,17 +93,15 @@ CFLAGS += -DCGIT_SCRIPT_NAME='"$(CGIT_SCRIPT_NAME)"' | |||
92 | CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' | 93 | CFLAGS += -DCGIT_CACHE_ROOT='"$(CACHE_ROOT)"' |
93 | 94 | ||
94 | 95 | ||
95 | cgit: $(OBJECTS) git/libgit.a git/xdiff/lib.a | 96 | cgit: $(OBJECTS) libgit |
96 | $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) | 97 | $(QUIET_CC)$(CC) $(CFLAGS) -o cgit $(OBJECTS) $(EXTLIBS) |
97 | 98 | ||
98 | cgit.o: VERSION | 99 | cgit.o: VERSION |
99 | 100 | ||
100 | -include $(OBJECTS:.o=.d) | 101 | -include $(OBJECTS:.o=.d) |
101 | 102 | ||
102 | git/libgit.a: git | 103 | libgit: |
103 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a | 104 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a |
104 | |||
105 | git/xdiff/lib.a: git | ||
106 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a | 105 | $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a |
107 | 106 | ||
108 | test: all | 107 | test: all |