diff --git a/builds/posix/Makefile.in.examples b/builds/posix/Makefile.in.examples index 9f8177b121..d0f8973830 100644 --- a/builds/posix/Makefile.in.examples +++ b/builds/posix/Makefile.in.examples @@ -124,6 +124,9 @@ $(EXAMPLES_FB)/README: $(CP) $(ROOT)/examples/stat/*.* $(EXAMPLES_FB)/stat/ $(CP) $(ROOT)/examples/udf/*.* $(EXAMPLES_FB)/udf/ $(CP) $(ROOT)/examples/udr/*.* $(EXAMPLES_FB)/udr/ + $(CP) $(ROOT)/examples/object_pascal/*.* $(EXAMPLES_FB)/object_pascal/ + $(CP) $(ROOT)/examples/object_pascal/[mM]ake* $(EXAMPLES_FB)/object_pascal/ + $(CP) $(ROOT)/examples/object_pascal/common/*.* $(EXAMPLES_FB)/object_pascal/common/ # $(CP) intlemp.fdb $(EXAMPLES_FB)/empbuild/ $(CP) $(ROOT)/examples/readme $(EXAMPLES_FB)/README $(CP) $(ROOT)/examples/empbuild/employe2.sql $(EXAMPLES_FB)/empbuild/ diff --git a/configure.ac b/configure.ac index ecde8c0d35..f6aa655f98 100644 --- a/configure.ac +++ b/configure.ac @@ -1299,6 +1299,8 @@ dnl # output mkdir -p gen/\$fb_tgt/firebird/examples/extauth mkdir -p gen/\$fb_tgt/firebird/examples/include mkdir -p gen/\$fb_tgt/firebird/examples/interfaces + mkdir -p gen/\$fb_tgt/firebird/examples/object_pascal + mkdir -p gen/\$fb_tgt/firebird/examples/object_pascal/common mkdir -p gen/\$fb_tgt/firebird/examples/package mkdir -p gen/\$fb_tgt/firebird/examples/stat mkdir -p gen/\$fb_tgt/firebird/examples/udf diff --git a/examples/object_pascal/Readme.md b/examples/object_pascal/Readme.md index 6c30083d98..8d8cbf73c0 100644 --- a/examples/object_pascal/Readme.md +++ b/examples/object_pascal/Readme.md @@ -40,9 +40,10 @@ you would do the following to create a project from 03.select.pas: - Open select.lpr as a project - When prompted choose 'Simple Program' as the project template - Go into Project options and add the following paths: - /opt/firebird/include/Firebird +``` + /usr/include/Firebird common - +``` You can then compile and run the example through the debugger.