blob: 4f56036a4bf0aea37cb97103ebd46b029dba278e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#
FITZLIBS = libmupdf libfitz libfitzdraw libfonts libcmaps ;
SubDir TOP apps ;
Library libpdfapp : pdfapp.c ;
Library libpdftool : pdftool.c ;
Main pdfshow : pdfshow.c ;
LinkLibraries pdfshow : libpdftool $(FITZLIBS) ;
Main pdfclean : pdfclean.c ;
LinkLibraries pdfclean : libpdftool $(FITZLIBS) ;
Main pdfdraw : pdfdraw.c ;
LinkLibraries pdfdraw : libpdftool $(FITZLIBS) ;
# Main pdfinfo : pdfinfo.c ;
# LinkLibraries pdfinfo : libpdftool $(FITZLIBS) ;
# Main pdfextract : pdfextract.c ;
# LinkLibraries pdfextract : libpdftool $(FITZLIBS) ;
if $(BUILD_WINAPP)
{
Main mupdf : win_main.c win_res.rc ;
LinkLibraries mupdf : libpdfapp $(FITZLIBS) ;
LINKLIBS on mupdf$(SUFEXE) = $(LINKLIBS) $(APPLINKLIBS) ;
}
if $(BUILD_X11APP)
{
Main mupdf : x11_main.c x11_image.c ;
LinkLibraries mupdf : libpdfapp $(FITZLIBS) ;
LINKLIBS on mupdf$(SUFEXE) = $(LINKLIBS) $(APPLINKLIBS) ;
}
if $(BUILD_PLUGIN)
{
SubDir TOP apps mozilla ;
SUFEXE on npmupdf.dll = ;
LINKFLAGS on npmupdf.dll = $(LINKFLAGS) -shared -Wl,--kill-at ;
LINKLIBS on npmupdf.dll = $(LINKLIBS) $(APPLINKLIBS) ;
Main npmupdf.dll : npwin.c moz_winres.rc moz_main.c ;
LinkLibraries npmupdf.dll : $(FITZLIBS) ;
}
|