Updated.
committer: mfx <mfx> 1071754494 +0000
This commit is contained in:
+42
-26
@@ -158,32 +158,6 @@ CHMOD_EXE = chmod 755 $@
|
|||||||
endif # linux
|
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)
|
### 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
|
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
|
### Linux cross compilers
|
||||||
###
|
###
|
||||||
@@ -681,6 +695,8 @@ endif
|
|||||||
# // main targets
|
# // main targets
|
||||||
# ************************************************************************/
|
# ************************************************************************/
|
||||||
|
|
||||||
|
-include ./Makefile.local
|
||||||
|
|
||||||
all: $(upx_exe)
|
all: $(upx_exe)
|
||||||
|
|
||||||
$(upx_exe): $(OBJECTS) $(LIBS) $(RESOURCES)
|
$(upx_exe): $(OBJECTS) $(LIBS) $(RESOURCES)
|
||||||
|
|||||||
Reference in New Issue
Block a user