diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-04 17:11:52 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-04-04 17:11:52 +0800 |
| commit | 711d885f0d8b6c0788bc62c0d58c44eaaf1391c9 (patch) | |
| tree | 2756e41159ca335009381364c4cb2b5ce90d9657 /Makefile.am | |
| parent | 9d57190f8aa7d62877dc24066d4f0027cc53a123 (diff) | |
Shared library building and installation
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am index 03bb0a2..27cff9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,6 @@ -noinst_LIBRARIES = librtclient.a -librtclient_a_SOURCES = \ - rtclient/user.h \ - rtclient/ticket.h \ - rtclient/search.h \ - rtclient/client.h \ +ACLOCAL_AMFLAGS = -I m4 +lib_LTLIBRARIES = librtclient.la +librtclient_la_SOURCES = \ request.h \ request.c \ post.h \ @@ -13,7 +10,13 @@ librtclient_a_SOURCES = \ search.c \ client.c -bin_PROGRAMS = rtclienttest -rtclienttest_SOURCES = main.c -rtclienttest_LDADD = librtclient.a -rtclienttest_LDFLAGS = -lcurl +pkginclude_HEADERS = \ + rtclient/user.h \ + rtclient/ticket.h \ + rtclient/search.h \ + rtclient/client.h + +#bin_PROGRAMS = rtclienttest +#rtclienttest_SOURCES = main.c +#rtclienttest_LDADD = librtclient.la +#rtclienttest_LDFLAGS = -lcurl |