summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
committerJoel Klinghed <the_jk@yahoo.com>2017-02-28 21:50:44 +0100
commitc029d90d1975e124d237605f1edb2be16bd05b5d (patch)
tree9df87ffb365354bdb74a969440b32c8304bdbcb7 /src/Makefile.am
Initial commit
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..502c82d
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,18 @@
+MAINTAINERCLEANFILES = Makefile.in config.h.in
+
+AM_CXXFLAGS = @DEFINES@
+
+# Remove ar: `u' modifier ignored since `D' is the default (see `U')
+ARFLAGS = cr
+
+bin_PROGRAMS = tp
+noinst_LIBRARIES = libtp.a
+
+tp_SOURCES = main.cc proxy.cc logger.cc resolver.cc
+tp_LDADD = libtp.a @THREAD_LIBS@
+tp_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@
+
+libtp_a_SOURCES = args.cc xdg.cc terminal.cc http.cc url.cc paths.cc \
+ character.cc config.cc strings.cc io.cc looper.cc \
+ buffer.cc chunked.cc
+libtp_a_CXXFLAGS = $(AM_CXXFLAGS) -DSYSCONFDIR='"@SYSCONFDIR@"'