6 |
|
|
7 |
|
menes = ./menes |
8 |
|
cxxsrc = Zoe.cpp AwayMessage.cpp Buddy.cpp Collector.cpp Publisher.cpp Rss.cpp \ |
9 |
< |
Matcher.cpp $(menes)/menes-ext/allocator.cpp \ |
9 |
> |
Stamp.cpp Matcher.cpp $(menes)/menes-ext/allocator.cpp \ |
10 |
|
$(menes)/menes-ext/exception.cpp $(menes)/menes-opt/assert.cpp \ |
11 |
|
$(menes)/menes-opt/logging.cpp $(menes)/menes-app/entrypoint.cpp \ |
12 |
|
$(menes)/menes-app/threading.cpp $(menes)/menes-app/c++/fatality.cpp \ |
13 |
|
$(menes)/menes-app/arguments.cpp $(menes)/menes-ext/uuid.cpp $(wildcard \ |
14 |
|
$(foreach prj, api/devrandom api/execinfo api/mhash api/posix \ |
15 |
< |
api/pthread api/proc api/libuuid ios net/oscar net/oscar/tools xml, \ |
16 |
< |
$(menes)/menes-$(prj)/*.cpp)) |
15 |
> |
api/pthread api/proc api/libuuid dbi dbi/pgsql ios net/oscar \ |
16 |
> |
net/oscar/tools xml, $(menes)/menes-$(prj)/*.cpp)) |
17 |
|
cxxhdr = $(patsubst %.cpp, %.hpp, ${cxxsrc}) |
18 |
|
cxxobj = $(patsubst %.cpp, object/%.o, ${cxxsrc}) |
19 |
|
cxxdep = $(patsubst %.cpp, object/%.d, ${cxxsrc}) |
23 |
|
CXX := g++34 |
24 |
|
endif |
25 |
|
CXXFLAGS := -g -O0 |
26 |
< |
CPPFLAGS += -DNFINLINE -DNPROFILE -I$(menes) |
26 |
> |
CPPFLAGS += -DNFINLINE -DNPROFILE -I$(menes) -DMENES_NO_MYSQL |
27 |
|
LDFLAGS += -pthread |
28 |
< |
LDLIBS += -lexecinfo -lmhash -lpcre -luuid |
28 |
> |
LDLIBS += -lexecinfo -lmhash -lpcre -lpq -luuid |
29 |
|
|
30 |
|
all: ${exe} |
31 |
|
|