summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 71876b7cfe1bc1c0ad3262177134cf357ee980ca (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
lib_LTLIBRARIES = librtclient.la
librtclient_la_SOURCES = \
			 client.c \
			 request.c \
			 user.c \
			 ticket.c \
			 search.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/typedefs.h \
		     rtclient/user.h \
		     rtclient/ticket.h \
		     rtclient/search.h
#bin_PROGRAMS = rtclienttest
#rtclienttest_SOURCES = main.c
#rtclienttest_LDADD = librtclient.la
#rtclienttest_LDFLAGS = -lcurl