summaryrefslogtreecommitdiff
path: root/biology/ncbi-toolkit/files/patch-aa
blob: 65458348ad2a954defec661dac24b443c84b7769 (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
--- make/makeall.unx.orig	Tue Jun  8 17:44:54 2004
+++ make/makeall.unx	Mon Nov  1 21:07:43 2004
@@ -944,3 +944,48 @@
 	#load $(LDFLAGS) getmuid.c medutil.c \
 	$(SRC11) $(SRC8) $(SRC7) $(SRC6) $(SRC5) $(SRC3) \
 	$(SRC2) $(SRC1) $(OTHERLIBS) -lsocket -lnsl
+
+EXE=	Nentrez Psequin \
+		asn2ff asn2gb asn2xml asndhuff asntool \
+		blastall blastcl3 blastclust blastpgp \
+		cdscan checksub copymat \
+		ddv demo_regexp demo_regexp_grep dosimple \
+		entrcmd entrez2 errhdr fa2htgs fastacmd findspl formatdb \
+		getfeat getmesh getpub getseq gil2bin \
+		idfetch impala indexpub \
+		makemat makeset megablast \
+		ncbisort netentcf \
+		rpsblast \
+		seedtop seqtest \
+		tbl2asn testcore testobj testval \
+		udv vecscreen
+
+
+MKDIR=	/bin/mkdir -p
+INSTALL_PROGRAM=	/usr/bin/install -c
+
+binstall: $(EXE)
+	${MKDIR} ${PREFIX}/bin
+.for f in $(EXE)
+	${INSTALL_PROGRAM} -s $(f) ${PREFIX}/bin
+.endfor
+
+linstall: $(LIB)
+	${MKDIR} ${PREFIX}/lib/ncbi
+	for file in *.a; do \
+		${INSTALL_PROGRAM} $$file ${PREFIX}/lib/ncbi; \
+	done
+
+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
+