[icinga-checkins] icinga.org: icinga-core/mdupont/strict_checks: first version of parse config

git at icinga.org git at icinga.org
Sun Mar 27 17:26:20 CEST 2011


Module: icinga-core
Branch: mdupont/strict_checks
Commit: 5a864f8c7c02e5a4ea05d303e55fa94e1de03b51
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=5a864f8c7c02e5a4ea05d303e55fa94e1de03b51

Author: James Michael DuPont <JamesMikeDuPont at googlemail.com>
Date:   Sun Mar 27 17:25:59 2011 +0200

first version of parse config

---

 t/unit/Makefile.am |   17 +++++++++++++----
 t/unit/Makefile.in |   23 +++++++++++++++++------
 2 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/t/unit/Makefile.am b/t/unit/Makefile.am
index 3fdb72d..1d5864f 100644
--- a/t/unit/Makefile.am
+++ b/t/unit/Makefile.am
@@ -1,7 +1,16 @@
-bin_PROGRAMS = run_command
-run_command_SOURCES = run_command.c
-run_command_LDADD=$(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
+bin_PROGRAMS = run_command parse_config
+
 AM_CXXFLAGS = -I$(top_srcdir)/include @AM_CXXFLAGS@
-#CFLAGS = --pedantic -Wall -std=c99 -O2
+
 AM_CFLAGS = --pedantic -Wall -std=c99 -O2 -D_POSIX_C_SOURCE=200112L,-std=c99 -D_GNU_SOURCE -I$(top_srcdir)/include
 
+
+run_command_SOURCES = run_command.c
+run_command_LDADD=$(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
+
+
+parse_config_SOURCES = parse_config.c
+parse_config_LDADD=$(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
+
+
+
diff --git a/t/unit/Makefile.in b/t/unit/Makefile.in
index c4572cf..0f25c79 100644
--- a/t/unit/Makefile.in
+++ b/t/unit/Makefile.in
@@ -34,7 +34,7 @@ PRE_UNINSTALL = :
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-bin_PROGRAMS = run_command$(EXEEXT)
+bin_PROGRAMS = run_command$(EXEEXT) parse_config$(EXEEXT)
 subdir = t/unit
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -51,6 +51,12 @@ CONFIG_CLEAN_FILES =
 CONFIG_CLEAN_VPATH_FILES =
 am__installdirs = "$(DESTDIR)$(bindir)"
 PROGRAMS = $(bin_PROGRAMS)
+am_parse_config_OBJECTS = parse_config.$(OBJEXT)
+parse_config_OBJECTS = $(am_parse_config_OBJECTS)
+parse_config_DEPENDENCIES = $(top_srcdir)/base/libicingacore-1.0.la \
+	$(top_srcdir)/common/libicingacommon-1.0.la \
+	$(top_srcdir)/xdata/libicingaxdata-1.0.la \
+	$(top_srcdir)/cgi/libcgicore-1.0.la
 am_run_command_OBJECTS = run_command.$(OBJEXT)
 run_command_OBJECTS = $(am_run_command_OBJECTS)
 run_command_DEPENDENCIES = $(top_srcdir)/base/libicingacore-1.0.la \
@@ -70,8 +76,8 @@ CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
 	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
 	$(LDFLAGS) -o $@
-SOURCES = $(run_command_SOURCES)
-DIST_SOURCES = $(run_command_SOURCES)
+SOURCES = $(parse_config_SOURCES) $(run_command_SOURCES)
+DIST_SOURCES = $(parse_config_SOURCES) $(run_command_SOURCES)
 ETAGS = etags
 CTAGS = ctags
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -253,11 +259,12 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-run_command_SOURCES = run_command.c
-run_command_LDADD = $(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
 AM_CXXFLAGS = -I$(top_srcdir)/include @AM_CXXFLAGS@
-#CFLAGS = --pedantic -Wall -std=c99 -O2
 AM_CFLAGS = --pedantic -Wall -std=c99 -O2 -D_POSIX_C_SOURCE=200112L,-std=c99 -D_GNU_SOURCE -I$(top_srcdir)/include
+run_command_SOURCES = run_command.c
+run_command_LDADD = $(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
+parse_config_SOURCES = parse_config.c
+parse_config_LDADD = $(top_srcdir)/base/libicingacore-1.0.la $(top_srcdir)/common/libicingacommon-1.0.la $(top_srcdir)/xdata/libicingaxdata-1.0.la -lrt -ldl -lc $(top_srcdir)/cgi/libcgicore-1.0.la 
 all: all-am
 
 .SUFFIXES:
@@ -335,6 +342,9 @@ clean-binPROGRAMS:
 	list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 	echo " rm -f" $$list; \
 	rm -f $$list
+parse_config$(EXEEXT): $(parse_config_OBJECTS) $(parse_config_DEPENDENCIES) 
+	@rm -f parse_config$(EXEEXT)
+	$(LINK) $(parse_config_OBJECTS) $(parse_config_LDADD) $(LIBS)
 run_command$(EXEEXT): $(run_command_OBJECTS) $(run_command_DEPENDENCIES) 
 	@rm -f run_command$(EXEEXT)
 	$(LINK) $(run_command_OBJECTS) $(run_command_LDADD) $(LIBS)
@@ -345,6 +355,7 @@ mostlyclean-compile:
 distclean-compile:
 	-rm -f *.tab.c
 
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/parse_config.Po at am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/run_command.Po at am__quote@
 
 .c.o:





More information about the icinga-checkins mailing list