1#--- $Id: make.sunos.x86.gnu.dbg,v 1.7 2014/01/12 11:07:04 bzfkocht Exp $ 2CPPFLAGS += -DFREEMEM -D__NO_MATH_INLINES 3CFLAGS = -O0 -g -fident $(GCCWARN) 4LDFLAGS = -lgmp -lm 5 6ifeq ($(ZLIB),true) 7LDFLAGS += -lz 8endif 9 10ifeq ($(LINK),shared) 11#LIBRARY = $(LIBDIR)/lib$(LIBNAME).so 12#LIBLINK = $(LIBDIR)/lib$(NAME).$(BASE).so 13CFLAGS += -fPIC 14#AR = gcc -shared -o # the trailing space is important 15#ARFLAGS = $(LDFLAGS) 16#RANLIB = true 17endif 18 19#ifeq ($(LINK),static) 20LDFLAGS += -Bstatic 21#endif 22