summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: bb373d6a0bb2c5cf8bb049e7dd35bf7ce86206bd (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
lib_LTLIBRARIES = libicclient.la
libicclient_la_SOURCES = \
			 client.c \
			 request.h \
			 request.c \
			 handler.c \
			 ord.c \
			 login.h \
			 login.c \
			 member.c \
			 admin.c
libicclient_la_CPPFLAGS = -I${prefix}/include $(TIDY_CFLAGS)
libicclient_la_LDFLAGS =  $(TIDY_LIBS)
if IOS
libicclient_la_LDFLAGS += -static
endif
if WASM
libicclient_la_LDFLAGS += -static
else
libicclient_la_LDFLAGS += -lcurl
endif
include_HEADERS = icclient.h
pkginclude_HEADERS = \
		  icclient/typedefs.h \
		  icclient/ord.h \
		  icclient/member.h \
		  icclient/admin.h
#bin_PROGRAMS = icclient
#icclient_SOURCES = main.c client.c request.c handler.c login.c member.c
#icclient_CPPFLAGS = $(TIDY_CFLAGS)
#icclient_LDFLAGS = -lcurl $(TIDY_LIBS)