Commit a8937eb2 authored by Swann Perarnau's avatar Swann Perarnau

[refactor] Convert repository to autotools

Use standard tools to deal with compile/headers and so on. Autotools are
not necessary easy to use, but everyone knows how to interact with them.

This commit is incomplete:
 - make check doesn't work right now
 - config.h is not used/configured properly
parent 5ffbcad3
#DFLAGS= #Debug flags. Meant to be specified outside when invoking make
CFLAGS= -Wall -ggdb -O0
CC=gcc $(DFLAGS)
CXXFLAGS= -Wall -I./jsonxx -ggdb -O0
#CXXFLAGS= -Wall #-I./jsonxx -ggdb -O0
CXX=g++ -std=c++11 $(DFLAGS)
BIN=argo_nodeos_config
C_SOURCES=zounm_utils.c
C_HEADERS=zounm_utils.h
CXX_SOURCES=argo_nodeos_config.cpp config_reader.cpp node_settup_changer.cpp \
node_setup_reader.cpp argo_container.hpp container_manager.cpp \
utils.cpp acl.hpp ilogger.cpp stderrlogger.cpp fileflogger.cpp \
syslogger.cpp aggregatelogger.cpp log_option_parser.cpp \
resource_locker.cpp trace.cpp \
iresource_controller.cpp\
iresource_controller_status.cpp\
string_parser.cpp\
int_list_parser.cpp\
nodeos_exceptions.cpp\
thirdparty/jsonxx/jsonxx.cc
CXX_HEADERS=config_reader.hpp node_setup_changer.hpp node_setup_reader.hpp \
argo_container.hpp container_manager.hpp utils.hpp acl.cpp \
common.hpp defaults.hpp ilogger.hpp stderrlogger.hpp filelogger.hpp \
syslogger.hpp aggregatelogger.hpp headers.hpp log_option_parser.hpp \
trace.hpp resource_locker.hpp \
iresource_controller.hpp\
iresource_controller.hpp\
resource_controller_type.hpp\
string_parser.hpp\
int_list_parser.hpp\
nodeos_exceptions.hpp\
resource_ownership.hpp\
thirdparty/jsonxx/jsonxx.h
OBJECTS=argo_nodeos_config.o config_reader.o node_settup_changer.o node_setup_reader.o \
argo_container.o utils.o container_manager.o acl.o ilogger.o stderrlogger.o\
syslogger.o filelogger.o aggregatelogger.o log_option_parser.o \
resource_locker.o trace.o \
iresource_controller.o\
iresource_controller_status.o\
string_parser.o\
int_list_parser.o\
nodeos_exceptions.o\
thirdparty/jsonxx/jsonxx.o
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
%.o: %.cpp %.cc $(CXX_HEADERS)
$(CXX) $(CXXFLAGS) -c $<
#depend:
# makedepend -- $(CXXFLAGS) -- $(CXX_SOURCES)
$(BIN): $(OBJECTS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJECTS)
chmod u+s $(BIN)
clean:
rm -f $(OBJECTS) $(BIN)
# DO NOT DELETE
argo_nodeos_config.o: headers.hpp acl.hpp utils.hpp /usr/include/sys/types.h
argo_nodeos_config.o: /usr/include/features.h /usr/include/stdc-predef.h
argo_nodeos_config.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
argo_nodeos_config.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
argo_nodeos_config.o: /usr/include/bits/typesizes.h /usr/include/time.h
argo_nodeos_config.o: /usr/include/endian.h /usr/include/bits/endian.h
argo_nodeos_config.o: /usr/include/bits/byteswap.h
argo_nodeos_config.o: /usr/include/bits/byteswap-16.h
argo_nodeos_config.o: /usr/include/sys/select.h /usr/include/bits/select.h
argo_nodeos_config.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
argo_nodeos_config.o: /usr/include/sys/sysmacros.h
argo_nodeos_config.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
argo_nodeos_config.o: /usr/include/bits/posix_opt.h
argo_nodeos_config.o: /usr/include/bits/environments.h
argo_nodeos_config.o: /usr/include/bits/confname.h /usr/include/getopt.h
argo_nodeos_config.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
argo_nodeos_config.o: /usr/include/bits/fcntl-linux.h
argo_nodeos_config.o: /usr/include/bits/stat.h /usr/include/stdint.h
argo_nodeos_config.o: /usr/include/bits/wchar.h /usr/include/errno.h
argo_nodeos_config.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
argo_nodeos_config.o: /usr/include/asm/errno.h
argo_nodeos_config.o: /usr/include/asm-generic/errno.h
argo_nodeos_config.o: /usr/include/asm-generic/errno-base.h
argo_nodeos_config.o: /usr/include/string.h /usr/include/xlocale.h
argo_nodeos_config.o: /usr/include/pthread.h /usr/include/sched.h
argo_nodeos_config.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
argo_nodeos_config.o: common.hpp /usr/include/sys/stat.h defaults.hpp
argo_nodeos_config.o: /usr/include/syslog.h /usr/include/sys/syslog.h
argo_nodeos_config.o: /usr/include/bits/syslog-path.h nodeos_exceptions.hpp
argo_nodeos_config.o: argo_container.hpp resource_type.hpp string_parser.hpp
argo_nodeos_config.o: container_manager.hpp resource_ownership.hpp
argo_nodeos_config.o: ilogger.hpp resource_ownership_set.hpp syslogger.hpp
argo_nodeos_config.o: stderrlogger.hpp filelogger.hpp aggregatelogger.hpp
argo_nodeos_config.o: log_option_parser.hpp resource_locker.hpp
argo_nodeos_config.o: /usr/include/stdio.h /usr/include/libio.h
argo_nodeos_config.o: /usr/include/_G_config.h /usr/include/wchar.h
argo_nodeos_config.o: /usr/include/bits/stdio_lim.h
argo_nodeos_config.o: /usr/include/bits/sys_errlist.h
argo_container.o: utils.hpp /usr/include/sys/types.h /usr/include/features.h
argo_container.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
argo_container.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
argo_container.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
argo_container.o: /usr/include/time.h /usr/include/endian.h
argo_container.o: /usr/include/bits/endian.h /usr/include/bits/byteswap.h
argo_container.o: /usr/include/bits/byteswap-16.h /usr/include/sys/select.h
argo_container.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
argo_container.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
argo_container.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
argo_container.o: /usr/include/bits/posix_opt.h
argo_container.o: /usr/include/bits/environments.h
argo_container.o: /usr/include/bits/confname.h /usr/include/getopt.h
argo_container.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
argo_container.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
argo_container.o: /usr/include/stdint.h /usr/include/bits/wchar.h
argo_container.o: /usr/include/errno.h /usr/include/bits/errno.h
argo_container.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
argo_container.o: /usr/include/asm-generic/errno.h
argo_container.o: /usr/include/asm-generic/errno-base.h /usr/include/string.h
argo_container.o: /usr/include/xlocale.h /usr/include/pthread.h
argo_container.o: /usr/include/sched.h /usr/include/bits/sched.h
argo_container.o: /usr/include/bits/setjmp.h common.hpp
argo_container.o: /usr/include/sys/stat.h defaults.hpp /usr/include/syslog.h
argo_container.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
argo_container.o: nodeos_exceptions.hpp resource_type.hpp string_parser.hpp
container_manager.o: container_manager.hpp utils.hpp /usr/include/sys/types.h
container_manager.o: /usr/include/features.h /usr/include/stdc-predef.h
container_manager.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
container_manager.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
container_manager.o: /usr/include/bits/typesizes.h /usr/include/time.h
container_manager.o: /usr/include/endian.h /usr/include/bits/endian.h
container_manager.o: /usr/include/bits/byteswap.h
container_manager.o: /usr/include/bits/byteswap-16.h
container_manager.o: /usr/include/sys/select.h /usr/include/bits/select.h
container_manager.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
container_manager.o: /usr/include/sys/sysmacros.h
container_manager.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
container_manager.o: /usr/include/bits/posix_opt.h
container_manager.o: /usr/include/bits/environments.h
container_manager.o: /usr/include/bits/confname.h /usr/include/getopt.h
container_manager.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
container_manager.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
container_manager.o: /usr/include/stdint.h /usr/include/bits/wchar.h
container_manager.o: /usr/include/errno.h /usr/include/bits/errno.h
container_manager.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
container_manager.o: /usr/include/asm-generic/errno.h
container_manager.o: /usr/include/asm-generic/errno-base.h
container_manager.o: /usr/include/string.h /usr/include/xlocale.h
container_manager.o: /usr/include/pthread.h /usr/include/sched.h
container_manager.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
container_manager.o: common.hpp /usr/include/sys/stat.h defaults.hpp
container_manager.o: /usr/include/syslog.h /usr/include/sys/syslog.h
container_manager.o: /usr/include/bits/syslog-path.h nodeos_exceptions.hpp
container_manager.o: argo_container.hpp resource_type.hpp string_parser.hpp
container_manager.o: resource_ownership.hpp ilogger.hpp
container_manager.o: resource_ownership_set.hpp /usr/include/sys/mount.h
container_manager.o: /usr/include/sys/ioctl.h /usr/include/bits/ioctls.h
container_manager.o: /usr/include/asm/ioctls.h
container_manager.o: /usr/include/asm-generic/ioctls.h
container_manager.o: /usr/include/linux/ioctl.h /usr/include/asm/ioctl.h
container_manager.o: /usr/include/asm-generic/ioctl.h
container_manager.o: /usr/include/bits/ioctl-types.h
container_manager.o: /usr/include/sys/ttydefaults.h /usr/include/ftw.h
container_manager.o: /usr/include/libgen.h int_list_parser.hpp
container_manager.o: /usr/include/signal.h /usr/include/bits/signum.h
container_manager.o: /usr/include/bits/siginfo.h
container_manager.o: /usr/include/bits/sigaction.h
container_manager.o: /usr/include/bits/sigcontext.h
container_manager.o: /usr/include/bits/sigstack.h /usr/include/sys/ucontext.h
container_manager.o: /usr/include/bits/sigthread.h
utils.o: utils.hpp /usr/include/sys/types.h /usr/include/features.h
utils.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
utils.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
utils.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
utils.o: /usr/include/time.h /usr/include/endian.h /usr/include/bits/endian.h
utils.o: /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h
utils.o: /usr/include/sys/select.h /usr/include/bits/select.h
utils.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
utils.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
utils.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
utils.o: /usr/include/bits/environments.h /usr/include/bits/confname.h
utils.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
utils.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
utils.o: /usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/errno.h
utils.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
utils.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
utils.o: /usr/include/asm-generic/errno-base.h /usr/include/string.h
utils.o: /usr/include/xlocale.h /usr/include/pthread.h /usr/include/sched.h
utils.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h common.hpp
utils.o: /usr/include/sys/stat.h defaults.hpp /usr/include/syslog.h
utils.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
utils.o: nodeos_exceptions.hpp /usr/include/ctype.h /usr/include/limits.h
utils.o: /usr/include/bits/posix1_lim.h /usr/include/bits/local_lim.h
utils.o: /usr/include/linux/limits.h /usr/include/bits/posix2_lim.h
utils.o: /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h
utils.o: /usr/include/wchar.h /usr/include/bits/stdio_lim.h
utils.o: /usr/include/bits/sys_errlist.h ilogger.hpp syslogger.hpp
utils.o: filelogger.hpp stderrlogger.hpp aggregatelogger.hpp
acl.o: utils.hpp /usr/include/sys/types.h /usr/include/features.h
acl.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
acl.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
acl.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
acl.o: /usr/include/time.h /usr/include/endian.h /usr/include/bits/endian.h
acl.o: /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h
acl.o: /usr/include/sys/select.h /usr/include/bits/select.h
acl.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
acl.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
acl.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
acl.o: /usr/include/bits/environments.h /usr/include/bits/confname.h
acl.o: /usr/include/getopt.h /usr/include/fcntl.h /usr/include/bits/fcntl.h
acl.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
acl.o: /usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/errno.h
acl.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
acl.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
acl.o: /usr/include/asm-generic/errno-base.h /usr/include/string.h
acl.o: /usr/include/xlocale.h /usr/include/pthread.h /usr/include/sched.h
acl.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h common.hpp
acl.o: /usr/include/sys/stat.h defaults.hpp /usr/include/syslog.h
acl.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
acl.o: nodeos_exceptions.hpp
ilogger.o: ilogger.hpp common.hpp /usr/include/sys/types.h
ilogger.o: /usr/include/features.h /usr/include/stdc-predef.h
ilogger.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
ilogger.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
ilogger.o: /usr/include/bits/typesizes.h /usr/include/time.h
ilogger.o: /usr/include/endian.h /usr/include/bits/endian.h
ilogger.o: /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h
ilogger.o: /usr/include/sys/select.h /usr/include/bits/select.h
ilogger.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
ilogger.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
ilogger.o: /usr/include/sys/stat.h /usr/include/bits/stat.h defaults.hpp
ilogger.o: /usr/include/string.h /usr/include/xlocale.h /usr/include/errno.h
ilogger.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
ilogger.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
ilogger.o: /usr/include/asm-generic/errno-base.h /usr/include/syslog.h
ilogger.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
ilogger.o: /usr/include/stdint.h /usr/include/bits/wchar.h utils.hpp
ilogger.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
ilogger.o: /usr/include/bits/environments.h /usr/include/bits/confname.h
ilogger.o: /usr/include/getopt.h /usr/include/fcntl.h
ilogger.o: /usr/include/bits/fcntl.h /usr/include/bits/fcntl-linux.h
ilogger.o: /usr/include/pthread.h /usr/include/sched.h
ilogger.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
ilogger.o: nodeos_exceptions.hpp /usr/include/stdio.h /usr/include/libio.h
ilogger.o: /usr/include/_G_config.h /usr/include/wchar.h
ilogger.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
ilogger.o: /usr/include/stdlib.h /usr/include/bits/waitflags.h
ilogger.o: /usr/include/bits/waitstatus.h /usr/include/alloca.h
ilogger.o: /usr/include/bits/stdlib-float.h
stderrlogger.o: stderrlogger.hpp ilogger.hpp common.hpp
stderrlogger.o: /usr/include/sys/types.h /usr/include/features.h
stderrlogger.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
stderrlogger.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
stderrlogger.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
stderrlogger.o: /usr/include/time.h /usr/include/endian.h
stderrlogger.o: /usr/include/bits/endian.h /usr/include/bits/byteswap.h
stderrlogger.o: /usr/include/bits/byteswap-16.h /usr/include/sys/select.h
stderrlogger.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
stderrlogger.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
stderrlogger.o: /usr/include/bits/pthreadtypes.h /usr/include/sys/stat.h
stderrlogger.o: /usr/include/bits/stat.h defaults.hpp /usr/include/string.h
stderrlogger.o: /usr/include/xlocale.h /usr/include/errno.h
stderrlogger.o: /usr/include/bits/errno.h /usr/include/linux/errno.h
stderrlogger.o: /usr/include/asm/errno.h /usr/include/asm-generic/errno.h
stderrlogger.o: /usr/include/asm-generic/errno-base.h /usr/include/syslog.h
stderrlogger.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
stderrlogger.o: /usr/include/stdint.h /usr/include/bits/wchar.h trace.hpp
stderrlogger.o: /usr/include/stdio.h /usr/include/libio.h
stderrlogger.o: /usr/include/_G_config.h /usr/include/wchar.h
stderrlogger.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
stderrlogger.o: utils.hpp /usr/include/unistd.h /usr/include/bits/posix_opt.h
stderrlogger.o: /usr/include/bits/environments.h /usr/include/bits/confname.h
stderrlogger.o: /usr/include/getopt.h /usr/include/fcntl.h
stderrlogger.o: /usr/include/bits/fcntl.h /usr/include/bits/fcntl-linux.h
stderrlogger.o: /usr/include/pthread.h /usr/include/sched.h
stderrlogger.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
stderrlogger.o: nodeos_exceptions.hpp
syslogger.o: syslogger.hpp ilogger.hpp common.hpp /usr/include/sys/types.h
syslogger.o: /usr/include/features.h /usr/include/stdc-predef.h
syslogger.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
syslogger.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
syslogger.o: /usr/include/bits/typesizes.h /usr/include/time.h
syslogger.o: /usr/include/endian.h /usr/include/bits/endian.h
syslogger.o: /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h
syslogger.o: /usr/include/sys/select.h /usr/include/bits/select.h
syslogger.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
syslogger.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
syslogger.o: /usr/include/sys/stat.h /usr/include/bits/stat.h defaults.hpp
syslogger.o: /usr/include/string.h /usr/include/xlocale.h
syslogger.o: /usr/include/errno.h /usr/include/bits/errno.h
syslogger.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
syslogger.o: /usr/include/asm-generic/errno.h
syslogger.o: /usr/include/asm-generic/errno-base.h /usr/include/syslog.h
syslogger.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
syslogger.o: /usr/include/stdint.h /usr/include/bits/wchar.h utils.hpp
syslogger.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
syslogger.o: /usr/include/bits/environments.h /usr/include/bits/confname.h
syslogger.o: /usr/include/getopt.h /usr/include/fcntl.h
syslogger.o: /usr/include/bits/fcntl.h /usr/include/bits/fcntl-linux.h
syslogger.o: /usr/include/pthread.h /usr/include/sched.h
syslogger.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
syslogger.o: nodeos_exceptions.hpp trace.hpp /usr/include/stdio.h
syslogger.o: /usr/include/libio.h /usr/include/_G_config.h
syslogger.o: /usr/include/wchar.h /usr/include/bits/stdio_lim.h
syslogger.o: /usr/include/bits/sys_errlist.h
aggregatelogger.o: aggregatelogger.hpp ilogger.hpp common.hpp
aggregatelogger.o: /usr/include/sys/types.h /usr/include/features.h
aggregatelogger.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
aggregatelogger.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
aggregatelogger.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
aggregatelogger.o: /usr/include/time.h /usr/include/endian.h
aggregatelogger.o: /usr/include/bits/endian.h /usr/include/bits/byteswap.h
aggregatelogger.o: /usr/include/bits/byteswap-16.h /usr/include/sys/select.h
aggregatelogger.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
aggregatelogger.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
aggregatelogger.o: /usr/include/bits/pthreadtypes.h /usr/include/sys/stat.h
aggregatelogger.o: /usr/include/bits/stat.h defaults.hpp
aggregatelogger.o: /usr/include/string.h /usr/include/xlocale.h
aggregatelogger.o: /usr/include/errno.h /usr/include/bits/errno.h
aggregatelogger.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
aggregatelogger.o: /usr/include/asm-generic/errno.h
aggregatelogger.o: /usr/include/asm-generic/errno-base.h
aggregatelogger.o: /usr/include/syslog.h /usr/include/sys/syslog.h
aggregatelogger.o: /usr/include/bits/syslog-path.h /usr/include/stdint.h
aggregatelogger.o: /usr/include/bits/wchar.h syslogger.hpp stderrlogger.hpp
aggregatelogger.o: filelogger.hpp
log_option_parser.o: log_option_parser.hpp common.hpp
log_option_parser.o: /usr/include/sys/types.h /usr/include/features.h
log_option_parser.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
log_option_parser.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
log_option_parser.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
log_option_parser.o: /usr/include/time.h /usr/include/endian.h
log_option_parser.o: /usr/include/bits/endian.h /usr/include/bits/byteswap.h
log_option_parser.o: /usr/include/bits/byteswap-16.h
log_option_parser.o: /usr/include/sys/select.h /usr/include/bits/select.h
log_option_parser.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
log_option_parser.o: /usr/include/sys/sysmacros.h
log_option_parser.o: /usr/include/bits/pthreadtypes.h /usr/include/sys/stat.h
log_option_parser.o: /usr/include/bits/stat.h defaults.hpp
log_option_parser.o: /usr/include/string.h /usr/include/xlocale.h
log_option_parser.o: /usr/include/errno.h /usr/include/bits/errno.h
log_option_parser.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
log_option_parser.o: /usr/include/asm-generic/errno.h
log_option_parser.o: /usr/include/asm-generic/errno-base.h
log_option_parser.o: /usr/include/syslog.h /usr/include/sys/syslog.h
log_option_parser.o: /usr/include/bits/syslog-path.h /usr/include/stdint.h
log_option_parser.o: /usr/include/bits/wchar.h utils.hpp
log_option_parser.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
log_option_parser.o: /usr/include/bits/environments.h
log_option_parser.o: /usr/include/bits/confname.h /usr/include/getopt.h
log_option_parser.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
log_option_parser.o: /usr/include/bits/fcntl-linux.h /usr/include/pthread.h
log_option_parser.o: /usr/include/sched.h /usr/include/bits/sched.h
log_option_parser.o: /usr/include/bits/setjmp.h nodeos_exceptions.hpp
resource_locker.o: resource_locker.hpp /usr/include/stdio.h
resource_locker.o: /usr/include/features.h /usr/include/stdc-predef.h
resource_locker.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
resource_locker.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
resource_locker.o: /usr/include/bits/typesizes.h /usr/include/libio.h
resource_locker.o: /usr/include/_G_config.h /usr/include/wchar.h
resource_locker.o: /usr/include/bits/stdio_lim.h
resource_locker.o: /usr/include/bits/sys_errlist.h utils.hpp
resource_locker.o: /usr/include/sys/types.h /usr/include/time.h
resource_locker.o: /usr/include/endian.h /usr/include/bits/endian.h
resource_locker.o: /usr/include/bits/byteswap.h
resource_locker.o: /usr/include/bits/byteswap-16.h /usr/include/sys/select.h
resource_locker.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
resource_locker.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
resource_locker.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
resource_locker.o: /usr/include/bits/posix_opt.h
resource_locker.o: /usr/include/bits/environments.h
resource_locker.o: /usr/include/bits/confname.h /usr/include/getopt.h
resource_locker.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
resource_locker.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
resource_locker.o: /usr/include/stdint.h /usr/include/bits/wchar.h
resource_locker.o: /usr/include/errno.h /usr/include/bits/errno.h
resource_locker.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
resource_locker.o: /usr/include/asm-generic/errno.h
resource_locker.o: /usr/include/asm-generic/errno-base.h
resource_locker.o: /usr/include/string.h /usr/include/xlocale.h
resource_locker.o: /usr/include/pthread.h /usr/include/sched.h
resource_locker.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
resource_locker.o: common.hpp /usr/include/sys/stat.h defaults.hpp
resource_locker.o: /usr/include/syslog.h /usr/include/sys/syslog.h
resource_locker.o: /usr/include/bits/syslog-path.h nodeos_exceptions.hpp
resource_locker.o: ilogger.hpp /usr/include/sys/file.h trace.hpp
trace.o: trace.hpp /usr/include/stdio.h /usr/include/features.h
trace.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
trace.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
trace.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
trace.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h
trace.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
string_parser.o: string_parser.hpp utils.hpp /usr/include/sys/types.h
string_parser.o: /usr/include/features.h /usr/include/stdc-predef.h
string_parser.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
string_parser.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
string_parser.o: /usr/include/bits/typesizes.h /usr/include/time.h
string_parser.o: /usr/include/endian.h /usr/include/bits/endian.h
string_parser.o: /usr/include/bits/byteswap.h /usr/include/bits/byteswap-16.h
string_parser.o: /usr/include/sys/select.h /usr/include/bits/select.h
string_parser.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
string_parser.o: /usr/include/sys/sysmacros.h
string_parser.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
string_parser.o: /usr/include/bits/posix_opt.h
string_parser.o: /usr/include/bits/environments.h
string_parser.o: /usr/include/bits/confname.h /usr/include/getopt.h
string_parser.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
string_parser.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
string_parser.o: /usr/include/stdint.h /usr/include/bits/wchar.h
string_parser.o: /usr/include/errno.h /usr/include/bits/errno.h
string_parser.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
string_parser.o: /usr/include/asm-generic/errno.h
string_parser.o: /usr/include/asm-generic/errno-base.h /usr/include/string.h
string_parser.o: /usr/include/xlocale.h /usr/include/pthread.h
string_parser.o: /usr/include/sched.h /usr/include/bits/sched.h
string_parser.o: /usr/include/bits/setjmp.h common.hpp
string_parser.o: /usr/include/sys/stat.h defaults.hpp /usr/include/syslog.h
string_parser.o: /usr/include/sys/syslog.h /usr/include/bits/syslog-path.h
string_parser.o: nodeos_exceptions.hpp int_list_parser.hpp
int_list_parser.o: int_list_parser.hpp utils.hpp /usr/include/sys/types.h
int_list_parser.o: /usr/include/features.h /usr/include/stdc-predef.h
int_list_parser.o: /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h
int_list_parser.o: /usr/include/gnu/stubs.h /usr/include/bits/types.h
int_list_parser.o: /usr/include/bits/typesizes.h /usr/include/time.h
int_list_parser.o: /usr/include/endian.h /usr/include/bits/endian.h
int_list_parser.o: /usr/include/bits/byteswap.h
int_list_parser.o: /usr/include/bits/byteswap-16.h /usr/include/sys/select.h
int_list_parser.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
int_list_parser.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
int_list_parser.o: /usr/include/bits/pthreadtypes.h /usr/include/unistd.h
int_list_parser.o: /usr/include/bits/posix_opt.h
int_list_parser.o: /usr/include/bits/environments.h
int_list_parser.o: /usr/include/bits/confname.h /usr/include/getopt.h
int_list_parser.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
int_list_parser.o: /usr/include/bits/fcntl-linux.h /usr/include/bits/stat.h
int_list_parser.o: /usr/include/stdint.h /usr/include/bits/wchar.h
int_list_parser.o: /usr/include/errno.h /usr/include/bits/errno.h
int_list_parser.o: /usr/include/linux/errno.h /usr/include/asm/errno.h
int_list_parser.o: /usr/include/asm-generic/errno.h
int_list_parser.o: /usr/include/asm-generic/errno-base.h
int_list_parser.o: /usr/include/string.h /usr/include/xlocale.h
int_list_parser.o: /usr/include/pthread.h /usr/include/sched.h
int_list_parser.o: /usr/include/bits/sched.h /usr/include/bits/setjmp.h
int_list_parser.o: common.hpp /usr/include/sys/stat.h defaults.hpp
int_list_parser.o: /usr/include/syslog.h /usr/include/sys/syslog.h
int_list_parser.o: /usr/include/bits/syslog-path.h nodeos_exceptions.hpp
thirdparty/jsonxx/jsonxx.o: thirdparty/jsonxx/jsonxx.h /usr/include/stdio.h /usr/include/features.h
thirdparty/jsonxx/jsonxx.o: /usr/include/stdc-predef.h /usr/include/sys/cdefs.h
thirdparty/jsonxx/jsonxx.o: /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h
thirdparty/jsonxx/jsonxx.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
thirdparty/jsonxx/jsonxx.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h
thirdparty/jsonxx/jsonxx.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src
EXTRA_DIST = autogen.sh README.markdown
#!/bin/sh
autoreconf --verbose --install --force
# see semver.org for version info
AC_INIT([argo-nodeos],[0.0.1],[swann@anl.gov])
# are we in the right source dir ?
AC_CONFIG_SRCDIR([src/argo_nodeos_config.cpp])
# build artefacts in separate dir
AC_CONFIG_AUX_DIR([m4])
AC_CONFIG_MACRO_DIR([m4])
# automake should fail on any error
AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.12])
AM_PROG_AR
# check for libtool
LT_INIT
# check for programs
AC_LANG([C++])
AC_PROG_CXX
# support for testing with valgrind
AC_ARG_ENABLE(valgrind,
[AS_HELP_STRING([--enable-valgrind],[Also valgrind on checks (default is no).])],
[valgrind=true],[valgrind=false])
if [[ "x$valgrind" = xtrue ]]; then
AC_PATH_PROG(VALGRIND, valgrind, no)
if [[ "x$VALGRIND" = xno ]]; then
AC_MSG_ERROR([Valgrind not found in PATH. ])
fi
fi
AM_CONDITIONAL([TEST_VALGRIND],[test "x$valgrind" = xtrue])
# dependencies
#config, outputs
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT
AM_CXXFLAGS = -ggdb -O0
bin_PROGRAMS = argo_nodeos_config
argo_nodeos_config_SOURCES = argo_nodeos_config.cpp config_reader.cpp node_settup_changer.cpp \
node_setup_reader.cpp argo_container.cpp container_manager.cpp \
utils.cpp acl.hpp ilogger.cpp stderrlogger.cpp filelogger.cpp \
syslogger.cpp aggregatelogger.cpp log_option_parser.cpp \
resource_locker.cpp trace.cpp \
iresource_controller.cpp\
iresource_controller_status.cpp\
string_parser.cpp\
int_list_parser.cpp\
nodeos_exceptions.cpp\
config_reader.hpp node_setup_changer.hpp node_setup_reader.hpp \
argo_container.hpp container_manager.hpp utils.hpp acl.cpp \
common.hpp defaults.hpp ilogger.hpp stderrlogger.hpp filelogger.hpp \
syslogger.hpp aggregatelogger.hpp headers.hpp log_option_parser.hpp \
trace.hpp resource_locker.hpp \
iresource_controller.hpp\
iresource_controller.hpp\
resource_controller_type.hpp\
string_parser.hpp\
int_list_parser.hpp\
nodeos_exceptions.hpp\
resource_ownership.hpp
thirdparty/jsonxx/jsonxx.cc thirdparty/jsonxx/jsonxx.h
# suid
install-exec-hook:
chmod u+s $(DESTDIR)$(bindir)/argo_nodeos_config$(EXEEXT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment