summaryrefslogtreecommitdiff
path: root/tests/libfetch/GNUmakefile
blob: 6fceef65f6b4407e5511eff38876468154fcb638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TOPDIR = ../..

SUBDIRS =

INCLUDE_DIRS = \
	-I$(TOPDIR)/libfetch

INCLUDE_LDFLAGS = \
	-L$(TOPDIR)/libfetch

INCLUDE_LIBS = \
	-lfetch

# openssl
ifeq ($(WITH_SSL),1)

INCLUDE_CFLAGS += \
	-DWITH_SSL

INCLUDE_LIBS += \
	$(OPENSSL_LIBS)
endif

TEST_BINS = \
	test1$(EXE)

TEST_CPP_BINS = \
	test2$(EXE)

OBJS =

-include $(TOPDIR)/makefiles/gmake/sub.mk

local_all:

local_clean:

local_distclean:

local_test:

run1:
	@LD_LIBRARY_PATH=$(TOPDIR)/src:$(TOPDIR)/src/logger:$(TOPDIR)/googleurl:$(TOPDIR)/libfetch:$(TOPDIR)/streamhtmlparser ./test1 http://localhost

run2:
	@LD_LIBRARY_PATH=$(TOPDIR)/src:$(TOPDIR)/src/logger:$(TOPDIR)/googleurl:$(TOPDIR)/libfetch:$(TOPDIR)/streamhtmlparser ./test2 http://localhost