diff options
Diffstat (limited to 'com32/lib/MCONFIG')
-rw-r--r-- | com32/lib/MCONFIG | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/com32/lib/MCONFIG b/com32/lib/MCONFIG index 50150975..e740ed5e 100644 --- a/com32/lib/MCONFIG +++ b/com32/lib/MCONFIG @@ -1,3 +1,6 @@ +# -*- makefile -*- +# $Id$ + CC = gcc LD = ld INCLUDE = -I. @@ -8,13 +11,18 @@ PERL = perl STRIP = strip --strip-all -R .comment -R .note OBJCOPY = objcopy +# zlib and libpng configuration flags +LIBFLAGS = -DDYNAMIC_CRC_TABLE -DPNG_NO_CONSOLE_IO \ + -DPNG_NO_MNG_FEATURES -DPNG_NO_FLOATING_POINT_SUPPORTED \ + -DPNG_NO_WRITE_FLUSH -DPNG_NO_WRITE_tIME -DPNG_NO_READ_tIME + REQFLAGS = -g -m32 -mregparm=3 -DREGPARM=3 -D__COM32__ -I. -I./sys -I../include OPTFLAGS = -Os -march=i386 -falign-functions=0 -falign-jumps=0 \ - -falign-labels=0 -DDYNAMIC_CRC_TABLE + -falign-labels=0 WARNFLAGS = -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline CFLAGS = -Wp,-MT,$@,-MD,$(dir $@).$(notdir $@).d $(OPTFLAGS) \ - $(REQFLAGS) $(WARNFLAGS) + $(REQFLAGS) $(WARNFLAGS) $(LIBFLAGS) LDFLAGS = -m elf32_i386 .SUFFIXES: .c .o .a .so .lo .i .S .s .ls .ss .lss |