blob: 7f218cf0f8f4a862abb0b2441042bda116a86379 (
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
|
lib_LTLIBRARIES = libicclient.la
libicclient_la_SOURCES = \
request.h \
request.c \
product.c \
catalog.c \
client.c
if !WASM
libicclient_la_SOURCES += \
ord.c \
login.h \
login.c \
member.c \
admin.c
endif
libicclient_la_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS)
if WASM
libicclient_la_LDFLAGS = -static
else
libicclient_la_LDFLAGS = $(DEPS_LIBS) -lcurl
endif
if IOS
libicclient_la_LDFLAGS += -static
endif
pkginclude_HEADERS = \
icclient/typedefs.h \
icclient/product.h \
icclient/catalog.h \
icclient/client.h
if !WASM
pkginclude_HEADERS += \
icclient/ord.h \
icclient/member.h \
icclient/admin.h
endif
#if !WASM
#bin_PROGRAMS = icclient
#icclient_SOURCES = main.c client.c catalog.c product.c request.c login.c member.c
#icclient_CPPFLAGS = -I${prefix}/include $(DEPS_CFLAGS)
#icclient_LDFLAGS = $(DEPS_LIBS) -lcurl
#endif
|