mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
diff -Naur mupdf-1.0-source/Makefile mupdf-1.0-source-haiku/Makefile
|
|
--- mupdf-1.0-source/Makefile 2012-04-24 16:41:33.029097984 +0000
|
|
+++ mupdf-1.0-source-haiku/Makefile 2012-06-07 17:13:57.000000000 +0000
|
|
@@ -12,8 +12,8 @@
|
|
# Do not specify CFLAGS or LIBS on the make invocation line - specify
|
|
# XCFLAGS or XLIBS instead. Make ignores any lines in the makefile that
|
|
# set a variable that was set on the command line.
|
|
-CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts
|
|
-LIBS += $(XLIBS) -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lm
|
|
+CFLAGS += $(XCFLAGS) -Ifitz -Ipdf -Ixps -Icbz -Iscripts -I/boot/develop/headers/3rdparty/freetype2
|
|
+LIBS += -L/boot/common/lib/ -lfreetype -ljbig2dec -ljpeg -lopenjpeg -lz -lroot
|
|
|
|
include Makerules
|
|
include Makethird
|
|
@@ -144,7 +144,7 @@
|
|
|
|
ifeq "$(NOX11)" ""
|
|
MUPDF := $(OUT)/mupdf
|
|
-$(MUPDF) : $(FITZ_LIB) $(THIRD_LIBS)
|
|
+$(MUPDF) : $(FITZ_LIB)
|
|
$(MUPDF) : $(addprefix $(OUT)/, x11_main.o x11_image.o pdfapp.o)
|
|
$(LINK_CMD) $(X11_LIBS)
|
|
endif
|
|
@@ -167,11 +167,10 @@
|
|
incdir ?= $(prefix)/include
|
|
mandir ?= $(prefix)/share/man
|
|
|
|
-install: $(FITZ_LIB) $(MU_APPS) $(MUPDF)
|
|
+install: $(FITZ_LIB)
|
|
install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1
|
|
install $(FITZ_LIB) $(libdir)
|
|
install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(incdir)
|
|
- install $(MU_APPS) $(MUPDF) $(bindir)
|
|
install $(wildcard apps/man/*.1) $(mandir)/man1
|
|
|
|
# --- Clean and Default ---
|