From 03274d210ead012ed20b9f339ce39d6f245ac147 Mon Sep 17 00:00:00 2001 From: Mark Grondona <mgrondona@llnl.gov> Date: Tue, 18 Jun 2002 20:08:51 +0000 Subject: [PATCH] o remove get_mach_stat and proc_read for now o delete all DEBUG_MODULE stuff --- src/slurmd/Makefile.am | 46 +++++------------------------------------- 1 file changed, 5 insertions(+), 41 deletions(-) diff --git a/src/slurmd/Makefile.am b/src/slurmd/Makefile.am index 1f3d181f230..3749ee3e3d8 100644 --- a/src/slurmd/Makefile.am +++ b/src/slurmd/Makefile.am @@ -3,49 +3,13 @@ AUTOMAKE_OPTIONS = foreign -INCLUDES = -I$(top_srcdir)/src/common - -# should we build individual modules? -# (--enable-debug) -# -if DEBUG_MODULES -test_modules = get_mach_stat read_proc -else -test_modules = -endif - -bin_PROGRAMS = slurmd - -# uncomment when we are ready to build a slurmd -# also, be sure to fill out slurmd_SOURCES -# bin_PROGRAMS = slurmd - -noinst_PROGRAMS = $(test_modules) +sbin_PROGRAMS = slurmd LDADD = $(top_srcdir)/src/common/libcommon.la -slurmd_SOURCES = get_mach_stat.c \ - read_proc.c \ - slurmd.c - -# target specific CFLAGS do not work until automake 1.5, use explicit rules -# for now. If we ever move to 1.5, the CFLAGS defs below should work in -# place of the rules that follow. - -#get_mach_stat_CFLAGS = -DDEBUG_MODULE $(AM_CFLAGS) -#read_proc_CFLAGS = -DDEBUG_MODULE $(AM_CFLAGS) - -# debug modules to be built as binaries: -# -# need to create a rule to build each binary from an object file with _d suffix -# as these will have been compiled with -DDEBUG_MODULE -# -get_mach_stat$(EXEEXT) : get_mach_stat_d.o -read_proc$(EXEEXT) : read_proc_d.o - -% : %_d.o - $(LINK) $(LDFLAGS) $^ $(LDADD) $(LIBS) +#slurmd_SOURCES = get_mach_stat.c \ +# read_proc.c \ +# slurmd.c -%_d.o : %.c - $(COMPILE) -DDEBUG_MODULE -c -o $@ $< +slurmd_SOURCES = slurmd.c -- GitLab