Skip to content

Commit

Permalink
cleaned up - no 'std' targets (note that '--with-stdlib' is still
Browse files Browse the repository at this point in the history
needed for the doc);


git-svn-id: https://gforge.info.ucl.ac.be/svn/mozart@15964 ada56829-ad1f-0410-b00f-83cda6628aec
  • Loading branch information
popow committed May 18, 2004
1 parent 328562c commit c440d15
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,3 @@ files.doc:
\) -a \! \( -path './doc/Mozart.hh?' -o \
-path './doc/add-ons/*/*' \) ) > $@

files.std:

######################################################################
# standard library support
######################################################################

STDLIB=@OZSTDLIB@
std: $(PACKDIR)
test -n "$(STDLIB)" || { echo "set STDLIB to source dir for mozart standard library"; exit 1; }
-rm -rf $(PACKDIR)/mozart-$(shell $(OZVERSION)).$(OZBUILD)-std
mkdir $(PACKDIR)/mozart-$(shell $(OZVERSION)).$(OZBUILD)-std
cd $(PACKDIR)/mozart-$(shell $(OZVERSION)).$(OZBUILD)-std && \
((cd $(STDLIB) && $(TAR) -cf - .) | tar -xf -)
(cd $(PACKDIR) && $(TARTAR) -cf - mozart-$(shell $(OZVERSION)).$(OZBUILD)-std) | \
$(COMPRESS) > mozart-$(shell $(OZVERSION)).$(OZBUILD)-std.tar.gz
rm -rf $(PACKDIR)/mozart-$(shell $(OZVERSION)).$(OZBUILD)-std

#ifneq ($(STDLIB),)
#install:: installstd
#endif

CYGPATH = $(SRCDIR)/share/lib/cygpath.sh
CYG_PREFIX = $(shell $(CYGPATH) $(PREFIX))

installstd:
test -n "$(STDLIB)" || { echo "set STDLIB to source dir for mozart standard library"; exit 1; }
(cd $(STDLIB) && cp ozmake-$(shell $(OZVERSION)).ozf ozmake.ozf && \
if test -r mozart-stdlib.pkg; then \
$(PREFIX)/bin/ozengine ./ozmake.ozf --install --prefix=$(CYG_PREFIX) --nosavedb --package=mozart-stdlib.pkg; \
else \
$(PREFIX)/bin/ozengine ./ozmake.ozf --install --prefix=$(CYG_PREFIX) --nosavedb; \
fi)

0 comments on commit c440d15

Please sign in to comment.