|
a/src/query/Makefile |
|
b/src/query/Makefile |
1 |
include ../mk/FreeBSD
|
1 |
include ../mk/sysconf
|
2 |
|
2 |
|
3 |
BIGLIB=../lib/librcl.a
|
3 |
BIGLIB=../lib/librcl.a
|
4 |
|
4 |
|
5 |
PROGS = qtry qxtry xadump
|
5 |
PROGS = qtry qxtry xadump
|
6 |
all: $(PROGS)
|
6 |
all: $(PROGS)
|
7 |
|
7 |
|
8 |
XADUMP_OBJS= xadump.o $(BIGLIB)
|
8 |
XADUMP_OBJS= xadump.o $(BIGLIB)
|
9 |
xadump : $(XADUMP_OBJS)
|
9 |
xadump : $(XADUMP_OBJS)
|
10 |
$(CXX) $(CXXFLAGS) -o xadump $(XADUMP_OBJS) \
|
10 |
$(CXX) $(CXXFLAGS) -o xadump $(XADUMP_OBJS) \
|
11 |
-L/usr/local/lib -lxapian -liconv
|
11 |
$(LIBICONV) $(LIBXAPIAN)
|
12 |
|
12 |
|
13 |
QXTRY_OBJS= qxtry.o $(BIGLIB)
|
13 |
QXTRY_OBJS= qxtry.o $(BIGLIB)
|
14 |
qxtry : $(QXTRY_OBJS)
|
14 |
qxtry : $(QXTRY_OBJS)
|
15 |
$(CXX) $(CXXFLAGS) -o qxtry $(QXTRY_OBJS) \
|
15 |
$(CXX) $(CXXFLAGS) -o qxtry $(QXTRY_OBJS) \
|
16 |
-L/usr/local/lib -lxapian -liconv
|
16 |
$(LIBICONV) $(LIBXAPIAN)
|
17 |
|
17 |
|
18 |
QTRY_OBJS= qtry.o $(BIGLIB)
|
18 |
QTRY_OBJS= qtry.o $(BIGLIB)
|
19 |
qtry : $(QTRY_OBJS)
|
19 |
qtry : $(QTRY_OBJS)
|
20 |
$(CXX) $(CXXFLAGS) -o qtry $(QTRY_OBJS) \
|
20 |
$(CXX) $(CXXFLAGS) -o qtry $(QTRY_OBJS) \
|
21 |
-L/usr/local/lib -lxapian -liconv
|
21 |
$(LIBICONV) $(LIBXAPIAN)
|
22 |
|
22 |
|
23 |
$(BIGLIB):
|
23 |
$(BIGLIB):
|
24 |
cd ../lib;make
|
24 |
cd ../lib;make
|
25 |
|
25 |
|
26 |
clean:
|
26 |
clean:
|