From 19699bd643e507f88eabac2eb43daecbd9cef0b5 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Tue, 27 Aug 2019 08:11:04 +0800 Subject: Autotools files --- .gitignore | 18 ++++++++++++++++++ Makefile.am | 4 ++++ configure.ac | 9 +++++++++ 3 files changed, 31 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile.am create mode 100644 configure.ac diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e622b0e --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +*.a +*.o +.deps +Makefile +Makefile.in +aclocal.m4 +ar-lib +autom4te.cache +compile +config.h +config.h.in +config.log +config.status +configure +depcomp +install-sh +missing +stamp-h1 diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..2345cfc --- /dev/null +++ b/Makefile.am @@ -0,0 +1,4 @@ +noinst_LIBRARIES = librtclient.a +librtclient_a_SOURCES = \ + rtclient.c \ + rtclient.h diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..5a4d375 --- /dev/null +++ b/configure.ac @@ -0,0 +1,9 @@ +AC_INIT([rtclient], [0.0], [rt@darapsa.co.id]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_PROG_CC +AC_PROG_RANLIB +AM_PROG_AR +AC_CONFIG_HEADERS([config.h]) +AC_CHECK_HEADER_STDBOOL +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT -- cgit v1.2.3