Lines 13-38
Link Here
|
13 |
|
13 |
|
14 |
libdcraw_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) |
14 |
libdcraw_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) |
15 |
|
15 |
|
16 |
#-- dcraw binary ------------------------------------------------- |
|
|
17 |
|
18 |
# digiKam use a dedicaced dcraw binary program to run. This is mandatory |
19 |
# since dcraw author have broken the command line options |
20 |
# compatibility with the 8.x serie. |
21 |
# Also, dcraw is not available like a library. |
22 |
# The dcraw.c source code is just a copy of official implementation, but |
23 |
# this one have been completly tested with digiKam core. |
24 |
# Note: dcraw project page is http://cybercom.net/~dcoffin |
25 |
|
26 |
bin_PROGRAMS = digikamdcraw |
27 |
|
28 |
# This line is require to prevent broken compilation with -std=iso9899:1990 gcc option. |
29 |
# In fact, dcraw.c use lcms.h witch use the "inline" keyword witch do not exist in pure C |
30 |
# implementation. The -Dinline option please compiler to see inline with this option. |
31 |
# Note : using -std-c99 instead -std=iso9899:1990 is not possible because some compiler |
32 |
# do not support it. |
33 |
# Thanks to Andras Mantia for this tip. |
34 |
digikamdcraw_CFLAGS = -Dinline= -w |
35 |
|
36 |
digikamdcraw_SOURCES = dcraw.c |
37 |
|
38 |
digikamdcraw_LDFLAGS = $(all_libraries) $(LIBJPEG) $(LCMS_LIBS) |