adapt to use iconv from its new location.
[AROS-Contrib.git] / vpdf / mmakefile.src
blobf438d29126ec2d6f4679219960602ffa36aaba4b
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM contrib-vpdf : includes linklibs \
6 #MM    contrib-vpdf-poppler-fofi \
7 #MM    contrib-vpdf-poppler-goo \
8 #MM    contrib-vpdf-poppler-poppler \
9 #MM    contrib-vpdf-poppler-splash \
10 #MM    contrib-vpdf-mcc \
11 #MM    contrib-vpdf-test
13 CFILES := \
14     locale \
15     vpdf \
16     clipboard \
17     window \
18     application \
19     logger \
20     settings \
21     arrowstring_class \
22     pagenumberclass \
23     printer \
24     printer_image \
25     system/functions \
26     system/directory \
27     system/dlist \
28     system/init \
29     system/timer \
30     aros/aros
32 CPPFILES := \
33     poppler_io \
34     poppler \
35     poppler_printer
37 # fontcache
40 TARGETDIR := $(AROS_CONTRIB)/Utilities/Text/VPDF
41 USER_INCLUDES := -I$(SRCDIR)/$(CURDIR)/poppler/poppler -I$(SRCDIR)/$(CURDIR)/poppler -I$(SRCDIR)/$(CURDIR)/system \
42     -I$(SRCDIR)/$(CURDIR)/aros/include -I$(AROS_INCLUDES)/cairo -idirafter $(SRCDIR)/$(CURDIR)/include
43 USER_CFLAGS := -D__LOCALE_STDLIBBASE__ -D__TIMER_STDLIBBASE__ -DMUI_OBSOLETE -frtti -fpermissive -fexceptions -fcheck-new
44 USER_LDFLAGS := -L$(TARGETDIR)/libs
46 %build_prog mmake=contrib-vpdf progname=VPDF files=$(CFILES) cxxfiles=$(CPPFILES) \
47     targetdir=$(TARGETDIR) uselibs="rexxsyslib muiclasses poppler fofi goo poppler-splash cairo pixman fontconfig freetype2 iconv xml2 jpeg z stdc++"
50 %copy_dir_recursive mmake=contrib-vpdf-test src=test dst=$(TARGETDIR)/test
53 %common