File: Makefile.in

package info (click to toggle)
hmmer2 2.3.2%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,684 kB
  • sloc: ansic: 15,991; sh: 2,528; makefile: 313; perl: 266
file content (79 lines) | stat: -rw-r--r-- 1,725 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
################################################################
# Makefile for HMMER testsuite
# CVS $Id: Makefile.in,v 1.18 2003/06/13 20:05:31 eddy Exp $
##########
# HMMER - Biological sequence analysis with profile HMMs
# Copyright (C) 1992-2003 Washington University School of Medicine
# All Rights Reserved
# 
#     This source code is distributed under the terms of the
#     GNU General Public License. See the files COPYING and LICENSE
#     for details.
###########

CC        = @CC@
CFLAGS    = @CFLAGS@
CPPFLAGS  = @CPPFLAGS@
LDFLAGS   = @LDFLAGS@
DEFS      = @DEFS@
LIBS      = @LIBS@ -lm
MYLIBS    = -lhmmer `pkg-config --libs libsquid`

# Configuration for optional pthreads multiprocessor support
#
PTHREAD_LIBS   = @PTHREAD_LIBS@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@

SHELL     = /bin/sh

SHIVA = alignalign_test\
	evd_test\
	masks_test\
	parsingviterbi_test\
	tophits_test\
	trace_test\
	viterbi_exercise\
	weeviterbi_test

#######
## Targets defining how to make Shiva executables.
#######

.c.o:
	$(CC) $(CFLAGS) $(PTHREAD_CFLAGS) ${CPPFLAGS} $(DEFS) `pkg-config --cflags libsquid` -I../src -c $<		

all: 	$(SHIVA)

$(SHIVA): @EXEC_DEPENDENCY@
	$(CC) $(CFLAGS) $(PTHREAD_CFLAGS) ${LDFLAGS} $(DEFS) -o $@ -L../src $@.o $(MYLIBS) $(PTHREAD_LIBS) $(LIBS)

#######
## `make check` actually runs the tests.
#######

check: 
	@echo 
	@echo Running test suite exercises.
	@echo Warning: some tests may take several minutes to complete. 
	@echo 
	./sqc 2 exercises.sqc . ../src


#######
## Miscellaneous
#######

clean:
	-rm -f *.o *~ Makefile.bak core $(SHIVA) TAGS gmon.out

distclean:
	make clean
	-rm -f Makefile

binclean:
	-rm -f *.o *~ Makefile.bak core TAGS gmon.out

TAGS:
	etags -t *.c *.h Makefile.in