From 5aedf934c2f7ca864d46c4ef3673b95ffd398e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 13 Jun 2021 18:00:10 +0800 Subject: Update Autotools files though not correct result yet --- Makefile.am | 11 ++++++++--- configure.ac | 6 +++--- x86_64-pc-linux-gnu-configure | 2 +- 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 -- cgit v1.2.3