diff -Naur mupdf-1.1-source/Makefile mupdf-1.1-source-haiku/Makefile
|
old
|
new
|
|
| 13 | 13 | # XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that |
| 14 | 14 | # set a variable that was set on the command line. |
| 15 | 15 | CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts |
| 16 | | LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm |
| | 16 | LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lroot |
| 17 | 17 | |
| 18 | 18 | include Makerules |
| 19 | 19 | include Makethird |
| … |
… |
|
| 86 | 86 | $(FITZ_LIB) : $(addprefix $(OUT)/, $(MUXPS_SRC:%.c=%.o)) |
| 87 | 87 | $(FITZ_LIB) : $(addprefix $(OUT)/, $(MUCBZ_SRC:%.c=%.o)) |
| 88 | 88 | |
| 89 | | libs: $(FITZ_LIB) $(THIRD_LIBS) |
| | 89 | libs: $(FITZ_LIB) |
| 90 | 90 | |
| 91 | 91 | # --- Generated CMAP and FONT files --- |
| 92 | 92 | |
| … |
… |
|
| 164 | 164 | incdir ?= $(prefix)/include |
| 165 | 165 | mandir ?= $(prefix)/share/man |
| 166 | 166 | |
| 167 | | install: $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUBUSY) |
| | 167 | install: $(FITZ_LIB) |
| 168 | 168 | install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1 |
| 169 | 169 | install $(FITZ_LIB) $(libdir) |
| 170 | 170 | install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir) |
| 171 | | install $(MUVIEW) $(MUDRAW) $(MUBUSY) $(bindir) |
| 172 | 171 | install $(wildcard apps/man/*.1) $(mandir)/man1 |
| 173 | 172 | |
| 174 | 173 | # --- Clean and Default --- |