[Bio] / ReleaseTools / standard.mk Repository:
ViewVC logotype

Diff of /ReleaseTools/standard.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Thu Sep 16 21:47:08 2004 UTC revision 1.3, Fri Sep 17 21:04:49 2004 UTC
# Line 48  Line 48 
48  # Package-level makefile Targets  # Package-level makefile Targets
49  ########################################################################  ########################################################################
50    
51    # this follows the all: in Makefile.top, but we drop decouple:, makefile:,
52    # and installdirs:, because those don't make sense at package level
53    
54  all: lib bin  all: schematools lib bin
55    
56  bin:    $(foreach var, $(BINPYSCRIPTS), $(subst .py,,$(bindir)/$(var))) $(foreach var, $(BINSCRIPTS), $(bindir)/$(var))  bin:    $(foreach var, $(BINPYSCRIPTS), $(subst .py,,$(bindir)/$(var))) $(foreach var, $(BINSCRIPTS), $(bindir)/$(var))
57    
58  lib:    $(foreach var, $(LIBPYFILES), $(libdir)/$(PKGNAME)/$(var))  lib:    $(foreach var, $(LIBPYFILES), $(libdir)/$(PKGNAME)/$(var))
59    
60  schematools: $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)/$(var).py) $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)/$(var).sql) $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)/$(var)DbiHandler.py)  schematools: $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)Gen/$(var).py) $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)Gen/$(var).sql) $(foreach var, $(subst .st,,$(SCHEMATOOLS)), $(libdir)/$(PKGNAME)Gen/$(var)DbiHandler.py)
61    
62  test:  test:
63    
# Line 73  Line 75 
75          cp -p  $< $@          cp -p  $< $@
76    
77  # generate .py from schematools description of class. (Kah related)  # generate .py from schematools description of class. (Kah related)
78  $(libdir)/$(PKGNAME)/%.py: $(TOPDIR)/$(PKGNAME)/%.st  $(libdir)/$(PKGNAME)Gen/%.py: $(TOPDIR)/$(PKGNAME)/%.st
79          cd $(libdir)/$(PKGNAME); generatePy $< > $@          cd $(libdir)/$(PKGNAME); generatePy $< > $@
80    
81  # generate .sql from schematools description of class. (Kah related)  # generate .sql from schematools description of class. (Kah related)
82  $(libdir)/$(PKGNAME)/%.sql: $(TOPDIR)/$(PKGNAME)/%.st  $(libdir)/$(PKGNAME)Gen/%.sql: $(TOPDIR)/$(PKGNAME)/%.st
83          cd $(libdir)/$(PKGNAME); generateDb $< > $@          cd $(libdir)/$(PKGNAME); generateDb $< > $@
84    
85  # generate object/relational converters from schematools  # generate object/relational converters from schematools
86  # description of class. (Kah related)  # description of class. (Kah related)
87  $(libdir)/$(PKGNAME)/%DbiHandler.py: $(TOPDIR)/$(PKGNAME)/%.st  $(libdir)/$(PKGNAME)Gen/%DbiHandler.py: $(TOPDIR)/$(PKGNAME)/%.st
88          cd $(libdir)/$(PKGNAME); generateDbiHandler $< > $@          cd $(libdir)/$(PKGNAME); generateDbiHandler $< > $@
89    
90  ##  ##

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3