| # Makefile for scontrol |
| |
| AUTOMAKE_OPTIONS = foreign |
| |
| AM_CPPFLAGS = -I$(top_srcdir) $(BG_INCLUDES) |
| |
| bin_PROGRAMS = scontrol |
| |
| scontrol_SOURCES = \ |
| create_res.c \ |
| info_block.c \ |
| info_job.c \ |
| info_node.c \ |
| info_part.c \ |
| info_res.c \ |
| scontrol.c \ |
| scontrol.h \ |
| update_job.c \ |
| update_node.c \ |
| update_part.c \ |
| update_step.c \ |
| info_lics.c |
| |
| convenience_libs = $(top_builddir)/src/api/libslurm.o $(DL_LIBS) -lm |
| |
| |
| scontrol_LDADD = \ |
| $(convenience_libs) \ |
| $(READLINE_LIBS) |
| |
| scontrol_LDFLAGS = -export-dynamic $(CMD_LDFLAGS) \ |
| $(HWLOC_LDFLAGS) $(HWLOC_LIBS) |
| |
| force: |
| $(convenience_libs) : force |
| @cd `dirname $@` && $(MAKE) `basename $@` |