Index: trunk/tugelacache/Makefile |
— | — | @@ -3,11 +3,16 @@ |
4 | 4 | # It is not a real makefile, but sometimes it does work, and it is a place |
5 | 5 | # where you should change one thing or another :) |
6 | 6 | |
| 7 | +# Default path for a database |
| 8 | +DBFILE='"/var/db/dbcache"' |
| 9 | + |
| 10 | +# change it into your installed db3/db4{0,1,2} library name |
7 | 11 | DBLIB=db41 |
| 12 | + |
| 13 | +# FreeBSD file locations |
8 | 14 | LIBS=-l${DBLIB} -levent |
9 | 15 | DBLIBPATH=/usr/local/lib/${DBLIB}/ |
10 | 16 | DBINCPATH=/usr/local/include/${DBLIB}/ |
11 | | -DBFILE='"/var/db/dbcache"' |
12 | 17 | |
13 | 18 | LDFLAGS= -L/usr/local/lib/ -L${DBLIBPATH} |
14 | 19 | CFLAGS = -O -pipe -I/usr/local/include -I${DBINCPATH} -DDBFILE=${DBFILE} |