|
Last change
on this file since 1035 was 2, checked in by Dmitry A. Kuminov, 17 years ago |
|
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | #
|
|---|
| 2 | # For conditions of distribution and use, see copyright notice in libmng.h
|
|---|
| 3 | #
|
|---|
| 4 | # makefile for libmng - THE MNG library
|
|---|
| 5 | # this makefile is suitable for generic unix
|
|---|
| 6 |
|
|---|
| 7 | # Configuration options are now in libmng_conf.h
|
|---|
| 8 |
|
|---|
| 9 | # The name of your C compiler:
|
|---|
| 10 | CC= cc
|
|---|
| 11 |
|
|---|
| 12 | # Location of jpeg header files
|
|---|
| 13 | JPEG_INC= /cs/include/jpeg
|
|---|
| 14 |
|
|---|
| 15 | # Location of zlib header files
|
|---|
| 16 | ZLIB_INC= /cs/include
|
|---|
| 17 |
|
|---|
| 18 | # Location of lcms header files
|
|---|
| 19 | # (switch on MNG_FULL_CMS in libmng_conf.h if you want to use this)
|
|---|
| 20 | LCMS_INC= /ltmp/lcms-1.06/source
|
|---|
| 21 |
|
|---|
| 22 | # compiler options:
|
|---|
| 23 | CFLAGS= -O -I. -I$(ZLIB_INC) -I$(JPEG_INC) -I$(LCMS_INC)
|
|---|
| 24 |
|
|---|
| 25 | # source files
|
|---|
| 26 | SOURCES= \
|
|---|
| 27 | libmng_callback_xs.c \
|
|---|
| 28 | libmng_chunk_io.c \
|
|---|
| 29 | libmng_chunk_descr.c \
|
|---|
| 30 | libmng_chunk_prc.c \
|
|---|
| 31 | libmng_chunk_xs.c \
|
|---|
| 32 | libmng_cms.c \
|
|---|
| 33 | libmng_display.c \
|
|---|
| 34 | libmng_dither.c \
|
|---|
| 35 | libmng_error.c \
|
|---|
| 36 | libmng_filter.c \
|
|---|
| 37 | libmng_hlapi.c \
|
|---|
| 38 | libmng_jpeg.c \
|
|---|
| 39 | libmng_object_prc.c \
|
|---|
| 40 | libmng_pixels.c \
|
|---|
| 41 | libmng_prop_xs.c \
|
|---|
| 42 | libmng_read.c \
|
|---|
| 43 | libmng_trace.c \
|
|---|
| 44 | libmng_write.c \
|
|---|
| 45 | libmng_zlib.c
|
|---|
| 46 |
|
|---|
| 47 | # object files
|
|---|
| 48 | OBJECTS= $(SOURCES:%.c=%.o)
|
|---|
| 49 |
|
|---|
| 50 | # type dependancies
|
|---|
| 51 | .c.o:
|
|---|
| 52 | $(CC) $(CFLAGS) -c $<
|
|---|
| 53 |
|
|---|
| 54 | all: libmng.a
|
|---|
| 55 |
|
|---|
| 56 | clean:
|
|---|
| 57 | /bin/rm -f $(OBJECTS)
|
|---|
| 58 | /bin/rm -f libmng.a
|
|---|
| 59 | /bin/rm -f *~ core
|
|---|
| 60 |
|
|---|
| 61 | libmng.a: $(OBJECTS)
|
|---|
| 62 | ar r libmng.a $(OBJECTS)
|
|---|
| 63 |
|
|---|
| 64 | depend:
|
|---|
| 65 | makedepend -- $(CFLAGS) $(IFLAGS) -- *.c
|
|---|
| 66 |
|
|---|
| 67 | # DO NOT DELETE
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.