summaryrefslogtreecommitdiff
path: root/www/httpsqs/files/Makefile
blob: 36c03389a073473a6e01e0bc2c929d9d53210209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $FreeBSD$
# Makefile for httpsqs (pmake)

tokyocabinet_CFLAGS!=	pkg-config --cflags tokyocabinet
libevent_CFLAGS!=	pkg-config --cflags libevent
tokyocabinet_LIBS!=	pkg-config --libs tokyocabinet
libevent_LIBS!=	pkg-config --libs libevent
CFLAGS+=	${tokyocabinet_CFLAGS} ${libevent_CFLAGS}
LIBS+=	${tokyocabinet_LIBS} ${libevent_LIBS}

all: httpsqs

httpsqs: httpsqs.o prename.o
	${CC} ${LDFLAGS} ${LIBS} -o ${.TARGET} ${.ALLSRC}
httpsqs.o: httpsqs.c
prename.o: prename.c

install: httpsqs