[Bio] / PPO / Makefile Repository:
ViewVC logotype

Annotation of /PPO/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (view) (download)

1 : paarmann 1.1 #
2 : paarmann 1.4 # Makefile for PPO
3 : paarmann 1.1 #
4 :    
5 : paarmann 1.2 PERLPACKAGES := $(wildcard *.pm) \
6 : parrello 1.3 $(wildcard PPOBackend/*.pm)
7 : paarmann 1.4 PERL_BIN_SRC := $(wildcard *.pl)
8 :     PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
9 : paarmann 1.1
10 : paarmann 1.4 lib: $(foreach var, $(PERLPACKAGES), $(libdir)/$(PKGNAME)/$(var))
11 :     bin: $(foreach var, $(PERL_BIN), $(bindir)/$(var))
12 : paarmann 1.1
13 :     schematools:
14 :     stDeclFiles:
15 :     stGeneratedFiles:
16 :     test:
17 :     clean:
18 :    
19 :     $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
20 : paarmann 1.2 tgt_dir=`dirname $@`; \
21 :     if [ ! -d $$tgt_dir ] ; then \
22 :     mkdir $$tgt_dir; \
23 :     fi
24 : parrello 1.3 cp $< $@
25 : paarmann 1.1
26 :     $(libdir)/$(PKGNAME)/%.pm: $(workdir)/%.pm
27 : parrello 1.3 cp $< $@
28 : paarmann 1.1
29 : paarmann 1.4 $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
30 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3