summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-15 16:33:20 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-01-15 16:33:20 +0800
commit385ef31508f76d79828f0ee11638de00a87294a5 (patch)
treec0573be01c72b063e209c697a062bb01ca61a88f
parentabdccc8445d1e21ecee94587489aa5ee386d3df5 (diff)
So FBSD ports dirs get included
-rw-r--r--Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 0d81d14..8e823f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,3 @@
-ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = librtclient.la
librtclient_la_SOURCES = \
request.h \
@@ -9,15 +8,13 @@ librtclient_la_SOURCES = \
ticket.c \
search.c \
client.c
-
+librtclient_la_CPPFLAGS = -I${prefix}/include
+librtclient_la_LDFLAGS = -L${prefix}/lib -lcurl
pkginclude_HEADERS = \
rtclient/user.h \
rtclient/ticket.h \
rtclient/search.h \
rtclient/client.h
-
-librtclient_la_LDFLAGS = -lcurl
-
#bin_PROGRAMS = rtclienttest
#rtclienttest_SOURCES = main.c
#rtclienttest_LDADD = librtclient.la