OSDN Git Service

BuildSystem: general, configure and Xcode updates.
authorkonablend <konablend@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 8 Mar 2009 22:50:57 +0000 (22:50 +0000)
committerkonablend <konablend@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sun, 8 Mar 2009 22:50:57 +0000 (22:50 +0000)
commitce32291e230fa2ab820ce17c8a5c0cbff3d98e2c
treec2460805275e7b23dd03965df15beecc7ac4589b
parent9c6b673a404e944ee056297c9d9e53d004317e88
BuildSystem: general, configure and Xcode updates.

*** NOTICE:
This changeset requires a clean build directory. Please issue 'make xclean' inside
build dir(s) after 'svn up'. This will help ensure there are no unexpected results.

*** GENERAL:
- renamed makevar PROJECT/ -> SRC/ for clarity.
- renamed makevar PREFIX.install/ -> PREFIX/ for clarity.
- split custom GNUmakefile overrides into defs/rules files.
- inserted optional level of make customization at SRC/ level; see docs.
- dropped HB.repo.wcversion (svnversion is no longer used).
- corrected several 'rm' usages to use -f flag which avoids some build errors.
- refreshed generated 00-Building.*.txt docs; work still in progress on the wiki front.

*** CONFIGURE:
- made configure more robust; configure may now be run outside of build directory!
- adding log recording of configure activities.
- improved readability of default options for configure
- added:

    --force             overwrite existing build config
    --src=DIR           specify top-level source dir [.]
    --build=DIR         specify build scratch/output dir [.]
    --prefix=DIR        specify install dir for products [/Applications]

- dropped --launch-force (replaced by --force)
- dropped --launch-dir (replaced by --build)
- dropped --launch-log

*** XCODE:
- renamed pbxproj definition EXTERNAL_PROJECT -> EXTERNAL_SRC for clarity.
- fixed all configurations to default to EXTERNAL_JOBS=1 .
- enabled Xcode internal parallelization (libhb, HandBrakeCLI and HandBrake benefit).
- make now tickles Xcode build files to cause Info.plist regeneration and posting to HandBrake.app output;
  ie: svn up; click build and HandBrake.app's about panel will reflect the new repository rev.

*** DARWIN:
- added support to build universal binaries; see docs.

git-svn-id: svn://localhost/HandBrake/trunk@2242 b64f7644-9d1e-0410-96f1-a4d463321fa5
34 files changed:
00-Building.cygwin.txt
00-Building.linux.txt
00-Building.osx.txt
configure
contrib/bzip2/module.defs
contrib/ffmpeg/module.defs
contrib/xvidcore/module.defs
doc/module.defs
doc/module.rules
doc/texi/Building.osx.texi
doc/texi/base/handbrake.texi.m4
doc/texi/building/chapter.quickstart.texi
doc/texi/building/chapter.via.terminal.texi
doc/texi/building/chapter.via.xcode.texi
doc/texi/building/command.texi
gtk/module.defs
gtk/module.rules
libhb/module.defs
libhb/module.rules
libhb/project.h.m4
macosx/HandBrake.xcodeproj/project.pbxproj
macosx/module.defs
macosx/module.rules
macosx/module.xcode
make/configure.py
make/include/contrib.defs
make/include/main.defs
make/include/main.rules
make/variant/darwin.defs
make/variant/darwin.rules
make/variant/freebsd.defs
make/xcodemake
test/module.defs
test/module.rules