# Smersh # # Douglas Thrift # # $Id$ MENES := menes include $(MENES)/setup.mk EXEPATH := . MAINS := Smersh.cpp LOCALS := *.cpp Matcher $(MENES)/menes-{app,dbi,xml} COMPILEFLAGS := -D MENES_STL_COMPATIBLE -D MENES_STL_CONVERTABLE \ -D MENES_STL_STREAMABLE LINKFLAGS := -l mysqlclient_r -l pcre -l pq include $(MENES)/general.mk .PHONY: install install: Smersh ifeq ($(shell uname -n),daemon.douglasthrift.net) ln -f Smersh /usr/local/www/cgi-bin/smersh touch /usr/local/www/cgi-bin/{Error,Memory}.log chmod g+w /usr/local/www/cgi-bin/{Error,Memory}.log else ln -f Smersh $(HOME)/DouglasThrift.net/WWW/data/cgi-bin/smersh touch $(HOME)/DouglasThrift.net/WWW/data/cgi-bin/{Error,Memory}.log chmod g+w $(HOME)/DouglasThrift.net/WWW/data/cgi-bin/{Error,Memory}.log endif