source: trunk/poppler/mypoppler/Makefile.kmk @ 465

Last change on this file since 465 was 465, checked in by dmik, 11 years ago

popper: Fixed goo and splash builds (required libjpeg headers).

File size: 1.8 KB
Line 
1## @file
2#
3SUB_DEPTH = ../..
4include $(KBUILD_PATH)/subheader.kmk
5
6#
7# Poppler library tool
8#
9TEMPLATE_PopplerLib                              = Poppler library tool
10TEMPLATE_PopplerLib_EXTENDS              = LucideCxx
11TEMPLATE_PopplerLib_EXTENDS_BY   = appending
12TEMPLATE_PopplerLib_CXXFLAGS     =
13#TEMPLATE_PopplerLib_TOOL                = OPENWATCOM
14#TEMPLATE_PopplerLib_CXXFLAGS    = -zq -zp=8 -bm -ot -ox -xs -oh -xr -sg -5 -fp5
15TEMPLATE_PopplerLib_DEFS                 =
16TEMPLATE_PopplerLib_INCS                 = .
17
18# @todo Turn off the warning. Better is to fix poppler
19TEMPLATE_PopplerLib_CXXFLAGS    += -Wno-write-strings
20
21#
22# Target lists
23#
24LIBRARIES += fofi goo splash poppler
25
26#
27# Poppler library (in parts)
28#
29
30fofi_TEMPLATE   = PopplerLib
31fofi_SOURCES    = $(wildcard $(fofi_PATH)/fofi/*.cc)
32
33goo_TEMPLATE    = PopplerLib
34goo_INCS                = ../../libjpeg
35goo_SOURCES             = $(wildcard $(goo_PATH)/goo/*.cc)
36
37splash_TEMPLATE = PopplerLib
38splash_INCS             = ../freetype2/include ../../libjpeg
39splash_SOURCES  = $(wildcard $(splash_PATH)/splash/*.cc)
40
41poppler_TEMPLATE        = PopplerLib
42poppler_INCS            = goo ../fc-emulate-os2 ../../libjpeg
43poppler_SOURCES         = $(filter-out \
44        $(addprefix $(poppler_PATH)/poppler/,                                     \
45                ABWOutputDev.cc                                                       \
46                ArthurOutputDev.cc                                                    \
47                CairoFontEngine.cc                                                    \
48                CairoOutputDev.cc                                                     \
49                FlateStream.cc                                                        \
50                GlobalParamsWin.cc                                                    \
51                JPEG2000Stream.cc)                                                    \
52        ,$(wildcard $(poppler_PATH)/poppler/*.cc))
53
54include $(FILE_KBUILD_SUB_FOOTER)
55
Note: See TracBrowser for help on using the repository browser.