@quantiya/codevibe-claude-plugin 2.0.22 → 2.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/appsync/appsync-client.d.ts +25 -0
- package/node_modules/@quantiya/codevibe-core/dist/appsync/index.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/config/config.d.ts +1 -1
- package/node_modules/@quantiya/codevibe-core/dist/diagnostics/shape-only.d.ts +11 -0
- package/node_modules/@quantiya/codevibe-core/dist/index.js +329 -290
- package/node_modules/@quantiya/codevibe-core/dist/local-executor/process-tree.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/o5-diagnostics.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/__tests__/quorum-loop-outcome-recency.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.d.ts +7 -0
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/cli.js +888 -225
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/quorum-loop.d.ts +12 -1
- package/node_modules/@quantiya/codevibe-core/dist/orchestration-shell/types.d.ts +24 -0
- package/node_modules/@quantiya/codevibe-core/dist/ordinal-presentation.d.ts +4 -0
- package/node_modules/@quantiya/codevibe-core/dist/ordinal-presentation.test.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/reviewer/provider.d.ts +7 -7
- package/node_modules/@quantiya/codevibe-core/dist/substrate/command-runner.d.ts +1 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate/sandbox-exec.d.ts +3 -2
- package/node_modules/@quantiya/codevibe-core/dist/substrate/types.d.ts +20 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/apikey-bootstrap.d.ts +32 -1
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/engage-substrate.d.ts +2 -0
- package/node_modules/@quantiya/codevibe-core/dist/substrate-launch/sanitized-env.d.ts +6 -0
- package/node_modules/@quantiya/codevibe-core/package.json +1 -1
- package/package.json +2 -2
- package/node_modules/fs-ext/build/Makefile +0 -347
- package/node_modules/fs-ext/build/Release/.deps/Release/fs_ext.node.d +0 -1
- package/node_modules/fs-ext/build/Release/.deps/Release/obj.target/fs_ext/fs-ext.o.d +0 -165
- package/node_modules/fs-ext/build/Release/fs_ext.node +0 -0
- package/node_modules/fs-ext/build/Release/obj.target/fs_ext/fs-ext.o +0 -0
- package/node_modules/fs-ext/build/binding.Makefile +0 -6
- package/node_modules/fs-ext/build/config.gypi +0 -503
- package/node_modules/fs-ext/build/fs_ext.target.mk +0 -183
- package/node_modules/fs-ext/build/gyp-mac-tool +0 -768
- package/node_modules/keytar/build/Release/keytar.node +0 -0
|
@@ -16,7 +16,7 @@ import { captureWorkspaceRootAuthority } from '../local-executor/workspace-autho
|
|
|
16
16
|
import { type TeamExecution } from '../local-executor/team-execution-flag';
|
|
17
17
|
import { type RenderedConflict, type TrackIntentDiff } from '../local-executor/wb2-review-bundle';
|
|
18
18
|
import { ReviewerRegistry } from '../reviewer/registry';
|
|
19
|
-
import { type ReviewerFailureReason } from '../reviewer/provider';
|
|
19
|
+
import { type ReviewerError, type ReviewerFailureReason } from '../reviewer/provider';
|
|
20
20
|
import type { SubstrateHandle } from '../substrate/types';
|
|
21
21
|
import type { VerdictClassifier } from '../reviewer/verdict-classifier';
|
|
22
22
|
import type { AgentKind as ReviewerAgentKind, ReviewerRole, VerdictKind } from '../reviewer/types';
|
|
@@ -27,6 +27,13 @@ import type { PostDecisionAction, Tier } from './types';
|
|
|
27
27
|
import type { ContinuationPacketWriter } from '../continuation/packet-writer';
|
|
28
28
|
import type { ContinuationPacketReader } from '../continuation/packet-reader';
|
|
29
29
|
import type { HandoffReason } from '../continuation/types';
|
|
30
|
+
/**
|
|
31
|
+
* Project a `ReviewerError` into the variant-specific diagnostic fields worth
|
|
32
|
+
* logging without persisting reviewer-controlled bytes. The discriminator is
|
|
33
|
+
* logged separately. The exhaustive switch forces any future raw-carrying
|
|
34
|
+
* variant to choose an explicit safe projection.
|
|
35
|
+
*/
|
|
36
|
+
export declare function describeReviewerErrorDetail(detail: ReviewerError): Record<string, unknown>;
|
|
30
37
|
/**
|
|
31
38
|
* CP-1.f — the clean, user-facing one-liner for a synthesized ESCALATE verdict
|
|
32
39
|
* whose origin is a reviewer subprocess failure. Built ONLY from the closed
|
|
@@ -1214,8 +1221,12 @@ export declare class QuorumLoop {
|
|
|
1214
1221
|
getLastWorkspaceOutcome(): {
|
|
1215
1222
|
kind: 'promoted';
|
|
1216
1223
|
files: string[];
|
|
1224
|
+
taskId?: string;
|
|
1225
|
+
completedAt?: string;
|
|
1217
1226
|
} | {
|
|
1218
1227
|
kind: 'discarded';
|
|
1228
|
+
taskId?: string;
|
|
1229
|
+
completedAt?: string;
|
|
1219
1230
|
} | null;
|
|
1220
1231
|
/**
|
|
1221
1232
|
* Session-owned Class-B ingress. The subscription calls this wrapper instead
|
|
@@ -157,6 +157,7 @@ export interface RunningTaskState {
|
|
|
157
157
|
status: 'running' | 'cancelling' | 'completed' | 'cancelled' | 'failed';
|
|
158
158
|
exitCode?: number;
|
|
159
159
|
bypassReason?: 'deterministic_shortcut' | 'planner_outage' | 'planner_degraded_explicit_override';
|
|
160
|
+
completedAt?: string;
|
|
160
161
|
}
|
|
161
162
|
/**
|
|
162
163
|
* P10 E3 r2 — one row of the bare-`/audit` session listing (the
|
|
@@ -180,6 +181,10 @@ export interface SessionTaskRecord {
|
|
|
180
181
|
status: string;
|
|
181
182
|
/** Singles: the dispatch stamp. Team rows: first-observed stamp. */
|
|
182
183
|
startedAt: string;
|
|
184
|
+
/** Wall-clock ISO timestamp when the task reached a terminal state (promoted, discarded, failed). */
|
|
185
|
+
completedAt?: string;
|
|
186
|
+
/** Monotonic terminal-action sequence stamped when the task reached a terminal state. */
|
|
187
|
+
terminalSeq?: number;
|
|
183
188
|
}
|
|
184
189
|
/**
|
|
185
190
|
* §5.1 LOCK (lines 547-556). Single reviewer subprocess identity +
|
|
@@ -594,6 +599,19 @@ export interface TeamState {
|
|
|
594
599
|
* a re-drain so the next generation can write. `null`/undefined ⇔ still ticking.
|
|
595
600
|
*/
|
|
596
601
|
mergeGateElapsedMs?: number;
|
|
602
|
+
/**
|
|
603
|
+
* [ADDITIVE WIDENING — #650 outcome recency] ISO wall-clock timestamp stamped
|
|
604
|
+
* when the team group first starts. Carried forward for recency evaluation
|
|
605
|
+
* against single-task outcomes.
|
|
606
|
+
*/
|
|
607
|
+
startedAt?: string;
|
|
608
|
+
/**
|
|
609
|
+
* [ADDITIVE WIDENING — #650 outcome recency] ISO wall-clock timestamp stamped
|
|
610
|
+
* when the team group resolves or halts. Carried forward for recency evaluation.
|
|
611
|
+
*/
|
|
612
|
+
completedAt?: string;
|
|
613
|
+
/** Monotonic terminal-action sequence stamped when the team group resolves or halts. */
|
|
614
|
+
terminalSeq?: number;
|
|
597
615
|
}
|
|
598
616
|
/**
|
|
599
617
|
* [ADDITIVE WIDENING — CP-1.f live progress surfacing] The single EPHEMERAL
|
|
@@ -719,6 +737,8 @@ export interface OrchestrationState {
|
|
|
719
737
|
gateActionClaims: Map<string, string | null>;
|
|
720
738
|
/** True while prompt-action catch-up is not authoritative after a disconnect. */
|
|
721
739
|
gateActionRecoveryBlocked: boolean;
|
|
740
|
+
/** Monotonic counter incremented on each terminal action (single task end or team resolution). */
|
|
741
|
+
terminalSequence?: number;
|
|
722
742
|
}
|
|
723
743
|
/**
|
|
724
744
|
* One retained `/audit` listing row, keyed by its audit `entry_id` in
|
|
@@ -927,12 +947,14 @@ export type OrchestrationAction = {
|
|
|
927
947
|
} | {
|
|
928
948
|
type: 'TEAM_STARTED';
|
|
929
949
|
taskGroupId: string;
|
|
950
|
+
startedAt?: string;
|
|
930
951
|
} | {
|
|
931
952
|
type: 'TEAM_TRACK_ASSIGNED';
|
|
932
953
|
trackIndex: number;
|
|
933
954
|
state: TeamTrackState;
|
|
934
955
|
taskId?: string;
|
|
935
956
|
agent?: string;
|
|
957
|
+
startedAt?: string;
|
|
936
958
|
} | {
|
|
937
959
|
type: 'TEAM_MERGE_GATE';
|
|
938
960
|
status: TeamMergeGateStatus;
|
|
@@ -941,6 +963,7 @@ export type OrchestrationAction = {
|
|
|
941
963
|
} | {
|
|
942
964
|
type: 'TEAM_HALTED';
|
|
943
965
|
haltReason: string;
|
|
966
|
+
completedAt?: string;
|
|
944
967
|
} | {
|
|
945
968
|
type: 'TEAM_TRACK_TERMINAL';
|
|
946
969
|
trackIndex: number;
|
|
@@ -954,6 +977,7 @@ export type OrchestrationAction = {
|
|
|
954
977
|
} | {
|
|
955
978
|
type: 'TEAM_GROUP_RESOLVED';
|
|
956
979
|
outcome: string;
|
|
980
|
+
completedAt?: string;
|
|
957
981
|
} | {
|
|
958
982
|
type: 'TASK_PROGRESS';
|
|
959
983
|
event: TaskProgressEvent;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Human-facing ordinal only; never use this value as a wire ID or array index. */
|
|
2
|
+
export declare function displayOrdinal(index: number): string;
|
|
3
|
+
/** Legacy seat state also permits opaque IDs. Only numeric indexes are ordinals. */
|
|
4
|
+
export declare function displaySeatNumber(seatId: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -179,10 +179,10 @@ export type ReviewerError = {
|
|
|
179
179
|
kind: 'spawn_failed';
|
|
180
180
|
agent: AgentKind;
|
|
181
181
|
/**
|
|
182
|
-
* Human-readable cause. **MAY carry raw stderr** —
|
|
183
|
-
* audit
|
|
184
|
-
* `reasoning` (CP-1.f sanitization invariant).
|
|
185
|
-
* the user-facing one-liner instead.
|
|
182
|
+
* Human-readable cause. **MAY carry raw stderr** — keep it transient and
|
|
183
|
+
* shape-project it before any durable log/audit. NEVER promote this into
|
|
184
|
+
* synthesized verdict wire `reasoning` (CP-1.f sanitization invariant).
|
|
185
|
+
* Use `failureReason` for the user-facing one-liner instead.
|
|
186
186
|
*/
|
|
187
187
|
reason: string;
|
|
188
188
|
/**
|
|
@@ -197,11 +197,11 @@ export type ReviewerError = {
|
|
|
197
197
|
failureReason?: ReviewerFailureReason;
|
|
198
198
|
} | {
|
|
199
199
|
/** Reviewer returned but its output couldn't be parsed into a valid
|
|
200
|
-
* verdict. Raw output
|
|
200
|
+
* verdict. Raw output remains transient for classification and is
|
|
201
|
+
* shape-projected before any durable diagnostic. */
|
|
201
202
|
kind: 'parse_failure';
|
|
202
203
|
agent: AgentKind;
|
|
203
|
-
/** Raw output
|
|
204
|
-
* needed). */
|
|
204
|
+
/** Raw output; consumers must never persist or surface its bytes. */
|
|
205
205
|
raw_output: string;
|
|
206
206
|
} | {
|
|
207
207
|
/** Reviewer was cancelled by the engine before completing (e.g.,
|
|
@@ -91,8 +91,9 @@ homedir?: string,
|
|
|
91
91
|
*/
|
|
92
92
|
auditDir?: string | null,
|
|
93
93
|
/**
|
|
94
|
-
* Extra dirs that the agent may read/write. Used
|
|
95
|
-
* config/runtime dir; the broker-token
|
|
94
|
+
* Extra dirs that the agent may read/write. Used for the mutable CLI
|
|
95
|
+
* config/runtime dir and the unique Claude scratch root; the broker-token
|
|
96
|
+
* helper stays in `extraReadDirs`.
|
|
96
97
|
*/
|
|
97
98
|
extraWriteDirs?: readonly string[],
|
|
98
99
|
/**
|
|
@@ -92,6 +92,19 @@ export interface SubstrateSpec {
|
|
|
92
92
|
/** Writable mount/grant point inside the sandbox. */
|
|
93
93
|
sandboxDir: string;
|
|
94
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* O5 — unique short writable Claude scratch root for A5. It is created by
|
|
97
|
+
* the host with mode 0700, granted as one exact subtree, and removed through
|
|
98
|
+
* identity-bound teardown. Docker does not need this extra mount/grant.
|
|
99
|
+
*/
|
|
100
|
+
agentScratch?: {
|
|
101
|
+
/** Canonical host path used by the Seatbelt grant. */
|
|
102
|
+
hostDir: string;
|
|
103
|
+
/** Short path spelling exported as CLAUDE_CODE_TMPDIR. */
|
|
104
|
+
sandboxDir: string;
|
|
105
|
+
/** Exact scratch-root incarnation captured through its creation descriptor. */
|
|
106
|
+
authority: WorkspaceRootAuthority;
|
|
107
|
+
};
|
|
95
108
|
/**
|
|
96
109
|
* CP-7 W3 — Stage-2 r1 HIGH (A5 audit-readability). OPTIONAL, additive. The
|
|
97
110
|
* RESOLVED per-task audit DIR (the sibling `.codevibe/audit/<group>/<track>/`
|
|
@@ -256,5 +269,12 @@ export interface CommandRunner {
|
|
|
256
269
|
cwd?: string;
|
|
257
270
|
/** Exact cwd incarnation held through native process creation. */
|
|
258
271
|
cwdAuthority?: WorkspaceRootAuthority;
|
|
272
|
+
/**
|
|
273
|
+
* Additional directory incarnations that the trusted POSIX process host
|
|
274
|
+
* must authenticate synchronously at the final target-spawn boundary.
|
|
275
|
+
* These paths may be referenced by the child env/profile even though
|
|
276
|
+
* they are not its cwd (for example Claude's private scratch root).
|
|
277
|
+
*/
|
|
278
|
+
launchPathAuthorities?: readonly WorkspaceRootAuthority[];
|
|
259
279
|
}): RunnerProc;
|
|
260
280
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { VendorProvider } from "../credential-broker/types";
|
|
2
|
+
import type { WorkspaceRootAuthority } from "../local-executor/workspace-authority";
|
|
2
3
|
/** The fixed filenames inside the bootstrap dir (host + sandbox agree). */
|
|
3
4
|
export declare const HELPER_SCRIPT_NAME = "broker-apikey-helper.sh";
|
|
4
5
|
export declare const TOKEN_FILE_NAME = "broker-token";
|
|
@@ -49,6 +50,18 @@ export interface ApiKeyBootstrapInput {
|
|
|
49
50
|
configDirEqualsHostDir?: boolean;
|
|
50
51
|
/** Override the host root for the bootstrap dir (default os.tmpdir()). */
|
|
51
52
|
hostRoot?: string;
|
|
53
|
+
/**
|
|
54
|
+
* A5/macOS only: parent for Claude's short, private per-seat scratch root.
|
|
55
|
+
* `engageSubstrate` passes `/tmp`, which is canonicalized before `mkdtemp`;
|
|
56
|
+
* the resulting `/private/tmp/cvXXXXXX` path remains under 30 bytes and
|
|
57
|
+
* prevents Claude's Bash child-process temp path from falling back to the
|
|
58
|
+
* shared `/tmp/claude-<uid>` namespace. Omitted for Docker/direct callers.
|
|
59
|
+
*/
|
|
60
|
+
claudeScratchHostRoot?: string;
|
|
61
|
+
/** @internal deterministic race seam after mkdtemp identity capture. */
|
|
62
|
+
beforeClaudeScratchOpen?: (path: string) => Promise<void> | void;
|
|
63
|
+
/** @internal deterministic race seam before atomic scratch quarantine. */
|
|
64
|
+
beforeClaudeScratchCleanupCommit?: (path: string) => Promise<void> | void;
|
|
52
65
|
/**
|
|
53
66
|
* The host path of the agent's rw WORKDIR mount (the worktree). The token
|
|
54
67
|
* file + helper MUST live OUTSIDE this dir — otherwise the broker token (and
|
|
@@ -78,6 +91,14 @@ export declare class ApiKeyBootstrap {
|
|
|
78
91
|
readonly configSandboxDir: string;
|
|
79
92
|
/** Host path of the token file (the LE rewrites this on rotation). */
|
|
80
93
|
private readonly tokenFileHostPath;
|
|
94
|
+
/** Canonical host path of the unique Claude scratch root, if allocated. */
|
|
95
|
+
readonly claudeScratchHostDir: string | null;
|
|
96
|
+
/** Short in-sandbox spelling exported as CLAUDE_CODE_TMPDIR. */
|
|
97
|
+
readonly claudeScratchSandboxDir: string | null;
|
|
98
|
+
/** Creation identity used to refuse cleanup of a replaced path. */
|
|
99
|
+
private readonly claudeScratchIdentity;
|
|
100
|
+
/** Test-only pause seam retained with the task-owned scratch authority. */
|
|
101
|
+
private readonly beforeClaudeScratchCleanupCommit;
|
|
81
102
|
private constructor();
|
|
82
103
|
/**
|
|
83
104
|
* Materialize the bootstrap: create the host dir (0700), write the token file
|
|
@@ -95,6 +116,12 @@ export declare class ApiKeyBootstrap {
|
|
|
95
116
|
hostDir: string;
|
|
96
117
|
sandboxDir: string;
|
|
97
118
|
};
|
|
119
|
+
/** The unique writable Claude scratch grant, absent on Docker/Codex paths. */
|
|
120
|
+
get claudeScratchSpec(): {
|
|
121
|
+
hostDir: string;
|
|
122
|
+
sandboxDir: string;
|
|
123
|
+
authority: WorkspaceRootAuthority;
|
|
124
|
+
} | null;
|
|
98
125
|
/**
|
|
99
126
|
* REFRESH the broker token (rotation / on a broker 401). Atomically rewrites
|
|
100
127
|
* the token file (write a temp + rename) so the agent never reads a partial
|
|
@@ -102,6 +129,10 @@ export declare class ApiKeyBootstrap {
|
|
|
102
129
|
* the new value. The agent's mount is read-only, so ONLY the host can do this.
|
|
103
130
|
*/
|
|
104
131
|
refresh(token: string): Promise<void>;
|
|
105
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Remove the bootstrap, config, and unique Claude scratch dirs. Scratch
|
|
134
|
+
* cleanup is identity-bound: a replaced pathname is retained and reported,
|
|
135
|
+
* never recursively removed as though it still belonged to this seat.
|
|
136
|
+
*/
|
|
106
137
|
destroy(): Promise<void>;
|
|
107
138
|
}
|
|
@@ -76,6 +76,8 @@ export interface EngageSubstrateInput {
|
|
|
76
76
|
tokenRefreshIntervalMs?: number;
|
|
77
77
|
/** Bootstrap host-root override (tests). */
|
|
78
78
|
bootstrapHostRoot?: string;
|
|
79
|
+
/** A5 Claude short-scratch parent override (tests; production is `/tmp`). */
|
|
80
|
+
claudeScratchHostRoot?: string;
|
|
79
81
|
/** Safe locale source for the sanitized env (default: none). */
|
|
80
82
|
localeSource?: Readonly<Record<string, string | undefined>>;
|
|
81
83
|
}
|
|
@@ -42,6 +42,12 @@ export interface SanitizedEnvInput {
|
|
|
42
42
|
* Required for the substrate path; the I1 allow-list still drops every cred.
|
|
43
43
|
*/
|
|
44
44
|
sandboxBootstrapDir: string;
|
|
45
|
+
/**
|
|
46
|
+
* Optional Claude-only short private scratch root. A5 supplies a unique
|
|
47
|
+
* canonical `/private/tmp/cvXXXXXX` path; Docker keeps using its isolated
|
|
48
|
+
* config dir.
|
|
49
|
+
*/
|
|
50
|
+
claudeScratchDir?: string;
|
|
45
51
|
/**
|
|
46
52
|
* A SAFE source for the hygiene values (LANG/TERM/…). Defaults to a minimal
|
|
47
53
|
* fixed map. The LE may pass a curated subset of `process.env` for locale, but
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantiya/codevibe-claude-plugin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.24",
|
|
4
4
|
"description": "Control Claude Code from your iPhone and Android — real-time sync, approve file edits, send prompts by voice. Part of CodeVibe.",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"codevibe": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"node": ">=22.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@quantiya/codevibe-core": "2.0.
|
|
51
|
+
"@quantiya/codevibe-core": "2.0.20",
|
|
52
52
|
"@quantiya/quorum-core": "^1.0.1",
|
|
53
53
|
"dotenv": "^16.6.1",
|
|
54
54
|
"express": "^5.1.0",
|
|
@@ -1,347 +0,0 @@
|
|
|
1
|
-
# We borrow heavily from the kernel build setup, though we are simpler since
|
|
2
|
-
# we don't have Kconfig tweaking settings on us.
|
|
3
|
-
|
|
4
|
-
# The implicit make rules have it looking for RCS files, among other things.
|
|
5
|
-
# We instead explicitly write all the rules we care about.
|
|
6
|
-
# It's even quicker (saves ~200ms) to pass -r on the command line.
|
|
7
|
-
MAKEFLAGS=-r
|
|
8
|
-
|
|
9
|
-
# The source directory tree.
|
|
10
|
-
srcdir := ..
|
|
11
|
-
abs_srcdir := $(abspath $(srcdir))
|
|
12
|
-
|
|
13
|
-
# The name of the builddir.
|
|
14
|
-
builddir_name ?= .
|
|
15
|
-
|
|
16
|
-
# The V=1 flag on command line makes us verbosely print command lines.
|
|
17
|
-
ifdef V
|
|
18
|
-
quiet=
|
|
19
|
-
else
|
|
20
|
-
quiet=quiet_
|
|
21
|
-
endif
|
|
22
|
-
|
|
23
|
-
# Specify BUILDTYPE=Release on the command line for a release build.
|
|
24
|
-
BUILDTYPE ?= Release
|
|
25
|
-
|
|
26
|
-
# Directory all our build output goes into.
|
|
27
|
-
# Note that this must be two directories beneath src/ for unit tests to pass,
|
|
28
|
-
# as they reach into the src/ directory for data with relative paths.
|
|
29
|
-
builddir ?= $(builddir_name)/$(BUILDTYPE)
|
|
30
|
-
abs_builddir := $(abspath $(builddir))
|
|
31
|
-
depsdir := $(builddir)/.deps
|
|
32
|
-
|
|
33
|
-
# Object output directory.
|
|
34
|
-
obj := $(builddir)/obj
|
|
35
|
-
abs_obj := $(abspath $(obj))
|
|
36
|
-
|
|
37
|
-
# We build up a list of every single one of the targets so we can slurp in the
|
|
38
|
-
# generated dependency rule Makefiles in one pass.
|
|
39
|
-
all_deps :=
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CC.target ?= $(CC)
|
|
44
|
-
CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS)
|
|
45
|
-
CXX.target ?= $(CXX)
|
|
46
|
-
CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS)
|
|
47
|
-
LINK.target ?= $(LINK)
|
|
48
|
-
LDFLAGS.target ?= $(LDFLAGS)
|
|
49
|
-
AR.target ?= $(AR)
|
|
50
|
-
PLI.target ?= pli
|
|
51
|
-
|
|
52
|
-
# C++ apps need to be linked with g++.
|
|
53
|
-
LINK ?= $(CXX.target)
|
|
54
|
-
|
|
55
|
-
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
|
|
56
|
-
# to replicate this environment fallback in make as well.
|
|
57
|
-
CC.host ?= gcc
|
|
58
|
-
CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host)
|
|
59
|
-
CXX.host ?= g++
|
|
60
|
-
CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host)
|
|
61
|
-
LINK.host ?= $(CXX.host)
|
|
62
|
-
LDFLAGS.host ?= $(LDFLAGS_host)
|
|
63
|
-
AR.host ?= ar
|
|
64
|
-
PLI.host ?= pli
|
|
65
|
-
|
|
66
|
-
# Define a dir function that can handle spaces.
|
|
67
|
-
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
|
|
68
|
-
# "leading spaces cannot appear in the text of the first argument as written.
|
|
69
|
-
# These characters can be put into the argument value by variable substitution."
|
|
70
|
-
empty :=
|
|
71
|
-
space := $(empty) $(empty)
|
|
72
|
-
|
|
73
|
-
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
|
|
74
|
-
replace_spaces = $(subst $(space),?,$1)
|
|
75
|
-
unreplace_spaces = $(subst ?,$(space),$1)
|
|
76
|
-
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
|
|
77
|
-
|
|
78
|
-
# Flags to make gcc output dependency info. Note that you need to be
|
|
79
|
-
# careful here to use the flags that ccache and distcc can understand.
|
|
80
|
-
# We write to a dep file on the side first and then rename at the end
|
|
81
|
-
# so we can't end up with a broken dep file.
|
|
82
|
-
depfile = $(depsdir)/$(call replace_spaces,$@).d
|
|
83
|
-
DEPFLAGS = -MMD -MF $(depfile).raw
|
|
84
|
-
|
|
85
|
-
# We have to fixup the deps output in a few ways.
|
|
86
|
-
# (1) the file output should mention the proper .o file.
|
|
87
|
-
# ccache or distcc lose the path to the target, so we convert a rule of
|
|
88
|
-
# the form:
|
|
89
|
-
# foobar.o: DEP1 DEP2
|
|
90
|
-
# into
|
|
91
|
-
# path/to/foobar.o: DEP1 DEP2
|
|
92
|
-
# (2) we want missing files not to cause us to fail to build.
|
|
93
|
-
# We want to rewrite
|
|
94
|
-
# foobar.o: DEP1 DEP2 \
|
|
95
|
-
# DEP3
|
|
96
|
-
# to
|
|
97
|
-
# DEP1:
|
|
98
|
-
# DEP2:
|
|
99
|
-
# DEP3:
|
|
100
|
-
# so if the files are missing, they're just considered phony rules.
|
|
101
|
-
# We have to do some pretty insane escaping to get those backslashes
|
|
102
|
-
# and dollar signs past make, the shell, and sed at the same time.
|
|
103
|
-
# Doesn't work with spaces, but that's fine: .d files have spaces in
|
|
104
|
-
# their names replaced with other characters.
|
|
105
|
-
define fixup_dep
|
|
106
|
-
# The depfile may not exist if the input file didn't have any #includes.
|
|
107
|
-
touch $(depfile).raw
|
|
108
|
-
# Fixup path as in (1).
|
|
109
|
-
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
|
|
110
|
-
# Add extra rules as in (2).
|
|
111
|
-
# We remove slashes and replace spaces with new lines;
|
|
112
|
-
# remove blank lines;
|
|
113
|
-
# delete the first line and append a colon to the remaining lines.
|
|
114
|
-
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
|
|
115
|
-
grep -v '^$$' |\
|
|
116
|
-
sed -e 1d -e 's|$$|:|' \
|
|
117
|
-
>> $(depfile)
|
|
118
|
-
rm $(depfile).raw
|
|
119
|
-
endef
|
|
120
|
-
|
|
121
|
-
# Command definitions:
|
|
122
|
-
# - cmd_foo is the actual command to run;
|
|
123
|
-
# - quiet_cmd_foo is the brief-output summary of the command.
|
|
124
|
-
|
|
125
|
-
quiet_cmd_cc = CC($(TOOLSET)) $@
|
|
126
|
-
cmd_cc = $(CC.$(TOOLSET)) -o $@ $< $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c
|
|
127
|
-
|
|
128
|
-
quiet_cmd_cxx = CXX($(TOOLSET)) $@
|
|
129
|
-
cmd_cxx = $(CXX.$(TOOLSET)) -o $@ $< $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c
|
|
130
|
-
|
|
131
|
-
quiet_cmd_objc = CXX($(TOOLSET)) $@
|
|
132
|
-
cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
133
|
-
|
|
134
|
-
quiet_cmd_objcxx = CXX($(TOOLSET)) $@
|
|
135
|
-
cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
136
|
-
|
|
137
|
-
# Commands for precompiled header files.
|
|
138
|
-
quiet_cmd_pch_c = CXX($(TOOLSET)) $@
|
|
139
|
-
cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
|
140
|
-
quiet_cmd_pch_cc = CXX($(TOOLSET)) $@
|
|
141
|
-
cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
|
142
|
-
quiet_cmd_pch_m = CXX($(TOOLSET)) $@
|
|
143
|
-
cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
144
|
-
quiet_cmd_pch_mm = CXX($(TOOLSET)) $@
|
|
145
|
-
cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
|
146
|
-
|
|
147
|
-
# gyp-mac-tool is written next to the root Makefile by gyp.
|
|
148
|
-
# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
|
|
149
|
-
# already.
|
|
150
|
-
quiet_cmd_mac_tool = MACTOOL $(4) $<
|
|
151
|
-
cmd_mac_tool = /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool $(4) $< "$@"
|
|
152
|
-
|
|
153
|
-
quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
|
|
154
|
-
cmd_mac_package_framework = /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool package-framework "$@" $(4)
|
|
155
|
-
|
|
156
|
-
quiet_cmd_infoplist = INFOPLIST $@
|
|
157
|
-
cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
|
|
158
|
-
|
|
159
|
-
quiet_cmd_touch = TOUCH $@
|
|
160
|
-
cmd_touch = touch $@
|
|
161
|
-
|
|
162
|
-
quiet_cmd_copy = COPY $@
|
|
163
|
-
# send stderr to /dev/null to ignore messages when linking directories.
|
|
164
|
-
cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
|
|
165
|
-
|
|
166
|
-
quiet_cmd_symlink = SYMLINK $@
|
|
167
|
-
cmd_symlink = ln -sf "$<" "$@"
|
|
168
|
-
|
|
169
|
-
quiet_cmd_alink = LIBTOOL-STATIC $@
|
|
170
|
-
cmd_alink = rm -f $@ && /opt/homebrew/opt/python@3.14/bin/python3.14 gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
|
171
|
-
|
|
172
|
-
quiet_cmd_link = LINK($(TOOLSET)) $@
|
|
173
|
-
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
|
174
|
-
|
|
175
|
-
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
|
|
176
|
-
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
|
177
|
-
|
|
178
|
-
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
|
|
179
|
-
cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
# Define an escape_quotes function to escape single quotes.
|
|
183
|
-
# This allows us to handle quotes properly as long as we always use
|
|
184
|
-
# use single quotes and escape_quotes.
|
|
185
|
-
escape_quotes = $(subst ','\'',$(1))
|
|
186
|
-
# This comment is here just to include a ' to unconfuse syntax highlighting.
|
|
187
|
-
# Define an escape_vars function to escape '$' variable syntax.
|
|
188
|
-
# This allows us to read/write command lines with shell variables (e.g.
|
|
189
|
-
# $LD_LIBRARY_PATH), without triggering make substitution.
|
|
190
|
-
escape_vars = $(subst $$,$$$$,$(1))
|
|
191
|
-
# Helper that expands to a shell command to echo a string exactly as it is in
|
|
192
|
-
# make. This uses printf instead of echo because printf's behaviour with respect
|
|
193
|
-
# to escape sequences is more portable than echo's across different shells
|
|
194
|
-
# (e.g., dash, bash).
|
|
195
|
-
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
|
|
196
|
-
|
|
197
|
-
# Helper to compare the command we're about to run against the command
|
|
198
|
-
# we logged the last time we ran the command. Produces an empty
|
|
199
|
-
# string (false) when the commands match.
|
|
200
|
-
# Tricky point: Make has no string-equality test function.
|
|
201
|
-
# The kernel uses the following, but it seems like it would have false
|
|
202
|
-
# positives, where one string reordered its arguments.
|
|
203
|
-
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
|
|
204
|
-
# $(filter-out $(cmd_$@), $(cmd_$(1))))
|
|
205
|
-
# We instead substitute each for the empty string into the other, and
|
|
206
|
-
# say they're equal if both substitutions produce the empty string.
|
|
207
|
-
# .d files contain ? instead of spaces, take that into account.
|
|
208
|
-
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
|
|
209
|
-
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
|
|
210
|
-
|
|
211
|
-
# Helper that is non-empty when a prerequisite changes.
|
|
212
|
-
# Normally make does this implicitly, but we force rules to always run
|
|
213
|
-
# so we can check their command lines.
|
|
214
|
-
# $? -- new prerequisites
|
|
215
|
-
# $| -- order-only dependencies
|
|
216
|
-
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
|
|
217
|
-
|
|
218
|
-
# Helper that executes all postbuilds until one fails.
|
|
219
|
-
define do_postbuilds
|
|
220
|
-
@E=0;\
|
|
221
|
-
for p in $(POSTBUILDS); do\
|
|
222
|
-
eval $$p;\
|
|
223
|
-
E=$$?;\
|
|
224
|
-
if [ $$E -ne 0 ]; then\
|
|
225
|
-
break;\
|
|
226
|
-
fi;\
|
|
227
|
-
done;\
|
|
228
|
-
if [ $$E -ne 0 ]; then\
|
|
229
|
-
rm -rf "$@";\
|
|
230
|
-
exit $$E;\
|
|
231
|
-
fi
|
|
232
|
-
endef
|
|
233
|
-
|
|
234
|
-
# do_cmd: run a command via the above cmd_foo names, if necessary.
|
|
235
|
-
# Should always run for a given target to handle command-line changes.
|
|
236
|
-
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
|
|
237
|
-
# Third argument, if non-zero, makes it do POSTBUILDS processing.
|
|
238
|
-
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
|
|
239
|
-
# spaces already and dirx strips the ? characters.
|
|
240
|
-
define do_cmd
|
|
241
|
-
$(if $(or $(command_changed),$(prereq_changed)),
|
|
242
|
-
@$(call exact_echo, $($(quiet)cmd_$(1)))
|
|
243
|
-
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
|
|
244
|
-
$(if $(findstring flock,$(word 2,$(cmd_$1))),
|
|
245
|
-
@$(cmd_$(1))
|
|
246
|
-
@echo " $(quiet_cmd_$(1)): Finished",
|
|
247
|
-
@$(cmd_$(1))
|
|
248
|
-
)
|
|
249
|
-
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
|
|
250
|
-
@$(if $(2),$(fixup_dep))
|
|
251
|
-
$(if $(and $(3), $(POSTBUILDS)),
|
|
252
|
-
$(call do_postbuilds)
|
|
253
|
-
)
|
|
254
|
-
)
|
|
255
|
-
endef
|
|
256
|
-
|
|
257
|
-
# Declare the "all" target first so it is the default,
|
|
258
|
-
# even though we don't have the deps yet.
|
|
259
|
-
.PHONY: all
|
|
260
|
-
all:
|
|
261
|
-
|
|
262
|
-
# make looks for ways to re-generate included makefiles, but in our case, we
|
|
263
|
-
# don't have a direct way. Explicitly telling make that it has nothing to do
|
|
264
|
-
# for them makes it go faster.
|
|
265
|
-
%.d: ;
|
|
266
|
-
|
|
267
|
-
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
|
|
268
|
-
# do_cmd.
|
|
269
|
-
.PHONY: FORCE_DO_CMD
|
|
270
|
-
FORCE_DO_CMD:
|
|
271
|
-
|
|
272
|
-
TOOLSET := target
|
|
273
|
-
# Suffix rules, putting all outputs into $(obj).
|
|
274
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
|
275
|
-
@$(call do_cmd,cc,1)
|
|
276
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
|
277
|
-
@$(call do_cmd,cxx,1)
|
|
278
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
|
|
279
|
-
@$(call do_cmd,cxx,1)
|
|
280
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
|
|
281
|
-
@$(call do_cmd,cxx,1)
|
|
282
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD
|
|
283
|
-
@$(call do_cmd,objc,1)
|
|
284
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD
|
|
285
|
-
@$(call do_cmd,objcxx,1)
|
|
286
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
|
|
287
|
-
@$(call do_cmd,cc,1)
|
|
288
|
-
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
|
|
289
|
-
@$(call do_cmd,cc,1)
|
|
290
|
-
|
|
291
|
-
# Try building from generated source, too.
|
|
292
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
|
293
|
-
@$(call do_cmd,cc,1)
|
|
294
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
|
295
|
-
@$(call do_cmd,cxx,1)
|
|
296
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
|
|
297
|
-
@$(call do_cmd,cxx,1)
|
|
298
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
|
|
299
|
-
@$(call do_cmd,cxx,1)
|
|
300
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD
|
|
301
|
-
@$(call do_cmd,objc,1)
|
|
302
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD
|
|
303
|
-
@$(call do_cmd,objcxx,1)
|
|
304
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
|
|
305
|
-
@$(call do_cmd,cc,1)
|
|
306
|
-
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
|
|
307
|
-
@$(call do_cmd,cc,1)
|
|
308
|
-
|
|
309
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
|
310
|
-
@$(call do_cmd,cc,1)
|
|
311
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
|
312
|
-
@$(call do_cmd,cxx,1)
|
|
313
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
|
314
|
-
@$(call do_cmd,cxx,1)
|
|
315
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
|
|
316
|
-
@$(call do_cmd,cxx,1)
|
|
317
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD
|
|
318
|
-
@$(call do_cmd,objc,1)
|
|
319
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD
|
|
320
|
-
@$(call do_cmd,objcxx,1)
|
|
321
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
|
|
322
|
-
@$(call do_cmd,cc,1)
|
|
323
|
-
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
|
|
324
|
-
@$(call do_cmd,cc,1)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
|
328
|
-
$(findstring $(join ^,$(prefix)),\
|
|
329
|
-
$(join ^,fs_ext.target.mk)))),)
|
|
330
|
-
include fs_ext.target.mk
|
|
331
|
-
endif
|
|
332
|
-
|
|
333
|
-
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
|
334
|
-
cmd_regen_makefile = cd $(srcdir); /opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/hendryyeh/Library/Caches/node-gyp/24.4.0" "-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/hendryyeh/Library/Caches/node-gyp/24.4.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/hendryyeh/Workspace/CodeVibe/codevibe-claude-plugin/node_modules/fs-ext" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/Users/hendryyeh/Workspace/CodeVibe/codevibe-claude-plugin/node_modules/fs-ext/build/config.gypi -I/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/hendryyeh/Library/Caches/node-gyp/24.4.0/include/node/common.gypi "--toplevel-dir=." binding.gyp
|
|
335
|
-
Makefile: $(srcdir)/../../../../../Library/Caches/node-gyp/24.4.0/include/node/common.gypi $(srcdir)/../../../../../../../opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp
|
|
336
|
-
$(call do_cmd,regen_makefile)
|
|
337
|
-
|
|
338
|
-
# "all" is a concatenation of the "all" targets from all the included
|
|
339
|
-
# sub-makefiles. This is just here to clarify.
|
|
340
|
-
all:
|
|
341
|
-
|
|
342
|
-
# Add in dependency-tracking rules. $(all_deps) is the list of every single
|
|
343
|
-
# target in our tree. Only consider the ones with .d (dependency) info:
|
|
344
|
-
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
|
|
345
|
-
ifneq ($(d_files),)
|
|
346
|
-
include $(d_files)
|
|
347
|
-
endif
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cmd_Release/fs_ext.node := c++ -bundle -undefined dynamic_lookup -Wl,-search_paths_first -mmacosx-version-min=13.5 -arch arm64 -L./Release -stdlib=libc++ -o Release/fs_ext.node Release/obj.target/fs_ext/fs-ext.o
|