]> git.zerfleddert.de Git - proxmark3-svn/blob - client/jansson/Makefile
fix 'hf 15 csetuid' (#890)
[proxmark3-svn] / client / jansson / Makefile
1
2 include_HEADERS = jansson.h
3 nodist_include_HEADERS = jansson_config.h
4
5 LIB_A = libjansson.a
6 libjansson_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 path.c \
23 value.c
24 libjansson_la_LDFLAGS = \
25 -no-undefined \
26 -export-symbols-regex '^json_' \
27 -version-info 15:0:11
28
29
30 CFILES = $(filter %.c, $(libjansson_la_SOURCES))
31 CMDOBJS = $(CFILES:%.c=%.o)
32 CLEAN = $(CMDOBJS)
33
34 CC= gcc
35 CFLAGS= -O2 -Wall -Wno-unused-variable -Wno-unused-function
36 LDFLAGS= $(SYSLDFLAGS) $(libjansson_la_LDFLAGS)
37 LIBS= -lm $(SYSLIBS) $(MYLIBS)
38 DEFAULT_INCLUDES = -I.
39 DEFS = -DHAVE_STDINT_H
40
41 AR= ar rcs
42 RANLIB= ranlib
43 RM= rm -f
44 TST= echo
45
46 SYSLDFLAGS=
47 SYSLIBS=
48
49 MYLIBS=
50 MYOBJS=
51
52 all: $(CMDOBJS)
53 $(AR) $(LIB_A) $(CMDOBJS)
54 $(RANLIB) $(LIB_A)
55
56 clean:
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