mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? No ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Refactor ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) Not yet ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description Initial setup for documentdb extensions. Create Makefiles and set up build scripts around documentdb. This does not yet touch the actual code or make anything deployable. ---- #### AI description (iteration 1) #### PR Classification Initial setup for DocumentDB integration. #### PR Summary This pull request sets up the initial structure and configuration for DocumentDB integration. - Added `documentdb_errors.h` for defining DocumentDB-specific error codes. - Created `Makefile` for `pg_documentdb`, `pg_documentdb_core`, and `pg_documentdb_distributed` to handle build configurations. - Updated `validate_helio_extension_state.sh` and `validate_headers.sh` scripts to include checks for DocumentDB. - Modified `bson_aggregation_nested_pipeline.c`, `bson_aggregation_vector_search.c`, and other source files to replace references from Helio to DocumentDB. - Added control files for `pg_documentdb`, `pg_documentdb_core`, and `pg_documentdb_distributed` extensions.
23 lines
517 B
Makefile
23 lines
517 B
Makefile
# Delegate all rules to sub directories.
|
|
|
|
Makefile:;
|
|
|
|
.DEFAULT_GOAL := .DEFAULT
|
|
|
|
.PHONY: %
|
|
|
|
.DEFAULT:
|
|
$(MAKE) -C pg_documentdb_core
|
|
$(MAKE) -C pg_documentdb
|
|
$(MAKE) -C internal/pg_documentdb_distributed
|
|
$(MAKE) -C pg_helio_core
|
|
$(MAKE) -C pg_helio_api
|
|
$(MAKE) -C internal/pg_helio_distributed
|
|
|
|
%:
|
|
$(MAKE) -C pg_documentdb_core $@
|
|
$(MAKE) -C pg_documentdb $@
|
|
$(MAKE) -C internal/pg_documentdb_distributed $@
|
|
$(MAKE) -C pg_helio_core $@
|
|
$(MAKE) -C pg_helio_api $@
|
|
$(MAKE) -C internal/pg_helio_distributed $@
|