-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makevars
68 lines (63 loc) · 3.1 KB
/
Makevars
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
CXX_STD = CXX11
PKG_LIBS = -pthread
PKG_CPPFLAGS = -D HAVE_PTHREAD=1 -pthread -D_USE_INTERNAL_STRING_VIEW -DSTRICT_R_HEADERS -I. -I./sentencepiece -I./sentencepiece/src -I./sentencepiece/src/builtin_pb -I./third_party/absl -I./third_party/darts_clone -I./third_party/esaxx -I./third_party/protobuf-lite
SOURCES = third_party/protobuf-lite/arena.cc \
third_party/protobuf-lite/arenastring.cc \
third_party/protobuf-lite/bytestream.cc \
third_party/protobuf-lite/coded_stream.cc \
third_party/protobuf-lite/common.cc \
third_party/protobuf-lite/extension_set.cc \
third_party/protobuf-lite/generated_enum_util.cc \
third_party/protobuf-lite/generated_message_table_driven_lite.cc \
third_party/protobuf-lite/generated_message_util.cc \
third_party/protobuf-lite/implicit_weak_message.cc \
third_party/protobuf-lite/int128.cc \
third_party/protobuf-lite/io_win32.cc \
third_party/protobuf-lite/message_lite.cc \
third_party/protobuf-lite/parse_context.cc \
third_party/protobuf-lite/repeated_field.cc \
third_party/protobuf-lite/status.cc \
third_party/protobuf-lite/statusor.cc \
third_party/protobuf-lite/stringpiece.cc \
third_party/protobuf-lite/stringprintf.cc \
third_party/protobuf-lite/structurally_valid.cc \
third_party/protobuf-lite/strutil.cc \
third_party/protobuf-lite/time.cc \
third_party/protobuf-lite/wire_format_lite.cc \
third_party/protobuf-lite/zero_copy_stream.cc \
third_party/protobuf-lite/zero_copy_stream_impl.cc \
third_party/protobuf-lite/zero_copy_stream_impl_lite.cc \
third_party/absl/strings/string_view.cc \
third_party/absl/flags/flag.cc \
sentencepiece/src/builtin_pb/sentencepiece.pb.cc \
sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc \
sentencepiece/src/bpe_model.cc \
sentencepiece/src/bpe_model_trainer.cc \
sentencepiece/src/builder.cc \
sentencepiece/src/char_model.cc \
sentencepiece/src/char_model_trainer.cc \
sentencepiece/src/error.cc \
sentencepiece/src/filesystem.cc \
sentencepiece/src/model_factory.cc \
sentencepiece/src/model_interface.cc \
sentencepiece/src/normalizer.cc \
sentencepiece/src/pretokenizer_for_training.cc \
sentencepiece/src/sentencepiece_processor.cc \
sentencepiece/src/sentencepiece_trainer.cc \
sentencepiece/src/trainer_factory.cc \
sentencepiece/src/trainer_interface.cc \
sentencepiece/src/unicode_script.cc \
sentencepiece/src/unigram_model.cc \
sentencepiece/src/unigram_model_trainer.cc \
sentencepiece/src/util.cc \
sentencepiece/src/word_model.cc \
sentencepiece/src/word_model_trainer.cc \
rcpp_sentencepiece.cpp \
rcpp_wordpiece.cpp \
RcppExports.cpp
OBJ = $(SOURCES:.cc=.o)
OBJECTS = $(OBJ:.cpp=.o)
.PHONY: all
all: $(SHLIB); rm -f $(OBJECTS)
#all: $(SHLIB); rm -f rcpp_wordpiece.o; rm -f rcpp_sentencepiece.o; rm -f RcppExports.o
#all: $(SHLIB); rm -f third_party/protobuf-lite/repeated_field.o;