1# VPATH and shell configuration 2top_srcdir = @top_srcdir@ 3srcdir = @srcdir@ 4VPATH = @srcdir@ 5SHELL = /bin/sh 6 7# sources 8OBJS = divsufsort.o 9TARGET = libdivsufsort.a 10MAKEFILE = Makefile 11 12# options 13CC = @CC@ 14CFLAGS = @CFLAGS@ 15SSE_CFLAGS = @SSE_CFLAGS@ 16VMX_CFLAGS = @VMX_CFLAGS@ 17PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ 18CPPFLAGS = @CPPFLAGS@ 19MPILIBS = @MPILIBS@ 20AR = @AR@ rc 21RANLIB = @RANLIB@ 22INSTALL = @INSTALL@ 23 24# beautification magic stolen from git (added within hmmer source) 25ifndef V 26 QUIET_CC = @echo ' ' CC $@; 27 QUIET_AR = @echo ' ' AR $@; 28endif 29 30 31# targets 32all: $(TARGET) 33$(TARGET): $(OBJS) 34 35.c.o: 36 ${QUIET_CC}${CC} -I. ${CFLAGS} ${SSE_CFLAGS} ${VMX_CFLAGS} ${PTHREAD_CFLAGS} ${CPPFLAGS} -o $@ -c $< 37 38 39libdivsufsort.a: $(OBJS) 40 ${QUIET_AR}${AR} libdivsufsort.a $(OBJS) 41 @${RANLIB} libdivsufsort.a 42 @chmod 644 libdivsufsort.a 43 44 45clean: 46 $(RM) $(TARGET) $(OBJS) 47ifndef V 48 @echo ' ' CLEAN libdivsufsort 49endif 50 51 52distclean: 53 $(RM) $(TARGET) $(OBJS) $(MAKEFILE) divsufsort.h 54 55 56