Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/opt/mummer-3.23/scripts/Makefile @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 #-- Imported variables from top level makefile | |
2 # BIN_DIR AUX_BIN_DIR CXX CC CFLAGS CXXFLAGS LDFLAGS | |
3 | |
4 ifndef BIN_DIR | |
5 BIN_DIR := $(CURDIR) | |
6 endif | |
7 ifndef AUX_BIN_DIR | |
8 AUX_BIN_DIR := $(CURDIR) | |
9 endif | |
10 ifndef SCRIPT_DIR | |
11 SCRIPT_DIR := $(CURDIR) | |
12 endif | |
13 | |
14 SCRIPT_DIR := $(CURDIR) | |
15 SED := $(filter /%,$(shell /bin/sh -c 'type sed')) | |
16 CSH := $(filter /%,$(shell /bin/sh -c 'type csh')) | |
17 PERL := $(filter /%,$(shell /bin/sh -c 'type perl')) | |
18 VPATH := $(BIN_DIR) | |
19 | |
20 ALL := exact-tandems mapview mummerplot nucmer promer \ | |
21 run-mummer1 run-mummer3 nucmer2xfig dnadiff | |
22 | |
23 #-- PHONY rules --# | |
24 .PHONY: all clean | |
25 | |
26 | |
27 all: $(ALL) | |
28 | |
29 | |
30 clean: | |
31 rm -f *~ | |
32 cd $(BIN_DIR); rm -f $(ALL) | |
33 | |
34 | |
35 | |
36 | |
37 #-- not so PHONY rules --# | |
38 exact-tandems: exact-tandems.csh | |
39 $(SED) -e 's?__CSH_PATH?$(CSH)?g' \ | |
40 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
41 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
42 exact-tandems.csh > $(BIN_DIR)/exact-tandems | |
43 chmod 755 $(BIN_DIR)/exact-tandems | |
44 | |
45 mapview: mapview.pl | |
46 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
47 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
48 mapview.pl > $(BIN_DIR)/mapview | |
49 chmod 755 $(BIN_DIR)/mapview | |
50 | |
51 mummerplot: mummerplot.pl Foundation.pm | |
52 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
53 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
54 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
55 mummerplot.pl > $(BIN_DIR)/mummerplot | |
56 chmod 755 $(BIN_DIR)/mummerplot | |
57 | |
58 dnadiff: dnadiff.pl Foundation.pm | |
59 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
60 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
61 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
62 dnadiff.pl > $(BIN_DIR)/dnadiff | |
63 chmod 755 $(BIN_DIR)/dnadiff | |
64 | |
65 nucmer: nucmer.pl Foundation.pm | |
66 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
67 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
68 -e 's?__AUX_BIN_DIR?$(AUX_BIN_DIR)?g' \ | |
69 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
70 nucmer.pl > $(BIN_DIR)/nucmer | |
71 chmod 755 $(BIN_DIR)/nucmer | |
72 | |
73 promer: promer.pl Foundation.pm | |
74 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
75 -e 's?__SCRIPT_DIR?$(SCRIPT_DIR)?g' \ | |
76 -e 's?__AUX_BIN_DIR?$(AUX_BIN_DIR)?g' \ | |
77 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
78 promer.pl > $(BIN_DIR)/promer | |
79 chmod 755 $(BIN_DIR)/promer | |
80 | |
81 run-mummer1: run-mummer1.csh | |
82 $(SED) -e 's?__CSH_PATH?$(CSH)?g' \ | |
83 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
84 run-mummer1.csh > $(BIN_DIR)/run-mummer1 | |
85 chmod 755 $(BIN_DIR)/run-mummer1 | |
86 | |
87 run-mummer3: run-mummer3.csh | |
88 $(SED) -e 's?__CSH_PATH?$(CSH)?g' \ | |
89 -e 's?__BIN_DIR?$(BIN_DIR)?g' \ | |
90 run-mummer3.csh > $(BIN_DIR)/run-mummer3 | |
91 chmod 755 $(BIN_DIR)/run-mummer3 | |
92 | |
93 nucmer2xfig: nucmer2xfig.pl | |
94 $(SED) -e 's?__PERL_PATH?$(PERL)?g' \ | |
95 nucmer2xfig.pl > $(BIN_DIR)/nucmer2xfig | |
96 chmod 755 $(BIN_DIR)/nucmer2xfig |