[Bio] / FigKernelPackages / Makefile Repository:
ViewVC logotype

Annotation of /FigKernelPackages/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (view) (download)

1 : efrank 1.1 #
2 :     #
3 :     #
4 :    
5 : olson 1.11
6 : olson 1.9 PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
7 : olson 1.11 RUNTIME_BINDIR = $(shell $(PERL) -MConfig -e 'print "$$Config{bin}\n"')
8 :     POD2HTML = $(PERL) $(RUNTIME_BINDIR)/pod2html
9 : olson 1.9
10 : olson 1.2 PERLPACKAGES := $(wildcard *.pm)
11 : olson 1.3 PYPACKAGES := $(wildcard *.py)
12 : efrank 1.1
13 : olson 1.4 lib: lib_perl lib_py html_doc
14 : olson 1.3
15 : parrello 1.8 lib_perl: $(foreach var, $(PERLPACKAGES), $(libdir)/$(PKGNAME)/$(var))
16 :     lib_py: $(foreach var, $(PYPACKAGES), $(libdir)/$(PKGNAME)/$(var))
17 : efrank 1.1
18 : olson 1.5 html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
19 : olson 1.4
20 : efrank 1.1 bin:
21 :    
22 : olson 1.6 schematools:
23 : olson 1.7 stDeclFiles:
24 :     stGeneratedFiles:
25 :    
26 : olson 1.6
27 : efrank 1.1 test:
28 :    
29 :     clean:
30 :    
31 : olson 1.5 html_doc_dir:
32 :     if [ ! -d $(cgidir)/Html/pod_docs ] ; then mkdir $(cgidir)/Html/pod_docs; fi
33 :    
34 : efrank 1.1 $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
35 : parrello 1.8 cp $< $@
36 : efrank 1.1
37 : olson 1.3 $(libdir)/$(PKGNAME)/%.py: $(TOPDIR)/$(PKGNAME)/%.py
38 : parrello 1.8 cp $< $@
39 : olson 1.3
40 : olson 1.4 $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
41 : olson 1.9 -$(POD2HTML) --outfile $@ $<
42 : olson 1.4
43 : efrank 1.1 #
44 :     # We have a config problem at the moment. I do not want to depend
45 :     # upon explicit calls to other packages, as done here nor do I want
46 :     # to assume that package was built first. For now, we live with this.
47 :    
48 : olson 1.2 #$(workdir)/FIG_Config.pm:
49 :     # cd $(workdir); $(TOPDIR)/FigCommon/configure-env $(RTARCH) $(TOPDIR)
50 : efrank 1.1
51 :     $(libdir)/$(PKGNAME)/%.pm: $(workdir)/%.pm
52 : parrello 1.8 cp $< $@
53 : olson 1.3 $(libdir)/$(PKGNAME)/%.py: $(workdir)/%.py
54 : parrello 1.8 cp $< $@
55 : efrank 1.1

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3