151 lines
3.7 KiB
Plaintext
Executable File
151 lines
3.7 KiB
Plaintext
Executable File
|
|
#PREF_CCFLAGS = $(CCOPTFLAG) ; # Turn optimisation on
|
|
PREF_CCFLAGS = $(CCDEBUGFLAG) ; # Debugging flags
|
|
#PREF_CCFLAGS = $(CCHEAPDEBUG) ; # Heap Debugging flags
|
|
PREF_LINKFLAGS = $(LINKDEBUGFLAG) ;
|
|
|
|
#Products
|
|
Libraries = libprof ;
|
|
Executables = cb2ti3 kodak2ti3 txt2ti3 cxf2ti3 ls2ti3 splitti3 mppcheck mppprof
|
|
profcheck invprofcheck colverify colprof printcal applycal iccvcgt ;
|
|
Headers = prof.h ;
|
|
Samples = example.sp example121.sp 3dap5k.sp GTIPlus.sp Office.sp Trulux.sp TruluxPlus.sp
|
|
D50_0.0.sp D50_0.1.sp D50_0.3.sp D50_0.5.sp D50_0.7.sp D50_1.0.sp D50_1.2.sp
|
|
D50_1.5.sp D50_1.7.sp D50_2.0.sp D50_2.5.sp D50_3.0.sp CIE_C.sp F1.sp F5.sp F8.sp ;
|
|
|
|
if [ GLOB [ NormPaths . ] : mpp2prof.c ] {
|
|
Executables += mpp2prof ;
|
|
}
|
|
|
|
#Install
|
|
InstallBin $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
|
|
InstallFile $(DESTDIR)$(PREFIX)/$(REFSUBDIR) : $(Samples) ;
|
|
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
|
|
#InstallLib $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;
|
|
|
|
HDRS = ../h ../icc ../cgats ../rspl
|
|
../numlib ../gamut ../xicc ../spectro
|
|
../target ../plot ;
|
|
|
|
# PROF library
|
|
Library libprof : profin.c profout.c ;
|
|
|
|
|
|
LINKLIBS = ../rspl/librspl ../icc/libicc ../cgats/libcgats ../spectro/libconv
|
|
../plot/libplot ../plot/libvrml ../numlib/libui ../numlib/libnum ;
|
|
|
|
LINKFLAGS += $(GUILINKFLAGS) ;
|
|
|
|
# Simple profile generator
|
|
Main simpprof : simpprof.c ;
|
|
|
|
#Kodak raw profile data to Argyll CGATS format converter
|
|
Main kodak2ti3 : kodak2ti3.c ;
|
|
|
|
#Colorblind raw profile data to Argyll CGATS format converter
|
|
Main cb2ti3 : cb2ti3.c ;
|
|
|
|
# the gcc linker is retarded, and can't link to things it's gone past, hence 2 x libxicc...
|
|
LINKLIBS = ../xicc/libxicc ../spectro/libinsttypes ../spectro/libdisptechs ../xicc/libxicc ../gamut/libgamut $(LINKLIBS) ;
|
|
|
|
#Gretag/Logo raw CMYK profile data to Argyll CGATS format converter
|
|
Main txt2ti3 : txt2ti3.c ;
|
|
|
|
#CxF to Argyll CGATS format
|
|
Main cxf2ti3 : cxf2ti3.c : : : ../xml : : ../xml/libmxml ;
|
|
|
|
#LightSpace to Argyll CGATS format
|
|
Main ls2ti3 : ls2ti3.c : : : ../xml : : ../xml/libmxml ;
|
|
|
|
#Split a .ti3 into two pieces randomly
|
|
Main splitti3 : splitti3.c ;
|
|
|
|
# Profile checker
|
|
Main profcheck : profcheck.c ;
|
|
|
|
# Reverse Profile checker
|
|
Main invprofcheck : invprofcheck.c ;
|
|
|
|
# Model Printer Profile generator
|
|
Main mppprof : mppprof.c ;
|
|
|
|
# Model Printer Profile checker
|
|
Main mppcheck : mppcheck.c ;
|
|
|
|
# Model Printer Profile #2 generator
|
|
if [ GLOB [ NormPaths . ] : mpp2prof.c ] {
|
|
Main mpp2prof : mpp2prof.c : : : : : ../xicc/libmpp2 ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : mpp2check.c ] {
|
|
Main mpp2check : mpp2check.c : : : : : ../xicc/libmpp2 ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : mpp2mod.c ] {
|
|
Main mpp2mod : mpp2mod.c : : : : : ../xicc/libmpp2 ;
|
|
}
|
|
|
|
LINKLIBS = ../plot/libvrml $(LINKLIBS) ;
|
|
|
|
# Verifyer
|
|
Main colverify : colverify.c ;
|
|
|
|
LINKLIBS = libprof ../gamut/libgammap $(LINKLIBS) $(TIFFLIB) $(JPEGLIB) ;
|
|
|
|
# Full profile generator
|
|
Main colprof : colprof.c : : : $(TIFFINC) $(JPEGINC) ;
|
|
|
|
# Print calibration
|
|
Main printcal : printcal.c : : : $(TIFFINC) $(JPEGINC) ;
|
|
|
|
# Applying calibration
|
|
Main applycal : applycal.c ;
|
|
|
|
# Changing an ICC profile vcgt
|
|
Main iccvcgt : iccvcgt.c ;
|
|
|
|
# Optimised Separation Generator
|
|
#Main sepgen : sepgen.c ;
|
|
|
|
# Test code
|
|
if $(HOME) = "d:\\usr\\graeme" && $(PWD) = "/src/argyll/profile" {
|
|
Main specinpprof : specinpprof.c ;
|
|
}
|
|
|
|
# Development code
|
|
if [ GLOB [ NormPaths . ] : retargti3.c ] {
|
|
Main retargti3 : retargti3.c ;
|
|
}
|
|
|
|
if [ GLOB [ NormPaths . ] : t.c ] {
|
|
Main t : t.c ;
|
|
}
|
|
|
|
if [ GLOB [ NormPaths . ] : nmod2.c ] {
|
|
Main nmod2 : nmod2.c ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : nmod2t.c ] {
|
|
Main nmod2t : nmod2t.c ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : nmod7.c ] {
|
|
Main nmod7 : nmod7.c ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : nmod7_2.c ] {
|
|
Main nmod7_2 : nmod7_2.c ;
|
|
}
|
|
if [ GLOB [ NormPaths . ] : nmod8.c ] {
|
|
Main nmod8 : nmod8.c ;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|