summaryrefslogtreecommitdiffstats
path: root/src/util/support/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-08-09 18:05:50 -0400
committerGreg Hudson <ghudson@mit.edu>2012-09-11 01:14:31 -0400
commit382a87cf344b002bf5660ed3f27799ed18c54948 (patch)
tree55eb5a5e5c574775f6e55716cb735f50f3cc0c65 /src/util/support/Makefile.in
parent3b55b8aba850fa54a4d0c5017a91641538c16835 (diff)
downloadkrb5-382a87cf344b002bf5660ed3f27799ed18c54948.tar.gz
krb5-382a87cf344b002bf5660ed3f27799ed18c54948.tar.xz
krb5-382a87cf344b002bf5660ed3f27799ed18c54948.zip
Add internal JSON encoding and decoding support
Add JSON support based loosely on Heimdal's heimbase code.
Diffstat (limited to 'src/util/support/Makefile.in')
-rw-r--r--src/util/support/Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/util/support/Makefile.in b/src/util/support/Makefile.in
index ca04ad713..690a2c373 100644
--- a/src/util/support/Makefile.in
+++ b/src/util/support/Makefile.in
@@ -75,6 +75,7 @@ STLIBOBJS= \
zap.o \
path.o \
base64.o \
+ json.o \
$(GETTIMEOFDAY_ST_OBJ) \
$(IPC_ST_OBJ) \
$(STRLCPY_ST_OBJ) \
@@ -95,6 +96,7 @@ LIBOBJS= \
$(OUTPRE)zap.$(OBJEXT) \
$(OUTPRE)path.$(OBJEXT) \
$(OUTPRE)base64.$(OBJECT) \
+ $(OUTPRE)json.$(OBJEXT) \
$(GETTIMEOFDAY_OBJ) \
$(IPC_OBJ) \
$(STRLCPY_OBJ) \
@@ -124,9 +126,12 @@ SRCS=\
$(srcdir)/mkstemp.c \
$(srcdir)/t_k5buf.c \
$(srcdir)/t_unal.c \
+ $(srcdir)/t_path.c \
+ $(srcdir)/t_json.c \
$(srcdir)/zap.c \
$(srcdir)/path.c \
- $(srcdir)/base64.c
+ $(srcdir)/base64.c \
+ $(srcdir)/json.c
SHLIB_EXPDEPS =
# Add -lm if dumping thread stats, for sqrt.
@@ -192,16 +197,22 @@ path_win.o: $(srcdir)/path.c
t_base64: t_base64.o base64.o
$(CC_LINK) -o $@ t_base64.o base64.o
+T_JSON_OBJS= t_json.o json.o base64.o k5buf.o $(PRINTF_ST_OBJ)
+
+t_json: $(T_JSON_OBJS)
+ $(CC_LINK) -o $@ $(T_JSON_OBJS)
+
t_unal: t_unal.o
$(CC_LINK) -o t_unal t_unal.o
-TEST_PROGS= t_k5buf t_path t_path_win t_base64 t_unal
+TEST_PROGS= t_k5buf t_path t_path_win t_base64 t_json t_unal
check-unix:: $(TEST_PROGS)
./t_k5buf
./t_path
./t_path_win
./t_base64
+ ./t_json
./t_unal
clean::