~ubuntu-branches/ubuntu/saucy/ncbi-tools6/saucy-proposed

« back to all changes in this revision

Viewing changes to network/id1arch/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2009-08-11 22:03:47 UTC
  • mfrom: (1.4.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090811220347-g4b6lzdvphvvbpiu
* New upstream release.
* debian/libncbi6.symbols: update accordingly.
* debian/control: clean up obsolete or redundant relationship declarations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include $(NCBI)/ncbi.mk
 
2
 
 
3
 
 
4
INCLUDES = -I . -I$(NCBI_INCDIR) 
 
5
CFLAGS=$(CCOPT) $(INCLUDES) -g #-DDEBUG_ASN_PRINT
 
6
 
 
7
LDFLAGS = -L. -L$(NCBI_ALTLIB)  -lncbiid1 -lnetcli -lncbitool -lblastcompadj -lncbiobj -lncbi -lm
 
8
 
 
9
CC = gcc -g
 
10
 
 
11
BINARIES = idfetch
 
12
 
 
13
##
 
14
## some things to make
 
15
##
 
16
 
 
17
all : $(BINARIES)
 
18
 
 
19
idfetch : idfetch.o 
 
20
        $(CC) -o $@ idfetch.o  $(LDFLAGS)
 
21
 
 
22
idfetch.pure : idfetch.o 
 
23
        purify $(CC) -o $@ idfetch.o $(LDFLAGS)
 
24
 
 
25
test : test.o
 
26
        $(CC) -o $@ test.o $(LDFLAGS)
 
27
 
 
28
seqidtest : seqidtest.o
 
29
        $(CC) -o $@ seqidtest.o $(LDFLAGS)
 
30
sample : sample.o
 
31
        $(CC) -o $@ sample.o $(LDFLAGS)
 
32
gi2hash : gi2hash.o id_hash.o
 
33
        $(CC) -o $@ gi2hash.o id_hash.o $(LDFLAGS)
 
34
generate : id1gen.c
 
35
 
 
36
library : libncbiid1.a
 
37
 
 
38
libncbiid1.a : id1gen.o id1arch.o accid1.o
 
39
        rm -f $@
 
40
        ar -q $@ id1gen.o id1arch.o accid1.o
 
41
 
 
42
 
 
43
#id1gen.c : id1.l id1.h all.l id1map.h
 
44
#       rm -f id1generr id1genout
 
45
#        $(CODEGEN) -i id1map.h -l id1.l,all.l -o id1gen -d . > id1genout 2>id1generr
 
46
 
 
47
#id1.l : id1.asn
 
48
#       rm -f id1.l*
 
49
#       rm -f id1.h id1stat.h
 
50
#       $(ASNTOOL) -m id1.asn -l id1.h
 
51
#       rm -f id1.h
 
52
#       $(ASNTOOL) -m id1.asn -o id1.h
 
53
#       mv id1.l* id1.l
 
54
 
 
55
#all.l : 
 
56
#       rm -f all.l*
 
57
#       $(ASNTOOL) -m $(NCBI_ASNALL) -l all.h
 
58
#       cp all.l* all.l
 
59
#
 
60
#id1.h : id1.asn
 
61
#       $(ASNTOOL) -m id1.asn -o id1.h
 
62
 
 
63
 
 
64
 
 
65
clean :
 
66
        - rm -f *.o