]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/demangle/lib/src/Makefile
update
[l4.git] / l4 / pkg / demangle / lib / src / Makefile
1 PKGDIR          ?= ../..
2 L4DIR           ?= $(PKGDIR)/../..
3
4 TARGET          = libdemangle.a
5 SYSTEMS         = x86 arm amd64 ppc32
6 BUILD_PIC       = libdemangle.a
7
8 SRC_C           = cplus-dem.c cp-demangle.c safe-ctype.c \
9                   xmalloc.c xstrdup.c xexit.c memcmp.c
10 DEFINES         = -DHAVE_STDLIB_H -DHAVE_STRING_H \
11                   -Dmalloc=demangle_malloc \
12                   -Drealloc=demangle_realloc \
13                   -Dcalloc=demangle_calloc \
14                   -Dfree=demangle_free
15
16 include $(L4DIR)/mk/lib.mk
17
18 CFLAGS          += -fomit-frame-pointer -Os