Commit ca580926 authored by Michael Hanus's avatar Michael Hanus
Browse files

erd2cdbi added

parent a7d2e02b
......@@ -16,6 +16,7 @@ currypp/DefaultRules/Transform
currydoc/CurryDoc
currytest/CurryTest
createmakefile/CreateMakefile
erd2cdbi/erd2cdbi
erd2curry/erd2curry
genint/GenInt
importcalls/ImportCalls
......
......@@ -22,6 +22,7 @@ all:
@cd currydoc && $(MAKE)
@cd currypp && $(MAKE)
@cd currytest && $(MAKE)
@cd erd2cdbi && $(MAKE)
@cd erd2curry && $(MAKE)
@cd genint && $(MAKE)
@cd importcalls && $(MAKE)
......@@ -49,6 +50,7 @@ compile:
@cd currydoc && $(MAKE) compile
@cd currypp && $(MAKE) compile
@cd currytest && $(MAKE) compile
@cd erd2cdbi && $(MAKE) compile
@cd erd2curry && $(MAKE) compile
@cd genint && $(MAKE) compile
@cd importcalls && $(MAKE) compile
......@@ -68,6 +70,7 @@ install:
@cd currydoc && $(MAKE) install
@cd currypp && $(MAKE) install
@cd currytest && $(MAKE) install
@cd erd2cdbi && $(MAKE) install
@cd erd2curry && $(MAKE) install
@cd genint && $(MAKE) install
@cd importcalls && $(MAKE) install
......@@ -87,6 +90,7 @@ clean:
@cd currydoc && $(MAKE) clean
@cd currypp && $(MAKE) clean
@cd currytest && $(MAKE) clean
@cd erd2cdbi && $(MAKE) clean
@cd erd2curry && $(MAKE) clean
@cd genint && $(MAKE) clean
@cd importcalls && $(MAKE) clean
......@@ -106,6 +110,7 @@ uninstall:
@cd currydoc && $(MAKE) uninstall
@cd currypp && $(MAKE) uninstall
@cd currytest && $(MAKE) uninstall
@cd erd2cdbi && $(MAKE) uninstall
@cd erd2curry && $(MAKE) uninstall
@cd genint && $(MAKE) uninstall
@cd importcalls && $(MAKE) uninstall
......
This diff is collapsed.
#****************************************************************************
# Transforms ERD-term into datatypes for CDBI.
# Creates information file for currypp SQL-Parser.
# Creates a corresponding sqlite database if invoked by option -db.
#
#****************************************************************************
# Tool binary
TOOL = $(BINDIR)/erd2cdbi
# Some modules required by the erd2cdbi tool:
DEPS = $(ROOT)/lib/Database/CDBI/*.curry ERD2CDBI.curry
.PHONY: all compile install clean uninstall
all: install
compile: erd2cdbi
install: compile
rm -f $(TOOL)
ln -s $(CURDIR)/erd2cdbi $(TOOL)
clean:
cleancurry -r
rm -f erd2cdbi
uninstall: clean
rm -f $(TOOL)
erd2cdbi: $(DEPS)
@echo Compiling ERD2CDBI-Tool
$(REPL) $(REPL_OPTS) :load ERD2CDBI :save :quit
mv ERD2CDBI $@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment