summaryrefslogtreecommitdiff
path: root/libfetch/GNUmakefile
blob: 5c2f6c1ae3f9d78c13431d7112fd21adc5ae807e (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
TOPDIR = ..

SUBDIRS =

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

INCLUDE_CFLAGS = \
	-DHAVE_CONFIG_H=0 -D_XOPEN_SOURCE=600 -DFTP_COMBINE_CWDS \
	-DINET6

INCLUDE_LDFLAGS = \

INCLUDE_DIRS = \
	-I.

INCLUDE_LIBS = \

# openssl
ifeq ($(WITH_SSL),1)

INCLUDE_CFLAGS += \
	-DWITH_SSL

INCLUDE_LIBS += \
	$(OPENSSL_LIBS)
endif

OBJS = \
	common.o \
	fetch.o \
	file.o \
	ftp.o \
	http.o

DYNAMIC_LIB = libfetch.so
DYNAMIC_LIB_MAJOR = 0
DYNAMIC_LIB_MINOR = 0
DYNAMIC_LIB_PATCH = 0

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

ftperr.h: ftp.errors GNUmakefile errlist.sh
	./errlist.sh ftp_errlist FTP \
	ftp.errors > $@

httperr.h: http.errors GNUmakefile errlist.sh
	./errlist.sh http_errlist HTTP \
	http.errors > $@

local_all:

local_clean:

local_distclean:

local_install:

local_uninstall:

local_test: