@topgunbuild/native 0.2.1

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.
@@ -0,0 +1,198 @@
1
+ # This file is generated by gyp; do not edit.
2
+
3
+ TOOLSET := target
4
+ TARGET := topgun_hash
5
+ DEFS_Debug := \
6
+ '-DNODE_GYP_MODULE_NAME=topgun_hash' \
7
+ '-DUSING_UV_SHARED=1' \
8
+ '-DUSING_V8_SHARED=1' \
9
+ '-DV8_DEPRECATION_WARNINGS=1' \
10
+ '-D_GLIBCXX_USE_CXX11_ABI=1' \
11
+ '-D_FILE_OFFSET_BITS=64' \
12
+ '-D_DARWIN_USE_64_BIT_INODE=1' \
13
+ '-D_LARGEFILE_SOURCE' \
14
+ '-DOPENSSL_NO_PINSHARED' \
15
+ '-DOPENSSL_THREADS' \
16
+ '-DNAPI_VERSION=8' \
17
+ '-DNAPI_DISABLE_CPP_EXCEPTIONS' \
18
+ '-DBUILDING_NODE_EXTENSION' \
19
+ '-DDEBUG' \
20
+ '-D_DEBUG'
21
+
22
+ # Flags passed to all source files.
23
+ CFLAGS_Debug := \
24
+ -O0 \
25
+ -gdwarf-2 \
26
+ -fno-strict-aliasing \
27
+ -mmacosx-version-min=10.15 \
28
+ -arch \
29
+ arm64 \
30
+ -Wall \
31
+ -Wendif-labels \
32
+ -W \
33
+ -Wno-unused-parameter
34
+
35
+ # Flags passed to only C files.
36
+ CFLAGS_C_Debug := \
37
+ -O3
38
+
39
+ # Flags passed to only C++ files.
40
+ CFLAGS_CC_Debug := \
41
+ -std=c++17 \
42
+ -stdlib=libc++ \
43
+ -fno-rtti \
44
+ -fvisibility=hidden
45
+
46
+ # Flags passed to only ObjC files.
47
+ CFLAGS_OBJC_Debug :=
48
+
49
+ # Flags passed to only ObjC++ files.
50
+ CFLAGS_OBJCC_Debug :=
51
+
52
+ INCS_Debug := \
53
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/include/node \
54
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/src \
55
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/openssl/config \
56
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/openssl/openssl/include \
57
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/uv/include \
58
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/zlib \
59
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/v8/include \
60
+ -I/Users/koristuvac/Projects/topgun/topgun/node_modules/.pnpm/node-addon-api@8.5.0/node_modules/node-addon-api \
61
+ -I$(srcdir)/deps/xxhash
62
+
63
+ DEFS_Release := \
64
+ '-DNODE_GYP_MODULE_NAME=topgun_hash' \
65
+ '-DUSING_UV_SHARED=1' \
66
+ '-DUSING_V8_SHARED=1' \
67
+ '-DV8_DEPRECATION_WARNINGS=1' \
68
+ '-D_GLIBCXX_USE_CXX11_ABI=1' \
69
+ '-D_FILE_OFFSET_BITS=64' \
70
+ '-D_DARWIN_USE_64_BIT_INODE=1' \
71
+ '-D_LARGEFILE_SOURCE' \
72
+ '-DOPENSSL_NO_PINSHARED' \
73
+ '-DOPENSSL_THREADS' \
74
+ '-DNAPI_VERSION=8' \
75
+ '-DNAPI_DISABLE_CPP_EXCEPTIONS' \
76
+ '-DBUILDING_NODE_EXTENSION'
77
+
78
+ # Flags passed to all source files.
79
+ CFLAGS_Release := \
80
+ -O3 \
81
+ -gdwarf-2 \
82
+ -fno-strict-aliasing \
83
+ -mmacosx-version-min=10.15 \
84
+ -arch \
85
+ arm64 \
86
+ -Wall \
87
+ -Wendif-labels \
88
+ -W \
89
+ -Wno-unused-parameter
90
+
91
+ # Flags passed to only C files.
92
+ CFLAGS_C_Release := \
93
+ -O3
94
+
95
+ # Flags passed to only C++ files.
96
+ CFLAGS_CC_Release := \
97
+ -std=c++17 \
98
+ -stdlib=libc++ \
99
+ -fno-rtti \
100
+ -fvisibility=hidden
101
+
102
+ # Flags passed to only ObjC files.
103
+ CFLAGS_OBJC_Release :=
104
+
105
+ # Flags passed to only ObjC++ files.
106
+ CFLAGS_OBJCC_Release :=
107
+
108
+ INCS_Release := \
109
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/include/node \
110
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/src \
111
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/openssl/config \
112
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/openssl/openssl/include \
113
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/uv/include \
114
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/zlib \
115
+ -I/Users/koristuvac/Library/Caches/node-gyp/22.17.1/deps/v8/include \
116
+ -I/Users/koristuvac/Projects/topgun/topgun/node_modules/.pnpm/node-addon-api@8.5.0/node_modules/node-addon-api \
117
+ -I$(srcdir)/deps/xxhash
118
+
119
+ OBJS := \
120
+ $(obj).target/$(TARGET)/src/hash.o
121
+
122
+ # Add to the list of files we specially track dependencies for.
123
+ all_deps += $(OBJS)
124
+
125
+ # Make sure our dependencies are built before any of us.
126
+ $(OBJS): | $(builddir)/nothing.a
127
+
128
+ # CFLAGS et al overrides must be target-local.
129
+ # See "Target-specific Variable Values" in the GNU Make manual.
130
+ $(OBJS): TOOLSET := $(TOOLSET)
131
+ $(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
132
+ $(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
133
+ $(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
134
+ $(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
135
+
136
+ # Suffix rules, putting all outputs into $(obj).
137
+
138
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
139
+ @$(call do_cmd,cxx,1)
140
+
141
+ # Try building from generated source, too.
142
+
143
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
144
+ @$(call do_cmd,cxx,1)
145
+
146
+ $(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
147
+ @$(call do_cmd,cxx,1)
148
+
149
+ # End of this set of suffix rules
150
+ ### Rules for final target.
151
+ LDFLAGS_Debug := \
152
+ -undefined dynamic_lookup \
153
+ -Wl,-search_paths_first \
154
+ -mmacosx-version-min=10.15 \
155
+ -arch \
156
+ arm64 \
157
+ -L$(builddir) \
158
+ -stdlib=libc++
159
+
160
+ LIBTOOLFLAGS_Debug := \
161
+ -undefined dynamic_lookup \
162
+ -Wl,-search_paths_first
163
+
164
+ LDFLAGS_Release := \
165
+ -undefined dynamic_lookup \
166
+ -Wl,-search_paths_first \
167
+ -mmacosx-version-min=10.15 \
168
+ -arch \
169
+ arm64 \
170
+ -L$(builddir) \
171
+ -stdlib=libc++
172
+
173
+ LIBTOOLFLAGS_Release := \
174
+ -undefined dynamic_lookup \
175
+ -Wl,-search_paths_first
176
+
177
+ LIBS :=
178
+
179
+ $(builddir)/topgun_hash.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
180
+ $(builddir)/topgun_hash.node: LIBS := $(LIBS)
181
+ $(builddir)/topgun_hash.node: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
182
+ $(builddir)/topgun_hash.node: TOOLSET := $(TOOLSET)
183
+ $(builddir)/topgun_hash.node: $(OBJS) $(builddir)/nothing.a FORCE_DO_CMD
184
+ $(call do_cmd,solink_module)
185
+
186
+ all_deps += $(builddir)/topgun_hash.node
187
+ # Add target alias
188
+ .PHONY: topgun_hash
189
+ topgun_hash: $(builddir)/topgun_hash.node
190
+
191
+ # Short alias for building this executable.
192
+ .PHONY: topgun_hash.node
193
+ topgun_hash.node: $(builddir)/topgun_hash.node
194
+
195
+ # Add executable to "all" target.
196
+ .PHONY: all
197
+ all: $(builddir)/topgun_hash.node
198
+
@@ -0,0 +1,26 @@
1
+ xxHash Library
2
+ Copyright (c) 2012-2023 Yann Collet
3
+ All rights reserved.
4
+
5
+ BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice, this
14
+ list of conditions and the following disclaimer in the documentation and/or
15
+ other materials provided with the distribution.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
21
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
24
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.