summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 43a977c4e755684fe8eddf58d460fabf982604f3 (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
lib_LTLIBRARIES = librtclient.la
librtclient_la_SOURCES = \
			request.h \
			request.c \
			post.h \
			post.c \
			user.c \
			ticket.c \
			search.c \
			client.c
librtclient_la_CPPFLAGS = -I${prefix}/include
librtclient_la_LDFLAGS = -L${prefix}/lib
if EMSCRIPTEN
librtclient_la_LDFLAGS += -static
else
librtclient_la_CPPFLAGS += $(CURL_CFLAGS)
librtclient_la_LDFLAGS += $(CURL_LIBS)
endif
include_HEADERS = rtclient.h
pkginclude_HEADERS = \
		     rtclient/user.h \
		     rtclient/ticket.h \
		     rtclient/search.h
#bin_PROGRAMS = rtclienttest
#rtclienttest_SOURCES = main.c
#rtclienttest_LDADD = librtclient.la
#rtclienttest_LDFLAGS = -lcurl