You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
[MCOL-69] - improve build process
Add .gitignore file to omit autoconf artificats Modify bootstrap to: No longer copy binaries into export Create export/mysql directory properly Check for errors when generating version header Run configure Check for errors when running configure Modify genVersion.h to: Place versionnumber.h into dbcon/mysql, the only place it appears to be used It was being generated in the install prefix, thus when using a non-user path like /usr/local/PREFIX it would fail to generate the version number header, because the user compiling the software does not have write permission. This necessitated building as root, this will resolve that. Remove config.log, an autotools artifact Add autoconf templates for mcsadmin
This commit is contained in:
90
.gitignore
vendored
Normal file
90
.gitignore
vendored
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
.deps/
|
||||||
|
*.d.*
|
||||||
|
config.log
|
||||||
|
versionnumber.h
|
||||||
|
# dbcon/ddlpackage/.deps/
|
||||||
|
# dbcon/ddlpackageproc/.deps/
|
||||||
|
# dbcon/dmlpackage/.deps/
|
||||||
|
# dbcon/dmlpackageproc/.deps/
|
||||||
|
# dbcon/execplan/.deps/
|
||||||
|
# dbcon/joblist/.deps/
|
||||||
|
# dbcon/mysql/.deps/
|
||||||
|
# ddlproc/.deps/
|
||||||
|
# ddlproc/ddlproc.d.32581
|
||||||
|
# ddlproc/ddlprocessor.d.32574
|
||||||
|
# decomsvr/.deps/
|
||||||
|
# dmlproc/.deps/
|
||||||
|
# dmlproc/batchinsertprocessor.d.32601
|
||||||
|
# dmlproc/dmlproc.d.32622
|
||||||
|
# dmlproc/dmlprocessor.d.32615
|
||||||
|
# dmlproc/dmlresultbuffer.d.32608
|
||||||
|
# doit
|
||||||
|
# exemgr/.deps/
|
||||||
|
# export/
|
||||||
|
# oam/oamcpp/.deps/
|
||||||
|
# oamapps/calpontDB/.deps/
|
||||||
|
# oamapps/calpontSupport/.deps/
|
||||||
|
# oamapps/mcsadmin/.deps/
|
||||||
|
# oamapps/mcsadmin/Makefile.am
|
||||||
|
# oamapps/mcsadmin/Makefile.in
|
||||||
|
# oamapps/postConfigure/.deps/
|
||||||
|
# oamapps/sendtrap/.deps/
|
||||||
|
# oamapps/serverMonitor/.deps/
|
||||||
|
# oamapps/sessionWalker/.deps/
|
||||||
|
# oamapps/traphandler/.deps/
|
||||||
|
# primitives/blockcache/.deps/
|
||||||
|
# primitives/linux-port/.deps/
|
||||||
|
# primitives/primproc/.deps/
|
||||||
|
# procmgr/.deps/
|
||||||
|
# procmon/.deps/
|
||||||
|
# procmon/main.d.469
|
||||||
|
# procmon/processmonitor.d.462
|
||||||
|
# reset.sh
|
||||||
|
# snmpd/snmpmanager/.deps/
|
||||||
|
# sorted.txt
|
||||||
|
# tools/clearShm/.deps/
|
||||||
|
# tools/cleartablelock/.deps/
|
||||||
|
# tools/configMgt/.deps/
|
||||||
|
# tools/cplogger/.deps/
|
||||||
|
# tools/dbbuilder/.deps/
|
||||||
|
# tools/dbloadxml/.deps/
|
||||||
|
# tools/ddlcleanup/.deps/
|
||||||
|
# tools/editem/.deps/
|
||||||
|
# tools/getConfig/.deps/
|
||||||
|
# tools/idbmeminfo/.deps/
|
||||||
|
# tools/setConfig/.deps/
|
||||||
|
# tools/viewtablelock/.deps/
|
||||||
|
# utils/batchloader/.deps/
|
||||||
|
# utils/boost_idb/.deps/
|
||||||
|
# utils/cacheutils/.deps/
|
||||||
|
# utils/common/.deps/
|
||||||
|
# utils/compress/.deps/
|
||||||
|
# utils/configcpp/.deps/
|
||||||
|
# utils/dataconvert/.deps/
|
||||||
|
# utils/ddlcleanup/.deps/
|
||||||
|
# utils/funcexp/.deps/
|
||||||
|
# utils/idbdatafile/.deps/
|
||||||
|
# utils/idbhdfs/hdfs-12/.deps/
|
||||||
|
# utils/idbhdfs/hdfs-20/.deps/
|
||||||
|
# utils/joiner/.deps/
|
||||||
|
# utils/loggingcpp/.deps/
|
||||||
|
# utils/messageqcpp/.deps/
|
||||||
|
# utils/mysqlcl_idb/.deps/
|
||||||
|
# utils/querystats/.deps/
|
||||||
|
# utils/querytele/.deps/
|
||||||
|
# utils/rowgroup/.deps/
|
||||||
|
# utils/rwlock/.deps/
|
||||||
|
# utils/startup/.deps/
|
||||||
|
# utils/threadpool/.deps/
|
||||||
|
# utils/thrift/.deps/
|
||||||
|
# utils/udfsdk/.deps/
|
||||||
|
# utils/windowfunction/.deps/
|
||||||
|
# versioning/BRM/.deps/
|
||||||
|
# writeengine/bulk/.deps/
|
||||||
|
# writeengine/client/.deps/
|
||||||
|
# writeengine/redistribute/.deps/
|
||||||
|
# writeengine/server/.deps/
|
||||||
|
# writeengine/splitter/.deps/
|
||||||
|
# writeengine/wrapper/.deps/
|
||||||
|
# writeengine/xml/.deps/
|
||||||
|
nothing added to commit but untracked files present (use "git add" to track)
|
@@ -6,19 +6,31 @@
|
|||||||
# following a git checkout. It copies static files and shared include
|
# following a git checkout. It copies static files and shared include
|
||||||
# files to the export tree prior to building the software.
|
# files to the export tree prior to building the software.
|
||||||
|
|
||||||
mkdir -p export/{include,lib,etc,share,bin,sbin,post}
|
mkdir -p export/{include,lib,etc,share,bin,sbin,post,mysql}
|
||||||
if [ ! $$ ]; then
|
if [ ! $$ ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp build/gdb export/bin
|
#TODO: these prebuilt binaries may need to be fetched
|
||||||
cp build/libgcc_s.so.1 export/lib
|
#and built as dependencies
|
||||||
cp build/libstdc++.so.6.0.14 export/lib
|
|
||||||
|
|
||||||
cp build/files.lst $HOME/mariadb-columnstore-server/export/mysql/.
|
#cp build/gdb export/bin
|
||||||
cp dbcon/mysql/install_calpont_mysql.sh $HOME/mariadb-columnstore-server/export/mysql/.
|
#cp build/libgcc_s.so.1 export/lib
|
||||||
cp dbcon/mysql/my.cnf $HOME/mariadb-columnstore-server/export/mysql/.
|
#cp build/libstdc++.so.6.0.14 export/lib
|
||||||
cp dbcon/mysql/mysql-Columnstore $HOME/mariadb-columnstore-server/export/mysql/.
|
|
||||||
|
#FIXME rename this
|
||||||
|
cp dbcon/mysql/install_calpont_mysql.sh export/mysql/
|
||||||
|
|
||||||
|
#TODO: see if this my.cnf is necessary
|
||||||
|
cp dbcon/mysql/my.cnf export/mysql/.
|
||||||
|
|
||||||
|
#TODO: the init.d service file should not be mixed case
|
||||||
|
#TODO: the init.d service file should not contain calpont
|
||||||
|
cp dbcon/mysql/mysql-Columnstore export/mysql/ && \
|
||||||
|
cp build/files.lst export/mysql/ && \
|
||||||
|
cp dbcon/mysql/install_calpont_mysql.sh export/mysql/ && \
|
||||||
|
cp dbcon/mysql/my.cnf export/mysql/ && \
|
||||||
|
cp dbcon/mysql/mysql-Columnstore export/mysql/
|
||||||
|
|
||||||
if [ ! $$ ]; then
|
if [ ! $$ ]; then
|
||||||
exit 1
|
exit 1
|
||||||
@@ -26,29 +38,45 @@ fi
|
|||||||
|
|
||||||
cp -p -r utils/net-snmp export/include
|
cp -p -r utils/net-snmp export/include
|
||||||
|
|
||||||
if [ `uname -m` == "x86_64" ]; then
|
#FIXME:
|
||||||
cp -p utils/net-snmp-built-libs/lib64/* export/lib
|
# This has to be terribly broken, especially for 32 bit
|
||||||
cp -p utils/net-snmp-built-libs/bin64/* export/sbin
|
# platforms. There should be no PRE-BUILT tools in someting
|
||||||
else
|
# that is being built. If we need a custom compilation of
|
||||||
egrep -qs Constantine /etc/redhat-release
|
# net-snmp for some reason then we will have to BUILD IT
|
||||||
if [ $? -eq 0 ]; then
|
# as part of the bootstrap process.
|
||||||
cp -p utils/net-snmp-built-libs/fc12lib/libnetsnmp*.so.* export/lib
|
# I am commenting this out to see exactly what breaks in the build
|
||||||
cp -p utils/net-snmp-built-libs/fc12bin/* export/sbin
|
# process.
|
||||||
else
|
## if [ `uname -m` == "x86_64" ]; then
|
||||||
cp -p utils/net-snmp-built-libs/fc6lib/libnetsnmp*.so.* export/lib
|
## cp -p utils/net-snmp-built-libs/lib64/* export/lib
|
||||||
cp -p utils/net-snmp-built-libs/fc6bin/* export/sbin
|
## cp -p utils/net-snmp-built-libs/bin64/* export/sbin
|
||||||
fi
|
## else
|
||||||
fi
|
## egrep -qs Constantine /etc/redhat-release
|
||||||
|
## if [ $? -eq 0 ]; then
|
||||||
|
## cp -p utils/net-snmp-built-libs/fc12lib/libnetsnmp*.so.* export/lib
|
||||||
|
## cp -p utils/net-snmp-built-libs/fc12bin/* export/sbin
|
||||||
|
## else
|
||||||
|
## cp -p utils/net-snmp-built-libs/fc6lib/libnetsnmp*.so.* export/lib
|
||||||
|
## cp -p utils/net-snmp-built-libs/fc6bin/* export/sbin
|
||||||
|
## fi
|
||||||
|
## fi
|
||||||
|
|
||||||
pushd export/lib >/dev/null
|
## pushd export/lib >/dev/null
|
||||||
for lib in libnetsnmpagent.so libnetsnmphelpers.so libnetsnmpmibs.so libnetsnmp.so libnetsnmptrapd.so; do
|
## for lib in libnetsnmpagent.so libnetsnmphelpers.so libnetsnmpmibs.so libnetsnmp.so libnetsnmptrapd.so; do
|
||||||
rm -f ${lib} ${lib}.5
|
## rm -f ${lib} ${lib}.5
|
||||||
ln -s ${lib}.5.2.1 ${lib}.5
|
## ln -s ${lib}.5.2.1 ${lib}.5
|
||||||
ln -s ${lib}.5.2.1 ${lib}
|
## ln -s ${lib}.5.2.1 ${lib}
|
||||||
done
|
## done
|
||||||
popd >/dev/null
|
## popd >/dev/null
|
||||||
|
|
||||||
./build/genVersion.sh
|
./build/genVersion.sh
|
||||||
|
if [ ! $$ ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure
|
||||||
|
if [ ! $$ ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
for x in \
|
for x in \
|
||||||
$(find . -name '[mM]akefile' \
|
$(find . -name '[mM]akefile' \
|
||||||
|
@@ -38,12 +38,12 @@ echo "
|
|||||||
const std::string idb_version(\"$version\");
|
const std::string idb_version(\"$version\");
|
||||||
const std::string idb_release(\"$release\");
|
const std::string idb_release(\"$release\");
|
||||||
#endif
|
#endif
|
||||||
" > ${prefix}/include/versionnumber.h.tmp
|
" > dbcon/mysql/versionnumber.h.tmp
|
||||||
|
|
||||||
diff -bBq ${prefix}/include/versionnumber.h.tmp ${prefix}/include/versionnumber.h >/dev/null 2>&1
|
diff -bBq dbcon/mysql/versionnumber.h.tmp dbcon/mysql/versionnumber.h >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
cp ${prefix}/include/versionnumber.h.tmp ${prefix}/include/versionnumber.h
|
cp dbcon/mysql/versionnumber.h.tmp dbcon/mysql/versionnumber.h
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f ${prefix}/include/versionnumber.h.tmp
|
rm -f dbcon/mysql/versionnumber.h.tmp
|
||||||
|
|
||||||
|
5068
config.log
5068
config.log
File diff suppressed because it is too large
Load Diff
@@ -253,7 +253,7 @@ lib_LTLIBRARIES = libcalmysql.la
|
|||||||
libcalmysql_la_SOURCES = ha_calpont.cpp ha_calpont_impl.cpp ha_calpont_dml.cpp ha_calpont_ddl.cpp ha_calpont_execplan.cpp ha_scalar_sub.cpp ha_in_sub.cpp ha_exists_sub.cpp ha_from_sub.cpp ha_select_sub.cpp ha_view.cpp sm.cpp ha_window_function.cpp ha_calpont_partition.cpp ha_pseudocolumn.cpp
|
libcalmysql_la_SOURCES = ha_calpont.cpp ha_calpont_impl.cpp ha_calpont_dml.cpp ha_calpont_ddl.cpp ha_calpont_execplan.cpp ha_scalar_sub.cpp ha_in_sub.cpp ha_exists_sub.cpp ha_from_sub.cpp ha_select_sub.cpp ha_view.cpp sm.cpp ha_window_function.cpp ha_calpont_partition.cpp ha_pseudocolumn.cpp
|
||||||
libcalmysql_la_LDFLAGS = -version-info 1:0:0 $(idb_common_ldflags) $(idb_common_libs) $(idb_write_libs) $(AM_LDFLAGS)
|
libcalmysql_la_LDFLAGS = -version-info 1:0:0 $(idb_common_ldflags) $(idb_common_libs) $(idb_write_libs) $(AM_LDFLAGS)
|
||||||
libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../../../mysql/sql -I../../../mysql/regex -DMYSQL_DYNAMIC_PLUGIN $(AM_CPPFLAGS)
|
libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../../../mysql/sql -I../../../mysql/regex -DMYSQL_DYNAMIC_PLUGIN $(AM_CPPFLAGS)
|
||||||
include_HEADERS = idb_mysql.h
|
include_HEADERS = idb_mysql.h versionumber.h
|
||||||
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
||||||
mysql-Columnstore = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
mysql-Columnstore = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
||||||
all: all-am
|
all: all-am
|
||||||
|
39
oamapps/mcsadmin/Makefile.am
Normal file
39
oamapps/mcsadmin/Makefile.am
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# Copyright (C) 2014 InfiniDB, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License
|
||||||
|
# as published by the Free Software Foundation; version 2 of
|
||||||
|
# the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
# MA 02110-1301, USA.
|
||||||
|
|
||||||
|
# $Id: Makefile.am 333 2009-04-03 20:35:04Z rdempsey $
|
||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
AM_CPPFLAGS = $(idb_cppflags)
|
||||||
|
AM_CFLAGS = $(idb_cflags)
|
||||||
|
AM_CXXFLAGS = $(idb_cxxflags)
|
||||||
|
AM_LDFLAGS = $(idb_ldflags)
|
||||||
|
bin_PROGRAMS = mcsadmin
|
||||||
|
mcsadmin_SOURCES = mcsadmin.cpp
|
||||||
|
mcsadmin_CPPFLAGS = $(idb_common_includes) $(AM_CPPFLAGS)
|
||||||
|
mcsadmin_LDFLAGS = $(idb_common_ldflags) $(idb_common_libs) $(idb_oam_libs) $(idb_exec_libs) -lreadline -lncurses $(AM_LDFLAGS)
|
||||||
|
|
||||||
|
test:
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
|
||||||
|
leakcheck:
|
||||||
|
|
||||||
|
docs:
|
||||||
|
|
||||||
|
bootstrap: install-data-am
|
||||||
|
|
529
oamapps/mcsadmin/Makefile.in
Normal file
529
oamapps/mcsadmin/Makefile.in
Normal file
@@ -0,0 +1,529 @@
|
|||||||
|
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||||
|
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
# Copyright (C) 2014 InfiniDB, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License
|
||||||
|
# as published by the Free Software Foundation; version 2 of
|
||||||
|
# the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
# MA 02110-1301, USA.
|
||||||
|
|
||||||
|
# $Id: Makefile.am 333 2009-04-03 20:35:04Z rdempsey $
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ../..
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
install_sh_DATA = $(install_sh) -c -m 644
|
||||||
|
install_sh_PROGRAM = $(install_sh) -c
|
||||||
|
install_sh_SCRIPT = $(install_sh) -c
|
||||||
|
INSTALL_HEADER = $(INSTALL_DATA)
|
||||||
|
transform = $(program_transform_name)
|
||||||
|
NORMAL_INSTALL = :
|
||||||
|
PRE_INSTALL = :
|
||||||
|
POST_INSTALL = :
|
||||||
|
NORMAL_UNINSTALL = :
|
||||||
|
PRE_UNINSTALL = :
|
||||||
|
POST_UNINSTALL = :
|
||||||
|
build_triplet = @build@
|
||||||
|
host_triplet = @host@
|
||||||
|
bin_PROGRAMS = mcsadmin$(EXEEXT)
|
||||||
|
subdir = oamapps/mcsadmin
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
am__aclocal_m4_deps = $(top_srcdir)/m4/compilerflags.m4 \
|
||||||
|
$(top_srcdir)/m4/functions.m4 $(top_srcdir)/m4/install.m4 \
|
||||||
|
$(top_srcdir)/configure.ac
|
||||||
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
|
$(ACLOCAL_M4)
|
||||||
|
mkinstalldirs = $(install_sh) -d
|
||||||
|
CONFIG_HEADER = $(top_builddir)/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
am__installdirs = "$(DESTDIR)$(bindir)"
|
||||||
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||||
|
PROGRAMS = $(bin_PROGRAMS)
|
||||||
|
am_mcsadmin_OBJECTS = mcsadmin.$(OBJEXT)
|
||||||
|
mcsadmin_OBJECTS = $(am_mcsadmin_OBJECTS)
|
||||||
|
mcsadmin_LDADD = $(LDADD)
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||||
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||||
|
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
|
||||||
|
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||||
|
$(AM_CXXFLAGS) $(CXXFLAGS)
|
||||||
|
CXXLD = $(CXX)
|
||||||
|
CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
||||||
|
$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
SOURCES = $(mcsadmin_SOURCES)
|
||||||
|
DIST_SOURCES = $(mcsadmin_SOURCES)
|
||||||
|
ETAGS = etags
|
||||||
|
CTAGS = ctags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AR = @AR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CXX = @CXX@
|
||||||
|
CXXCPP = @CXXCPP@
|
||||||
|
CXXDEPMODE = @CXXDEPMODE@
|
||||||
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
F77 = @F77@
|
||||||
|
FFLAGS = @FFLAGS@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LEX = @LEX@
|
||||||
|
LEXLIB = @LEXLIB@
|
||||||
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
MAKEINFO = @MAKEINFO@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PACKAGE = @PACKAGE@
|
||||||
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||||
|
PACKAGE_NAME = @PACKAGE_NAME@
|
||||||
|
PACKAGE_STRING = @PACKAGE_STRING@
|
||||||
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||||
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
XML2_CONFIG = @XML2_CONFIG@
|
||||||
|
XML_CPPFLAGS = @XML_CPPFLAGS@
|
||||||
|
XML_LIBS = @XML_LIBS@
|
||||||
|
YACC = @YACC@
|
||||||
|
ac_ct_AR = @ac_ct_AR@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_CXX = @ac_ct_CXX@
|
||||||
|
ac_ct_F77 = @ac_ct_F77@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||||
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||||
|
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||||
|
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||||
|
am__include = @am__include@
|
||||||
|
am__leading_dot = @am__leading_dot@
|
||||||
|
am__quote = @am__quote@
|
||||||
|
am__tar = @am__tar@
|
||||||
|
am__untar = @am__untar@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
datadir = @datadir@
|
||||||
|
etcdir = @etcdir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
idb_brm_libs = @idb_brm_libs@
|
||||||
|
idb_cflags = @idb_cflags@
|
||||||
|
idb_common_includes = @idb_common_includes@
|
||||||
|
idb_common_ldflags = @idb_common_ldflags@
|
||||||
|
idb_common_libs = @idb_common_libs@
|
||||||
|
idb_cppflags = @idb_cppflags@
|
||||||
|
idb_cxxflags = @idb_cxxflags@
|
||||||
|
idb_exec_libs = @idb_exec_libs@
|
||||||
|
idb_ldflags = @idb_ldflags@
|
||||||
|
idb_oam_libs = @idb_oam_libs@
|
||||||
|
idb_write_libs = @idb_write_libs@
|
||||||
|
idbinstall = @idbinstall@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localdir = @localdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
march_flags = @march_flags@
|
||||||
|
mibdir = @mibdir@
|
||||||
|
mkdir_p = @mkdir_p@
|
||||||
|
mysqldir = @mysqldir@
|
||||||
|
netsnmp_libs = @netsnmp_libs@
|
||||||
|
netsnmpagntdir = @netsnmpagntdir@
|
||||||
|
netsnmpdir = @netsnmpdir@
|
||||||
|
netsnmplibrdir = @netsnmplibrdir@
|
||||||
|
netsnmpmachdir = @netsnmpmachdir@
|
||||||
|
netsnmpsysdir = @netsnmpsysdir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
postdir = @postdir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedir = @sharedir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
toolsdir = @toolsdir@
|
||||||
|
AM_CPPFLAGS = $(idb_cppflags)
|
||||||
|
AM_CFLAGS = $(idb_cflags)
|
||||||
|
AM_CXXFLAGS = $(idb_cxxflags)
|
||||||
|
AM_LDFLAGS = $(idb_ldflags)
|
||||||
|
mcsadmin_SOURCES = mcsadmin.cpp
|
||||||
|
mcsadmin_CPPFLAGS = $(idb_common_includes) $(AM_CPPFLAGS)
|
||||||
|
mcsadmin_LDFLAGS = $(idb_common_ldflags) $(idb_common_libs) $(idb_oam_libs) $(idb_exec_libs) -lreadline -lncurses $(AM_LDFLAGS)
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .cpp .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
||||||
|
@for dep in $?; do \
|
||||||
|
case '$(am__configure_deps)' in \
|
||||||
|
*$$dep*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||||
|
&& exit 0; \
|
||||||
|
exit 1;; \
|
||||||
|
esac; \
|
||||||
|
done; \
|
||||||
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu oamapps/mcsadmin/Makefile'; \
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu oamapps/mcsadmin/Makefile
|
||||||
|
.PRECIOUS: Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
@case '$?' in \
|
||||||
|
*config.status*) \
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||||
|
*) \
|
||||||
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||||
|
esac;
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
|
||||||
|
$(top_srcdir)/configure: $(am__configure_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
||||||
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
if test -f $$p \
|
||||||
|
|| test -f $$p1 \
|
||||||
|
; then \
|
||||||
|
f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
|
||||||
|
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-binPROGRAMS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||||
|
echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
|
||||||
|
rm -f "$(DESTDIR)$(bindir)/$$f"; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-binPROGRAMS:
|
||||||
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
||||||
|
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||||
|
echo " rm -f $$p $$f"; \
|
||||||
|
rm -f $$p $$f ; \
|
||||||
|
done
|
||||||
|
mcsadmin$(EXEEXT): $(mcsadmin_OBJECTS) $(mcsadmin_DEPENDENCIES)
|
||||||
|
@rm -f mcsadmin$(EXEEXT)
|
||||||
|
$(CXXLINK) $(mcsadmin_LDFLAGS) $(mcsadmin_OBJECTS) $(mcsadmin_LDADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT)
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mcsadmin.Po@am__quote@
|
||||||
|
|
||||||
|
.cpp.o:
|
||||||
|
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||||
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
||||||
|
|
||||||
|
.cpp.obj:
|
||||||
|
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
||||||
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||||
|
|
||||||
|
.cpp.lo:
|
||||||
|
@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||||
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
|
||||||
|
|
||||||
|
mcsadmin.o: mcsadmin.cpp
|
||||||
|
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mcsadmin_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT mcsadmin.o -MD -MP -MF "$(DEPDIR)/mcsadmin.Tpo" -c -o mcsadmin.o `test -f 'mcsadmin.cpp' || echo '$(srcdir)/'`mcsadmin.cpp; \
|
||||||
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/mcsadmin.Tpo" "$(DEPDIR)/mcsadmin.Po"; else rm -f "$(DEPDIR)/mcsadmin.Tpo"; exit 1; fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mcsadmin.cpp' object='mcsadmin.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mcsadmin_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o mcsadmin.o `test -f 'mcsadmin.cpp' || echo '$(srcdir)/'`mcsadmin.cpp
|
||||||
|
|
||||||
|
mcsadmin.obj: mcsadmin.cpp
|
||||||
|
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mcsadmin_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT mcsadmin.obj -MD -MP -MF "$(DEPDIR)/mcsadmin.Tpo" -c -o mcsadmin.obj `if test -f 'mcsadmin.cpp'; then $(CYGPATH_W) 'mcsadmin.cpp'; else $(CYGPATH_W) '$(srcdir)/mcsadmin.cpp'; fi`; \
|
||||||
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/mcsadmin.Tpo" "$(DEPDIR)/mcsadmin.Po"; else rm -f "$(DEPDIR)/mcsadmin.Tpo"; exit 1; fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mcsadmin.cpp' object='mcsadmin.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(mcsadmin_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o mcsadmin.obj `if test -f 'mcsadmin.cpp'; then $(CYGPATH_W) 'mcsadmin.cpp'; else $(CYGPATH_W) '$(srcdir)/mcsadmin.cpp'; fi`
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
mkid -fID $$unique
|
||||||
|
tags: TAGS
|
||||||
|
|
||||||
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||||
|
test -n "$$unique" || unique=$$empty_fix; \
|
||||||
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$tags $$unique; \
|
||||||
|
fi
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||||
|
unique=`for i in $$list; do \
|
||||||
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||||
|
done | \
|
||||||
|
$(AWK) ' { files[$$0] = 1; } \
|
||||||
|
END { for (i in files) print i; }'`; \
|
||||||
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||||
|
$$tags $$unique
|
||||||
|
|
||||||
|
GTAGS:
|
||||||
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
|
&& cd $(top_srcdir) \
|
||||||
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
distclean-tags:
|
||||||
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||||
|
list='$(DISTFILES)'; for file in $$list; do \
|
||||||
|
case $$file in \
|
||||||
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||||
|
esac; \
|
||||||
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||||
|
dir="/$$dir"; \
|
||||||
|
$(mkdir_p) "$(distdir)$$dir"; \
|
||||||
|
else \
|
||||||
|
dir=''; \
|
||||||
|
fi; \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||||
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||||
|
fi; \
|
||||||
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||||
|
else \
|
||||||
|
test -f $(distdir)/$$file \
|
||||||
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-am
|
||||||
|
all-am: Makefile $(PROGRAMS)
|
||||||
|
installdirs:
|
||||||
|
for dir in "$(DESTDIR)$(bindir)"; do \
|
||||||
|
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||||
|
done
|
||||||
|
install: install-am
|
||||||
|
install-exec: install-exec-am
|
||||||
|
install-data: install-data-am
|
||||||
|
uninstall: uninstall-am
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-am
|
||||||
|
install-strip:
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||||
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||||
|
`test -z '$(STRIP)' || \
|
||||||
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||||
|
mostlyclean-generic:
|
||||||
|
|
||||||
|
clean-generic:
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
|
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
html: html-am
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am: install-binPROGRAMS
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
|
||||||
|
clean-generic clean-libtool ctags distclean distclean-compile \
|
||||||
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
||||||
|
dvi-am html html-am info info-am install install-am \
|
||||||
|
install-binPROGRAMS install-data install-data-am install-exec \
|
||||||
|
install-exec-am install-info install-info-am install-man \
|
||||||
|
install-strip installcheck installcheck-am installdirs \
|
||||||
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
||||||
|
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||||
|
pdf pdf-am ps ps-am tags uninstall uninstall-am \
|
||||||
|
uninstall-binPROGRAMS uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
|
test:
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
|
||||||
|
leakcheck:
|
||||||
|
|
||||||
|
docs:
|
||||||
|
|
||||||
|
bootstrap: install-data-am
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
.NOEXPORT:
|
Reference in New Issue
Block a user