[Bio] / FigKernelScripts / Makefile Repository:
ViewVC logotype

View of /FigKernelScripts/Makefile

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.21 - (download) (annotate)
Mon Jun 23 16:39:36 2008 UTC (11 years, 9 months ago) by olson
Branch: MAIN
CVS Tags: rast_rel_2009_05_18, rast_rel_2008_12_18, rast_rel_2008_07_21, rast_2008_0924, rast_rel_2008_09_30, rast_rel_2009_0925, rast_rel_2010_0118, mgrast_rel_2008_0924, mgrast_rel_2008_1110_v2, rast_rel_2009_02_05, mgrast_rel_2008_0625, rast_rel_2008_10_09, rast_release_2008_09_29, mgrast_rel_2008_0806, mgrast_rel_2008_0923, mgrast_rel_2008_0919, rast_rel_2009_07_09, mgrast_rel_2008_1110, rast_rel_2008_09_29, mgrast_rel_2008_0917, rast_rel_2008_10_29, rast_rel_2009_03_26, rast_rel_2008_11_24, rast_rel_2008_08_07
Changes since 1.20: +1 -1 lines
add md5 modl

# Copyright (c) 2003-2006 University of Chicago and Fellowship
# for Interpretations of Genomes. All Rights Reserved.
# This file is part of the SEED Toolkit.
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License. 
# You should have received a copy of the SEED Toolkit Public License
# along with this program; if not write to the University of Chicago
# at info@ci.uchicago.edu or the Fellowship for Interpretation of
# Genomes at veronika@thefig.info or download a copy from
# http://www.theseed.org/LICENSE.TXT.


# don't migrate next 4 to standard.mk  since they don't make sense for kah
# I'd like to capture this into arch-dependent flags in ReleaseTools
# so both can share it.


PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
#PERL = $(ARCH_BASE)/bin/perl
CC =  $(shell $(PERL) -e 'use Config; print $$Config{cc}')

CFLAGS = $(shell $(PERL) -e 'use Config; print "$$Config{ccflags} -I$$Config{archlib}/CORE -I$(ARCH_BASE)/lib/perl5/$$Config{version}/$$Config{archname}/CORE"') -O

# define standard macros that say what we're making

BINPERLSCRIPTS := $(wildcard *.pl)
BINPYSCRIPTS := $(wildcard *.py)
CEXCLUDES := fastasize.c
CBINS = fasta_cksum.c index_contig_files.c index_sims_file.c index_translation_files.c fastasize.c compute_translation_MD5.c

index_contig_files: md5.c

# I don't see how to integrate the next two into standard.mk at
# the moment because Kah does not need/use tool_hdr but fig does.  
# These lines override the dot rules in standard.mk

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	-test -f $@ && mv $@ $@.del
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
	-test -f $@.del && rm -f $@.del

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

include standard.mk

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3