]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/jansson/Makefile
small improvements in auth (#694)
[proxmark3-svn] / client / jansson / Makefile
CommitLineData
556826b5
OM
1
2include_HEADERS = jansson.h
3nodist_include_HEADERS = jansson_config.h
4
5LIB_A = libjansson.a
6libjansson_la_SOURCES = \
7 dump.c \
8 error.c \
9 hashtable.c \
10 hashtable.h \
11 hashtable_seed.c \
12 jansson_private.h \
13 load.c \
14 lookup3.h \
15 memory.c \
16 pack_unpack.c \
17 strbuffer.c \
18 strbuffer.h \
19 strconv.c \
20 utf.c \
21 utf.h \
22 value.c
23libjansson_la_LDFLAGS = \
24 -no-undefined \
25 -export-symbols-regex '^json_' \
26 -version-info 15:0:11
27
28
29CFILES = $(filter %.c, $(libjansson_la_SOURCES))
30CMDOBJS = $(CFILES:%.c=%.o)
31CLEAN = $(CMDOBJS)
32
33CC= gcc
34CFLAGS= -O2 -Wall -Wno-unused-variable -Wno-unused-function
35LDFLAGS= $(SYSLDFLAGS) $(libjansson_la_LDFLAGS)
36LIBS= -lm $(SYSLIBS) $(MYLIBS)
37DEFAULT_INCLUDES = -I.
38DEFS = -DHAVE_STDINT_H
39
40AR= ar rcs
41RANLIB= ranlib
42RM= rm -f
43TST= echo
44
45SYSLDFLAGS=
46SYSLIBS=
47
48MYLIBS=
49MYOBJS=
50
51all: $(CMDOBJS)
52 $(AR) $(LIB_A) $(CMDOBJS)
53 $(RANLIB) $(LIB_A)
54
55clean:
56 $(RM) $(CLEAN)
57 $(RM) $(LIB_A)
58
59%.o: %.c
60 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(CFLAGS) -c -o $@ $< $(LIBS)
61
62.PHONY: all clean
63
Impressum, Datenschutz