summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/makefiles/makefile.unix
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /src/3rdparty/libmng/makefiles/makefile.unix
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'src/3rdparty/libmng/makefiles/makefile.unix')
-rw-r--r--src/3rdparty/libmng/makefiles/makefile.unix67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/3rdparty/libmng/makefiles/makefile.unix b/src/3rdparty/libmng/makefiles/makefile.unix
new file mode 100644
index 0000000000..4d3fd97f4e
--- /dev/null
+++ b/src/3rdparty/libmng/makefiles/makefile.unix
@@ -0,0 +1,67 @@
+#
+# For conditions of distribution and use, see copyright notice in libmng.h
+#
+# makefile for libmng - THE MNG library
+# this makefile is suitable for generic unix
+
+# Configuration options are now in libmng_conf.h
+
+# The name of your C compiler:
+CC= cc
+
+# Location of jpeg header files
+JPEG_INC= /cs/include/jpeg
+
+# Location of zlib header files
+ZLIB_INC= /cs/include
+
+# Location of lcms header files
+# (switch on MNG_FULL_CMS in libmng_conf.h if you want to use this)
+LCMS_INC= /ltmp/lcms-1.06/source
+
+# compiler options:
+CFLAGS= -O -I. -I$(ZLIB_INC) -I$(JPEG_INC) -I$(LCMS_INC)
+
+# source files
+SOURCES= \
+ libmng_callback_xs.c \
+ libmng_chunk_io.c \
+ libmng_chunk_descr.c \
+ libmng_chunk_prc.c \
+ libmng_chunk_xs.c \
+ libmng_cms.c \
+ libmng_display.c \
+ libmng_dither.c \
+ libmng_error.c \
+ libmng_filter.c \
+ libmng_hlapi.c \
+ libmng_jpeg.c \
+ libmng_object_prc.c \
+ libmng_pixels.c \
+ libmng_prop_xs.c \
+ libmng_read.c \
+ libmng_trace.c \
+ libmng_write.c \
+ libmng_zlib.c
+
+# object files
+OBJECTS= $(SOURCES:%.c=%.o)
+
+# type dependancies
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+
+all: libmng.a
+
+clean:
+ /bin/rm -f $(OBJECTS)
+ /bin/rm -f libmng.a
+ /bin/rm -f *~ core
+
+libmng.a: $(OBJECTS)
+ ar r libmng.a $(OBJECTS)
+
+depend:
+ makedepend -- $(CFLAGS) $(IFLAGS) -- *.c
+
+# DO NOT DELETE