+SHA1_HEADER = <openssl/sha.h>
+GIT_VER = 1.5.3
+GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
+
+#
+# Let the user override the above settings.
+#
+-include cgit.conf
+
+
+EXTLIBS = git/libgit.a git/xdiff/lib.a -lz -lcrypto
+OBJECTS = shared.o cache.o parsing.o html.o ui-shared.o ui-repolist.o \
+ ui-summary.o ui-log.o ui-tree.o ui-commit.o ui-diff.o \
+ ui-snapshot.o ui-blob.o ui-tag.o
+
+
+.PHONY: all git install clean distclean force-version get-git
+
+all: cgit git
+
+VERSION: force-version
+ @./gen-version.sh "$(CGIT_VERSION)"
+-include VERSION