2 L4DIR ?= $(PKGDIR)/../..
4 TARGET = libdemangle.a libdemangle.p.a
5 SYSTEMS = x86 arm amd64 ppc32
7 SRC_C = cplus-dem.c cp-demangle.c safe-ctype.c \
8 xmalloc.c xstrdup.c xexit.c memcmp.c
9 DEFINES = -DHAVE_STDLIB_H -DHAVE_STRING_H \
10 -Dmalloc=demangle_malloc \
11 -Drealloc=demangle_realloc \
12 -Dcalloc=demangle_calloc \
15 include $(L4DIR)/mk/lib.mk
17 CFLAGS += -fomit-frame-pointer -Os