blob: b75b4b4bb78d982c9cb6b58c8961254cb1c59bc6 (
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
|
COMPILERFLAGS = -Wall
if with_sharedlibs
COMPILERFLAGS += -DOPJ_EXPORTS
else
COMPILERFLAGS += -DOPJ_STATIC
endif
USERLIBS = -lm
INCLUDES = -I.. -I. -I../libopenjpeg -I../common
if with_libtiff
INCLUDES += @tiffincludes@
USERLIBS += @tifflibs@
endif
if with_libpng
INCLUDES += @pngincludes@
USERLIBS += @pnglibs@
endif
if with_liblcms2
INCLUDES += @lcms2includes@
USERLIBS += @lcms2libs@
endif
if with_liblcms1
INCLUDES += @lcms1includes@
USERLIBS += @lcms1libs@
endif
bin_PROGRAMS = j2k_to_image image_to_j2k j2k_dump
CFLAGS = $(COMPILERFLAGS) $(INCLUDES)
LDADD = $(USERLIBS) ../libopenjpeg/libopenjpeg.la
j2k_to_image_SOURCES = ../common/getopt.c index.c convert.c \
../common/color.c j2k_to_image.c
image_to_j2k_SOURCES = ../common/getopt.c index.c convert.c image_to_j2k.c
j2k_dump_SOURCES = ../common/getopt.c index.c j2k_dump.c
REPBIN=$(bin_PROGRAMS)
all-local:
$(INSTALL) -d ../bin
$(INSTALL) $(bin_PROGRAMS) ../bin
@echo "" > .report.txt
@for f in ${REPBIN} ; do \
echo "Installing: ${prefix}/bin/$$f" >> .report.txt ; \
done
|