aboutsummaryrefslogtreecommitdiffstats
path: root/biology/ncbi-toolkit/files/patch-aa
blob: a3b4214929a9e124c635de13121a30302389a3a8 (plain) (blame)
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
--- make/makeall.unx.orig   Thu Apr  5 09:24:30 2001
+++ make/makeall.unx    Tue Sep 18 14:49:24 2001
@@ -851,3 +851,51 @@
    #load $(LDFLAGS) getmuid.c medutil.c \
    $(SRC11) $(SRC8) $(SRC7) $(SRC6) $(SRC5) $(SRC3) \
    $(SRC2) $(SRC1) $(OTHERLIBS) -lsocket -lnsl
+
+EXE=   Nentrez Psequin \
+       asn2fast asn2ff asndhuff asntool \
+       bl2seq blast.REAL blastall blastcl3 blastclust blastpgp \
+       cdscan checksub copymat \
+       ddv dosimple \
+       entrcmd errhdr fa2htgs fastacmd findspl fmerge formatdb \
+       getfeat getmesh getpub getseq gil2bin \
+       idfetch impala indexpub \
+       makemat makeset megablast \
+       ncbisort netentcf \
+       rpsblast \
+       seedtop seqtest \
+       tbl2asn testcore testobj testval \
+       udv vecscreen
+
+
+LIB=   libncbi.a       libncbicdr.a    libncbimla.a    libncbitxc2.a \
+       libnetentr.a    libncbiCacc.a   libncbicn3d.a   libncbimmdb.a \
+       libnetblast.a   libvibgif.a     libncbiNacc.a   libncbidesk.a \
+       libncbiobj.a    libnetcli.a     libvibnet.a     libncbiacc.a \
+       libncbiid1.a    libncbitool.a   libnetcli_.a    libvibrant.a
+
+
+MKDIR= /bin/mkdir -p
+INSTALL_PROGRAM=   /usr/bin/install -c
+
+binstall: $(EXE)
+   ${MKDIR} ${PREFIX}/bin
+   ${INSTALL_PROGRAM} -s $? /${PREFIX}/bin
+
+linstall: $(LIB)
+   ${MKDIR} ${PREFIX}/lib/ncbi
+   ${INSTALL_PROGRAM} $? ${PREFIX}/lib/ncbi
+
+iinstall::
+   ${MKDIR} ${PREFIX}/include/ncbi/connect
+   cd ../include; \
+   for file in *.h; do \
+       ${INSTALL_PROGRAM} $$file ${PREFIX}/include/ncbi; \
+   done
+   cd ../include/connect; \
+   for file in *.h; do \
+       ${INSTALL_PROGRAM} $$file ${PREFIX}/include/ncbi/connect; \
+   done
+
+install: iinstall linstall binstall
+