TOOLS=../../tools
#UCONF=2009-10-09.ufraw
DENOISE=40
CREATEID=no
PFX=2009-05-06-

SRC_SHARPEN_ARG=
#PRN_UPSCALE=yes

#PRN_PAPER= 10x15 13x18 20x30
PRN_PAPER=20x30a
PAPER_WIDTH_20x30a=2398
PAPER_HEIGHT_20x30a=3602
PAPER_BORDER_20x30a=0

WEB_PAPER= big middle small
SRC=	\
	IMG_2449.CR2 \
	IMG_2460.CR2 \
	IMG_2485.CR2 \
	IMG_2590.CR2 \
	IMG_2594.CR2 \
	IMG_2600.CR2

PRE_IMG_2449.CR2=	-crop 2432x3653+160+96
PRE_IMG_2460.CR2=	-crop 2272x3413+160+256
PRE_IMG_2485.CR2=	-crop 3712x2471+32+64
PRE_IMG_2590.CR2=	-rotate -90 -crop 2464x3701+32+160
PRE_IMG_2594.CR2=	-crop 2368x3557+96+352
PRE_IMG_2600.CR2=	-crop 2240x3365+192+480

SRCDIR=	${TMPDIR}/tmp
PRN_OUTDIR=	print
WEB_OUTDIR=	www

WEB_EXTRA_ARG=	-recolor '1.1 -0.05 -0.05  -0.05 1.1 -0.05  -0.05 -0.05 1.1' \
			-adaptive-sharpen 1x0.33
PRN_EXTRA_ARG=	+sigmoidal-contrast 1.5x60% ${WEB_EXTRA_ARG} -sharpen 0x0.50

all:
	@${MAKE} DOSRC=yes src
	@${MAKE} DOPRN=yes prn
	@${MAKE} DOWEB=yes web

.if defined(DOSRC) || defined(DOWEB) || defined(DOPRN)
.include "${TOOLS}/photo.src.mk"
.endif

.if defined(DOPRN)
.include "${TOOLS}/photo.prn.mk"
.endif

.if defined(DOWEB)
.include "${TOOLS}/photo.web.mk"
.endif
