From 6cda4343e9bb7d1c0f90b472171c0d36bd804e62 Mon Sep 17 00:00:00 2001 From: Carsten Urbach Date: Fri, 19 Oct 2012 09:36:44 +0200 Subject: [PATCH] moved monomial related files to subdirectory monomial --- monomial/Makefile.in | 99 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 monomial/Makefile.in diff --git a/monomial/Makefile.in b/monomial/Makefile.in new file mode 100644 index 000000000..e2007ce6d --- /dev/null +++ b/monomial/Makefile.in @@ -0,0 +1,99 @@ + +srcdir = @srcdir@ +top_builddir = @top_builddir@ +abs_top_builddir = @abs_top_builddir@ +top_srcdir = @top_srcdir@ +abs_top_srcdir = @abs_top_srcdir@ +subdir = linalg +builddir = @builddir@ + +CFLAGS = @CFLAGS@ +DEPFLAGS = @DEPFLAGS@ +LDFLAGS = @LDFLAGS@ +DEFS = @DEFS@ +OPTARGS = @OPTARGS@ +SOPTARGS = @SOPTARGS@ + +AR = @AR@ +RANLIB = @RANLIB@ +CC = @CC@ +CCDEP = @CCDEP@ +CCLD = ${CC} +LINK = ${CCLD} ${CFLAGS} ${LDFLAGS} ${OPTARGS} -o $@ +LEX = @LEX@ +AUTOCONF = @AUTOCONF@ +DEFS = @DEFS@ + +INCLUDES = @INCLUDES@ +LDADD = +#COMPILE = ${CC} ${DEFS} ${INCLUDES} ${CFLAGS} +COMPILE = ${CC} $(DEFS) ${INCLUDES} ${CFLAGS} + +LIBRARIES = libmonomial +libmonomial_TARGETS = nddetratio_monomial monomial det_monomial detratio_monomial \ + gauge_monomial ndpoly_monomial clover_trlog_monomial cloverdet_monomial cloverdetratio_monomial \ + clovernd_trlog_monomial poly_monomial cloverndpoly_monomial + + +libmonomial_STARGETS = + +libmonomial_OBJECTS = $(addsuffix .o, ${libmonomial_TARGETS}) +libmonomial_SOBJECTS = $(addsuffix .o, ${libmonomial_STARGETS}) + +# default rule + +all: Makefile dep libmonomial.a + +# rules for debugging +debug all-debug: CFLAGS := $(CFLAGS) @DEBUG_FLAG@ +debug all-debug: all + +# rules for profiling information +profile all-profile: CFLAGS := $(filter-out -fomit-frame-pointer,${CFLAGS}) @PROFILE_FLAG@ +profile all-profile: all + + +#include dep rules + +-include $(addsuffix .d,${libmonomial_TARGETS}) + +include ${top_srcdir}/Makefile.global + +# rule to compile objects + +${libmonomial_OBJECTS}: %.o: ${srcdir}/%.c %.d Makefile ${abs_top_builddir}/config.h + $(COMPILE) ${OPTARGS} -c $< + +${libmonomial_SOBJECTS}: %.o: ${srcdir}/%.c %.d Makefile ${abs_top_builddir}/config.h + $(COMPILE) ${SOPTARGS} -c $< + +# rule to make libmonomial + +libmonomial.a: ${libmonomial_OBJECTS} ${libmonomial_SOBJECTS} Makefile + @rm -f libmonomial.a + @${AR} cru libmonomial.a ${libmonomial_OBJECTS} ${libmonomial_SOBJECTS} + @$(RANLIB) libmonomial.a + @cp libmonomial.a ../lib/libmonomial.a + +# rule to generate .d files + +$(addsuffix .d, $(libmonomial_TARGETS) ${libmonomial_STARGETS}): %.d: ${srcdir}/%.c Makefile + @${CCDEP} ${DEPFLAGS} ${INCLUDES} $< > $@ + +# rule to make dependencies + +dep: ${addsuffix .d, ${libmonomial_TARGETS} ${libmonomial_STARGETS}} + +# rules to clean + +compile-clean: Makefile + rm -f ${$(addsuffix _OBJECTS, ${LIBRARIES})} ${$(addsuffix _SOBJECTS, ${LIBRARIES})} *.d + +clean: compile-clean + rm -f $(addsuffix .a, ${LIBRARIES}) + rm -f ../lib/libmonomial.a + +distclean: clean + rm -f Makefile + +.PHONY: all dep clean compile-clean distclean profile all-profile debug all-debug