1 PROGS=notmuch notmuch-index-message xapian-dump
3 MYCFLAGS=-Wall -O0 -g `pkg-config --cflags glib-2.0`
4 MYCXXFLAGS=$(MYCFLAGS) `xapian-config --cxxflags`
6 MYLDFLAGS=`pkg-config --libs glib-2.0` `xapian-config --libs`
11 $(CXX) -c $(CXXFLAGS) $(MYCXXFLAGS) $^ -o $@
14 $(CC) -c $(CFLAGS) $(MYCFLAGS) $^ -o $@
16 notmuch: notmuch.o database.o message.o xutil.o
17 $(CC) $(MYLDFLAGS) $^ -o $@
19 notmuch-index-message: notmuch-index-message.cc
20 $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) notmuch-index-message.cc `pkg-config --cflags --libs gmime-2.4` `xapian-config --cxxflags --libs` -o notmuch-index-message
22 xapian-dump: xapian-dump.cc
23 $(CXX) $(CXXFLAGS) $(MYCXXFLAGS) xapian-dump.cc `xapian-config --libs --cxxflags` -o xapian-dump