diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-02 10:00:30 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-02 10:00:30 -0800 |
commit | 8465e5e65014ac080d62855f8abfd44acdf7beb2 (patch) | |
tree | 67b3d2cf638546d526c367bffed8ceb93c38a38a /Makefile | |
parent | 9aa7e559d634a3ecf087ee376f82704e2290f478 (diff) |
Gutted upb_msg a bit, re-adding only the essentials.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -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. |