summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/3rdparty/libmng/makefiles/makefile.unix
blob: d09261f09d5a6a7cb93b9b86f4cd463c5cccfb01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# 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_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