[Bio] / FortyEight / Makefile Repository:
ViewVC logotype

Annotation of /FortyEight/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (view) (download)

1 : paarmann 1.1 #
2 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
3 :     # for Interpretations of Genomes. All Rights Reserved.
4 :     #
5 :     # This file is part of the SEED Toolkit.
6 : parrello 1.12 #
7 : paarmann 1.1 # The SEED Toolkit is free software. You can redistribute
8 :     # it and/or modify it under the terms of the SEED Toolkit
9 : parrello 1.12 # Public License.
10 : paarmann 1.1 #
11 :     # You should have received a copy of the SEED Toolkit Public License
12 :     # along with this program; if not write to the University of Chicago
13 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
14 :     # Genomes at veronika@thefig.info or download a copy from
15 :     # http://www.theseed.org/LICENSE.TXT.
16 :     #
17 :    
18 :     #
19 :     # seed_running_perl.fragement is the piece of perl code that
20 :     # checks to see if the seed server is up, and prints a message and returns
21 :     # if it is not.
22 :     #
23 : parrello 1.12 SEED_RUNNING_PERL = seed_running_perl.fragment
24 : paarmann 1.1
25 :     PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))
26 :    
27 : paczian 1.6 PERL_LIB = $(wildcard *.pm) \
28 : paarmann 1.9 $(wildcard WebPage/*.pm) \
29 :     $(wildcard WebApp/*.pm) \
30 :     $(wildcard WebApplicationServer/*.pm)
31 : paczian 1.6
32 :     WEBPAGES := $(wildcard *.tmpl)
33 :    
34 : olson 1.4 PERL_BIN_SRC = check_jobs.pl rp_chunk_sims.pl rp_compute_sims.pl rp_postproc_sims.pl \
35 : olson 1.7 rp_auto_assign.pl rp_quality_check.pl rp_correction.pl rp_compute_bbhs.pl \
36 : olson 1.10 find-genomes-not-in-seed rp_rapid_propagation.pl rp_glue_contigs.pl rp_compute_pchs.pl \
37 : olson 1.13 migrate_job.pl rp_scenarios.pl \
38 :     create_import_job.pl import_pipeline.pl imp_build_nr.pl imp_prepare_sims.pl imp_process_sims.pl \
39 :     imp_merge_sims.pl imp_check_tl_sim_status.pl imp_finish_tl_sims.pl \
40 : olson 1.15 imp_salvage.pl imp_submit_tl_sims.pl \
41 : olson 1.18 rp_HMM_PFAM_search_on_timelogic.pl rp_PFAM_attribute_generation.pl rp_make_PFAM_HMM_derived_attributes.pl \
42 : mkubal 1.16 validate_tl_sims.pl \
43 : olson 1.19 rp_critica.pl rp_glimmer.pl rp_gen_teach_sims.pl
44 : olson 1.18
45 : olson 1.2
46 : paarmann 1.1 INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
47 : olson 1.2 PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
48 :     INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))
49 : paarmann 1.1
50 :     all: lib
51 :    
52 :     show:
53 :     @echo cgis $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var))
54 :     @echo top $(TOPDIR)
55 :     @echo pkg $(PKGNAME)
56 :     @echo toolhdr $(TOOL_HDR)
57 : olson 1.2
58 :     bin: $(INST_PERL_BIN)
59 : paarmann 1.1
60 : paczian 1.6 lib: $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB) $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var))
61 : paarmann 1.1
62 :     htaccess_src = $(RTROOT)/config/all.htaccess
63 :     htaccess_dst = $(cgidir)/.htaccess
64 :    
65 :     copy_htaccess: force
66 :     if test -f $(htaccess_src); then \
67 :     cp $(htaccess_src) $(htaccess_dst) ; \
68 :     fi
69 :    
70 :     force:
71 :    
72 :     schematools:
73 :     stDeclFiles:
74 :     stGeneratedFiles:
75 :    
76 :    
77 :     test:
78 :    
79 :     clean:
80 :    
81 :     $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)
82 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
83 :    
84 : paczian 1.6 $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
85 : parrello 1.12 cp $< $(cgidir)/Html/.
86 : paczian 1.6
87 : paarmann 1.1 #
88 :     # We have a config problem at the moment. I do not want to depend
89 :     # upon explicit calls to other packages, as done here nor do I want
90 :     # to assume that package was built first. For now, we live with this.
91 :    
92 :     #$(TOOL_HDR):
93 :     # cd $(workdir); $(TOPDIR)/FigCommon/configure-env $(RTARCH) $(TOPDIR)
94 :    
95 :    
96 :     #
97 :     # Since our lib files have directories, need to create the target
98 :     # directory if it doesn't yet exist.
99 :     #
100 :     $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
101 :     tgt_dir=`dirname $@`; \
102 :     if [ ! -d $$tgt_dir ] ; then \
103 :     mkdir $$tgt_dir; \
104 :     fi
105 : parrello 1.12 cp $< $@
106 : paarmann 1.1
107 : olson 1.2 $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
108 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
109 :    
110 : olson 1.17 # perl -I.. -c $<
111 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3