generated from duckdb/extension-template-rs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
25 lines (17 loc) · 786 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: clean clean_all
PROJ_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# TODO: these values are currently duplicated in lib.rs. There's a PR open in duckdb-rs that fixes this
EXTENSION_NAME=pcap_reader
MINIMUM_DUCKDB_VERSION=v0.0.1
all: configure debug
# Include makefiles from DuckDB
include extension-ci-tools/makefiles/c_api_extensions/base.Makefile
include extension-ci-tools/makefiles/c_api_extensions/rust.Makefile
configure: venv platform extension_version
debug: build_extension_library_debug build_extension_with_metadata_debug
release: build_extension_library_release build_extension_with_metadata_release
test: test_debug
test_debug: test_extension_debug
test_release: test_extension_release
clean: clean_build clean_rust
clean_all: clean_configure clean