diff --git a/src/Makefile.bld b/src/Makefile.bld index 0288e3fc..564bbcc3 100644 --- a/src/Makefile.bld +++ b/src/Makefile.bld @@ -158,32 +158,6 @@ CHMOD_EXE = chmod 755 $@ endif # linux -### -### linux/i386 - Intel C++ 7.x -### - -ifeq ($(target),linux-intelc) -DEPMODE := intelc_linux -CC = icc -CXX = icpc -CCARCH += -march=i386 -mcpu=i686 -CFLAGS_OUTPUT = -o $@ -LINK_EXE_OUTPUT = -o $@ -ifeq ($(WITH_ZLIB),1) -LDLIBS += -lz -endif - -CFLAGS = $(CFLAGS_WERROR) -ifeq ($(DEBUG),1) -CFLAGS += -g -O0 -else -CFLAGS += -O2 -endif -LDFLAGS += -Wl,-Map,$T.map - -endif - - ### ### linux/i386 - Borland C++ 5.7 (Kylix 3) ### @@ -209,6 +183,46 @@ LDLIBS := $(shell echo "$(LDLIBS)" | perl -pe 's/-l(.+?)\b/lib\1.a/g') endif +### +### linux/i386 - Intel C++ +### + +ifeq ($(target),linux-intelc) +DEPMODE := intelc_linux +CC = icc +CXX = icpc +CCARCH += -march=i386 -mcpu=i686 -nolib_inline +CFLAGS_OUTPUT = -o $@ +LINK_EXE_OUTPUT = -o $@ +ifeq ($(WITH_ZLIB),1) +LDLIBS += -lz +endif + +CFLAGS = $(CFLAGS_WERROR) +ifeq ($(DEBUG),1) +CFLAGS += -g -O0 +else +CFLAGS += -O2 +endif +LDFLAGS += -Wl,-Map,$T.map + +endif + + +### +### linux/i386 - Portland Group PGI C++ 5.1 +### + +ifeq ($(target),linux-pgi) +CC = pgcc +CXX = pgCC +ifeq ($(DEBUG),1) +else +CFLAGS += -O2 +endif +endif + + ### ### Linux cross compilers ### @@ -681,6 +695,8 @@ endif # // main targets # ************************************************************************/ +-include ./Makefile.local + all: $(upx_exe) $(upx_exe): $(OBJECTS) $(LIBS) $(RESOURCES)