]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/jansson/Makefile
reenable intermediate "Waiting for a response from the proxmark..." message
[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 \
95b697f0 22 path.c \
556826b5
OM
23 value.c
24libjansson_la_LDFLAGS = \
25 -no-undefined \
26 -export-symbols-regex '^json_' \
27 -version-info 15:0:11
28
29
30CFILES = $(filter %.c, $(libjansson_la_SOURCES))
31CMDOBJS = $(CFILES:%.c=%.o)
32CLEAN = $(CMDOBJS)
33
34CC= gcc
35CFLAGS= -O2 -Wall -Wno-unused-variable -Wno-unused-function
36LDFLAGS= $(SYSLDFLAGS) $(libjansson_la_LDFLAGS)
37LIBS= -lm $(SYSLIBS) $(MYLIBS)
38DEFAULT_INCLUDES = -I.
39DEFS = -DHAVE_STDINT_H
40
41AR= ar rcs
42RANLIB= ranlib
43RM= rm -f
44TST= echo
45
46SYSLDFLAGS=
47SYSLIBS=
48
49MYLIBS=
50MYOBJS=
51
52all: $(CMDOBJS)
53 $(AR) $(LIB_A) $(CMDOBJS)
54 $(RANLIB) $(LIB_A)
55
56clean:
57 $(RM) $(CLEAN)
58 $(RM) $(LIB_A)
59
60%.o: %.c
61 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(CFLAGS) -c -o $@ $< $(LIBS)
62
63.PHONY: all clean
64
Impressum, Datenschutz