summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-02 10:00:30 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-02 10:00:30 -0800
commit8465e5e65014ac080d62855f8abfd44acdf7beb2 (patch)
tree67b3d2cf638546d526c367bffed8ceb93c38a38a /Makefile
parent9aa7e559d634a3ecf087ee376f82704e2290f478 (diff)
Gutted upb_msg a bit, re-adding only the essentials.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 26e036e..bea6980 100644
--- a/Makefile
+++ b/Makefile
@@ -56,17 +56,24 @@ clean:
deps: gen-deps.sh Makefile $(call rwildcard,,*.c) $(call rwildcard,,*.h)
@./gen-deps.sh $(SRC)
-# The core library (core/libupb.a)
-SRC=core/upb.c \
+# The core library -- the absolute minimum you must compile in to successfully
+# bootstrap.
+CORE= \
+ core/upb.c \
core/upb_table.c \
core/upb_string.c \
- descriptor/descriptor.c \
core/upb_def.c \
+ descriptor/descriptor.c
+
+# Common encoders/decoders and upb_msg -- you're almost certain to want these.
+STREAM= \
stream/upb_decoder.c \
stream/upb_stdio.c \
stream/upb_textprinter.c \
stream/upb_strstream.c \
-# core/upb_msg.c \
+ core/upb_msg.c \
+
+SRC=$(CORE) $(STREAM)
$(SRC): perf-cppflags
# Parts of core that are yet to be converted.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback