[Bio] / DrugTargets / Makefile Repository:
ViewVC logotype

View of /DrugTargets/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (download) (annotate)
Mon Oct 2 21:56:15 2006 UTC (13 years, 7 months ago) by hwang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
take out a file that no longer exists

#
#
# We need a better config mechanism than the hardwired path to FigCommon
#

# I'd like ref's to other packages to go away, but for now:

PERL = $(RTROOT)/env/$(RTARCH)/bin/perl

PYTHON_OPEN_CGI_SRC = 

PYTHON_PROTECTED_CGI_SRC = 

PYTHON_BIN_SRC = 

PYTHON_OPEN_CGI = $(subst .py,.cgi, $(PYTHON_OPEN_CGI_SRC))
PYTHON_PROTECTED_CGI = $(subst .py,.cgi, $(PYTHON_PROTECTED_CGI_SRC))
PYTHON_BIN = $(subst .py,, $(PYTHON_BIN_SRC))

#INST_PYTHON_OPEN_CGI = $(foreach var, $(PYTHON_OPEN_CGI), $(cgidir)/$(var)) 
#INST_PYTHON_PROTECTED_CGI = $(foreach var, $(PYTHON_PROTECTED_CGI), $(cgidir)/p2p/$(var)) 
#INST_PYTHON_BIN = $(foreach var, $(PYTHON_BIN), $(bindir)/$(var))

#
# Any Perl CGI's shoudl go in here, and they should be named 
# somethingorother.pl.
#


PERL_OPEN_CGI_SRC = peg_pdb_align.pl drug_targets.pl drug_targets_table.pl cat_coding.pl SaveToTable.pl ShowTableKey.pl ShowTable.pl


PERL_PROTECTED_CGI_SRC = 

PERL_BIN_SRC = load_attributes-drugtargets.pl peg_pdb_dist.pl best_pdb.pl get_homologs.pl aln_conservation.pl pdb2passinfo.pl pass_pdb.pl find_homologs_in.pl gen_dt_table.pl

PERL_OPEN_CGI = $(subst .pl,.cgi, $(PERL_OPEN_CGI_SRC))
PERL_PROTECTED_CGI = $(subst .pl,.cgi, $(PERL_PROTECTED_CGI_SRC))
PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))

INST_PERL_OPEN_CGI = $(foreach var, $(PERL_OPEN_CGI), $(cgidir)/$(var)) 
INST_PERL_PROTECTED_CGI = $(foreach var, $(PERL_PROTECTED_CGI), $(cgidir)/$(var)) 
INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))

PERL_LIB = 

INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))

lib:  $(INST_PYTHON_OPEN_CGI) $(INST_PYTHON_PROTECTED_CGI) \
	$(INST_PERL_OPEN_CGI) $(INST_PERL_PROTECTED_CGI) $(INST_PERL_LIB)

bin: $(INST_PYTHON_BIN) $(INST_PERL_BIN)

install_modules: install_modules.pl $(TOOL_HDR)
	cat $(TOOL_HDR) $< > $@; chmod +x $@

force:

show:
	@echo $(PYTHON_CGI_SRC)
	@echo $(PYTHON_CGI)
	@echo $(INST_PYTHON_CGI)

schematools:
stDeclFiles:
stGeneratedFiles:


test:

clean:

#TOOL_HDR := $(workdir)/tool_hdr
#TOOL_HDR_PY := $(workdir)/tool_hdr_py


$(cgidir)/%.cgi: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY) 
	( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )

$(cgidir)/%.cgi: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
	( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )

$(cgidir)/%.cgi: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR) 
	( cat $(TOOL_HDR)  $< > $@; chmod +x $@ )

$(cgidir)/%.cgi: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR) 
	( cat $(TOOL_HDR)  $< > $@; chmod +x $@ )

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
	( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

$(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
	cp -p  $< $@

#
# We have a config problem at the moment.  I do not want to depend
# upon explicit calls to other packages, as done here nor do I want
# to assume that package was built first.  For now, we live with this.

#$(TOOL_HDR) $(TOOL_HDR_PY):
#	cd $(workdir); $(TOPDIR)/FigCommon/configure-env $(RTARCH) $(TOPDIR)


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3