|
diff --git a/Makefile b/Makefile index 5162020..0349639 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,20 +1,20 @@ |
1 | CGIT_VERSION = v0.8.3.3 |
1 | CGIT_VERSION = v0.8.3.3 |
2 | CGIT_SCRIPT_NAME = cgit.cgi |
2 | CGIT_SCRIPT_NAME = cgit.cgi |
3 | CGIT_SCRIPT_PATH = /var/www/htdocs/cgit |
3 | CGIT_SCRIPT_PATH = /var/www/htdocs/cgit |
4 | CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) |
4 | CGIT_DATA_PATH = $(CGIT_SCRIPT_PATH) |
5 | CGIT_CONFIG = /etc/cgitrc |
5 | CGIT_CONFIG = /etc/cgitrc |
6 | CACHE_ROOT = /var/cache/cgit |
6 | CACHE_ROOT = /var/cache/cgit |
7 | SHA1_HEADER = <openssl/sha.h> |
7 | SHA1_HEADER = <openssl/sha.h> |
8 | GIT_VER = 1.6.4.3 |
8 | GIT_VER = 1.7.3 |
9 | GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2 |
9 | GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2 |
10 | INSTALL = install |
10 | INSTALL = install |
11 | |
11 | |
12 | # Define NO_STRCASESTR if you don't have strcasestr. |
12 | # Define NO_STRCASESTR if you don't have strcasestr. |
13 | # |
13 | # |
14 | # Define NEEDS_LIBICONV if linking with libc is not enough (eg. Darwin). |
14 | # Define NEEDS_LIBICONV if linking with libc is not enough (eg. Darwin). |
15 | # |
15 | # |
16 | |
16 | |
17 | #-include config.mak |
17 | #-include config.mak |
18 | |
18 | |
19 | # |
19 | # |
20 | # Platform specific tweaks |
20 | # Platform specific tweaks |
@@ -59,25 +59,25 @@ endif |
59 | # Define a pattern rule for automatic dependency building |
59 | # Define a pattern rule for automatic dependency building |
60 | # |
60 | # |
61 | %.d: %.c |
61 | %.d: %.c |
62 | $(QUIET_MM)$(CC) $(CFLAGS) -MM $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@ |
62 | $(QUIET_MM)$(CC) $(CFLAGS) -MM $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@ |
63 | |
63 | |
64 | # |
64 | # |
65 | # Define a pattern rule for silent object building |
65 | # Define a pattern rule for silent object building |
66 | # |
66 | # |
67 | %.o: %.c |
67 | %.o: %.c |
68 | $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $< |
68 | $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $< |
69 | |
69 | |
70 | |
70 | |
71 | EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto |
71 | EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto -lpthread |
72 | OBJECTS = |
72 | OBJECTS = |
73 | OBJECTS += cache.o |
73 | OBJECTS += cache.o |
74 | OBJECTS += cgit.o |
74 | OBJECTS += cgit.o |
75 | OBJECTS += cmd.o |
75 | OBJECTS += cmd.o |
76 | OBJECTS += configfile.o |
76 | OBJECTS += configfile.o |
77 | OBJECTS += html.o |
77 | OBJECTS += html.o |
78 | OBJECTS += parsing.o |
78 | OBJECTS += parsing.o |
79 | OBJECTS += scan-tree.o |
79 | OBJECTS += scan-tree.o |
80 | OBJECTS += shared.o |
80 | OBJECTS += shared.o |
81 | OBJECTS += ui-atom.o |
81 | OBJECTS += ui-atom.o |
82 | OBJECTS += ui-blob.o |
82 | OBJECTS += ui-blob.o |
83 | OBJECTS += ui-clone.o |
83 | OBJECTS += ui-clone.o |
|