summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 18:00:10 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 18:00:10 +0800
commit5aedf934c2f7ca864d46c4ef3673b95ffd398e9c (patch)
tree9c2837225b44d35ca002657b3140de63fa971ce7
parentd6e1d66de6b539b6af4a7f517d84a07f17e75c2f (diff)
Update Autotools files though not correct result yet
-rw-r--r--Makefile.am11
-rw-r--r--configure.ac6
-rwxr-xr-xx86_64-pc-linux-gnu-configure2
3 files changed, 12 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 67425a7..639f184 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,15 +1,20 @@
lib_LTLIBRARIES = libqicclient.la
libqicclient_la_SOURCES = \
+ client.cxx \
catalog.cxx \
ord.cxx \
member.cxx \
admin.cxx \
- client.cxx
+ qicclient.hxx \
+ qicclient/catalog.hxx \
+ qicclient/ord.hxx \
+ qicclient/member.hxx \
+ qicclient/admin.hxx
libqicclient_la_CPPFLAGS = $(QT_CFLAGS)
libqicclient_la_LDFLAGS = $(QT_LIBS)
+include_HEADERS = qicclient.hxx
pkginclude_HEADERS = \
qicclient/catalog.hxx \
qicclient/ord.hxx \
qicclient/member.hxx \
- qicclient/admin.hxx \
- qicclient/client.hxx
+ qicclient/admin.hxx
diff --git a/configure.ac b/configure.ac
index 30797c6..019ea69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,9 @@
AC_INIT([qicclient], [0.0], [pt@darapsa.co.id])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CXX
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
-PKG_CHECK_MODULES([QT], [Qt5Core])
AM_PROG_AR
LT_INIT
+PKG_CHECK_MODULES([QT], [Qt5Core])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_FILES([Makefile])
AC_OUTPUT
diff --git a/x86_64-pc-linux-gnu-configure b/x86_64-pc-linux-gnu-configure
index 8499b0b..e967d59 100755
--- a/x86_64-pc-linux-gnu-configure
+++ b/x86_64-pc-linux-gnu-configure
@@ -1,4 +1,4 @@
#!/bin/sh
export CPPFLAGS="$CPPFLAGS -DDEBUG"
export CFLAGS="$CFLAGS -g"
-./configure --libdir=/usr/local/lib64 --disable-static
+../configure --libdir=/usr/local/lib64 --disable-static