diff --git a/Makefile.am b/Makefile.am index c6506cb63c7cc56b1febba31e1634f4a1277e662..c642716cc797bc87d0421e8ecc6ebe7831a9a9c3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,10 +9,11 @@ EXTRA_DIST = \ autogen.sh \ Make-rpm.mk -MAINTAINERCLEANFILES = aclocal.m4 config.guess \ - config.h.in config.sub configure install-sh \ - ltconfig ltmain.sh missing mkinstalldirs \ - stamp-h.in +MAINTAINERCLEANFILES = \ + aclocal.m4 config.guess \ + config.h.in config.sub configure install-sh \ + ltconfig ltmain.sh missing mkinstalldirs \ + stamp-h.in include $(top_srcdir)/Make-rpm.mk @@ -20,5 +21,3 @@ maintainer-clean-local: -(cd $(top_srcdir) && rm -rf autom4te.cache) -find . -name "Makefile.in" -exec rm {} \; -find $(PACKAGE)-* -exec chmod u+w {} \; - - diff --git a/doc/Makefile.am b/doc/Makefile.am index 1b4f42e8efba00b3d97b5077edbb66334657bfb3..53d634f8a92dc5e8f36d4aa1da14e777fe785618 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,12 @@ - -EXTRA_DIST = txt html pubdesign +# $Id$ SUBDIRS = man +EXTRA_DIST = \ + html/LCM.arch.png \ + html/LCM.communicate.png \ + html/SLURM.components.gif \ + html/admin.guide.html \ + html/user.guide.html + html/programmer.guide.html \ + html/slurm.png \ diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index c976b3ffec6d69fec6233ecc7aa13c8ba2e32d5f..c67910f310b66e2e7d3b4eb6d6018b980a544933 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1,4 +1,4 @@ - +# $Id$ man1_MANS = \ man1/scancel.1 \ diff --git a/src/Makefile.am b/src/Makefile.am index be05bc3926aa73f8d2d745dda7d5e89740dbbb39..7076d4a12fb4596da541cc1d5be6c20c87c44442 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +# $Id$ + if USE_INCLUDED_POPT SUBDIRS = popt common api slurmctld slurmd srun scontrol scancel squeue sinfo else diff --git a/src/api/Makefile.am b/src/api/Makefile.am index 4e43a0e5c5831e0ad83b87ed793f45e4075ad4ab..2bef9d81941a9a5450722fca160746f5327f7f4c 100644 --- a/src/api/Makefile.am +++ b/src/api/Makefile.am @@ -1,6 +1,6 @@ # $Id$ # -# Makefile for slurmlib +# Makefile for slurm API library AUTOMAKE_OPTIONS = foreign @@ -34,3 +34,6 @@ libslurm_la_LIBADD = $(common_dir)/libcommon.la libslurm_la_LDFLAGS = -export-symbols $(srcdir)/libslurm.sym libslurm_la_DEPENDENCIES = $(srcdir)/libslurm.sym $(libslurm_la_LIBADD) +force: +$(libslurm_la_LIBADD) : force + @cd `dirname $@` && $(MAKE) `basename $@` diff --git a/src/common/Makefile.am b/src/common/Makefile.am index eb498826a9072f5a4a8a76bae1047319dfdc628d..d01e280a7c434d211c942ff2d00fc5ae4d3782ea 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -1,3 +1,4 @@ +# $Id$ # Makefile for common library AUTOMAKE_OPTIONS = foreign diff --git a/src/popt/Makefile.am b/src/popt/Makefile.am index 6d99f5acb884d031b3bb42d8dfb69f2e0e53f1ae..f3146a7066d4659643ca6e6026f41c8471678feb 100644 --- a/src/popt/Makefile.am +++ b/src/popt/Makefile.am @@ -1,4 +1,5 @@ -# Makefile for popt. +# Makefile for included popt. +# $Id$ EXTRA_DIST = README COPYING diff --git a/src/scancel/Makefile.am b/src/scancel/Makefile.am index 5f314639e691c0f09a1b3deb5a43f294f3c39914..e83b0db1e643cfc0ca4fdf5436b297ad6662e87e 100644 --- a/src/scancel/Makefile.am +++ b/src/scancel/Makefile.am @@ -1,3 +1,4 @@ +# $Id$ # Makefile for scancel AUTOMAKE_OPTIONS = foreign @@ -6,7 +7,7 @@ INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src/api $(POPT_INCLUDES) bin_PROGRAMS = scancel -LDADD = \ +scancel_LDADD = \ $(top_builddir)/src/common/libcommon.la \ $(top_builddir)/src/api/libslurm.la \ $(POPT_LIBS) @@ -14,3 +15,6 @@ LDADD = \ noinst_HEADERS = scancel.h scancel_SOURCES = scancel.c opt.c +force: +$(scancel_LDADD) : force + @cd `dirname $@` && $(MAKE) `basename $@` diff --git a/src/scontrol/Makefile.am b/src/scontrol/Makefile.am index 9eefd51096d4f4eb043aaaefe4cff1204da0e2af..9261df9618f6c25ca487c6f90985204e2f2a3cd2 100644 --- a/src/scontrol/Makefile.am +++ b/src/scontrol/Makefile.am @@ -1,3 +1,4 @@ +# $Id$ # Makefile for scontrol AUTOMAKE_OPTIONS = foreign diff --git a/src/sinfo/Makefile.am b/src/sinfo/Makefile.am index c3d43a396e9a3101cc736c06b0c5cfff0c31aaa4..04101a1ccfa820528aa7cd2e4e3eedf278dc355b 100644 --- a/src/sinfo/Makefile.am +++ b/src/sinfo/Makefile.am @@ -1,16 +1,21 @@ -# Makefile for squeue +# $Id$ +# +# Makefile for sinfo AUTOMAKE_OPTIONS = foreign INCLUDES = $(POPT_INCLUDES) -I$(top_srcdir) -I$(top_srcdir)/src/api bin_PROGRAMS = sinfo -LDADD = $(top_builddir)/src/common/libcommon.la \ - $(top_builddir)/src/api/libslurm.la \ +sinfo_LDADD = \ + $(top_builddir)/src/common/libcommon.la \ + $(top_builddir)/src/api/libslurm.la \ $(POPT_LIBS) noinst_HEADERS = sinfo.h sinfo_SOURCES = sinfo.c opts.c -#noinst_HEADERS = sinfo.h print.h -#squeue_SOURCES = sinfo.c print.c opts.c + +force: +$(sinfo_LDADD) : force + @cd `dirname $@` && $(MAKE) `basename $@` diff --git a/src/slurmctld/Makefile.am b/src/slurmctld/Makefile.am index 7622b8ef1f8cd0ed75f9015256101e5b76e76a3e..fa4f0ea7ab73c6d5dbc81e43cdf34e4e448fef27 100644 --- a/src/slurmctld/Makefile.am +++ b/src/slurmctld/Makefile.am @@ -9,8 +9,9 @@ INCLUDES = -I$(top_srcdir) $(SSL_CPPFLAGS) sbin_PROGRAMS = slurmctld -LDADD = $(top_builddir)/src/common/libcommon.la \ - $(top_builddir)/src/common/libcred.la \ +slurmctld_LDADD = \ + $(top_builddir)/src/common/libcommon.la \ + $(top_builddir)/src/common/libcred.la \ $(top_builddir)/src/common/libdaemonize.la @@ -29,8 +30,6 @@ slurmctld_SOURCES = \ read_config.c \ step_mgr.c -% : %_d.o - $(LINK) $(LDFLAGS) $^ $(LDADD) $(LIBS) - -%_d.o : %.c - $(COMPILE) -DDEBUG_MODULE -c -o $@ $< +force: +$(slurmctld_LDADD) : force + @cd `dirname $@` && $(MAKE) `basename $@` diff --git a/src/slurmd/Makefile.am b/src/slurmd/Makefile.am index 5400a4057fba81c90bf46d1ff576699ff6366e07..2d4fbd4606fc343fb5dd86a897b142eebe4ff5d0 100644 --- a/src/slurmd/Makefile.am +++ b/src/slurmd/Makefile.am @@ -1,4 +1,5 @@ # $Id$ +# # Makefile for slurmd AUTOMAKE_OPTIONS = foreign @@ -13,7 +14,7 @@ else interconnect_sources = no_interconnect.c endif -slurmd_LDADD = \ +slurmd_LDADD = \ $(top_builddir)/src/common/libcommon.la \ $(top_builddir)/src/common/libdaemonize.la \ $(top_builddir)/src/common/libcred.la \ @@ -39,7 +40,6 @@ slurmd_SOURCES = $(common_sources) $(interconnect_sources) EXTRA_slurmd_SOURCES = no_interconnect.c elan_interconnect.c -force-dependency-check: - -$(slurmd_LDADD) : force-dependency-check +force: +$(slurmd_LDADD) : force @cd `dirname $@` && $(MAKE) `basename $@` diff --git a/src/squeue/Makefile.am b/src/squeue/Makefile.am index 5f3c993b8a6e8ce6d9147c3a16b2c1ccaaec64fd..bb841ca54a58a026d578738c19c58f80505e7c92 100644 --- a/src/squeue/Makefile.am +++ b/src/squeue/Makefile.am @@ -1,3 +1,5 @@ +# $Id$ +# # Makefile for squeue AUTOMAKE_OPTIONS = foreign diff --git a/src/srun/Makefile.am b/src/srun/Makefile.am index 39eff5ca5d4938e49b4d5b9b4410d9320bd8c3da..bb02f35271dc8bc5c1956471a23571866c896172 100644 --- a/src/srun/Makefile.am +++ b/src/srun/Makefile.am @@ -1,3 +1,6 @@ +# $Id$ +# + AUTOMAKE_OPTIONS = foreign INCLUDES = -I$(top_srcdir) $(POPT_INCLUDES) @@ -20,6 +23,5 @@ srun_LDADD = $(top_builddir)/src/common/libcommon.la \ $(POPT_LIBS) force: - $(srun_LDADD) : force @cd `dirname $@` && $(MAKE) `basename $@`