make libjson from /sys/src/cmd/btc/json.c
This commit is contained in:
parent
632b7adffb
commit
2dc7e311f4
|
@ -1,3 +1,6 @@
|
|||
#pragma src "/sys/src/libjson"
|
||||
#pragma lib "libjson.a"
|
||||
|
||||
typedef struct JSONEl JSONEl;
|
||||
typedef struct JSON JSON;
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
#include <thread.h>
|
||||
#include <9p.h>
|
||||
#include <String.h>
|
||||
#include <json.h>
|
||||
#include "dat.h"
|
||||
#include "json.h"
|
||||
|
||||
void gofs(void);
|
||||
|
||||
|
|
|
@ -4,9 +4,6 @@ TARG=httpfs sign genkey
|
|||
|
||||
BIN=/$objtype/bin/btc
|
||||
|
||||
OFILES=\
|
||||
json.$O\
|
||||
|
||||
HFILES=\
|
||||
dat.h\
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <ctype.h>
|
||||
#include "json.h"
|
||||
#include <json.h>
|
||||
|
||||
typedef struct Lex Lex;
|
||||
|
10
sys/src/libjson/mkfile
Normal file
10
sys/src/libjson/mkfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
</$objtype/mkfile
|
||||
|
||||
LIB=/$objtype/lib/libjson.a
|
||||
OFILES=\
|
||||
json.$O
|
||||
|
||||
HFILES=\
|
||||
/sys/include/json.h
|
||||
|
||||
</sys/src/cmd/mksyslib
|
|
@ -22,6 +22,7 @@ LIBS=\
|
|||
libhttpd\
|
||||
libip\
|
||||
liblex\
|
||||
libjson\
|
||||
libmach\
|
||||
libmemdraw\
|
||||
libmemlayer\
|
||||
|
|
Loading…
Reference in a new issue