summaryrefslogtreecommitdiff
path: root/Makerules
AgeCommit message (Collapse)Author
2013-08-14Fix build of curl on macosx.Tor Andersson
Only build mupdf-x11-curl if the curl thirdparty library exists.
2013-07-11Prepare for multiple viewer application targets in makefile.Tor Andersson
2013-06-17Add support to build command line tools on MINGW.Tor Andersson
Tested with msysgit 1.8.3 environment.
2013-05-29Add rules to configure and build openssl if it is present in thirdparty.Tor Andersson
Also sets the -DHAVE_OPENSSL flag.
2013-05-29Clean up thirdparty / system library makefile variables.Tor Andersson
2013-04-29Correct pkg-config dependency to libopenjpeg1Sebastian Rasmussen
2013-04-23Fix pkg-config issues.Tor Andersson
Only evaluate pkg-config variables if using system libraries, using a := assignment in Makethird. This silences warnings if the library is in thirdparty but not installed on the system.
2013-04-11Remove explicit architecture settings in Makerules for OS X.Tor Andersson
2013-03-19Fix compilation on Mac OS X by partially reverting 61c1f80d36.Marcos H. Woehrmann
Starting with 61c1f80d36bf1d946ce26d39f9afb99897fc9923 mupdf requires pkg-config to build. However pkg-config is not supplied with Xcode and is therefore not routinely installed on Mac OS X. Even if pkg-config were available it would not accomplish the goal of that commit (speed up compilation); on Mac OS X compilation would be slower.
2013-02-28Bug 693596: Speed compilation on unix based systems.Robin Watts
Use $(shell xxxx) rather than `xxxx` for pkg-config lines to avoid repeated reevaluation. Also get X libs from pkg-config too. Thanks to Michael Weber.
2012-11-16Fix build with openjpeg-1.5.1Wouter van Kesteren
2012-11-16Build on Solaris (10, at least)Chris Liddell
Requires GNU make and gcc.
2012-08-06Add a make target for measuring code coverageSebastian Rasmussen
2012-04-23Add mingw32 cross compilation targets to make file.Tor Andersson
2012-04-09Bug 692976: Fix spurious thread lock debug warnings on context clonesRobin Watts
When cloning, ensure the locks are done on the new context, not the old one; this makes no difference except to suppress some spurious debugging messages. Also ensure that DEBUG is predefined for Makefile based debug and memento builds. Thanks to Bas Weelinck.
2012-03-21Update iOS app.Tor Andersson
2011-11-15Merge branch 'master' into contextRobin Watts
Mostly redoing the xps_context to xps_document change and adding contexts to newly written code. Conflicts: apps/pdfapp.c apps/pdfapp.h apps/x11_main.c apps/xpsdraw.c draw/draw_device.c draw/draw_scale.c fitz/base_object.c fitz/fitz.h pdf/mupdf.h pdf/pdf_interpret.c pdf/pdf_outline.c pdf/pdf_page.c xps/muxps.h xps/xps_doc.c xps/xps_xml.c
2011-11-01Update project to Xcode 4.Tor Andersson
2011-11-01Tweak build scripts for iOS viewer.Tor Andersson
2011-11-01Add skeleton iOS viewer project.Tor Andersson
Support cross compiling for iPhone and iPad targets using the makefile.
2011-09-14Add Memento build option.Robin Watts
Import memento files. Update Makefile to support: make build=memento (like debug, but with memento too). Tiny tweak to cmapdump to avoid memento building that utility.
2011-04-25Add libs target, and webos OS settings.Robin Watts
Add libs (to allow for building of libraries without apps, such as will be required for the WebOS bindings). Add 2 webos OS setups to the Makerules file to match the 2 default webos configurations used in the PDK.
2011-04-25Add 'generate' make target to make font/cmap headers.Robin Watts
Simple tweak to aid cross compiling.
2011-04-25Makefile tweaks for cross compiling, plus example cross compile target.Robin Watts
Add 2 new makefile options to Mupdf. If CROSSCOMPILE is defined, then we avoid performing tasks during the build that require a binary to be built and then executed as part of the build. Currently this is just the cmap and font dumping steps. If NOX11 is defined, then we avoid building the X11 app. Finally, in Makerules, we have a new section to show how to encapsulate the changes for a given cross compile target. If OS is defined to be "beagle-cross" then we build using given compilers/options.
2011-04-07Simplify makefiles by use of $(wildcard) and chained rules.Tor Andersson
2011-04-06Move scripts and config files into "scripts" directory.Tor Andersson
2011-04-04pdf: Rename mupdf directory.Tor Andersson
2011-03-22xps: use fitz runtime and remove ghostscript specific code so it compiles.Tor Andersson
2011-03-09Use CFLAGS from the environment if set.Tor Andersson
2011-02-02Use BINDIR, LIBDIR and INCDIR variables for installation directories instead ↵Tor Andersson
of hard coding the use of /bin etc.
2010-07-23Tweaks to compile on FreeBSD.Tor Andersson
2010-07-23Allow some makefile variables to be overridden on the command line to ease ↵Tor Andersson
cross compilation.
2010-07-15Tweak makefiles.Tor Andersson
2010-07-14Add 'native' build target using -marchTor Andersson
2010-07-08Remove unmaintained MMX optimized function and runtime detection.Tor Andersson
2010-07-05Use NDEBUG rather than DEBUG to test build at compile time.Tor Andersson
2010-07-02Test if we're on an x86 machine before adding x86 specific compiler flags.Tor Andersson
2010-06-29Allow both 32 and 64-bit builds on Mac OS X by passing archTor Andersson
2010-06-18Allow assembler files in the makefile. Renamed ARCH_SRC to DRAW_ARCH_SRC.Tor Andersson
2010-06-18Add DEBUG and NDEBUG preprocessor defines when building debug and release ↵Tor Andersson
modes, respectively.
2010-06-15Rearrange in Makerules and Makethird to remove cyclical dependencies.Tor Andersson
2010-06-15Add THIRD_INCS to CFLAGS after it has been set, not before.Tor Andersson
2010-06-04Add missing -lfreetype for non-thirdparty-package builds on MacOS X.Tor Andersson
2010-06-01Add support for automatically compiling third party libraries if they are ↵Tor Andersson
present in a thirdparty directory.
2010-05-20Only create a single libmupdf library.Tor Andersson
2010-05-20Split configuration options from Makefile into Makerules.Tor Andersson
This is done in preparation for both a configure script and a separate thirdparty package Makefile which will also source the Makerules file.