summaryrefslogtreecommitdiff
path: root/im/src/config.mak
diff options
context:
space:
mode:
Diffstat (limited to 'im/src/config.mak')
-rwxr-xr-xim/src/config.mak89
1 files changed, 0 insertions, 89 deletions
diff --git a/im/src/config.mak b/im/src/config.mak
deleted file mode 100755
index f0b7966..0000000
--- a/im/src/config.mak
+++ /dev/null
@@ -1,89 +0,0 @@
-PROJNAME = im
-LIBNAME = im
-OPT = YES
-
-INCLUDES = . ../include
-
-# WORDS_BIGENDIAN used by libTIFF
-ifeq ($(TEC_SYSARCH), ppc)
- DEFINES = WORDS_BIGENDIAN
-endif
-ifeq ($(TEC_SYSARCH), mips)
- DEFINES = WORDS_BIGENDIAN
-endif
-ifeq ($(TEC_SYSARCH), sparc)
- DEFINES = WORDS_BIGENDIAN
-endif
-
-SRC = \
- old_imcolor.c old_imresize.c im_converttype.cpp \
- im_attrib.cpp im_format.cpp im_format_tga.cpp im_filebuffer.cpp \
- im_bin.cpp im_format_all.cpp im_format_raw.cpp \
- im_binfile.cpp im_format_sgi.cpp im_datatype.cpp im_format_pcx.cpp \
- im_colorhsi.cpp im_format_bmp.cpp im_image.cpp im_rgb2map.cpp \
- im_colormode.cpp im_format_gif.cpp im_lib.cpp im_format_pnm.cpp \
- im_colorutil.cpp im_format_ico.cpp im_palette.cpp \
- im_convertbitmap.cpp im_format_led.cpp im_counter.cpp im_str.cpp \
- im_convertcolor.cpp im_fileraw.cpp im_format_krn.cpp \
- im_file.cpp im_format_ras.cpp old_im.cpp \
- $(SRCJPEG) $(SRCTIFF) $(SRCPNG) $(SRCZLIB) $(SRCLZF)
-
-
-ifneq ($(findstring Win, $(TEC_SYSNAME)), )
- SRC += im_sysfile_win32.cpp im_dib.cpp im_dibxbitmap.cpp
-
- ifneq ($(findstring dll, $(TEC_UNAME)), )
- SRC += im.rc
- endif
-
- ifeq ($(findstring _64, $(TEC_UNAME)), )
- # optimize PNG lib for VC
- ifneq ($(findstring vc, $(TEC_UNAME)), )
- SRC += libpng/pngvcrd.c
- DEFINES += PNG_USE_PNGVCRD
- endif
- ifneq ($(findstring dll, $(TEC_UNAME)), )
- SRC += libpng/pngvcrd.c
- DEFINES += PNG_USE_PNGVCRD
- endif
- endif
-
- # force the definition of math functions using float
- # Watcom does not define them
- ifneq ($(findstring ow, $(TEC_UNAME)), )
- DEFINES += IM_DEFMATHFLOAT
- endif
-
- ifneq ($(findstring bc, $(TEC_UNAME)), )
- DEFINES += IM_DEFMATHFLOAT
- else
- USE_EXIF = Yes
- endif
-else
- SRC += im_sysfile_unix.cpp
-endif
-
-ifdef USE_EXIF
- SRC += $(SRCEXIF)
- DEFINES += USE_EXIF
-endif
-
-ifneq ($(findstring Linux, $(TEC_UNAME)), )
- # optimize PNG lib for Linux in x86
- ifeq "$(TEC_SYSARCH)" "x86"
- SRC += libpng/pnggccrd.c
- DEFINES += PNG_USE_PNGGCCRD
- endif
-endif
-
-ifneq ($(findstring AIX, $(TEC_UNAME)), )
- DEFINES += IM_DEFMATHFLOAT
-endif
-
-ifneq ($(findstring SunOS, $(TEC_UNAME)), )
- DEFINES += IM_DEFMATHFLOAT
-endif
-
-ifneq ($(findstring HP-UX, $(TEC_UNAME)), )
- DEFINES += IM_DEFMATHFLOAT
-endif