Files
Vinod Sridharan e500aa3e42 Merged PR 1678009: Delete intermediate extensions from the repo
### 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)
No
### Are you introducing any new config? If yes, do you have tests with and without them being set?

### ChangeLog (Refer [Template](../oss/CHANGELOG.md))

### Description

Delete the intermediate staging extensions that were used initially for OSS now that we have the real OSS extensions.

Inluded SQL files are left for back-compat for old SQL files.

----
#### AI description  (iteration 1)
#### PR Classification
This pull request performs a code cleanup by deprecating and removing intermediate extensions.

#### PR Summary
This PR removes various intermediate extension modules and their associated files from the repository, along with updates to the build configuration to eliminate references to these deprecated components.
- Removed multiple files in `helio_api/pg_helio_api` (SQL scripts, C source files, control file, and Makefile).
- Removed files in `helio_api/pg_helio_core` (C source, SQL upgrade scripts, control file, and Makefile).
- Removed files in `helio_api/pg_helio_distributed` (C source, SQL scripts, control file, and Makefile).
- Updated `/pgmongo/Makefile` and `/pgmongo/src/pgmongo.c` to remove helio extension dependencies and related flags.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
2025-05-29 12:12:31 +08:00

37 lines
1.4 KiB
Makefile

ifeq ($(USE_DOCUMENTDB_CORE),1)
$(MODULE_big)$(DLSUFFIX): $(DOCUMENTDB_CORE_LIB)
DOCDB_CORE_SOURCES=$(wildcard $(DOCUMENTDB_CORE_DIR)/src/*.c) $(wildcard $(DOCUMENTDB_CORE_DIR)/src/**/*.c)
$(DOCUMENTDB_CORE_LIB): $(DOCDB_CORE_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_CORE_DIR)
install: install_documentdb_core
install_documentdb_core: $(DOCDB_CORE_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_CORE_DIR) install
endif
ifeq ($(USE_DOCUMENTDB),1)
DOCDB_SOURCES=$(wildcard $(DOCUMENTDB_DIR)/src/*.c) $(wildcard $(DOCUMENTDB_DIR)/src/**/*.c)
$(MODULE_big)$(DLSUFFIX): $(DOCUMENTDB_LIB)
$(DOCUMENTDB_LIB): $(DOCUMENTDB_CORE_LIB) $(DOCDB_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_DIR)
install: install_documentdb
install_documentdb: $(DOCDB_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_DIR) install
endif
ifeq ($(USE_DOCUMENTDB_DISTRIBUTED),1)
DOCDB_DIST_SOURCES=$(wildcard $(DOCUMENTDB_DISTRIBUTED_DIR)/src/*.c) $(wildcard $(DOCUMENTDB_DISTRIBUTED_DIR)/src/**/*.c)
$(MODULE_big)$(DLSUFFIX): $(DOCUMENTDB_DISTRIBUTED_LIB)
$(DOCUMENTDB_DISTRIBUTED_LIB): $(DOCUMENTDB_LIB) $(DOCUMENTDB_CORE_LIB) $(DOCDB_DIST_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_DISTRIBUTED_DIR)
install: install_documentdb_distributed
install_documentdb_distributed: $(DOCDB_DIST_SOURCES)
$(MAKE) EXTRA_INCLUDE=$(EXTRA_INCLUDE) -C $(DOCUMENTDB_DISTRIBUTED_DIR) install
endif