2 L4DIR ?= $(PKGDIR)/../..
5 SYSTEMS = x86 arm amd64 ppc32
6 BUILD_PIC = libdemangle.a
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 \
16 include $(L4DIR)/mk/lib.mk
18 CFLAGS += -fomit-frame-pointer -Os