diff --git a/.gbp.conf b/.gbp.conf deleted file mode 100644 index 849313d..0000000 --- a/.gbp.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Configuration file for git-buildpackage and friends - -[DEFAULT] -# the default build command: -#builder = debuild -i\.git/ -I.git -# the default clean command: -#cleaner = debuild clean -# the default branch for upstream sources: -upstream-branch = debian-orig -# the default branch for the debian patch: -debian-branch = debian -# the default tag formats used: -#upstream-tag = upstream/%(version)s -#debian-tag = debian/%(version)s -# use pristine-tar: -#pristine-tar = True - -# Options only affecting git-buildpackage -[git-buildpackage] -#upstream-branch = dfsgclean -# uncomment this to automatically GPG sign tags -#sign-tags = True -# keyid to GPG sign tags with -#keyid = 0xdeadbeef -# push to a remote repository after a successful tag: -#posttag = git-push git.example.com -# use this for more svn-buildpackage like behaviour: -export-dir = ../build-area/ -#tarball-dir = ../tarballs/ -#ignore-new = True - -# Options only affecting git-import-orig -[git-import-orig] -#upstream-branch = newupstream -#debian-branch = dfsgclean -#filter = .svn - -# Options only affecting git-import-dsc -[git-import-dsc] -#upstream-branch = svn-upstream -#filter = [ 'CVS', '.cvsignore' ] - -# Options only affecting git-dch -[git-dch] -#git-log = --no-merges -#snapshot-number = snapshot + 1 -#id-length = 0 diff --git a/AUTHORS b/AUTHORS index dcda872..4a871b3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -13,6 +13,7 @@ Gabriel Finch Georg Seidel Hedde Bosman +Janne Liljeblad Jean-Sebastien Senecal Joshua M. Doe Luca Bigliardi @@ -22,7 +23,8 @@ Mathieu Guindon Phillip Promesberger Richard Spindler -Simon Eugster +Simon A. Eugster Stefano Sabatini -Till Teato +Steinar H. Gunderson +Till Theato diff --git a/CMakeLists.txt b/CMakeLists.txt index cc7bd52..666c977 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,12 +3,28 @@ list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) project (frei0r) +set (VERSION 1.3.0) -find_package (OpenCV) +option (WITHOUT_OPENCV "Disable plugins dependent upon OpenCV" OFF) +if (NOT WITHOUT_OPENCV) + find_package (OpenCV) +endif () + +find_package (Cairo) + include(FindPkgConfig) -if (PKG_CONFIG_FOUND) - pkg_check_modules(GAVL gavl) -endif (PKG_CONFIG_FOUND) +option (WITHOUT_GAVL "Disable plugins dependent upon gavl" OFF) +if (PKG_CONFIG_FOUND AND NOT WITHOUT_GAVL) + pkg_check_modules(GAVL gavl) +endif () + +if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + set(CMAKE_C_COMPILER "clang") + set(CMAKE_CXX_COMPILER "clang++") + set(CMAKE_C_FLAGS "-arch x86_64 -arch i386") + set(CMAKE_CXX_FLAGS "-arch x86_64 -arch i386") +endif () + include_directories (AFTER include) @@ -16,7 +32,11 @@ include_directories (include/msvc) endif (MSVC) -set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS_DEBUG}) +if (NOT CMAKE_BUILD_TYPE) + set (CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif (NOT CMAKE_BUILD_TYPE) set (LIBDIR lib/frei0r-1) set (FREI0R_DEF ${CMAKE_SOURCE_DIR}/msvc/frei0r_1_0.def) @@ -28,5 +48,13 @@ # See this thread for a ridiculous discussion about the simple question how to install a header file with CMake: http://www.cmake.org/pipermail/cmake/2009-October/032874.html install (DIRECTORY include DESTINATION . FILES_MATCHING PATTERN "frei0r.h" PATTERN "msvc" EXCLUDE) +add_subdirectory (doc) +add_subdirectory (src) -add_subdirectory (src) +# Generate frei0r.pc and install it. +set (prefix "${CMAKE_INSTALL_PREFIX}") +set (exec_prefix "${CMAKE_INSTALL_PREFIX}") +set (libdir "${CMAKE_INSTALL_PREFIX}/lib") +set (includedir "${CMAKE_INSTALL_PREFIX}/include") +configure_file ("frei0r.pc.in" "frei0r.pc" @ONLY) +install (FILES "${CMAKE_CURRENT_BINARY_DIR}/frei0r.pc" DESTINATION lib/pkgconfig) diff --git a/ChangeLog b/ChangeLog index 07b7385..03f9730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ *** See also the Changes @section in include/frei0r.h or git log + +1.4.0 - 24 February 2013 + + This release fixes several major bugs in existing plugins, + adds new filters and the optional dependency to cairo. + New filters (18): IIRblur, Vignette, Keyspillm0pup, Timeout, + Posterize, Dither, Spillsupress, Emboss, Colgate, RGBNoise, + Colorize, Softglow, ColrHalftone, Sigmoidaltransfer, + Colortap, cairogradient, cairoimagegrid, medians + New mixers: cairoblend, cairoaffineblend 1.3.0 - 8 March 2011 diff --git a/INSTALL b/INSTALL index 2550dab..8e77da1 100644 --- a/INSTALL +++ b/INSTALL @@ -1,302 +1,41 @@ Installation Instructions ************************* -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007, 2008, 2009 Free Software Foundation, Inc. +Frei0r can be built using either Autoconf or CMake. - This file is free documentation; the Free Software Foundation gives -unlimited permission to copy, distribute and modify it. +The choice is open, CMake is mandatory only on Windowz. -Basic Installation -================== +The presence of optional libraries on the system will trigger compilation +of extra plugins. These libraries are: - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. + + [Gavl] ( required for scale0tilt and vectorscope filters ) + [Gavl]: http://gmerlin.sourceforge.net - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). + + [OpenCV] (required for facebl0r filter ) + [OpenCV]: http://opencvlibrary.sourceforge.net - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. + + [Cairo] (required for cairo- filters and mixers ) + [Cairo]: http://cairographics.org - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. += Autoconf build - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. +./configure +make -The simplest way to compile this package is: += CMake build - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. +cmake . +make - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - 2. Type `make' to compile the package. += Install - 3. Optionally, type `make check' to run any self-tests that come with - the package. +Default prefix is /usr/local +Target directory is frei0r-1 - 4. Type `make install' to install the programs and any data files and - documentation. +Hence a default install will put the plugins into /usr/local/lib/frei0r-1 +unless the prefix path is specified. Most applications will look into that +directory on GNU/Linux, or it should be possible to configure where to +look for frei0r plugins. - 5. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - 6. Often, you can also type `make uninstall' to remove the installed - files again. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX'. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - -Optional Features -================= - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - - On Solaris, don't put `/usr/ucb' early in your `PATH'. This -directory contains several dysfunctional programs; working variants of -these programs are available in `/usr/bin'. So, if you need `/usr/ucb' -in your `PATH', put it _after_ `/usr/bin'. - - On Haiku, software installed for all users goes in `/boot/common', -not `/usr/local'. It is recommended to use the following options: - - ./configure --prefix=/boot/common - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS - KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *Note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/Makefile.in b/Makefile.in index f3d70c1..bf49c47 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.13.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -26,6 +25,23 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -45,11 +61,11 @@ build_triplet = @build@ host_triplet = @host@ subdir = . -DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/frei0r.pc.in \ - $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ - TODO config.guess config.sub depcomp install-sh ltmain.sh \ - missing +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/configure $(am__configure_deps) \ + $(srcdir)/frei0r.pc.in COPYING TODO config.guess config.sub \ + depcomp install-sh missing ltmain.sh ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ @@ -63,15 +79,33 @@ CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = frei0r.pc CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ - html-recursive info-recursive install-data-recursive \ - install-dvi-recursive install-exec-recursive \ - install-html-recursive install-info-recursive \ - install-pdf-recursive install-ps-recursive install-recursive \ - installcheck-recursive installdirs-recursive pdf-recursive \ - ps-recursive uninstall-recursive +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -93,23 +127,53 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(docsdir)" "$(DESTDIR)$(pkgconfigdir)" DATA = $(docs_DATA) $(pkgconfig_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ - distdir dist dist-all distcheck +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags +CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ - { test ! -d "$(distdir)" \ - || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -fr "$(distdir)"; }; } + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ @@ -137,15 +201,21 @@ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best +DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -158,6 +228,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ @@ -185,6 +256,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ @@ -217,6 +289,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -250,7 +323,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -275,7 +347,7 @@ all: all-recursive .SUFFIXES: -am--refresh: +am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ @@ -322,8 +394,11 @@ -rm -f libtool config.lt install-docsDATA: $(docs_DATA) @$(NORMAL_INSTALL) - test -z "$(docsdir)" || $(MKDIR_P) "$(DESTDIR)$(docsdir)" @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docsdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -337,13 +412,14 @@ @$(NORMAL_UNINSTALL) @list='$(docs_DATA)'; test -n "$(docsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(docsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(docsdir)" && rm -f $$files + dir='$(DESTDIR)$(docsdir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) - test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -357,17 +433,15 @@ @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd -# into them and run `make' without going through this Makefile. -# To change the values of `make' variables: instead of editing Makefiles, -# (1) if the variable is set in `config.status', edit `config.status' -# (which will cause the Makefiles to be regenerated when you run `make'); -# (2) otherwise, pass the desired values on the `make' command line. -$(RECURSIVE_TARGETS): +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ @@ -377,7 +451,11 @@ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ - list='$(SUBDIRS)'; for subdir in $$list; do \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ @@ -392,57 +470,12 @@ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" -$(RECURSIVE_CLEAN_TARGETS): - @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ - *k*) failcom='fail=yes';; \ - esac; \ - done; \ - dot_seen=no; \ - case "$@" in \ - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ - *) list='$(SUBDIRS)' ;; \ - esac; \ - rev=''; for subdir in $$list; do \ - if test "$$subdir" = "."; then :; else \ - rev="$$subdir $$rev"; \ - fi; \ - done; \ - rev="$$rev ."; \ - target=`echo $@ | sed s/-recursive//`; \ - for subdir in $$rev; do \ - echo "Making $$target in $$subdir"; \ - if test "$$subdir" = "."; then \ - local_target="$$target-am"; \ - else \ - local_target="$$target"; \ - fi; \ - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || eval $$failcom; \ - done && test -z "$$fail" -tags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ - done -ctags-recursive: - list='$(SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ - done - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ @@ -458,12 +491,7 @@ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -475,15 +503,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -492,9 +516,31 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) @@ -530,13 +576,10 @@ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d "$(distdir)/$$subdir" \ - || $(MKDIR_P) "$(distdir)/$$subdir" \ - || exit 1; \ - fi; \ - done - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ @@ -565,36 +608,36 @@ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 - $(am__remove_distdir) - -dist-lzma: distdir - tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) dist-xz: distdir - tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz - $(am__remove_distdir) + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__remove_distdir) + $(am__post_remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) - $(am__remove_distdir) - -dist dist-all: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__remove_distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another @@ -605,8 +648,8 @@ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ - lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ @@ -616,9 +659,9 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) - mkdir $(distdir)/_build - mkdir $(distdir)/_inst + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ @@ -626,6 +669,7 @@ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ @@ -649,13 +693,21 @@ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 - $(am__remove_distdir) + $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: - @$(am__cd) '$(distuninstallcheck_dir)' \ - && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ @@ -689,10 +741,15 @@ installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -774,25 +831,24 @@ uninstall-am: uninstall-docsDATA uninstall-pkgconfigDATA -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ - install-am install-strip tags-recursive - -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ - all all-am am--refresh check check-am clean clean-generic \ - clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-generic distclean-libtool \ - distclean-tags distcleancheck distdir distuninstallcheck dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-docsDATA install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-pkgconfigDATA install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs installdirs-am maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-docsDATA \ +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-generic \ + distclean-libtool distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-docsDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-pkgconfigDATA install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am uninstall-docsDATA \ uninstall-pkgconfigDATA diff --git a/README b/README index 6b54902..997c469 100644 --- a/README +++ b/README @@ -6,49 +6,31 @@ \___ / |__| \___ >__|\_____ /__| \/ \/ \/ - Minimalistic plugin API for video effects v.1.3 - -http://frei0r.dyne.org by the Piksel Developers Union - - -Table of Contents -================= -Introduction - What Frei0r is - What Frei0r is not - Current status - Code gallery - History -Download - Source code - Build dependencies - Debian / Ubuntu - Apple / OSX -Documentation - API explanation - C++ Filter example -Communication -Acknowledgments + Minimalistic plugin API for video effects v1.4 + by the Piksel Developers Union + + Updated info on http://frei0r.dyne.org + Introduction ~~~~~~~~~~~~~ -What Frei0r is +What frei0r is =============== Frei0r is a minimalistic plugin API for video effects. -The main emphasis is on simplicity for an API that will round up the +The main emphasis is on simplicity for an API that will round up the most common video effects into simple filters, sources and mixers that can be controlled by parameters. It's our hope that this way these simple effects can be shared between -many applications, avoiding their reimplementation by different +many applications, avoiding their reimplementation by different projects. -What Frei0r is not +What frei0r is not =================== Frei0r is not meant as a competing standard to more ambitious efforts @@ -60,28 +42,16 @@ event handling. Eventually the frei0r API can be wrapped by higher level APIs -expanding its functionalities (for instance as GStreamer, MLT, FFmpeg -and others do). +expanding its functionalities +(for instance as GStreamer, MLT, FFmpeg and others do). Current status =============== - -If you like to peek in what's boiling in the pot, have a look at our -TODO - -Developers are sporadically contributing and we are happy if more +Developers are sporadically contributing and we are happy if more people like to get involved, so let us know about your creations! Code -and patches are well accepted, get in touch with us on the -mailinglist. - - -Code gallery -============= - -You might want to look at the code in frei0r more in detail, then -browse the existing effects by visiting the Frei0r plugin gallery -online. +and patches are well accepted, get in touch with us on the +mailinglist (see the section Communication below). History @@ -91,12 +61,14 @@ held at the Piksel conference with the participation of various free and open source video software developers. -It is mostly adopted on GNU/Linux and OSX platforms, counts more than -80 effects implemented and is used by free video applications as -PureData, Open Movie Editor, DVEdit, Gephex, LiVES, FreeJ, MøB, -VeeJay, MLT and KDEnLive among the others. - -Wikipedia page about Frei0r: http://en.wikipedia.org/wiki/Frei0r +It works on all hardware platforms without the need for any particular +hardware acceleration (GNU/Linux, Apple/OSX and MS/Win) and consists +of more than 100 plugins. Among the free and open source video +application supporting frei0r are: KDEnLive, FFMpeg, MLT, PureData, +Open Movie Editor, DVEdit, Gephex, LiVES, FreeJ, VeeJay and Flowblade +among the others. + +Wikipedia page about frei0r: http://en.wikipedia.org/wiki/Frei0r [Piksel]: http://www.piksel.no @@ -110,6 +82,7 @@ [VeeJay]: http://veejayhq.net [MLT]: http://www.mltframework.org/ [KDEnLive]: http://www.kdenlive.org/ +[Flowblade]: http://code.google.com/p/flowblade/ Download @@ -120,7 +93,7 @@ Stable frei0r releases are packaged periodically and distributed on - ftp://ftp.dyne.org/frei0r + http://files.dyne.org/frei0r We encourage the unauthorized mirroring of this source repository by all those interested, using the command @@ -139,48 +112,44 @@ Some clones made by developers are also found on github, but basically we coalesce around this repository online to pack releases. Make sure to get in touch with our mailinglist if you like to see your code in -there. +there (see the section Communication below). Build dependencies ------------------- - + GNU autotools ( ./configure && make ) - or - + CMake ( cmake . && make ) - Frei0r can be built on GNU/Linux, M$/Windows and Apple/OSX platforms, -possibly in even more environments like embedded devices/ - -* Optional Dependencies - - + [Gavl] ( required for scale0tilt and vectorscope filters ) - [Gavl]: http://gmerlin.sourceforge.net - - + [OpenCV] (required for facebl0r filter ) - [OpenCV]: http://opencvlibrary.sourceforge.net - -Debian / Ubuntu -================ - -Binary packages are mantained for Debian ([QA]) and Ubuntu ([pkg]), to -install the stable version distributed use *apt-get* or *synaptic*: - - sudo apt-get install frei0r-plugins - - - [QA]: http://packages.qa.debian.org/f/frei0r.html - [pkg]: http://packages.ubuntu.com/search?searchon=names&keywords=frei0r +possibly in even more environments like embedded devices. + +For details see the INSTALL file, short and to the point. + +GNU / Linux +============ + +Binary packages are mantained on various distributions. + +For an overview see http://oswatershed.org/pkg/frei0r-plugins Apple / OSX ============ -[MacPorts] provide ready to install packages for OSX: in case you have -this packaging system installed, you just need to open a terminal and -give the following command: - -sudo port install frei0r-plugins - +MacPorts provides packages for OSX: [MacPorts]: http://www.macports.org + $ sudo port install frei0r-plugins + +Pre-compiled binaries are also uploaded on our website. + +We encourage Apple/OSX application distributors to compile the plugins +directly and to include frei0r within their bundle. + + + +Microsoft / Windows +==================== + +Pre-compiled binaries are uploaded on our website. + +We encourage MS/Win application distributors to compile the plugins +directly and to include frei0r within their bundle. Documentation @@ -193,7 +162,7 @@ API explanation ================ -While the main source of documentation for the Frei0r API is the +While the main source of documentation for the frei0r API is the header, the sourcecode is well commented so you can study its full [doxyfied documentation] online. @@ -255,49 +224,26 @@ You can get in touch with our developer community, send your new effects and share your intentions with us. -We have a free mailinglist open to subscription on [frei0r-devel] with -[public archives] that are also [searchable and indexed] online. - -For effective and indexed bug reporting regarding plugin -implementations and platform builds, here is a publicly available -[issue tracker]. - - -[frei0r-devel]: https://piksel.no/mailman/listinfo/frei0r-devel -[public archives]: http://piksel.no/pipermail/frei0r-devel/ -[searchable and indexed]: http://blog.gmane.org/gmane.comp.video.frei0r.devel -[issue tracker]: http://www.piksel.no/projects/frei0r/report +We have a free mailinglist open to [subscription] and we provide +[public archives] of the discussions there that are also searchable +and indexed online. + +For bug reporting the mailinglist is preferred, but is also possible +to use an [issue tracker]. + + +[subscribe]: http://mailinglists.dyne.org/cgi-bin/mailman/listinfo/frei0r +[public archives]: http://lists.dyne.org/lurker/list/frei0r.en.html +[issue tracker]: http://bugs.dyne.org Acknowledgments ~~~~~~~~~~~~~~~~ - Frei0r is the result of a collective effort in coordination with -several software developers meeting at [Piksel] between 2003 and 2005 -to find a common standard for video effect plugins to be used among -their applications: Andraz Tori (Cinelerra/CVS), Daniel Fischer -(Pakt/GStreamet), Denis Jaromil Rojo (FreeJ/Dyne), Gabriel "Salsaman" -Finch (LiVES), Kentaro Fukuchi (EffecTV), Niels Elburg (VeeJay), -Øyvind Kolås (Gegl/Babl/Gimp), Tom Schouten (PDP/PureData), Georg -Seidel, Martin Bayer and Phillip Promesberger (Gephex). - - -We first aimed at the realisation of a comprehensive specification for -dynamically loaded plugins named LiViDO, which then spawned two -implementations: one being Frei0r, a minimalistic implementation -contributed by the Gephex team and the other one being the WEED -implementation by LiVES developer Salsaman, sporting more features for -GUI integration and scriptability. - - -Within the span of a few years, the minimalistic approach of *frei0r* -has been widely adopted among more applications and became a *de-facto -standard*. Maintenance and further refinements were contributed by -Carlo Prelz (MøB/BEK), Richard Spindler (Open Movie Editor) and Dan -Dennedy (MLT/KDEnLive), while Debian/Ubuntu packaging and build system -standardization were taken care of by dyne.org developers Filippo -Giunchedi and Luca Bigliardi. - ---------------------------------------------------------------------- - - +several software developers meeting to find a common standard for +video effect plugins to be used among their applications. + +For a full list of contributors and the project history, see the file +AUTHORS, the ChangeLog and the project web page http://frei0r.dyne.org + + diff --git a/aclocal.m4 b/aclocal.m4 index b0418fa..fa348a4 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# generated automatically by aclocal 1.13.1 -*- Autoconf -*- + +# Copyright (C) 1996-2012 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,13 +11,14 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, -[m4_warning([this file was generated for autoconf 2.67. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. -To do so, use the procedure documented by the package, typically `autoreconf'.])]) +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) @@ -47,7 +48,8 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) @@ -93,7 +95,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -141,9 +144,9 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -177,7 +180,47 @@ fi[]dnl ])# PKG_CHECK_MODULES -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +# PKG_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable pkgconfigdir as the location where a module +# should install pkg-config .pc files. By default the directory is +# $libdir/pkgconfig, but the default can be changed by passing +# DIRECTORY. The user can override through the --with-pkgconfigdir +# parameter. +AC_DEFUN([PKG_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([pkgconfigdir], + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, + [with_pkgconfigdir=]pkg_default) +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_INSTALLDIR + + +# PKG_NOARCH_INSTALLDIR(DIRECTORY) +# ------------------------- +# Substitutes the variable noarch_pkgconfigdir as the location where a +# module should install arch-independent pkg-config .pc files. By +# default the directory is $datadir/pkgconfig, but the default can be +# changed by passing DIRECTORY. The user can override through the +# --with-noarch-pkgconfigdir parameter. +AC_DEFUN([PKG_NOARCH_INSTALLDIR], +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) +m4_pushdef([pkg_description], + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) +AC_ARG_WITH([noarch-pkgconfigdir], + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, + [with_noarch_pkgconfigdir=]pkg_default) +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) +m4_popdef([pkg_default]) +m4_popdef([pkg_description]) +]) dnl PKG_NOARCH_INSTALLDIR + +# Copyright (C) 2002-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -189,10 +232,10 @@ # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], -[am__api_version='1.11' +[am__api_version='1.13' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.11.1], [], +m4_if([$1], [1.13.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -208,22 +251,22 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.11.1])dnl +[AM_AUTOMAKE_VERSION([1.13.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and @@ -242,7 +285,7 @@ # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually -# harmless because $srcdir is `.', but things will broke when you +# harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, @@ -268,22 +311,19 @@ # AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 9 +# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], -[AC_PREREQ(2.52)dnl - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl @@ -302,16 +342,14 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 10 - -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing @@ -321,7 +359,7 @@ # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. -# NAME is "CC", "CXX", "GCJ", or "OBJC". +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was @@ -334,12 +372,13 @@ AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], - [$1], CXX, [depcc="$CXX" am_compiler_list=], - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], - [$1], UPC, [depcc="$UPC" am_compiler_list=], - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], - [depcc="$$1" am_compiler_list=]) +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], @@ -347,8 +386,9 @@ # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -387,16 +427,16 @@ : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -405,16 +445,16 @@ test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -462,7 +502,7 @@ # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl @@ -472,34 +512,39 @@ # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], -[AC_ARG_ENABLE(dependency-tracking, -[ --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors]) +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -#serial 5 +# Copyright (C) 1999-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -512,7 +557,7 @@ # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -524,21 +569,19 @@ continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` @@ -556,7 +599,7 @@ # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking -# is enabled. FIXME. This creates each `.P' file that we will +# is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], @@ -566,14 +609,11 @@ # Do all the work for Automake. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 16 +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. @@ -590,7 +630,7 @@ # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], -[AC_PREREQ([2.62])dnl +[AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl @@ -619,31 +659,40 @@ # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) -AM_MISSING_PROG(AUTOCONF, autoconf) -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) -AM_MISSING_PROG(AUTOHEADER, autoheader) -AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -AC_REQUIRE([AM_PROG_MKDIR_P])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl @@ -654,28 +703,32 @@ [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], - [_AM_DEPENDENCIES(CC)], - [define([AC_PROG_CC], - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], - [_AM_DEPENDENCIES(CXX)], - [define([AC_PROG_CXX], - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], - [_AM_DEPENDENCIES(OBJC)], - [define([AC_PROG_OBJC], - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl -]) -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], @@ -703,7 +756,7 @@ done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -722,15 +775,13 @@ install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi -AC_SUBST(install_sh)]) - -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. @@ -747,13 +798,11 @@ # Check to see how 'make' treats includes. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- @@ -772,7 +821,7 @@ _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. +# Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include @@ -799,14 +848,11 @@ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 6 +# Copyright (C) 1997-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -815,11 +861,10 @@ $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) - # AM_MISSING_HAS_RUN # ------------------ -# Define MISSING if not defined so far and test if it supports --run. -# If it does, set am_missing_run to use it, otherwise, to nothing. +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl @@ -832,49 +877,21 @@ esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - AC_MSG_WARN([`missing' script is too old or missing]) -fi -]) - -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PROG_MKDIR_P -# --------------- -# Check for `mkdir -p'. -AC_DEFUN([AM_PROG_MKDIR_P], -[AC_PREREQ([2.60])dnl -AC_REQUIRE([AC_PROG_MKDIR_P])dnl -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, -dnl while keeping a definition of mkdir_p for backward compatibility. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of -dnl Makefile.ins that do not define MKDIR_P, so we do our own -dnl adjustment using top_builddir (which is defined more often than -dnl MKDIR_P). -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl -case $mkdir_p in - [[\\/$]]* | ?:[[\\/]]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac + AC_MSG_WARN(['missing' script is too old or missing]) +fi ]) # Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 4 +# Copyright (C) 2001-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -882,13 +899,13 @@ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) -# ------------------------------ +# -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) -# ---------------------------------- +# ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) @@ -901,22 +918,16 @@ # Check to make sure that the build environment is sane. -*- Autoconf -*- -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 -# Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 5 +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' @@ -927,32 +938,40 @@ esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac -# Do `set' in a subshell so we don't clobber the current shell's +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$[*]" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$[*]" != "X $srcdir/configure conftest.file" \ - && test "$[*]" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -alias in your environment]) - fi - + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$[2]" = conftest.file ) then @@ -962,9 +981,85 @@ AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -AC_MSG_RESULT(yes)]) - -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -972,33 +1067,31 @@ # AM_PROG_INSTALL_STRIP # --------------------- -# One issue with vendor `install' (even GNU) is that you can't +# One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we -# always use install-sh in `make install-strip', and initialize +# always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 +# Copyright (C) 2006-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- @@ -1007,24 +1100,22 @@ AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) -# --------------------------- +# -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# serial 2 +# Copyright (C) 2004-2013 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. -# FORMAT should be one of `v7', `ustar', or `pax'. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory @@ -1035,10 +1126,11 @@ # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], -[# Always define AMTAR for backward compatibility. -AM_MISSING_PROG([AMTAR], [tar]) +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) @@ -1046,7 +1138,7 @@ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and -# Solaris sh will not grok spaces in the rhs of `-'. +# Solaris sh will not grok spaces in the rhs of '-'. for _am_tool in $_am_tools do case $_am_tool in diff --git a/autogen.sh b/autogen.sh index 1c94991..125ca1f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -65,6 +65,7 @@ echo "Generating configuration files for $package, please wait...." echo " $ACLOCAL" +mkdir -p m4 $ACLOCAL || exit -1 echo " $AUTOHEADER" $AUTOHEADER || exit -1 diff --git a/cmake/modules/FindCairo.cmake b/cmake/modules/FindCairo.cmake new file mode 100644 index 0000000..79e6598 --- /dev/null +++ b/cmake/modules/FindCairo.cmake @@ -0,0 +1,41 @@ +# - Try to find Cairo +# Once done, this will define +# +# Cairo_FOUND - system has Cairo +# Cairo_INCLUDE_DIRS - the Cairo include directories +# Cairo_LIBRARIES - link these to use Cairo + +include(LibFindMacros) + +# Freetype is not necessarily required on all platforms... +if(NOT WIN32) + set(cairo_needs_freetype true) +endif(NOT WIN32) + +# Dependencies +if(cairo_needs_freetype) + libfind_package(Cairo Freetype) +endif(cairo_needs_freetype) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(Cairo_PKGCONF cairo) + +# Include dir +find_path(Cairo_INCLUDE_DIR + NAMES cairo.h + HINTS ${Cairo_PKGCONF_INCLUDE_DIRS} + PATH_SUFFIXES cairo +) + +# Finally the library itself +find_library(Cairo_LIBRARY + NAMES cairo + HINTS ${Cairo_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. +set(Cairo_PROCESS_INCLUDES Cairo_INCLUDE_DIR) +set(Cairo_PROCESS_LIBS Cairo_LIBRARY) + +libfind_process(Cairo) diff --git a/cmake/modules/LibFindMacros.cmake b/cmake/modules/LibFindMacros.cmake new file mode 100644 index 0000000..69975c5 --- /dev/null +++ b/cmake/modules/LibFindMacros.cmake @@ -0,0 +1,99 @@ +# Works the same as find_package, but forwards the "REQUIRED" and "QUIET" arguments +# used for the current package. For this to work, the first parameter must be the +# prefix of the current package, then the prefix of the new package etc, which are +# passed to find_package. +macro (libfind_package PREFIX) + set (LIBFIND_PACKAGE_ARGS ${ARGN}) + if (${PREFIX}_FIND_QUIETLY) + set (LIBFIND_PACKAGE_ARGS ${LIBFIND_PACKAGE_ARGS} QUIET) + endif (${PREFIX}_FIND_QUIETLY) + if (${PREFIX}_FIND_REQUIRED) + set (LIBFIND_PACKAGE_ARGS ${LIBFIND_PACKAGE_ARGS} REQUIRED) + endif (${PREFIX}_FIND_REQUIRED) + find_package(${LIBFIND_PACKAGE_ARGS}) +endmacro (libfind_package) + +# CMake developers made the UsePkgConfig system deprecated in the same release (2.6) +# where they added pkg_check_modules. Consequently I need to support both in my scripts +# to avoid those deprecated warnings. Here's a helper that does just that. +# Works identically to pkg_check_modules, except that no checks are needed prior to use. +macro (libfind_pkg_check_modules PREFIX PKGNAME) + if (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4) + include(UsePkgConfig) + pkgconfig(${PKGNAME} ${PREFIX}_INCLUDE_DIRS ${PREFIX}_LIBRARY_DIRS ${PREFIX}_LDFLAGS ${PREFIX}_CFLAGS) + else (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4) + find_package(PkgConfig) + if (PKG_CONFIG_FOUND) + pkg_check_modules(${PREFIX} ${PKGNAME}) + endif (PKG_CONFIG_FOUND) + endif (${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 4) +endmacro (libfind_pkg_check_modules) + +# Do the final processing once the paths have been detected. +# If include dirs are needed, ${PREFIX}_PROCESS_INCLUDES should be set to contain +# all the variables, each of which contain one include directory. +# Ditto for ${PREFIX}_PROCESS_LIBS and library files. +# Will set ${PREFIX}_FOUND, ${PREFIX}_INCLUDE_DIRS and ${PREFIX}_LIBRARIES. +# Also handles errors in case library detection was required, etc. +macro (libfind_process PREFIX) + # Skip processing if already processed during this run + if (NOT ${PREFIX}_FOUND) + # Start with the assumption that the library was found + set (${PREFIX}_FOUND TRUE) + + # Process all includes and set _FOUND to false if any are missing + foreach (i ${${PREFIX}_PROCESS_INCLUDES}) + if (${i}) + set (${PREFIX}_INCLUDE_DIRS ${${PREFIX}_INCLUDE_DIRS} ${${i}}) + mark_as_advanced(${i}) + else (${i}) + set (${PREFIX}_FOUND FALSE) + endif (${i}) + endforeach (i) + + # Process all libraries and set _FOUND to false if any are missing + foreach (i ${${PREFIX}_PROCESS_LIBS}) + if (${i}) + set (${PREFIX}_LIBRARIES ${${PREFIX}_LIBRARIES} ${${i}}) + mark_as_advanced(${i}) + else (${i}) + set (${PREFIX}_FOUND FALSE) + endif (${i}) + endforeach (i) + + # Print message and/or exit on fatal error + if (${PREFIX}_FOUND) + if (NOT ${PREFIX}_FIND_QUIETLY) + message (STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}") + endif (NOT ${PREFIX}_FIND_QUIETLY) + else (${PREFIX}_FOUND) + if (${PREFIX}_FIND_REQUIRED) + foreach (i ${${PREFIX}_PROCESS_INCLUDES} ${${PREFIX}_PROCESS_LIBS}) + message("${i}=${${i}}") + endforeach (i) + message (FATAL_ERROR "Required library ${PREFIX} NOT FOUND.\nInstall the library (dev version) and try again. If the library is already installed, use ccmake to set the missing variables manually.") + endif (${PREFIX}_FIND_REQUIRED) + endif (${PREFIX}_FOUND) + endif (NOT ${PREFIX}_FOUND) +endmacro (libfind_process) + +macro(libfind_library PREFIX basename) + set(TMP "") + if(MSVC80) + set(TMP -vc80) + endif(MSVC80) + if(MSVC90) + set(TMP -vc90) + endif(MSVC90) + set(${PREFIX}_LIBNAMES ${basename}${TMP}) + if(${ARGC} GREATER 2) + set(${PREFIX}_LIBNAMES ${basename}${TMP}-${ARGV2}) + string(REGEX REPLACE "\\." "_" TMP ${${PREFIX}_LIBNAMES}) + set(${PREFIX}_LIBNAMES ${${PREFIX}_LIBNAMES} ${TMP}) + endif(${ARGC} GREATER 2) + find_library(${PREFIX}_LIBRARY + NAMES ${${PREFIX}_LIBNAMES} + PATHS ${${PREFIX}_PKGCONF_LIBRARY_DIRS} + ) +endmacro(libfind_library) + diff --git a/config.guess b/config.guess index f32079a..1804e9f 100755 --- a/config.guess +++ b/config.guess @@ -1,14 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. - -timestamp='2008-01-23' +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -17,26 +17,22 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Originally written by Per Bothner . -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). # -# This script attempts to guess a canonical system name similar to -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. +# Originally written by Per Bothner. # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD +# +# Please send patches with a ChangeLog entry to config-patches@gnu.org. + me=`echo "$0" | sed -e 's,.*/,,'` @@ -56,8 +52,9 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -144,7 +141,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward @@ -170,7 +167,7 @@ arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep __ELF__ >/dev/null + | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? @@ -180,7 +177,7 @@ fi ;; *) - os=netbsd + os=netbsd ;; esac # The OS release @@ -201,6 +198,10 @@ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} + exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} @@ -223,7 +224,7 @@ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -269,7 +270,10 @@ # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -295,12 +299,12 @@ echo s390-ibm-zvmoe exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 + echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; - arm:riscos:*:*|arm:RISCOS:*:*) + arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) @@ -324,14 +328,33 @@ case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; + s390x:SunOS:*:*) + echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux${UNAME_RELEASE} + exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) - echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + eval $set_cc_for_build + SUN_ARCH="i386" + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + SUN_ARCH="x86_64" + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize @@ -375,23 +398,23 @@ # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-unknown-mint${UNAME_RELEASE} - exit ;; + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; @@ -461,8 +484,8 @@ echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ @@ -475,7 +498,7 @@ else echo i586-dg-dgux${UNAME_RELEASE} fi - exit ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; @@ -532,7 +555,7 @@ echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[456]) + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -575,52 +598,52 @@ 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + esac ;; + esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa @@ -640,7 +663,7 @@ # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | - grep __LP64__ >/dev/null + grep -q __LP64__ then HP_ARCH="hppa2.0w" else @@ -711,22 +734,22 @@ exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; @@ -750,14 +773,14 @@ exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} @@ -769,34 +792,39 @@ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) - case ${UNAME_MACHINE} in - pc98) - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; + *:MINGW64*:*) + echo ${UNAME_MACHINE}-pc-mingw64 + exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; + i*:MSYS*:*) + echo ${UNAME_MACHINE}-pc-msys + exit ;; i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - *:Interix*:[3456]*) - case ${UNAME_MACHINE} in + *:Interix*:*) + case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; - EM64T | authenticamd) + authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) @@ -806,6 +834,9 @@ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; + 8664:Windows_NT:*) + echo x86_64-pc-mks + exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we @@ -835,91 +866,12 @@ i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; - arm*:Linux:*:*) - eval $set_cc_for_build - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ - | grep -q __ARM_EABI__ - then - echo ${UNAME_MACHINE}-unknown-linux-gnu - else - echo ${UNAME_MACHINE}-unknown-linux-gnueabi - fi - exit ;; - avr32*:Linux:*:*) + aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; - cris:Linux:*:*) - echo cris-axis-linux-gnu - exit ;; - crisv32:Linux:*:*) - echo crisv32-axis-linux-gnu - exit ;; - frv:Linux:*:*) - echo frv-unknown-linux-gnu - exit ;; - ia64:Linux:*:*) + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - mips:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips - #undef mipsel - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mipsel - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - mips64:Linux:*:*) - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #undef CPU - #undef mips64 - #undef mips64el - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) - CPU=mips64el - #else - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) - CPU=mips64 - #else - CPU= - #endif - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^CPU/{ - s: ::g - p - }'`" - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } - ;; - or32:Linux:*:*) - echo or32-unknown-linux-gnu - exit ;; - ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu - exit ;; - ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in @@ -930,10 +882,89 @@ EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; - esac - objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo ${UNAME_MACHINE}-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + hexagon:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + LIBC=gnu + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-gnu + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level @@ -943,14 +974,17 @@ *) echo hppa-unknown-linux-gnu ;; esac exit ;; - parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -958,78 +992,18 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit ;; - i*86:Linux:*:*) - # The BFD linker knows what the default object file format is, so - # first see if it will tell us. cd to the root directory to prevent - # problems with other programs or directories called `ld' in the path. - # Set LC_ALL=C to ensure ld outputs messages in English. - ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ - | sed -ne '/supported targets:/!d - s/[ ][ ]*/ /g - s/.*supported targets: *// - s/ .*// - p'` - case "$ld_supported_targets" in - elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" - ;; - a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; - "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or - # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" - exit ;; - esac - # Determine whether the default compiler is a.out or elf - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c - #include - #ifdef __ELF__ - # ifdef __GLIBC__ - # if __GLIBC__ >= 2 - LIBC=gnu - # else - LIBC=gnulibc1 - # endif - # else - LIBC=gnulibc1 - # endif - #else - #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) - LIBC=gnu - #else - LIBC=gnuaout - #endif - #endif - #ifdef __dietlibc__ - LIBC=dietlibc - #endif -EOF - eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' - /^LIBC/{ - s: ::g - p - }'`" - test x"${LIBC}" != x && { - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" - exit - } - test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } - ;; + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both @@ -1037,11 +1011,11 @@ echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) @@ -1058,7 +1032,7 @@ i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) @@ -1073,7 +1047,7 @@ fi exit ;; i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; @@ -1101,10 +1075,13 @@ exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i386. - echo i386-pc-msdosdjgpp - exit ;; + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configury will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; @@ -1139,8 +1116,18 @@ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; @@ -1153,7 +1140,7 @@ rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) @@ -1173,10 +1160,10 @@ echo ns32k-sni-sysv fi exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm @@ -1202,11 +1189,11 @@ exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-unknown-sysv${UNAME_RELEASE} - fi - exit ;; + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; @@ -1215,6 +1202,12 @@ exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} @@ -1243,6 +1236,16 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in + i386) + eval $set_cc_for_build + if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + UNAME_PROCESSOR="x86_64" + fi + fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1258,7 +1261,10 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; - NSE-?:NONSTOP_KERNEL:*:*) + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) @@ -1303,13 +1309,13 @@ echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} + echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1324,10 +1330,13 @@ i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; + i*86:AROS:*:*) + echo ${UNAME_MACHINE}-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx + exit ;; esac - -#echo '(No uname command or uname output not recognized.)' 1>&2 -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 - "4" + "4" #else - "" -#endif - ); exit (0); + "" +#endif + ); exit (0); #endif #endif diff --git a/config.sub b/config.sub index 6759825..802a224 100755 --- a/config.sub +++ b/config.sub @@ -1,43 +1,41 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. - -timestamp='2008-01-16' - -# This file is (in principle) common to ALL GNU software. -# The presence of a machine in this file suggests that SOME GNU software -# can handle that machine. It does not imply ALL GNU software can. -# -# This file is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011, 2012, 2013 Free Software Foundation, Inc. + +timestamp='2012-12-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - - -# Please send patches to . Submit a context -# diff and a properly formatted ChangeLog entry. +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches with a ChangeLog entry to config-patches@gnu.org. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -72,8 +70,9 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, +2012, 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -120,11 +119,17 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + android-linux) + os=-linux-android + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` @@ -148,9 +153,12 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis | -knuth | -cray) + -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 + ;; + -bluegene*) + os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= @@ -166,10 +174,10 @@ os=-chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + -chorusrdb) + os=-chorusrdb basic_machine=$1 - ;; + ;; -hiux*) os=-hiuxwe2 ;; @@ -213,6 +221,12 @@ ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*178) + os=-lynxos178 + ;; + -lynx*5) + os=-lynxos5 ;; -lynx*) os=-lynxos @@ -238,24 +252,34 @@ # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc \ + | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ + | avr | avr32 \ + | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ + | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ + | le32 | le64 \ + | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore | mep \ + | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ - | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ @@ -268,29 +292,42 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | moxie \ | mt \ | msp430 \ + | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ + | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ + | rl78 | rx \ | score \ - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ - | v850 | v850e \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ - | z8k) + | x86 | xc16x | xstormy16 | xtensa \ + | z8k | z80) basic_machine=$basic_machine-unknown ;; - m6811 | m68hc11 | m6812 | m68hc12) - # Motorola 68HC11/12. + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) basic_machine=$basic_machine-unknown os=-none ;; @@ -298,6 +335,21 @@ ;; ms1) basic_machine=mt-unknown + ;; + + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + xgate) + basic_machine=$basic_machine-unknown + os=-none + ;; + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' @@ -314,29 +366,37 @@ # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ + | be32-* | be64-* \ | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ + | le32-* | le64-* \ + | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ + | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ + | mips64octeon-* | mips64octeonel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ - | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ @@ -351,27 +411,32 @@ | mmix-* \ | mt-* \ | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ - | romp-* | rs6000-* \ - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile*-* \ | tron-* \ - | v850-* | v850e-* | vax-* \ + | ubicom32-* \ + | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ + | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ - | z8k-*) + | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) @@ -393,7 +458,7 @@ basic_machine=a29k-amd os=-udi ;; - abacus) + abacus) basic_machine=abacus-unknown ;; adobe68k) @@ -439,6 +504,10 @@ basic_machine=m68k-apollo os=-bsd ;; + aros) + basic_machine=i386-pc + os=-aros + ;; aux) basic_machine=m68k-apple os=-aux @@ -455,10 +524,27 @@ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; + bluegene*) + basic_machine=powerpc-ibm + os=-cnk + ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; c90) basic_machine=c90-cray os=-unicos ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -487,7 +573,7 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16) + cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; @@ -526,6 +612,10 @@ basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp @@ -641,7 +731,6 @@ i370-ibm* | ibm*) basic_machine=i370-ibm ;; -# I'm not sure what "Sysv32" means. Should this be sysv3.2? i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 @@ -699,6 +788,13 @@ basic_machine=ns32k-utek os=-sysv ;; + microblaze*) + basic_machine=microblaze-xilinx + ;; + mingw64) + basic_machine=x86_64-pc + os=-mingw64 + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -735,9 +831,17 @@ ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; + msys) + basic_machine=i386-pc + os=-msys + ;; mvs) basic_machine=i370-ibm os=-mvs + ;; + nacl) + basic_machine=le32-unknown + os=-nacl ;; ncr3000) basic_machine=i486-ncr @@ -803,6 +907,12 @@ np1) basic_machine=np1-gould ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -885,9 +995,10 @@ ;; power) basic_machine=power-ibm ;; - ppc) basic_machine=powerpc-unknown - ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc | ppcbe) basic_machine=powerpc-unknown + ;; + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown @@ -912,7 +1023,11 @@ basic_machine=i586-unknown os=-pw32 ;; - rdos) + rdos | rdos64) + basic_machine=x86_64-pc + os=-rdos + ;; + rdos32) basic_machine=i386-pc os=-rdos ;; @@ -981,6 +1096,9 @@ basic_machine=i860-stratus os=-sysv4 ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -1037,20 +1155,8 @@ basic_machine=t90-cray os=-unicos ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff - ;; tile*) - basic_machine=tile-unknown + basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) @@ -1120,12 +1226,19 @@ xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown + os=-sim + ;; + z80-*-coff) + basic_machine=z80-unknown os=-sim ;; none) @@ -1166,7 +1279,7 @@ we32k) basic_machine=we32k-att ;; - sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) @@ -1213,9 +1326,12 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases + # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. + -auroraux) + os=-auroraux + ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; @@ -1236,21 +1352,23 @@ # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ - | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ + | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ - | -aos* \ + | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ - | -openbsd* | -solidbsd* \ + | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -chorusos* | -chorusrdb* | -cegcc* \ + | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ @@ -1258,7 +1376,7 @@ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1297,7 +1415,7 @@ -opened*) os=-openedition ;; - -os400*) + -os400*) os=-os400 ;; -wince*) @@ -1346,7 +1464,7 @@ -sinix*) os=-sysv4 ;; - -tpf*) + -tpf*) os=-tpf ;; -triton*) @@ -1387,6 +1505,11 @@ ;; -zvmoe) os=-zvmoe + ;; + -dicos*) + os=-dicos + ;; + -nacl*) ;; -none) ;; @@ -1410,10 +1533,10 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) + score-*) os=-elf ;; - spu-*) + spu-*) os=-elf ;; *-acorn) @@ -1425,8 +1548,20 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff + c4x-* | tic4x-*) + os=-coff + ;; + hexagon-*) + os=-elf + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff ;; # This must come before the *-dec entry. pdp10-*) @@ -1446,14 +1581,11 @@ ;; m68000-sun) os=-sunos3 - # This also exists in the configure program, but was not the - # default. - # os=-sunos4 ;; m68*-cisco) os=-aout ;; - mep-*) + mep-*) os=-elf ;; mips*-cisco) @@ -1480,7 +1612,7 @@ *-ibm) os=-aix ;; - *-knuth) + *-knuth) os=-mmixware ;; *-wec) @@ -1585,7 +1717,7 @@ -sunos*) vendor=sun ;; - -aix*) + -cnk*|-aix*) vendor=ibm ;; -beos*) diff --git a/configure b/configure index 6018c80..f864031 100755 --- a/configure +++ b/configure @@ -1,13 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for frei0r-plugins 1.3.0. +# Generated by GNU Autoconf 2.69 for frei0r-plugins 1.3.0. # # Report bugs to . # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -91,6 +89,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -135,6 +134,31 @@ # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -168,11 +192,20 @@ else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes @@ -213,14 +246,25 @@ if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -323,6 +367,14 @@ } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -444,6 +496,10 @@ chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -478,16 +534,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -499,28 +555,8 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -528,154 +564,7 @@ # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -# Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` - ;; -esac - -ECHO=${lt_ECHO-echo} -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "$0" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -$* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL $0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL $0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "$0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" -fi - - test -n "$DJDIR" || exec 7<&0 &2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1360,8 +1264,6 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1525,8 +1427,12 @@ --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-dependency-tracking speeds up one-time build - --enable-dependency-tracking do not reject slow dependency extractors + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] @@ -1537,9 +1443,11 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pic try to use only PIC/non-PIC objects [default=use + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). Some influential environment variables: CXX C++ compiler command @@ -1563,6 +1471,9 @@ OPENCV_LIBS linker flags for OPENCV, overriding pkg-config GAVL_CFLAGS C compiler flags for GAVL, overriding pkg-config GAVL_LIBS linker flags for GAVL, overriding pkg-config + CAIRO_CFLAGS + C compiler flags for CAIRO, overriding pkg-config + CAIRO_LIBS linker flags for CAIRO, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1631,9 +1542,9 @@ if $ac_init_version; then cat <<\_ACEOF frei0r-plugins configure 1.3.0 -generated by GNU Autoconf 2.67 - -Copyright (C) 2010 Free Software Foundation, Inc. +generated by GNU Autoconf 2.69 + +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1677,7 +1588,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile @@ -1715,7 +1626,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile @@ -1747,7 +1658,7 @@ test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -1761,7 +1672,7 @@ # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link @@ -1775,7 +1686,7 @@ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1793,7 +1704,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile @@ -1829,7 +1740,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp @@ -1871,7 +1782,7 @@ ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run @@ -1884,7 +1795,7 @@ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -1939,7 +1850,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -1975,7 +1886,7 @@ ac_retval=1 fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_cpp @@ -2007,7 +1918,7 @@ test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -2021,7 +1932,7 @@ # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_link @@ -2034,10 +1945,10 @@ ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval "test \"\${$3+set}\"" = set; then : + if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 @@ -2104,7 +2015,7 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" @@ -2113,7 +2024,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel @@ -2126,7 +2037,7 @@ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : +if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" @@ -2167,7 +2078,7 @@ eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type cat >config.log <<_ACEOF @@ -2175,7 +2086,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by frei0r-plugins $as_me 1.3.0, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2433,7 +2344,7 @@ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi done @@ -2524,7 +2435,7 @@ -am__api_version='1.11' +am__api_version='1.13' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -2572,7 +2483,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : +if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2592,7 +2503,7 @@ # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -2650,45 +2561,50 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } -# Just in case -sleep 1 -echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; + as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac -# Do `set' in a subshell so we don't clobber the current shell's +# Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` - if test "$*" = "X"; then - # -L didn't work. - set X `ls -t "$srcdir/configure" conftest.file` - fi - rm -f conftest.file - if test "$*" != "X $srcdir/configure conftest.file" \ - && test "$*" != "X conftest.file $srcdir/configure"; then - - # If neither matched, then we have a broken ls. This can happen - # if, for instance, CONFIG_SHELL is bash and it inherits a - # broken ls alias from the environment. This has actually - # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 - fi - + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken + alias in your environment" "$LINENO" 5 + fi + if test "$2" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done test "$2" = conftest.file ) then @@ -2700,6 +2616,16 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi + +rm -f conftest.file + test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. @@ -2722,12 +2648,12 @@ esac fi # Use eval to expand $SHELL -if eval "$MISSING --run true"; then - am_missing_run="$MISSING --run " +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then @@ -2739,17 +2665,17 @@ esac fi -# Installed binaries are usually stripped using `strip' when the user -# run `make install-strip'. However `strip' might not be the right +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake -# will honor the `STRIP' environment variable to overrule this program. +# will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -2761,7 +2687,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2789,7 +2715,7 @@ set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -2801,7 +2727,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2842,7 +2768,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : + if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2852,7 +2778,7 @@ test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ @@ -2881,19 +2807,13 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } -mkdir_p="$MKDIR_P" -case $mkdir_p in - [\\/$]* | ?:[\\/]*) ;; - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; -esac - for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : +if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -2905,7 +2825,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2933,7 +2853,7 @@ $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -2969,6 +2889,45 @@ fi rmdir .tst 2>/dev/null +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in # ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=1;; +esac +am_make=${MAKE-make} +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 +$as_echo_n "checking whether $am_make supports nested variables... " >&6; } +if ${am_cv_make_support_nested_variables+:} false; then : + $as_echo_n "(cached) " >&6 +else + if $as_echo 'TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 +$as_echo "$am_cv_make_support_nested_variables" >&6; } +if test $am_cv_make_support_nested_variables = yes; then + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AM_BACKSLASH='\' + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -2990,6 +2949,7 @@ # Define the identity of the package. + PACKAGE=frei0r-plugins VERSION=1.3.0 @@ -3019,13 +2979,19 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# +# +mkdir_p='$(MKDIR_P)' + # We need awk for the "check" target. The system "awk" is bad on # some platforms. -# Always define AMTAR for backward compatibility. - -AMTAR=${AMTAR-"${am_missing_run}tar"} - -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' +# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AMTAR='$${TAR-tar}' + +am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' @@ -3049,7 +3015,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : +if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then @@ -3061,7 +3027,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3093,7 +3059,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : +if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then @@ -3105,7 +3071,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3257,7 +3223,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C++ compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } @@ -3300,7 +3266,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 @@ -3359,7 +3325,7 @@ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi fi fi @@ -3370,7 +3336,7 @@ ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : +if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3411,7 +3377,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi @@ -3421,7 +3387,7 @@ ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : +if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -3458,7 +3424,7 @@ ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : +if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag @@ -3558,7 +3524,7 @@ _am_result=none # First try GNU make style include. echo "include confinc" > confmf -# Ignore all kinds of additional output from `make'. +# Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include @@ -3591,6 +3557,7 @@ if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' + am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= @@ -3606,15 +3573,16 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : +if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -3648,16 +3616,16 @@ : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -3666,16 +3634,16 @@ test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -3739,7 +3707,7 @@ set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3751,7 +3719,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3779,7 +3747,7 @@ set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3791,7 +3759,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3832,7 +3800,7 @@ set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3844,7 +3812,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3872,7 +3840,7 @@ set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3885,7 +3853,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -3931,7 +3899,7 @@ set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3943,7 +3911,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3975,7 +3943,7 @@ set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3987,7 +3955,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4030,7 +3998,7 @@ test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 @@ -4059,7 +4027,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -4096,7 +4064,7 @@ ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag @@ -4174,7 +4142,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no @@ -4183,8 +4151,7 @@ /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -4273,15 +4240,16 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : +if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. @@ -4315,16 +4283,16 @@ : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - # We check with `-c' and `-o' for the sake of the "dashmstdout" + # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in @@ -4333,16 +4301,16 @@ test "$am__universal" = false || continue ;; nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} @@ -4398,7 +4366,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } -if test "${ac_cv_prog_cc_c99+set}" = set; then : +if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no @@ -4542,7 +4510,7 @@ return 0; } _ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : @@ -4581,8 +4549,8 @@ -macro_version='2.2.6b' -macro_revision='1.3017' +macro_version='2.4.2' +macro_revision='1.3337' @@ -4604,7 +4572,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then : +if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias @@ -4620,7 +4588,7 @@ $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -4638,7 +4606,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then : +if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then @@ -4653,7 +4621,7 @@ $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -4669,9 +4637,78 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac +# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 +$as_echo_n "checking how to print strings... " >&6; } +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "" +} + +case "$ECHO" in + printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 +$as_echo "printf" >&6; } ;; + print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 +$as_echo "print -r" >&6; } ;; + *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 +$as_echo "cat" >&6; } ;; +esac + + + + + + + + + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${ac_cv_path_SED+set}" = set; then : +if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ @@ -4691,7 +4728,7 @@ for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue + as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in @@ -4753,7 +4790,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : +if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4767,7 +4804,7 @@ for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -4816,7 +4853,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : +if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -4833,7 +4870,7 @@ for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -4883,7 +4920,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } -if test "${ac_cv_path_FGREP+set}" = set; then : +if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 @@ -4900,7 +4937,7 @@ for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue + as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in @@ -5014,7 +5051,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then : +if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -5054,7 +5091,7 @@ test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then : +if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -5081,7 +5118,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then : +if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then @@ -5134,14 +5171,17 @@ NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. - if test -n "$ac_tool_prefix"; then - for ac_prog in "dumpbin -symbols" "link -dump -symbols" + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + if test -n "$ac_tool_prefix"; then + for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DUMPBIN+set}" = set; then : +if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then @@ -5153,7 +5193,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5179,13 +5219,13 @@ fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN - for ac_prog in "dumpbin -symbols" "link -dump -symbols" + for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : +if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then @@ -5197,7 +5237,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5234,6 +5274,15 @@ fi fi + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -5248,18 +5297,18 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } -if test "${lt_cv_nm_interface+set}" = set; then : +if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:5256: $ac_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:5259: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:5262: output\"" >&5) + (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -5283,7 +5332,7 @@ # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then : +if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 @@ -5313,6 +5362,11 @@ # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; @@ -5339,6 +5393,11 @@ interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 ;; osf*) @@ -5380,8 +5439,8 @@ # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. - while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -5423,8 +5482,8 @@ # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes @@ -5473,9 +5532,83 @@ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 +$as_echo_n "checking how to convert $build file names to $host format... " >&6; } +if ${lt_cv_to_host_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac + ;; + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; +esac + +fi + +to_host_file_cmd=$lt_cv_to_host_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 +$as_echo "$lt_cv_to_host_file_cmd" >&6; } + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 +$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } +if ${lt_cv_to_tool_file_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + #assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac + ;; +esac + +fi + +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 +$as_echo "$lt_cv_to_tool_file_cmd" >&6; } + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then : +if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' @@ -5489,6 +5622,11 @@ esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' @@ -5511,7 +5649,7 @@ set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then : +if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then @@ -5523,7 +5661,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5551,7 +5689,7 @@ set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : +if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then @@ -5563,7 +5701,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5610,7 +5748,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then : +if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' @@ -5652,16 +5790,18 @@ # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -cegcc) +cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' @@ -5691,6 +5831,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -5699,11 +5843,11 @@ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac @@ -5724,12 +5868,12 @@ lt_cv_deplibs_check_method=pass_all ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -5806,6 +5950,21 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` + fi + ;; + esac +fi + file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -5821,16 +5980,26 @@ + + + + + + + + + + if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -set dummy ${ac_tool_prefix}ar; ac_word=$2 + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. +set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then : +if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$AR"; then - ac_cv_prog_AR="$AR" # Let the user override the test. + if test -n "$DLLTOOL"; then + ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -5838,8 +6007,8 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_AR="${ac_tool_prefix}ar" + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -5849,10 +6018,10 @@ fi fi -AR=$ac_cv_prog_AR -if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } +DLLTOOL=$ac_cv_prog_DLLTOOL +if test -n "$DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 +$as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } @@ -5860,17 +6029,17 @@ fi -if test -z "$ac_cv_prog_AR"; then - ac_ct_AR=$AR - # Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 +if test -z "$ac_cv_prog_DLLTOOL"; then + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. +set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : +if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else - if test -n "$ac_ct_AR"; then - ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. + if test -n "$ac_ct_DLLTOOL"; then + ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -5878,8 +6047,8 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_AR="ar" + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -5889,6 +6058,154 @@ fi fi +ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL +if test -n "$ac_ct_DLLTOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 +$as_echo "$ac_ct_DLLTOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_DLLTOOL" = x; then + DLLTOOL="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + DLLTOOL=$ac_ct_DLLTOOL + fi +else + DLLTOOL="$ac_cv_prog_DLLTOOL" +fi + +test -z "$DLLTOOL" && DLLTOOL=dlltool + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 +$as_echo_n "checking how to associate runtime and link libraries... " >&6; } +if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 +$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + + + + + + + + +if test -n "$ac_tool_prefix"; then + for ac_prog in ar + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AR="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AR" && break + done +fi +if test -z "$AR"; then + ac_ct_AR=$AR + for ac_prog in ar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_AR+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_AR="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 @@ -5897,6 +6214,10 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi + + + test -n "$ac_ct_AR" && break +done if test "x$ac_ct_AR" = x; then AR="false" @@ -5909,16 +6230,72 @@ esac AR=$ac_ct_AR fi -else - AR="$ac_cv_prog_AR" -fi - -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru - - - - +fi + +: ${AR=ar} +: ${AR_FLAGS=cru} + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; } +if ${lt_cv_ar_at_file+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ar_at_file=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 + (eval $lt_ar_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 +$as_echo "$lt_cv_ar_at_file" >&6; } + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi @@ -5931,7 +6308,7 @@ set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -5943,7 +6320,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -5971,7 +6348,7 @@ set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -5983,7 +6360,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6030,7 +6407,7 @@ set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : +if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -6042,7 +6419,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6070,7 +6447,7 @@ set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -6082,7 +6459,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6132,14 +6509,26 @@ if test -n "$RANLIB"; then case $host_os in openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" -fi + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" +fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac + + + + + @@ -6187,7 +6576,7 @@ # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : +if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else @@ -6248,8 +6637,8 @@ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= @@ -6273,6 +6662,7 @@ # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ @@ -6285,6 +6675,7 @@ else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -6310,8 +6701,8 @@ test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 - (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 + (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then @@ -6326,6 +6717,18 @@ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + #ifdef __cplusplus extern "C" { #endif @@ -6337,7 +6740,7 @@ cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ -const struct { +LT_DLSYM_CONST struct { const char *name; void *address; } @@ -6363,8 +6766,8 @@ _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 @@ -6374,8 +6777,8 @@ test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi @@ -6412,23 +6815,71 @@ $as_echo "ok" >&6; } fi - - - - - - - - - - - - - - - - - +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } + +# Check whether --with-sysroot was given. +if test "${with_sysroot+set}" = set; then : + withval=$with_sysroot; +else + with_sysroot=no +fi + + +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 +$as_echo "${with_sysroot}" >&6; } + as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 + ;; +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } @@ -6465,7 +6916,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6468 "configure"' > conftest.$ac_ext + echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -6559,7 +7010,7 @@ CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then : +if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c @@ -6600,7 +7051,7 @@ CFLAGS="$SAVE_CFLAGS" fi ;; -sparc*-*solaris*) +*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 @@ -6611,7 +7062,20 @@ case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" @@ -6627,6 +7091,123 @@ need_locks="$enable_libtool_lock" +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. +set dummy ${ac_tool_prefix}mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$MANIFEST_TOOL"; then + ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL +if test -n "$MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 +$as_echo "$MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_MANIFEST_TOOL"; then + ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL + # Extract the first word of "mt", so it can be a program name with args. +set dummy mt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_MANIFEST_TOOL"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL +if test -n "$ac_ct_MANIFEST_TOOL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 +$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_MANIFEST_TOOL" = x; then + MANIFEST_TOOL=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL + fi +else + MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" +fi + +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 +$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } +if ${lt_cv_path_mainfest_tool+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&5 + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest* +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 +$as_echo "$lt_cv_path_mainfest_tool" >&6; } +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi + + + + + case $host_os in rhapsody* | darwin*) @@ -6635,7 +7216,7 @@ set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : +if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then @@ -6647,7 +7228,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6675,7 +7256,7 @@ set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : +if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then @@ -6687,7 +7268,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6727,7 +7308,7 @@ set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then : +if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then @@ -6739,7 +7320,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6767,7 +7348,7 @@ set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : +if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then @@ -6779,7 +7360,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6819,7 +7400,7 @@ set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LIPO+set}" = set; then : +if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then @@ -6831,7 +7412,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6859,7 +7440,7 @@ set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : +if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then @@ -6871,7 +7452,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6911,7 +7492,7 @@ set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL+set}" = set; then : +if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then @@ -6923,7 +7504,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -6951,7 +7532,7 @@ set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : +if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then @@ -6963,7 +7544,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7003,7 +7584,7 @@ set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL64+set}" = set; then : +if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then @@ -7015,7 +7596,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7043,7 +7624,7 @@ set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : +if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then @@ -7055,7 +7636,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -7118,7 +7699,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then : +if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no @@ -7134,7 +7715,13 @@ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&5 + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 @@ -7145,9 +7732,10 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : +if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no @@ -7177,6 +7765,41 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 +$as_echo_n "checking for -force_load linker flag... " >&6; } +if ${lt_cv_ld_force_load+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 + echo "$AR cru libconftest.a conftest.o" >&5 + $AR cru libconftest.a conftest.o 2>&5 + echo "$RANLIB libconftest.a" >&5 + $RANLIB libconftest.a 2>&5 + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&5 + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&5 + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 +$as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; @@ -7204,7 +7827,7 @@ else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi - if test "$DSYMUTIL" != ":"; then + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= @@ -7224,7 +7847,7 @@ CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : + if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -7340,7 +7963,7 @@ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5 ; } +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -7352,7 +7975,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -7483,7 +8106,7 @@ do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " -if test "x$ac_cv_header_dlfcn_h" = x""yes; then : +if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF @@ -7494,528 +8117,14 @@ -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -if test -z "$CXX"; then - if test -n "$CCC"; then - CXX=$CCC - else - if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$CXX"; then - ac_cv_prog_CXX="$CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CXX=$ac_cv_prog_CXX -if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CXX" && break - done -fi -if test -z "$CXX"; then - ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CXX"; then - ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CXX=$ac_cv_prog_ac_ct_CXX -if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CXX" && break -done - - if test "x$ac_ct_CXX" = x; then - CXX="g++" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CXX=$ac_ct_CXX - fi -fi - - fi -fi -# Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () + +func_stripname_cnf () { -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_compiler_gnu=yes -else - ac_compiler_gnu=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_cxx_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GXX=yes -else - GXX= -fi -ac_test_CXXFLAGS=${CXXFLAGS+set} -ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if test "${ac_cv_prog_cxx_g+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - ac_save_cxx_werror_flag=$ac_cxx_werror_flag - ac_cxx_werror_flag=yes - ac_cv_prog_cxx_g=no - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -else - CXXFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - ac_cxx_werror_flag=$ac_save_cxx_werror_flag - CXXFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_cv_prog_cxx_g=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS=$ac_save_CXXFLAGS -elif test $ac_cv_prog_cxx_g = yes; then - if test "$GXX" = yes; then - CXXFLAGS="-g -O2" - else - CXXFLAGS="-g" - fi -else - if test "$GXX" = yes; then - CXXFLAGS="-O2" - else - CXXFLAGS= - fi -fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -depcc="$CXX" am_compiler_list= - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -$as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then - # We make a subdir and do the tests there. Otherwise we can end up - # making bogus files that we don't know about and never remove. For - # instance it was reported that on HP-UX the gcc test will end up - # making a dummy file named `D' -- because `-MD' means `put the output - # in D'. - mkdir conftest.dir - # Copy depcomp to subdir because otherwise we won't find it if we're - # using a relative directory. - cp "$am_depcomp" conftest.dir - cd conftest.dir - # We will build objects and dependencies in a subdirectory because - # it helps to detect inapplicable dependency modes. For instance - # both Tru64's cc and ICC support -MD to output dependencies as a - # side effect of compilation, but ICC will put the dependencies in - # the current directory while Tru64 will put them in the object - # directory. - mkdir sub - - am_cv_CXX_dependencies_compiler_type=none - if test "$am_compiler_list" = ""; then - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` - fi - am__universal=false - case " $depcc " in #( - *\ -arch\ *\ -arch\ *) am__universal=true ;; - esac - - for depmode in $am_compiler_list; do - # Setup a source with many dependencies, because some compilers - # like to wrap large dependency lists on column 80 (with \), and - # we should not choose a depcomp mode which is confused by this. - # - # We need to recreate these files for each test, as the compiler may - # overwrite some of them when testing with obscure command lines. - # This happens at least with the AIX C compiler. - : > sub/conftest.c - for i in 1 2 3 4 5 6; do - echo '#include "conftst'$i'.h"' >> sub/conftest.c - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with - # Solaris 8's {/usr,}/bin/sh. - touch sub/conftst$i.h - done - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf - - # We check with `-c' and `-o' for the sake of the "dashmstdout" - # mode. It turns out that the SunPro C++ compiler does not properly - # handle `-M -o', and we need to detect this. Also, some Intel - # versions had trouble with output in subdirs - am__obj=sub/conftest.${OBJEXT-o} - am__minus_obj="-o $am__obj" - case $depmode in - gcc) - # This depmode causes a compiler race in universal mode. - test "$am__universal" = false || continue - ;; - nosideeffect) - # after this tag, mechanisms are not by side-effect, so they'll - # only be used when explicitly requested - if test "x$enable_dependency_tracking" = xyes; then - continue - else - break - fi - ;; - msvisualcpp | msvcmsys) - # This compiler won't grok `-c -o', but also, the minuso test has - # not run yet. These depmodes are late enough in the game, and - # so weak that their functioning should not be impacted. - am__obj=conftest.${OBJEXT-o} - am__minus_obj= - ;; - none) break ;; - esac - if depmode=$depmode \ - source=sub/conftest.c object=$am__obj \ - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ - >/dev/null 2>conftest.err && - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then - # icc doesn't choke on unknown options, it will just issue warnings - # or remarks (even with -Werror). So we grep stderr for any message - # that says an option was ignored or not supported. - # When given -MP, icc 7.0 and 7.1 complain thusly: - # icc: Command line warning: ignoring option '-M'; no argument required - # The diagnosis changed in icc 8.0: - # icc: Command line remark: option '-MP' not supported - if (grep 'ignoring option' conftest.err || - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else - am_cv_CXX_dependencies_compiler_type=$depmode - break - fi - fi - done - - cd .. - rm -rf conftest.dir -else - am_cv_CXX_dependencies_compiler_type=none -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 -$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } -CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type - - if - test "x$enable_dependency_tracking" != xno \ - && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then - am__fastdepCXX_TRUE= - am__fastdepCXX_FALSE='#' -else - am__fastdepCXX_TRUE='#' - am__fastdepCXX_FALSE= -fi - - -if test -n "$CXX" && ( test "X$CXX" != "Xno" && - ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || - (test "X$CXX" != "Xg++"))) ; then - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 -$as_echo_n "checking how to run the C++ preprocessor... " >&6; } -if test -z "$CXXCPP"; then - if test "${ac_cv_prog_CXXCPP+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CXXCPP needs to be expanded - for CXXCPP in "$CXX -E" "/lib/cpp" - do - ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - break -fi - - done - ac_cv_prog_CXXCPP=$CXXCPP - -fi - CXXCPP=$ac_cv_prog_CXXCPP -else - ac_cv_prog_CXXCPP=$CXXCPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 -$as_echo "$CXXCPP" >&6; } -ac_preproc_ok=false -for ac_cxx_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif - Syntax error -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_cxx_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -rm -f conftest.err conftest.i conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -_lt_caught_CXX_error=yes; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -else - _lt_caught_CXX_error=yes -fi + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf @@ -8095,7 +8204,22 @@ # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : - withval=$with_pic; pic_mode="$withval" + withval=$with_pic; lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac else pic_mode=default fi @@ -8172,6 +8296,11 @@ + + + + + test -z "$LN_S" && LN_S="ln -s" @@ -8193,7 +8322,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then : +if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null @@ -8217,19 +8346,6 @@ cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF - - - - - - - - - - - - - @@ -8246,23 +8362,6 @@ ;; esac -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\(["`$\\]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\(["`\\]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - # Global variables: ofile=libtool can_build_shared=yes @@ -8291,7 +8390,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it @@ -8301,7 +8400,7 @@ if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -8367,7 +8466,7 @@ if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -8500,11 +8599,16 @@ lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then - lt_prog_compiler_no_builtin_flag=' -fno-builtin' + case $cc_basename in + nvcc*) + lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; + *) + lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; + esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : +if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no @@ -8520,15 +8624,15 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8523: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8527: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes @@ -8557,8 +8661,6 @@ lt_prog_compiler_pic= lt_prog_compiler_static= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' @@ -8606,6 +8708,12 @@ lt_prog_compiler_pic='-fno-common' ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static= + ;; + hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag @@ -8646,6 +8754,15 @@ *) lt_prog_compiler_pic='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + lt_prog_compiler_wl='-Xlinker ' + if test -n "$lt_prog_compiler_pic"; then + lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" + fi ;; esac else @@ -8689,7 +8806,7 @@ lt_prog_compiler_static='-non_shared' ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -8710,7 +8827,13 @@ lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + nagfor*) + # NAG Fortran compiler + lt_prog_compiler_wl='-Wl,-Wl,,' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' @@ -8722,25 +8845,40 @@ # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + *Sun\ F* | *Sun*Fortran*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Qoption ld ' + ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - lt_prog_compiler_pic='-KPIC' + *Intel*\ [CF]*Compiler*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fPIC' + lt_prog_compiler_static='-static' + ;; + *Portland\ Group*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' - lt_prog_compiler_wl='' ;; esac ;; @@ -8772,7 +8910,7 @@ lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; @@ -8829,13 +8967,17 @@ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 -$as_echo "$lt_prog_compiler_pic" >&6; } - - - - - + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic=$lt_prog_compiler_pic +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 +$as_echo "$lt_cv_prog_compiler_pic" >&6; } +lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. @@ -8843,7 +8985,7 @@ if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : +if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no @@ -8859,15 +9001,15 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8862: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8866: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes @@ -8896,13 +9038,18 @@ + + + + + # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then : +if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no @@ -8915,7 +9062,7 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes @@ -8945,7 +9092,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -8964,16 +9111,16 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8967: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8971: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes @@ -9000,7 +9147,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -9019,16 +9166,16 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9022: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9026: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes @@ -9094,7 +9241,6 @@ hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported @@ -9138,13 +9284,36 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - link_all_deplibs=no - ;; esac ld_shlibs=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; + *\ \(GNU\ Binutils\)\ [3-9]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -9162,6 +9331,7 @@ fi supports_anon_versioning=no case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -9177,11 +9347,12 @@ ld_shlibs=no cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. _LT_EOF fi @@ -9217,10 +9388,12 @@ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' + export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -9238,6 +9411,11 @@ fi ;; + haiku*) + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs=yes + ;; + interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no @@ -9253,7 +9431,7 @@ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; - gnu* | linux* | tpf* | k*bsd*-gnu) + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -9263,15 +9441,16 @@ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then - tmp_addflag= + tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; @@ -9282,13 +9461,17 @@ lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; - xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) + xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + compiler_needs_object=yes + ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 @@ -9304,17 +9487,16 @@ fi case $cc_basename in - xlf*) + xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' - hardcode_libdir_flag_spec= - hardcode_libdir_flag_spec_ld='-rpath $libdir' - archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -9323,13 +9505,13 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@ -9347,8 +9529,8 @@ _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi @@ -9394,8 +9576,8 @@ *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi @@ -9435,8 +9617,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -9498,7 +9682,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -9524,7 +9707,13 @@ allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -9537,25 +9726,32 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' @@ -9564,7 +9760,13 @@ else # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath_+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -9577,30 +9779,42 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath_"; then + lt_cv_aix_libpath_="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath_ +fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -9632,20 +9846,64 @@ # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. - hardcode_libdir_flag_spec=' ' - allow_undefined_flag=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - old_archive_from_new_cmds='true' - # FIXME: Should let the user specify the lib program. - old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' - fix_srcfile_path='`cygpath -w "$srcfile"`' - enable_shared_with_static_runtimes=yes + case $cc_basename in + cl*) + # Native MSVC + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + always_export_symbols=yes + file_list_spec='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, )='true' + enable_shared_with_static_runtimes=yes + exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + old_postinstall_cmds='chmod 644 $oldlib' + postlink_cmds='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_from_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + enable_shared_with_static_runtimes=yes + ;; + esac ;; darwin* | rhapsody*) @@ -9655,7 +9913,12 @@ hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='' + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec='' + fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in @@ -9663,7 +9926,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" @@ -9679,10 +9942,6 @@ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no - ;; - - freebsd1*) - ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor @@ -9697,7 +9956,7 @@ ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) + freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes @@ -9706,7 +9965,7 @@ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) - archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no @@ -9714,7 +9973,7 @@ hpux9*) if test "$GCC" = yes; then - archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi @@ -9729,14 +9988,13 @@ ;; hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' - hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes @@ -9748,16 +10006,16 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else @@ -9769,7 +10027,46 @@ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 +$as_echo_n "checking if $CC understands -b... " >&6; } +if ${lt_cv_prog_compiler__b+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler__b=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -b" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler__b=yes + fi + else + lt_cv_prog_compiler__b=yes + fi + fi + $RM -r conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 +$as_echo "$lt_cv_prog_compiler__b" >&6; } + +if test x"$lt_cv_prog_compiler__b" = xyes; then + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' +else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' +fi + ;; esac fi @@ -9797,26 +10094,39 @@ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # This should be the same for all languages, so no per-tag cache variable. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 +$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } +if ${lt_cv_irix_exported_symbol+:} false; then : + $as_echo_n "(cached) " >&6 +else + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -int foo(void) {} +int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - + lt_cv_irix_exported_symbol=yes +else + lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$save_LDFLAGS" + LDFLAGS="$save_LDFLAGS" +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 +$as_echo "$lt_cv_irix_exported_symbol" >&6; } + if test "$lt_cv_irix_exported_symbol" = yes; then + archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi else - archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' @@ -9825,7 +10135,7 @@ link_all_deplibs=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -9878,17 +10188,17 @@ hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported - archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' @@ -9898,13 +10208,13 @@ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' - archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' @@ -9917,9 +10227,9 @@ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' - archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) @@ -10107,44 +10417,50 @@ # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 +if ${lt_cv_archive_cmds_need_lc+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 -$as_echo "$archive_cmds_need_lc" >&6; } + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi @@ -10302,11 +10618,6 @@ - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } @@ -10315,16 +10626,23 @@ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -10337,7 +10655,7 @@ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -10357,7 +10675,13 @@ if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([A-Za-z]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi @@ -10383,7 +10707,7 @@ case $host_os in aix3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH @@ -10392,7 +10716,7 @@ ;; aix[4-9]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes @@ -10445,7 +10769,7 @@ m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -10457,7 +10781,7 @@ ;; bsdi[45]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' @@ -10476,8 +10800,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -10498,36 +10823,83 @@ cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac + dynamic_linker='Win32 ld.exe' ;; + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -10548,16 +10920,12 @@ ;; dgux*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no ;; freebsd* | dragonfly*) @@ -10567,7 +10935,7 @@ objformat=`/usr/bin/objformat` else case $host_os in - freebsd[123]*) objformat=aout ;; + freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -10585,7 +10953,7 @@ esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) @@ -10605,12 +10973,26 @@ ;; gnu*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; @@ -10656,12 +11038,14 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[3-9]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' @@ -10677,7 +11061,7 @@ nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; @@ -10714,9 +11098,9 @@ dynamic_linker=no ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -10724,12 +11108,17 @@ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -10742,13 +11131,17 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes + lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -10757,7 +11150,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -10768,18 +11161,6 @@ # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) @@ -10801,7 +11182,7 @@ ;; newsos6) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -10870,7 +11251,7 @@ ;; solaris*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -10895,7 +11276,7 @@ ;; sysv4 | sysv4.3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -10919,7 +11300,7 @@ sysv4*MP*) if test -d /usr/nec ;then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH @@ -10950,7 +11331,7 @@ tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -10960,7 +11341,7 @@ ;; uts4*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -10985,6 +11366,11 @@ if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi + + + + + @@ -11144,7 +11530,7 @@ # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11178,7 +11564,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else @@ -11192,12 +11578,12 @@ *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = x""yes; then : +if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : +if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11231,16 +11617,16 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : +if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = x""yes; then : +if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11274,12 +11660,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then : +if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11313,12 +11699,12 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : +if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then : +if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -11352,7 +11738,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : +if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi @@ -11393,7 +11779,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then : +if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -11402,7 +11788,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11405 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11443,7 +11829,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -11452,7 +11844,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -11489,7 +11885,7 @@ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then : +if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -11498,7 +11894,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11501 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11539,7 +11935,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -11548,7 +11950,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -11705,6 +12111,145 @@ CC="$lt_save_CC" + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 +$as_echo_n "checking how to run the C++ preprocessor... " >&6; } +if test -z "$CXXCPP"; then + if ${ac_cv_prog_CXXCPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 +$as_echo "$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_cxx_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +else + _lt_caught_CXX_error=yes +fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -11721,7 +12266,6 @@ hardcode_direct_CXX=no hardcode_direct_absolute_CXX=no hardcode_libdir_flag_spec_CXX= -hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported @@ -11731,6 +12275,8 @@ module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds +reload_flag_CXX=$reload_flag +reload_cmds_CXX=$reload_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no @@ -11786,6 +12332,7 @@ # Allow CC to be a program name with arguments. lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX @@ -11803,6 +12350,7 @@ fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do @@ -11813,7 +12361,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` if test -n "$compiler"; then @@ -11876,7 +12424,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then : +if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -11916,7 +12464,7 @@ test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then : +if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -11942,8 +12490,8 @@ # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -11975,7 +12523,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no @@ -12085,7 +12633,13 @@ allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty # executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -12098,26 +12652,33 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" - archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' @@ -12126,7 +12687,13 @@ else # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + if ${lt_cv_aix_libpath__CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -12139,30 +12706,42 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }' + lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + if test -z "$lt_cv_aix_libpath__CXX"; then + lt_cv_aix_libpath__CXX="/usr/lib:/lib" + fi + +fi + + aix_libpath=$lt_cv_aix_libpath__CXX +fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - whole_archive_flag_spec_CXX='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + fi archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared # libraries. @@ -12192,28 +12771,75 @@ ;; cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, - # as there is no search path for DLLs. - hardcode_libdir_flag_spec_CXX='-L$libdir' - allow_undefined_flag_CXX=unsupported - always_export_symbols_CXX=no - enable_shared_with_static_runtimes_CXX=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - ld_shlibs_CXX=no - fi - ;; + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_CXX=' ' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=yes + file_list_spec_CXX='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' + enable_shared_with_static_runtimes_CXX=yes + # Don't use ranlib + old_postinstall_cmds_CXX='chmod 644 $oldlib' + postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + esac + ;; darwin* | rhapsody*) @@ -12221,7 +12847,12 @@ hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported - whole_archive_flag_spec_CXX='' + if test "$lt_cv_ld_force_load" = "yes"; then + whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + + else + whole_archive_flag_spec_CXX='' + fi link_all_deplibs_CXX=yes allow_undefined_flag_CXX="$_lt_dar_allow_undefined" case $cc_basename in @@ -12229,7 +12860,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" @@ -12263,7 +12894,7 @@ esac ;; - freebsd[12]*) + freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF ld_shlibs_CXX=no @@ -12280,6 +12911,11 @@ ;; gnu*) + ;; + + haiku*) + archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + link_all_deplibs_CXX=yes ;; hpux9*) @@ -12306,11 +12942,11 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then - archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no @@ -12371,7 +13007,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then @@ -12381,10 +13017,10 @@ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) - archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi @@ -12414,7 +13050,7 @@ case $cc_basename in CC*) # SGI C++ - archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is @@ -12425,9 +13061,9 @@ *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else - archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi link_all_deplibs_CXX=yes @@ -12438,7 +13074,7 @@ inherit_rpath_CXX=yes ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler @@ -12456,7 +13092,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -12493,26 +13129,26 @@ pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in - *pgCC\ [1-5]* | *pgcpp\ [1-5]*) + *pgCC\ [1-5].* | *pgcpp\ [1-5].*) prelink_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' old_archive_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' archive_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; - *) # Version 6 will use weak symbols + *) # Version 6 and above use weak symbols archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; @@ -12520,7 +13156,7 @@ hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' - whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ @@ -12539,9 +13175,9 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; - xl*) + xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' @@ -12561,13 +13197,13 @@ archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' hardcode_libdir_flag_spec_CXX='-R$libdir' - whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object_CXX=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -12636,7 +13272,7 @@ export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all else ld_shlibs_CXX=no fi @@ -12671,15 +13307,15 @@ case $host in osf3*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' ;; *) allow_undefined_flag_CXX=' -expect_unresolved \*' - archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' ;; @@ -12695,17 +13331,17 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) - archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac @@ -12715,7 +13351,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support @@ -12751,7 +13387,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' @@ -12772,7 +13408,7 @@ esac link_all_deplibs_CXX=yes - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -12792,14 +13428,14 @@ if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then - archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. @@ -12810,7 +13446,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' @@ -12864,6 +13500,10 @@ CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ + '"$old_archive_cmds_CXX" + reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ + '"$reload_cmds_CXX" ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -12925,6 +13565,14 @@ }; _LT_EOF + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -12938,7 +13586,7 @@ pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do - case $p in + case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. @@ -12947,13 +13595,22 @@ test $p = "-R"; then prev=$p continue - else - prev= fi + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) + case ${prev} in + -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. @@ -12973,8 +13630,10 @@ postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi + prev= ;; + *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. @@ -13010,6 +13669,7 @@ fi $RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken case $host_os in @@ -13045,7 +13705,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as @@ -13110,8 +13770,6 @@ lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -$as_echo_n "checking for $compiler option to produce PIC... " >&6; } # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then @@ -13160,6 +13818,11 @@ *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + lt_prog_compiler_static_CXX= ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. @@ -13209,6 +13872,11 @@ # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; dgux*) case $cc_basename in @@ -13266,7 +13934,7 @@ ;; esac ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -13299,8 +13967,8 @@ lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-qpic' lt_prog_compiler_static_CXX='-qstaticlink' @@ -13330,7 +13998,7 @@ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -13362,7 +14030,7 @@ ;; solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' @@ -13427,10 +14095,17 @@ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 -$as_echo "$lt_prog_compiler_pic_CXX" >&6; } - - + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +$as_echo_n "checking for $compiler option to produce PIC... " >&6; } +if ${lt_cv_prog_compiler_pic_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 +$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } +lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX # # Check to make sure the PIC flag actually works. @@ -13438,7 +14113,7 @@ if test -n "$lt_prog_compiler_pic_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works_CXX=no @@ -13454,15 +14129,15 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13457: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13461: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_CXX=yes @@ -13488,13 +14163,15 @@ + + # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works_CXX=no @@ -13507,7 +14184,7 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_CXX=yes @@ -13534,7 +14211,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no @@ -13553,16 +14230,16 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13556: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13560: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes @@ -13586,7 +14263,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : +if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no @@ -13605,16 +14282,16 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13608: $lt_compile\"" >&5) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13612: \$? = $ac_status" >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes @@ -13665,30 +14342,37 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' case $host_os in aix[4-9]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" - ;; + ;; cygwin* | mingw* | cegcc*) - export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) - link_all_deplibs_CXX=no - ;; + case $cc_basename in + cl*) + exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' + exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' + ;; + esac + ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; + ;; esac - exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } @@ -13720,51 +14404,55 @@ # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 +if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : + $as_echo_n "(cached) " >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl_CXX - pic_flag=$lt_prog_compiler_pic_CXX - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag_CXX - allow_undefined_flag_CXX= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } - then - archive_cmds_need_lc_CXX=no - else - archive_cmds_need_lc_CXX=yes - fi - allow_undefined_flag_CXX=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 -$as_echo "$archive_cmds_need_lc_CXX" >&6; } + then + lt_cv_archive_cmds_need_lc_CXX=no + else + lt_cv_archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 +$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } + archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX ;; esac fi ;; esac - - @@ -13852,7 +14540,7 @@ case $host_os in aix3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH @@ -13861,7 +14549,7 @@ ;; aix[4-9]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes @@ -13914,7 +14602,7 @@ m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -13926,7 +14614,7 @@ ;; bsdi[45]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' @@ -13945,8 +14633,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -13967,36 +14656,82 @@ cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac + dynamic_linker='Win32 ld.exe' ;; + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -14016,16 +14751,12 @@ ;; dgux*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no ;; freebsd* | dragonfly*) @@ -14035,7 +14766,7 @@ objformat=`/usr/bin/objformat` else case $host_os in - freebsd[123]*) objformat=aout ;; + freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -14053,7 +14784,7 @@ esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) @@ -14073,12 +14804,26 @@ ;; gnu*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; @@ -14124,12 +14869,14 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[3-9]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' @@ -14145,7 +14892,7 @@ nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; @@ -14182,9 +14929,9 @@ dynamic_linker=no ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -14192,12 +14939,17 @@ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if ${lt_cv_shlibpath_overrides_runpath+:} false; then : + $as_echo_n "(cached) " >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -14210,13 +14962,17 @@ _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : - shlibpath_overrides_runpath=yes + lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -14225,7 +14981,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -14236,18 +14992,6 @@ # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) @@ -14269,7 +15013,7 @@ ;; newsos6) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -14338,7 +15082,7 @@ ;; solaris*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -14363,7 +15107,7 @@ ;; sysv4 | sysv4.3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -14387,7 +15131,7 @@ sysv4*MP*) if test -d /usr/nec ;then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH @@ -14418,7 +15162,7 @@ tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -14428,7 +15172,7 @@ ;; uts4*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -14453,6 +15197,8 @@ if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi + + @@ -14536,6 +15282,7 @@ fi # test -n "$compiler" CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC @@ -14551,6 +15298,8 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + + @@ -14663,7 +15412,7 @@ # Checks for header files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14790,84 +15539,66 @@ # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -if test "${ac_cv_header_stdbool_h+set}" = set; then : +if ${ac_cv_header_stdbool_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#ifndef bool - "error: bool is not defined" -#endif -#ifndef false - "error: false is not defined" -#endif -#if false - "error: false is not 0" -#endif -#ifndef true - "error: true is not defined" -#endif -#if true != 1 - "error: true is not 1" -#endif -#ifndef __bool_true_false_are_defined - "error: __bool_true_false_are_defined is not defined" -#endif - - struct s { _Bool s: 1; _Bool t; } s; - - char a[true == 1 ? 1 : -1]; - char b[false == 0 ? 1 : -1]; - char c[__bool_true_false_are_defined == 1 ? 1 : -1]; - char d[(bool) 0.5 == true ? 1 : -1]; - bool e = &s; - char f[(_Bool) 0.0 == false ? 1 : -1]; - char g[true]; - char h[sizeof (_Bool)]; - char i[sizeof s.t]; - enum { j = false, k = true, l = false * true, m = true * 256 }; - /* The following fails for - HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ - _Bool n[m]; - char o[sizeof n == m * sizeof n[0] ? 1 : -1]; - char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; -# if defined __xlc__ || defined __GNUC__ - /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 - reported by James Lemley on 2005-10-05; see - http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html - This test is not quite right, since xlc is allowed to - reject this program, as the initializer for xlcbug is - not one of the forms that C requires support for. - However, doing the test right would require a runtime - test, and that would make cross-compilation harder. - Let us hope that IBM fixes the xlc bug, and also adds - support for this kind of constant expression. In the - meantime, this test will reject xlc, which is OK, since - our stdbool.h substitute should suffice. We also test - this with GCC, where it should work, to detect more - quickly whether someone messes up the test in the - future. */ - char digs[] = "0123456789"; - int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); -# endif - /* Catch a bug in an HP-UX C compiler. See - http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html - http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html - */ - _Bool q = true; - _Bool *pq = &q; + #include + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; int main () { - *pq |= q; - *pq |= ! q; - /* Refer to every declared value, to avoid compiler optimizations. */ - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - + !m + !n + !o + !p + !q + !pq); + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); ; return 0; @@ -14882,8 +15613,8 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } -ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" -if test "x$ac_cv_type__Bool" = x""yes; then : + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 @@ -14892,6 +15623,7 @@ fi + if test $ac_cv_header_stdbool_h = yes; then $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h @@ -14900,7 +15632,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then : +if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -14909,11 +15641,11 @@ int main () { -/* FIXME: Include the comments suggested by Paul. */ + #ifndef __cplusplus - /* Ultrix mips cc rejects this. */ + /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; - const charset cs; + const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; @@ -14930,8 +15662,9 @@ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; @@ -14947,10 +15680,10 @@ iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this saying + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; @@ -14980,7 +15713,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then : +if ${ac_cv_c_inline+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no @@ -15025,7 +15758,7 @@ for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -if test "x$ac_cv_header_stdlib_h" = x""yes; then : +if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF @@ -15036,7 +15769,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } -if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : +if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -15109,13 +15842,14 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -15129,7 +15863,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -15158,7 +15892,7 @@ set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -15172,7 +15906,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -15237,6 +15971,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_CFLAGS=`$PKG_CONFIG --cflags "opencv >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -15253,6 +15988,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_OPENCV_LIBS=`$PKG_CONFIG --libs "opencv >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -15272,9 +16008,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - OPENCV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "opencv >= 1.0.0" 2>&1` + OPENCV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "opencv >= 1.0.0" 2>&1` else - OPENCV_PKG_ERRORS=`$PKG_CONFIG --print-errors "opencv >= 1.0.0" 2>&1` + OPENCV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "opencv >= 1.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$OPENCV_PKG_ERRORS" >&5 @@ -15326,6 +16062,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GAVL_CFLAGS=`$PKG_CONFIG --cflags "gavl >= 0.2.3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -15342,6 +16079,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GAVL_LIBS=`$PKG_CONFIG --libs "gavl >= 0.2.3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -15361,9 +16099,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GAVL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gavl >= 0.2.3" 2>&1` + GAVL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gavl >= 0.2.3" 2>&1` else - GAVL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gavl >= 0.2.3" 2>&1` + GAVL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gavl >= 0.2.3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GAVL_PKG_ERRORS" >&5 @@ -15389,11 +16127,92 @@ fi +HAVE_CAIRO=false + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 +$as_echo_n "checking for CAIRO... " >&6; } + +if test -n "$CAIRO_CFLAGS"; then + pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cairo >= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$CAIRO_LIBS"; then + pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.0.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "cairo >= 1.0.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.0.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= 1.0.0" 2>&1` + else + CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= 1.0.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$CAIRO_PKG_ERRORS" >&5 + + true +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + true +else + CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS + CAIRO_LIBS=$pkg_cv_CAIRO_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + HAVE_CAIRO=true +fi + if test x$HAVE_CAIRO = xtrue; then + HAVE_CAIRO_TRUE= + HAVE_CAIRO_FALSE='#' +else + HAVE_CAIRO_TRUE='#' + HAVE_CAIRO_FALSE= +fi + + # Extract the first word of "doxygen", so it can be a program name with args. set dummy doxygen; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DOXYGEN+set}" = set; then : +if ${ac_cv_prog_DOXYGEN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DOXYGEN"; then @@ -15405,7 +16224,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DOXYGEN="doxygen" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -15495,10 +16314,21 @@ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && + if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} @@ -15529,6 +16359,14 @@ LTLIBOBJS=$ac_ltlibobjs +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 +$as_echo_n "checking that generated files are newer than configure... " >&6; } + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 +$as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' @@ -15549,10 +16387,6 @@ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${HAVE_OPENCV_TRUE}" && test -z "${HAVE_OPENCV_FALSE}"; then as_fn_error $? "conditional \"HAVE_OPENCV\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -15561,8 +16395,12 @@ as_fn_error $? "conditional \"HAVE_GAVL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi - -: ${CONFIG_STATUS=./config.status} +if test -z "${HAVE_CAIRO_TRUE}" && test -z "${HAVE_CAIRO_FALSE}"; then + as_fn_error $? "conditional \"HAVE_CAIRO\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + +: "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" @@ -15663,6 +16501,7 @@ IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. +as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -15858,16 +16697,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -15927,28 +16766,16 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -15970,7 +16797,7 @@ # values after options handling. ac_log=" This file was extended by frei0r-plugins $as_me 1.3.0, which was -generated by GNU Autoconf 2.67. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -16036,10 +16863,10 @@ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ frei0r-plugins config.status 1.3.0 -configured by $0, generated by GNU Autoconf 2.67, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -16130,7 +16957,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' @@ -16164,184 +16991,208 @@ sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' -macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' -macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' -enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' -pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' -enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' -host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' -host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' -host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' -build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' -build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' -build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' -SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' -Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' -GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' -EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' -FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' -LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' -NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' -LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' -max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' -ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' -exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' -lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' -lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' -lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' -reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' -reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' -OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' -deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' -file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' -AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' -AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' -STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' -RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' -old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' -CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' -compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' -GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' -SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' -ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' -MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' -need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' -DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' -NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' -LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' -OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' -libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' -shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' -extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' -variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' -need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' -need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' -version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' -runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' -shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' -libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' -library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' -soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' -postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' -finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' -enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' -old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' -striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' -predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' -postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' -LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' -GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' -enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' -inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' -link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' -always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' -export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' -prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' -file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' -hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' -predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' -compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' +macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' +macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' +enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' +pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' +enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' +SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' +ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' +PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' +host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' +host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' +host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' +build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' +build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' +build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' +SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' +Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' +GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' +EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' +FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' +LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' +NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' +LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' +max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' +ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' +exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' +lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' +lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' +lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' +lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' +reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' +reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' +OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' +deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' +file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' +file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' +want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' +DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' +sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' +AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' +AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' +archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' +STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' +RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' +old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' +old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' +lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' +CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' +CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' +compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' +GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' +nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' +lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' +objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' +MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' +need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' +MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' +DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' +NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' +LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' +OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' +OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' +libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' +shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' +extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' +compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' +archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' +module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' +with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' +no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' +hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' +hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' +inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' +link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' +always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' +exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' +include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' +prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' +postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' +file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' +variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' +need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' +need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' +version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' +runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' +shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' +libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' +library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' +soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' +install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' +postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' +postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' +finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' +finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' +hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' +sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' +sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' +hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' +enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' +enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' +old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' +striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' +predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' +postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' +predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' +postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' +LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' +reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' +reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' +GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' +lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' +lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' +enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' +export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' +old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' +archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' +module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' +with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' +allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' +inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' +link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' +always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' +export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' +exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' +prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' +file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' +hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' +predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' +postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' +predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' +postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' +compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + # Quote evaled strings. -for var in SED \ +for var in SHELL \ +ECHO \ +PATH_SEPARATOR \ +SED \ GREP \ EGREP \ FGREP \ @@ -16354,8 +17205,13 @@ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ +file_magic_glob \ +want_nocaseglob \ +DLLTOOL \ +sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ +archiver_list_spec \ STRIP \ RANLIB \ CC \ @@ -16365,14 +17221,14 @@ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -SHELL \ -ECHO \ +nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ +lt_prog_compiler_pic \ lt_prog_compiler_wl \ -lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ +MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ @@ -16386,9 +17242,7 @@ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ -hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ -fix_srcfile_path \ exclude_expsyms \ include_expsyms \ file_list_spec \ @@ -16396,6 +17250,7 @@ libname_spec \ library_names_spec \ soname_spec \ +install_override_mode \ finish_eval \ old_striplib \ striplib \ @@ -16406,10 +17261,11 @@ postdeps \ compiler_lib_search_path \ LD_CXX \ +reload_flag_CXX \ compiler_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ +lt_prog_compiler_pic_CXX \ lt_prog_compiler_wl_CXX \ -lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_cv_prog_compiler_c_o_CXX \ export_dynamic_flag_spec_CXX \ @@ -16419,9 +17275,7 @@ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ hardcode_libdir_flag_spec_CXX \ -hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ -fix_srcfile_path_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX \ file_list_spec_CXX \ @@ -16431,9 +17285,9 @@ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -16455,11 +17309,13 @@ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ +postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec \ +reload_cmds_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ @@ -16468,22 +17324,17 @@ module_cmds_CXX \ module_expsym_cmds_CXX \ export_symbols_cmds_CXX \ -prelink_cmds_CXX; do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in +prelink_cmds_CXX \ +postlink_cmds_CXX; do + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done - -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` - ;; -esac ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' @@ -16524,7 +17375,7 @@ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -16547,9 +17398,10 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } @@ -16557,12 +17409,13 @@ { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -16584,7 +17437,7 @@ ac_cs_awk_cr=$ac_cr fi -echo 'BEGIN {' >"$tmp/subs1.awk" && +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF @@ -16612,7 +17465,7 @@ rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h @@ -16660,7 +17513,7 @@ rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" @@ -16692,7 +17545,7 @@ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF @@ -16726,7 +17579,7 @@ # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || +cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF @@ -16738,8 +17591,8 @@ # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 @@ -16840,7 +17693,7 @@ esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -16859,7 +17712,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -16868,7 +17721,7 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" @@ -16894,8 +17747,8 @@ esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -17031,21 +17884,22 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; @@ -17056,20 +17910,20 @@ if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ + mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. @@ -17116,7 +17970,7 @@ case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Autoconf 2.62 quotes --file arguments for eval, but not when files + # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in @@ -17129,7 +17983,7 @@ # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named `Makefile.in', but + # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. @@ -17163,21 +18017,19 @@ continue fi # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running `make'. + # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # When using ansi2knr, U may be empty or an underscore; expand it - U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || @@ -17231,7 +18083,8 @@ # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -17279,6 +18132,15 @@ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that protects backslashes. +ECHO=$lt_ECHO + +# The PATH separator for the build system. +PATH_SEPARATOR=$lt_PATH_SEPARATOR + # The host system. host_alias=$host_alias host=$host @@ -17328,9 +18190,11 @@ # turn newlines into spaces. NL2SP=$lt_lt_NL2SP -# How to create reloadable object files. -reload_flag=$lt_reload_flag -reload_cmds=$lt_reload_cmds +# convert \$build file names to \$host format. +to_host_file_cmd=$lt_cv_to_host_file_cmd + +# convert \$build files to toolchain format. +to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP @@ -17338,12 +18202,29 @@ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method -# Command to use when deplibs_check_method == "file_magic". +# Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd + +# How to find potential files when deplibs_check_method = "file_magic". +file_magic_glob=$lt_file_magic_glob + +# Find potential files using nocaseglob when deplibs_check_method = "file_magic". +want_nocaseglob=$lt_want_nocaseglob + +# DLL creation program. +DLLTOOL=$lt_DLLTOOL + +# Command to associate shared and link libraries. +sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR + +# Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS + +# How to feed a file listing to the archiver. +archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP @@ -17353,6 +18234,9 @@ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds +# Whether to use a lock for old archive extraction. +lock_old_archive_extraction=$lock_old_archive_extraction + # A C compiler. LTCC=$lt_CC @@ -17371,20 +18255,23 @@ # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix +# Specify filename containing input files for \$NM. +nm_file_list_spec=$lt_nm_file_list_spec + +# The root where to search for dependent libraries,and in which our libraries should be installed. +lt_sysroot=$lt_sysroot + # The name of the directory that contains temporary libtool files. objdir=$objdir -# Shell to use when invoking shell scripts. -SHELL=$lt_SHELL - -# An echo program that does not interpret backslashes. -ECHO=$lt_ECHO - # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks + +# Manifest tool. +MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL @@ -17442,6 +18329,9 @@ # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec +# Permission mode override for installation of shared libraries. +install_override_mode=$lt_install_override_mode + # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds @@ -17481,6 +18371,10 @@ # The linker used to build libraries. LD=$lt_LD +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds @@ -17493,11 +18387,11 @@ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static @@ -17547,10 +18441,6 @@ # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec - -# If ld is used when linking, flag to hardcode \$libdir into a binary -# during linking. This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator @@ -17585,9 +18475,6 @@ # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path - # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols @@ -17602,6 +18489,9 @@ # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec @@ -17649,212 +18539,169 @@ # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -func_stripname () -{ - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary parameter first. - func_stripname_result=${3} - func_stripname_result=${func_stripname_result#"${1}"} - func_stripname_result=${func_stripname_result%"${2}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $* )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF - ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[^=]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$@"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF -esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1+=\$2" -} -_LT_EOF - ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$1=\$$1\$2" -} - -_LT_EOF - ;; - esac - - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + if test x"$xsi_shell" = xyes; then + sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ +func_dirname ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_basename ()$/,/^} # func_basename /c\ +func_basename ()\ +{\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ +func_dirname_and_basename ()\ +{\ +\ case ${1} in\ +\ */*) func_dirname_result="${1%/*}${2}" ;;\ +\ * ) func_dirname_result="${3}" ;;\ +\ esac\ +\ func_basename_result="${1##*/}"\ +} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ +func_stripname ()\ +{\ +\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ +\ # positional parameters, so assign one to ordinary parameter first.\ +\ func_stripname_result=${3}\ +\ func_stripname_result=${func_stripname_result#"${1}"}\ +\ func_stripname_result=${func_stripname_result%"${2}"}\ +} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ +func_split_long_opt ()\ +{\ +\ func_split_long_opt_name=${1%%=*}\ +\ func_split_long_opt_arg=${1#*=}\ +} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ +func_split_short_opt ()\ +{\ +\ func_split_short_opt_arg=${1#??}\ +\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ +} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ +func_lo2o ()\ +{\ +\ case ${1} in\ +\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ +\ *) func_lo2o_result=${1} ;;\ +\ esac\ +} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_xform ()$/,/^} # func_xform /c\ +func_xform ()\ +{\ + func_xform_result=${1%.*}.lo\ +} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_arith ()$/,/^} # func_arith /c\ +func_arith ()\ +{\ + func_arith_result=$(( $* ))\ +} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_len ()$/,/^} # func_len /c\ +func_len ()\ +{\ + func_len_result=${#1}\ +} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + +fi + +if test x"$lt_shell_append" = xyes; then + sed -e '/^func_append ()$/,/^} # func_append /c\ +func_append ()\ +{\ + eval "${1}+=\\${2}"\ +} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ +func_append_quoted ()\ +{\ +\ func_quote_for_eval "${2}"\ +\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ +} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: + + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 +$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} +fi + + + mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" @@ -17866,6 +18713,10 @@ # The linker used to build libraries. LD=$lt_LD_CXX +# How to create reloadable object files. +reload_flag=$lt_reload_flag_CXX +reload_cmds=$lt_reload_cmds_CXX + # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds_CXX @@ -17878,11 +18729,11 @@ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX + # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX - -# Additional compiler flags for building library objects. -pic_flag=$lt_lt_prog_compiler_pic_CXX # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX @@ -17932,10 +18783,6 @@ # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX - -# If ld is used when linking, flag to hardcode \$libdir into a binary -# during linking. This must work even if \$libdir does not exist. -hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX @@ -17970,9 +18817,6 @@ # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX -# Fix the shell variable \$srcfile for the compiler. -fix_srcfile_path=$lt_fix_srcfile_path_CXX - # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols_CXX @@ -17987,6 +18831,9 @@ # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds_CXX + +# Commands necessary for finishing linking programs. +postlink_cmds=$lt_postlink_cmds_CXX # Specify filename containing input files. file_list_spec=$lt_file_list_spec_CXX @@ -18082,6 +18929,15 @@ echo " http://gmerlin.sourceforge.net/" fi +if test x$HAVE_CAIRO = xtrue; then +echo " - cairo: YES" +else +echo " - cairo: NO" +echo " cairo >= 1.0.0 not found - this program enables optional" +echo " plugin with the Cairo 2D vector graphics library >= 1.0.0" +echo " http://www.cairographics.org/" +fi + echo echo "Now you can run make." echo diff --git a/configure.ac b/configure.ac index 4313f88..1a92ac3 100644 --- a/configure.ac +++ b/configure.ac @@ -107,6 +107,10 @@ PKG_CHECK_MODULES(GAVL, gavl >= 0.2.3, [HAVE_GAVL=true], [true]) AM_CONDITIONAL([HAVE_GAVL], [test x$HAVE_GAVL = xtrue]) +HAVE_CAIRO=false +PKG_CHECK_MODULES(CAIRO, cairo >= 1.0.0, [HAVE_CAIRO=true], [true]) +AM_CONDITIONAL([HAVE_CAIRO], [test x$HAVE_CAIRO = xtrue]) + AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen]) @@ -151,6 +155,15 @@ echo " http://gmerlin.sourceforge.net/" fi +if test x$HAVE_CAIRO = xtrue; then +echo " - cairo: YES" +else +echo " - cairo: NO" +echo " cairo >= 1.0.0 not found - this program enables optional" +echo " plugin with the Cairo 2D vector graphics library >= 1.0.0" +echo " http://www.cairographics.org/" +fi + echo echo "Now you can run make." echo diff --git a/depcomp b/depcomp index e5f9736..06b0882 100755 --- a/depcomp +++ b/depcomp @@ -1,10 +1,9 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2007-03-29.01 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software -# Foundation, Inc. +scriptversion=2012-10-18.11; # UTC + +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,9 +16,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -30,9 +27,9 @@ case $1 in '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] @@ -42,11 +39,11 @@ Environment variables: depmode Dependency tracking mode. - source Source file read by `PROGRAMS ARGS'. - object Object file output by `PROGRAMS ARGS'. + source Source file read by 'PROGRAMS ARGS'. + object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. - tmpdepfile Temporary file to use when outputing dependencies. + tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . @@ -59,6 +56,66 @@ ;; esac +# Get the directory component of the given path, and save it in the +# global variables '$dir'. Note that this directory component will +# be either empty or ending with a '/' character. This is deliberate. +set_dir_from () +{ + case $1 in + */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; + *) dir=;; + esac +} + +# Get the suffix-stripped basename of the given path, and save it the +# global variable '$base'. +set_base_from () +{ + base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` +} + +# If no dependency file was actually created by the compiler invocation, +# we still have to create a dummy depfile, to avoid errors with the +# Makefile "include basename.Plo" scheme. +make_dummy_depfile () +{ + echo "#dummy" > "$depfile" +} + +# Factor out some common post-processing of the generated depfile. +# Requires the auxiliary global variable '$tmpdepfile' to be set. +aix_post_process_depfile () +{ + # If the compiler actually managed to produce a dependency file, + # post-process it. + if test -f "$tmpdepfile"; then + # Each line is of the form 'foo.o: dependency.h'. + # Do two passes, one to just change these to + # $object: dependency.h + # and one to simply output + # dependency.h: + # which is needed to avoid the deleted-header problem. + { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" + sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" + } > "$depfile" + rm -f "$tmpdepfile" + else + make_dummy_depfile + fi +} + +# A tabulation character. +tab=' ' +# A newline character. +nl=' +' +# Character ranges might be problematic outside the C locale. +# These definitions help. +upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ +lower=abcdefghijklmnopqrstuvwxyz +digits=0123456789 +alpha=${upper}${lower} + if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 @@ -70,6 +127,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" + +# Avoid interferences from the environment. +gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, @@ -82,9 +142,32 @@ fi if test "$depmode" = dashXmstdout; then - # This is just like dashmstdout with a different argument. - dashmflag=-xM - depmode=dashmstdout + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +cygpath_u="cygpath -u -f -" +if test "$depmode" = msvcmsys; then + # This is just like msvisualcpp but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvisualcpp +fi + +if test "$depmode" = msvc7msys; then + # This is just like msvc7 but w/o cygpath translation. + # Just convert the backslash-escaped backslashes to single forward + # slashes to satisfy depend.m4 + cygpath_u='sed s,\\\\,/,g' + depmode=msvc7 +fi + +if test "$depmode" = xlc; then + # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. + gccflag=-qmakedep=gcc,-MF + depmode=gcc fi case "$depmode" in @@ -107,8 +190,7 @@ done "$@" stat=$? - if test $stat -eq 0; then : - else + if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi @@ -116,13 +198,17 @@ ;; gcc) +## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. +## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. +## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like -## -MM, not -M (despite what the docs say). +## -MM, not -M (despite what the docs say). Also, it might not be +## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then @@ -130,31 +216,31 @@ fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? - if test $stat -eq 0; then : - else + if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" - alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz -## The second -e expression handles DOS-style file names with drive letters. + # The second -e expression handles DOS-style file names with drive + # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" -## This next piece of magic avoids the `deleted header file' problem. +## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. - tr ' ' ' -' < "$tmpdepfile" | -## Some versions of gcc put a space before the `:'. On the theory +## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as -## well. +## well. hp depmode also adds that space, but also prefixes the VPATH +## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; @@ -172,8 +258,7 @@ "$@" -MDupdate "$tmpdepfile" fi stat=$? - if test $stat -eq 0; then : - else + if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi @@ -181,43 +266,41 @@ if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" - # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like `#:fec' to the end of the + # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ - tr ' -' ' ' >> $depfile - echo >> $depfile - + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ + | tr "$nl" ' ' >> "$depfile" + echo >> "$depfile" # The second pass generates a dummy entry for each header file. - tr ' ' ' -' < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> $depfile + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> "$depfile" else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" + make_dummy_depfile fi rm -f "$tmpdepfile" + ;; + +xlc) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the - # current directory. Also, the AIX compiler puts `$object:' at the + # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + set_dir_from "$object" + set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u @@ -230,9 +313,7 @@ "$@" -M fi stat=$? - - if test $stat -eq 0; then : - else + if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi @@ -241,44 +322,100 @@ do test -f "$tmpdepfile" && break done - if test -f "$tmpdepfile"; then - # Each line is of the form `foo.o: dependent.h'. - # Do two passes, one to just change these to - # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - # The sourcefile does not contain any dependencies, so just - # store a dummy comment line, to avoid errors with the Makefile - # "include basename.Plo" scheme. - echo "#dummy" > "$depfile" - fi + aix_post_process_depfile + ;; + +tcc) + # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 + # FIXME: That version still under development at the moment of writing. + # Make that this statement remains true also for stable, released + # versions. + # It will wrap lines (doesn't matter whether long or short) with a + # trailing '\', as in: + # + # foo.o : \ + # foo.c \ + # foo.h \ + # + # It will put a trailing '\' even on the last line, and will use leading + # spaces rather than leading tabs (at least since its commit 0394caf7 + # "Emit spaces for -MD"). + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. + # We have to change lines of the first kind to '$object: \'. + sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" + # And for each line of the second kind, we have to emit a 'dep.h:' + # dummy dependency, to avoid the deleted-header problem. + sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; -icc) - # Intel's C compiler understands `-MD -MF file'. However on - # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c - # ICC 7.0 will fill foo.d with something like - # foo.o: sub/foo.c - # foo.o: sub/foo.h - # which is wrong. We want: - # sub/foo.o: sub/foo.c - # sub/foo.o: sub/foo.h - # sub/foo.c: - # sub/foo.h: - # ICC 7.1 will output +## The order of this option in the case statement is important, since the +## shell code in configure will try each of these formats in the order +## listed in this file. A plain '-MD' option would be understood by many +## compilers, so we must ensure this comes after the gcc and icc options. +pgcc) + # Portland's C compiler understands '-MD'. + # Will always output deps to 'file.d' where file is the root name of the + # source file under compilation, even if file resides in a subdirectory. + # The object file name does not affect the name of the '.d' file. + # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h - # and will wrap long lines using \ : + # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... - - "$@" -MD -MF "$tmpdepfile" - stat=$? - if test $stat -eq 0; then : - else + set_dir_from "$object" + # Use the source, not the object, to determine the base name, since + # that's sadly what pgcc will do too. + set_base_from "$source" + tmpdepfile=$base.d + + # For projects that build the same source file twice into different object + # files, the pgcc approach of using the *source* file root name can cause + # problems in parallel builds. Use a locking strategy to avoid stomping on + # the same $tmpdepfile. + lockdir=$base.d-lock + trap " + echo '$0: caught signal, cleaning up...' >&2 + rmdir '$lockdir' + exit 1 + " 1 2 13 15 + numtries=100 + i=$numtries + while test $i -gt 0; do + # mkdir is a portable test-and-set. + if mkdir "$lockdir" 2>/dev/null; then + # This process acquired the lock. + "$@" -MD + stat=$? + # Release the lock. + rmdir "$lockdir" + break + else + # If the lock is being held by a different process, wait + # until the winning process is done or we timeout. + while test -d "$lockdir" && test $i -gt 0; do + sleep 1 + i=`expr $i - 1` + done + fi + i=`expr $i - 1` + done + trap - 1 2 13 15 + if test $i -le 0; then + echo "$0: failed to acquire lock after $numtries attempts" >&2 + echo "$0: check lockdir '$lockdir'" >&2 + exit 1 + fi + + if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi @@ -290,8 +427,8 @@ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. - sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | - sed -e 's/$/ :/' >> "$depfile" + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ + | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; @@ -302,9 +439,8 @@ # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + set_dir_from "$object" + set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d @@ -315,8 +451,7 @@ "$@" +Maked fi stat=$? - if test $stat -eq 0; then : - else + if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi @@ -326,72 +461,106 @@ test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" - # Add `dependent.h:' lines. - sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" + # Add 'dependent.h:' lines. + sed -ne '2,${ + s/^ *// + s/ \\*$// + s/$/:/ + p + }' "$tmpdepfile" >> "$depfile" else - echo "#dummy" > "$depfile" + make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) - # The Tru64 compiler uses -MD to generate dependencies as a side - # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. - # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put - # dependencies in `foo.d' instead, so we check for that too. - # Subdirectories are respected. - dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` - test "x$dir" = "x$object" && dir= - base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` - - if test "$libtool" = yes; then - # With Tru64 cc, shared objects can also be used to make a - # static library. This mechanism is used in libtool 1.4 series to - # handle both shared and static libraries in a single compilation. - # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. - # - # With libtool 1.5 this exception was removed, and libtool now - # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in $dir.libs/$base.o.d and - # in $dir$base.o.d. We have to check for both files, because - # one of the two compilations can be disabled. We should prefer - # $dir$base.o.d over $dir.libs/$base.o.d because the latter is - # automatically cleaned when .libs/ is deleted, while ignoring - # the former would cause a distcleancheck panic. - tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 - tmpdepfile2=$dir$base.o.d # libtool 1.5 - tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 - tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 - "$@" -Wc,-MD - else - tmpdepfile1=$dir$base.o.d - tmpdepfile2=$dir$base.d - tmpdepfile3=$dir$base.d - tmpdepfile4=$dir$base.d - "$@" -MD - fi - - stat=$? - if test $stat -eq 0; then : - else - rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - exit $stat - fi - - for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" - do - test -f "$tmpdepfile" && break - done - if test -f "$tmpdepfile"; then - sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" - # That's a tab and a space in the []. - sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" - else - echo "#dummy" > "$depfile" - fi - rm -f "$tmpdepfile" - ;; + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in 'foo.d' instead, so we check for that too. + # Subdirectories are respected. + set_dir_from "$object" + set_base_from "$object" + + if test "$libtool" = yes; then + # Libtool generates 2 separate objects for the 2 libraries. These + # two compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir$base.o.d # libtool 1.5 + tmpdepfile2=$dir.libs/$base.o.d # Likewise. + tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -ne 0; then + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + # Same post-processing that is required for AIX mode. + aix_post_process_depfile + ;; + +msvc7) + if test "$libtool" = yes; then + showIncludes=-Wc,-showIncludes + else + showIncludes=-showIncludes + fi + "$@" $showIncludes > "$tmpdepfile" + stat=$? + grep -v '^Note: including file: ' "$tmpdepfile" + if test $stat -ne 0; then + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + # The first sed program below extracts the file names and escapes + # backslashes for cygpath. The second sed program outputs the file + # name when reading, but also accumulates all include files in the + # hold buffer in order to output them again at the end. This only + # works with sed implementations that can handle large buffers. + sed < "$tmpdepfile" -n ' +/^Note: including file: *\(.*\)/ { + s//\1/ + s/\\/\\\\/g + p +}' | $cygpath_u | sort -u | sed -n ' +s/ /\\ /g +s/\(.*\)/'"$tab"'\1 \\/p +s/.\(.*\) \\/\1:/ +H +$ { + s/.*/'"$tab"'/ + G + p +}' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvc7msys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; #nosideeffect) # This comment above is used by automake to tell side-effect @@ -404,13 +573,13 @@ # Remove the call to Libtool. if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do @@ -430,18 +599,18 @@ done test -z "$dashmflag" && dashmflag=-M - # Require at least two characters before searching for `:' + # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: - # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | - sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" - tr ' ' ' -' < "$tmpdepfile" | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + # Some versions of the HPUX 10.20 sed can't process this sed invocation + # correctly. Breaking it into two sed invocations is a workaround. + tr ' ' "$nl" < "$tmpdepfile" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; @@ -455,41 +624,51 @@ "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift - cleared=no - for arg in "$@"; do + cleared=no eat=no + for arg + do case $cleared in no) set ""; shift cleared=yes ;; esac + if test $eat = yes; then + eat=no + continue + fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. + -arch) + eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done - obj_suffix="`echo $object | sed 's/^.*\././'`" + obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" - cat < "$tmpdepfile" > "$depfile" - sed '1,2d' "$tmpdepfile" | tr ' ' ' -' | \ -## Some versions of the HPUX 10.20 sed can't process this invocation -## correctly. Breaking it into two sed invocations is a workaround. - sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + # makedepend may prepend the VPATH from the source file name to the object. + # No need to regex-escape $object, excess matching of '.' is harmless. + sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process the last invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed '1,2d' "$tmpdepfile" \ + | tr ' ' "$nl" \ + | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ + | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; @@ -500,13 +679,13 @@ # Remove the call to Libtool. if test "$libtool" = yes; then - while test $1 != '--mode=compile'; do + while test "X$1" != 'X--mode=compile'; do shift done shift fi - # Remove `-o $object'. + # Remove '-o $object'. IFS=" " for arg do @@ -525,10 +704,10 @@ esac done - "$@" -E | - sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ - -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | - sed '$ s: \\$::' > "$tmpdepfile" + "$@" -E \ + | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" @@ -538,33 +717,54 @@ msvisualcpp) # Important note: in order to support this mode, a compiler *must* - # always write the preprocessed file to stdout, regardless of -o, - # because we must use -o when running libtool. + # always write the preprocessed file to stdout. "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test "X$1" != 'X--mode=compile'; do + shift + done + shift + fi + IFS=" " for arg do case "$arg" in + -o) + shift + ;; + $object) + shift + ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") - set fnord "$@" - shift - shift - ;; + set fnord "$@" + shift + shift + ;; *) - set fnord "$@" "$arg" - shift - shift - ;; + set fnord "$@" "$arg" + shift + shift + ;; esac done - "$@" -E | - sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + "$@" -E 2>/dev/null | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" - echo " " >> "$depfile" - . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" + echo "$tab" >> "$depfile" + sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" + ;; + +msvcmsys) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 ;; none) @@ -585,5 +785,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..4be9cf3 --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,10 @@ +find_package(Doxygen) +if(DOXYGEN_FOUND) +# configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) +add_custom_target(doc +${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile +WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +COMMENT "Generating API documentation with Doxygen" VERBATIM +) +endif(DOXYGEN_FOUND) + diff --git a/doc/Doxyfile b/doc/Doxyfile index ac4ef58..47b3157 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -105,7 +105,7 @@ # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. -FULL_PATH_NAMES = YES +FULL_PATH_NAMES = NO # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user-defined part of the path. Stripping is diff --git a/doc/Makefile.in b/doc/Makefile.in index bad6d70..9bbd1f8 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.13.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -26,6 +25,23 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -45,7 +61,7 @@ build_triplet = @build@ host_triplet = @host@ subdir = doc -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ @@ -57,8 +73,25 @@ CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -80,16 +113,26 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(htmldocsdir)" DATA = $(htmldocs_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -102,6 +145,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ @@ -129,6 +173,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ @@ -161,6 +206,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -194,7 +240,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -256,14 +301,12 @@ @$(NORMAL_UNINSTALL) @list='$(htmldocs_DATA)'; test -n "$(htmldocsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(htmldocsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(htmldocsdir)" && rm -f $$files -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: + dir='$(DESTDIR)$(htmldocsdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: distdir: $(DISTFILES) @@ -315,10 +358,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -395,17 +443,17 @@ .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ - dist-hook distclean distclean-generic distclean-libtool \ - distdir dvi dvi-am html html-am info info-am install \ - install-am install-data install-data-am install-dvi \ + cscopelist-am ctags-am dist-hook distclean distclean-generic \ + distclean-libtool distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-htmldocsDATA install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ - uninstall-htmldocsDATA + mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ + uninstall-am uninstall-htmldocsDATA html: diff --git a/doc/html/Makefile.in b/doc/html/Makefile.in deleted file mode 100644 index 0350875..0000000 --- a/doc/html/Makefile.in +++ /dev/null @@ -1,439 +0,0 @@ -# Makefile.in generated by automake 1.11 from Makefile.am. -# @configure_input@ - -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkglibexecdir = $(libexecdir)/@PACKAGE@ -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -build_triplet = @build@ -host_triplet = @host@ -subdir = doc/html -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = $(top_builddir)/include/config.h -CONFIG_CLEAN_FILES = -CONFIG_CLEAN_VPATH_FILES = -SOURCES = -DIST_SOURCES = -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; -am__vpath_adj = case $$p in \ - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ - *) f=$$p;; \ - esac; -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; -am__install_max = 40 -am__nobase_strip_setup = \ - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` -am__nobase_strip = \ - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" -am__nobase_list = $(am__nobase_strip_setup); \ - for p in $$list; do echo "$$p $$p"; done | \ - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ - if (++n[$$2] == $(am__install_max)) \ - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ - END { for (dir in files) print dir, files[dir] }' -am__base_list = \ - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' -am__installdirs = "$(DESTDIR)$(htmldocsdir)" -DATA = $(htmldocs_DATA) -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -ACLOCAL = @ACLOCAL@ -AMTAR = @AMTAR@ -AR = @AR@ -AUTOCONF = @AUTOCONF@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -DSYMUTIL = @DSYMUTIL@ -DUMPBIN = @DUMPBIN@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FGREP = @FGREP@ -GAVL_CFLAGS = @GAVL_CFLAGS@ -GAVL_LIBS = @GAVL_LIBS@ -GREP = @GREP@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LD = @LD@ -LDFLAGS = @LDFLAGS@ -LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ -LIBTOOL = @LIBTOOL@ -LIPO = @LIPO@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -MKDIR_P = @MKDIR_P@ -NM = @NM@ -NMEDIT = @NMEDIT@ -OBJDUMP = @OBJDUMP@ -OBJEXT = @OBJEXT@ -OPENCV_CFLAGS = @OPENCV_CFLAGS@ -OPENCV_LIBS = @OPENCV_LIBS@ -OTOOL = @OTOOL@ -OTOOL64 = @OTOOL64@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -PKG_CONFIG = @PKG_CONFIG@ -RANLIB = @RANLIB@ -SED = @SED@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -VERSION = @VERSION@ -abs_builddir = @abs_builddir@ -abs_srcdir = @abs_srcdir@ -abs_top_builddir = @abs_top_builddir@ -abs_top_srcdir = @abs_top_srcdir@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -am__include = @am__include@ -am__leading_dot = @am__leading_dot@ -am__quote = @am__quote@ -am__tar = @am__tar@ -am__untar = @am__untar@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -builddir = @builddir@ -datadir = @datadir@ -datarootdir = @datarootdir@ -docdir = @docdir@ -dvidir = @dvidir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -htmldir = @htmldir@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localedir = @localedir@ -localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ -mandir = @mandir@ -mkdir_p = @mkdir_p@ -oldincludedir = @oldincludedir@ -pdfdir = @pdfdir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -psdir = @psdir@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -srcdir = @srcdir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -top_build_prefix = @top_build_prefix@ -top_builddir = @top_builddir@ -top_srcdir = @top_srcdir@ -htmldocs_DATA = \ - annotated.html \ - doxygen.png \ - functions.html \ - globals.html \ - group__icons.html \ - hierarchy.html \ - structf0r__param__color.html \ - tab_b.gif \ - dir_c6a51e201754b7c7dc5a21651891d7e2.html \ - files.html \ - functions_vars.html \ - globals_type.html \ - group__PARAM__TYPE.html \ - index.html \ - structf0r__param__info.html \ - tab_l.gif \ - dirs.html \ - frei0r_8h.html \ - globals_defs.html \ - group__COLOR__MODEL.html \ - group__PLUGIN__TYPE.html \ - structf0r__param__position.html \ - tab_r.gif \ - doxygen.css \ - frei0r_8h-source.html \ - globals_func.html \ - group__concurrency.html \ - group__pluglocations.html \ - modules.html \ - structf0r__plugin__info.html \ - tabs.css - -htmldocsdir = ${prefix}/share/doc/${PACKAGE}-1.1/html -all: all-am - -.SUFFIXES: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ - && { if test -f $@; then exit 0; else break; fi; }; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/html/Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --gnu doc/html/Makefile -.PRECIOUS: Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh - -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -$(am__aclocal_m4_deps): - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs -install-htmldocsDATA: $(htmldocs_DATA) - @$(NORMAL_INSTALL) - test -z "$(htmldocsdir)" || $(MKDIR_P) "$(DESTDIR)$(htmldocsdir)" - @list='$(htmldocs_DATA)'; test -n "$(htmldocsdir)" || list=; \ - for p in $$list; do \ - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; \ - done | $(am__base_list) | \ - while read files; do \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(htmldocsdir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(htmldocsdir)" || exit $$?; \ - done - -uninstall-htmldocsDATA: - @$(NORMAL_UNINSTALL) - @list='$(htmldocs_DATA)'; test -n "$(htmldocsdir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(htmldocsdir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(htmldocsdir)" && rm -f $$files -tags: TAGS -TAGS: - -ctags: CTAGS -CTAGS: - - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(DATA) -installdirs: - for dir in "$(DESTDIR)$(htmldocsdir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-generic clean-libtool mostlyclean-am - -distclean: distclean-am - -rm -f Makefile -distclean-am: clean-am distclean-generic - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: install-htmldocsDATA - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-generic mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-htmldocsDATA - -.MAKE: install-am install-strip - -.PHONY: all all-am check check-am clean clean-generic clean-libtool \ - distclean distclean-generic distclean-libtool distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-htmldocsDATA install-info install-info-am install-man \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-strip installcheck installcheck-am installdirs \ - maintainer-clean maintainer-clean-generic mostlyclean \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - uninstall uninstall-am uninstall-htmldocsDATA - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/include/Makefile.in b/include/Makefile.in index 84c5d60..bf33f57 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.13.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -26,6 +25,23 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -45,9 +61,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = include -DIST_COMMON = $(include_HEADERS) $(noinst_HEADERS) \ - $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(srcdir)/config.h.in $(include_HEADERS) $(noinst_HEADERS) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ @@ -59,8 +74,25 @@ CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = SOURCES = DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ @@ -82,18 +114,45 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(includedir)" HEADERS = $(include_HEADERS) $(noinst_HEADERS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -106,6 +165,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ @@ -133,6 +193,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ @@ -165,6 +226,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -198,7 +260,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -252,10 +313,8 @@ $(am__aclocal_m4_deps): config.h: stamp-h1 - @if test ! -f $@; then \ - rm -f stamp-h1; \ - $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ - else :; fi + @if test ! -f $@; then rm -f stamp-h1; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 @@ -275,8 +334,11 @@ -rm -rf .libs _libs install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) - test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ + fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ @@ -290,30 +352,17 @@ @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(includedir)" && rm -f $$files - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) + dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -325,15 +374,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -342,6 +387,21 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -393,10 +453,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -476,18 +541,19 @@ .MAKE: all install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool ctags distclean distclean-generic distclean-hdr \ - distclean-libtool distclean-tags distdir dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am \ - install-includeHEADERS install-info install-info-am \ - install-man install-pdf install-pdf-am install-ps \ - install-ps-am install-strip installcheck installcheck-am \ - installdirs maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ - ps ps-am tags uninstall uninstall-am uninstall-includeHEADERS +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool cscopelist-am ctags ctags-am distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-includeHEADERS install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-includeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/include/blur.h b/include/blur.h new file mode 100644 index 0000000..8af120d --- /dev/null +++ b/include/blur.h @@ -0,0 +1,270 @@ +/* blur.h + * Copyright (C) 2004--2005 Mathieu Guindon + * Julien Keable + * Jean-Sebastien Senecal (js@drone.ws) + * + * Modified by Richard Spindler (richard.spindler AT gmail.com) for blurring in + * the mask0mate Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include + +#include "frei0r.h" + +#define SIZE_RGBA 4 + +static inline int MAX(int a, int b) +{ + return (a > b ? a : b); +} + +static inline int MIN(int a, int b) +{ + return (a < b ? a : b); +} + +static inline void subtract_acc(uint32_t *dst, const uint32_t *src) +{ + int n=SIZE_RGBA; + while (n--) + *dst++ -= *src++; +} + +static inline void add_acc(uint32_t *dst, const uint32_t *src) +{ + int n=SIZE_RGBA; + while (n--) + *dst++ += *src++; +} + +static inline void divide(unsigned char *dst, const uint32_t *src, const unsigned int val) +{ + int n=SIZE_RGBA; + while (n--) + *dst++ = *src++ / val; +} + +typedef struct squareblur_instance +{ + unsigned int width; + unsigned int height; + double kernel; /* the kernel size, as a percentage of the biggest of width and height */ + uint32_t *mem; /* memory accumulation matrix of uint32_t (size = acc_width*acc_height*SIZE_RGBA) */ + uint32_t **acc; /* accumulation matrix of pointers to SIZE_RGBA consecutive uint32_t in mem (size = acc_width*acc_height) */ +} squareblur_instance_t; + +/* Updates the summed area table. */ +static void update_summed_area_table(squareblur_instance_t *inst, const uint32_t *src) +{ + register unsigned char *iter_data; + register uint32_t *iter_mem; + register unsigned int i, x, y; + + uint32_t acc_buffer[SIZE_RGBA]; /* accumulation buffer */ + + unsigned int row_width; + unsigned int width, height; + unsigned int cell_size; + + /* Compute basic params. */ + width = inst->width+1; + height = inst->height+1; + row_width = SIZE_RGBA * width; + cell_size = SIZE_RGBA * sizeof(uint32_t); + + /* Init iterators. */ + iter_data = (unsigned char*) src; + iter_mem = inst->mem; + + /* Process first row (all zeros). */ + memset(iter_mem, 0, row_width * cell_size); + iter_mem += row_width; + + if (height >= 1) + { + /* Process second row. */ + memset(acc_buffer, 0, cell_size); + memset(iter_mem, 0, cell_size); /* first column is void */ + iter_mem += SIZE_RGBA; + for (x=1; xname = "Kernel size"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "The size of the kernel, as a proportion to its coverage of the image"; + break; + } +} + +static f0r_instance_t blur_construct(unsigned int width, unsigned int height) +{ + squareblur_instance_t* inst = + (squareblur_instance_t*)malloc(sizeof(squareblur_instance_t)); + unsigned int i; + unsigned int acc_width, acc_height = height+1; + uint32_t* iter_mem; + uint32_t** iter_acc; + /* set params */ + inst->width = width; inst->height = height; + acc_width = width+1; acc_height = height+1; + inst->kernel = 0.0; + /* allocate memory for the summed-area-table */ + inst->mem = (uint32_t*) malloc(acc_width*acc_height*SIZE_RGBA*sizeof(uint32_t)); + inst->acc = (uint32_t**) malloc(acc_width*acc_height*sizeof(uint32_t*)); + /* point at the right place */ + iter_mem = inst->mem; + iter_acc = inst->acc; + for (i=0; iacc); + free(inst->mem); + free(instance); +} + +static void blur_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + squareblur_instance_t* inst = (squareblur_instance_t*)instance; + + switch(param_index) + { + case 0: + /* kernel size */ + inst->kernel = *((double*)param); + break; + } +} + +static void blur_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + squareblur_instance_t* inst = (squareblur_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->kernel; + break; + } +} + +static void blur_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + squareblur_instance_t* inst = (squareblur_instance_t*)instance; + + unsigned int width = inst->width; + unsigned int height = inst->height; + unsigned int acc_width = width+1; /* width of the summed area table */ + unsigned int max = MAX(width, height); + unsigned int kernel_size = (unsigned int) (inst->kernel * max / 2.0); + + unsigned int x, y; + unsigned int x0, x1, y0, y1; + unsigned int area; + + if (kernel_size <= 0) + { + /* No blur, just copy image. */ + memcpy(outframe, inframe, width*height*sizeof(uint32_t)); + } + else + { + assert(inst->acc); + unsigned char* dst = (unsigned char*)outframe; + uint32_t** acc = inst->acc; + uint32_t sum[SIZE_RGBA]; + unsigned int y0_offset, y1_offset; + + /* Compute the summed area table. */ + update_summed_area_table(inst, inframe); + + /* Loop through the image's pixels. */ + for (y=0;y + +/** +* String identifiers for gradient types available using Cairo. +*/ +#define GRADIENT_LINEAR "gradient_linear" +#define GRADIENT_RADIAL "gradient_radial" + +/** +* String identifiers for blend modes available using Cairo. +*/ +#define NORMAL "normal" +#define ADD "add" +#define SATURATE "saturate" +#define MULTIPLY "multiply" +#define SCREEN "screen" +#define OVERLAY "overlay" +#define DARKEN "darken" +#define LIGHTEN "lighten" +#define COLORDODGE "colordodge" +#define COLORBURN "colorburn" +#define HARDLIGHT "hardlight" +#define SOFTLIGHT "softlight" +#define DIFFERENCE "difference" +#define EXCLUSION "exclusion" +#define HSLHUE "hslhue" +#define HSLSATURATION "hslsaturation" +#define HSLCOLOR "hslcolor" +#define HSLLUMINOSITY "hslluminosity" + + +/** +* frei0r_cairo_set_operator +* @cr: Cairo context +* @op: String identifier for a blend mode +* +* Sets cairo context to use the defined blend mode for all paint operations. +*/ +void frei0r_cairo_set_operator(cairo_t *cr, char *op) +{ + if(strcmp(op, NORMAL) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + } + else if(strcmp(op, ADD) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_ADD); + } + else if(strcmp(op, SATURATE) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_SATURATE); + } + else if(strcmp(op, MULTIPLY) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_MULTIPLY); + } + else if(strcmp(op, SCREEN) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_SCREEN); + } + else if(strcmp(op, OVERLAY) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_OVERLAY); + } + else if(strcmp(op, DARKEN) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_DARKEN); + } + else if(strcmp(op, LIGHTEN) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_LIGHTEN); + } + else if(strcmp(op, COLORDODGE) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_COLOR_DODGE); + } + else if(strcmp(op, COLORBURN) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_COLOR_BURN); + } + else if(strcmp(op, HARDLIGHT) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_HARD_LIGHT); + } + else if(strcmp(op, SOFTLIGHT) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_SOFT_LIGHT); + } + else if(strcmp(op, DIFFERENCE) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_DIFFERENCE); + } + else if(strcmp(op, EXCLUSION) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_EXCLUSION); + } + else if(strcmp(op, HSLHUE) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_HSL_HUE); + } + else if(strcmp(op, HSLSATURATION) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_HSL_SATURATION); + } + else if(strcmp(op, HSLCOLOR) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_HSL_COLOR); + } + else if(strcmp(op, HSLLUMINOSITY ) == 0) + { + cairo_set_operator (cr, CAIRO_OPERATOR_HSL_LUMINOSITY); + } + else + { + cairo_set_operator (cr, CAIRO_OPERATOR_OVER); + } +} + + +/** +* frei0r_cairo_set_rgba_LITTLE_ENDIAN +* @cr: Cairo context +* @red: red component, 0 - 1 +* @green: green component, 0 - 1 +* @blue: blue component, 0 - 1 +* @alpha: opacity of color, 0 -1 +* +* Sets cairo context to use the defined color paint operations. +* Switches red and blue channels to get correct color on little endian machines. +* This method only works correctly on little endian machines. +*/ +void frei0r_cairo_set_rgba_LITTLE_ENDIAN(cairo_t* cr, double red, double green, double blue, double alpha) +{ + cairo_set_source_rgba (cr, blue, green, red, alpha); +} + +/** +* frei0r_cairo_set_rgb_LITTLE_ENDIAN +* @cr: Cairo context +* @red: red component, 0 - 1 +* @green: green component, 0 - 1 +* @blue: blue component, 0 - 1 +* +* Sets cairo context to use the defined color paint operations. +* Switches red and blue channels to get correct color on little endian machines. +* This method only works correctly on little endian machines. +*/ +void frei0r_cairo_set_rgb_LITTLE_ENDIAN(cairo_t* cr, double red, double green, double blue) +{ + cairo_set_source_rgb (cr, blue, green, red); +} + +/** +* freior_cairo_set_color_stop_rgba_LITLLE_ENDIAN( +* @pat: Cairo pattern +* @offset: offset of color position in pattern space, 0 - 1 +* @red: red component, 0 - 1 +* @green: green component, 0 - 1 +* @blue: blue component, 0 - 1 +* @alpha: opacity of color, 0 -1 +* +* Sets color stop for cairo patterns. +* Switches red and blue channels to get correct color on little endian machines. +* This method only works correctly on little endian machines. +*/ +void freior_cairo_set_color_stop_rgba_LITLLE_ENDIAN(cairo_pattern_t *pat, double offset, + double red, double green, double blue, double alpha) +{ + cairo_pattern_add_color_stop_rgba (pat, offset, blue, green, red, alpha); +} + +/** +* frei0r_cairo_get_pixel_position +* @norm_pos: position in range 0 - 1, either x or y +* @dim: dimension, either witdh or height +* +* Converts double range [0 -> 1] to pixel range [-2*dim -> 3*dim]. Input 0.4 gives position 0. +* +* Returns: position in pixels +*/ +double frei0r_cairo_get_pixel_position (double norm_pos, int dim) +{ + double pos_o = -(dim * 2.0); + return pos_o + norm_pos * dim * 5.0; +} + +/** +* frei0r_cairo_get_scale +* @norm_scale: scale in range 0 - 1 +* +* Converts double range [0 -> 1] to scale range [0 -> 5]. Input 0.2 gives scale 1.0. +* +* Returns: scale +*/ +double frei0r_cairo_get_scale (double norm_scale) +{ + return norm_scale * 5.0; +} + + diff --git a/include/frei0r_cfc.h b/include/frei0r_cfc.h new file mode 100644 index 0000000..14cca12 --- /dev/null +++ b/include/frei0r_cfc.h @@ -0,0 +1,319 @@ +/* cfc.h + * uchar->float and float->uchar conversion for packed RGBA video + * with flexible gamma correction + * + * Copyright (C) 2012 Marko Cebokli http://lea.hamradio.si/~s57uuu + * This file is a part of the Frei0r package + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +// the float to uint8_t conversion is done +// using Spitzak type tables (upper 16 bits +// of a float value used as table index) +// see http://mysite.verizon.net/spitzak/conversion/ + +#include +#include + + +typedef struct + { + float r; + float g; + float b; + float a; + } float_rgba; + +//------------------------------------------------------ +//the following gamma functions need not be speed optimized, +//as they are only used for table generation + +//-------------------------------------------------------- +//rec 709 gamma forward (linear to gamma) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_709_f(float a) +{ +return (a<=0.018) ? 4.5*a : 1.099*powf(a,0.45)-0.099; +} + +//-------------------------------------------------------- +//rec 709 gamma backward (gamma to linear) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_709_b(float a) +{ +return (a<=0.081) ? a/4.5 : powf((a+0.099)/1.099,1.0/0.45); +} + +//---------------------------------------------------- +//sRGB gamma forward (linear to gamma) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_sRGB_f(float a) +{ +return (a<=0.0031308) ? 12.92*a : 1.055*powf(a,1.0/2.4)-0.055; +} + +//-------------------------------------------------------- +//sRGB gamma backward (gamma to linear) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_sRGB_b(float a) +{ +return (a<=0.04045) ? a/12.92 : powf((a+0.055)/1.055,2.4); +} + +//---------------------------------------------------- +//plain gamma (power function) forward (linear to gamma) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_plain_f(float a, float g) +{ +return powf(a,1.0/g); +} + +//-------------------------------------------------------- +//plain gamma (power function) backward (gamma to linear) +//a = input, should be in the 0.0 to 1.0 range +static inline float gamma_plain_b(float a, float g) +{ +return powf(a,g); +} + +//-------------------------------------------------------- +//dummy function for linear tables (no gamma) +//g = gamma value +static inline float gamma_none(float a) +{ +return a; +} + +//------------------------------------------------ +//expand highlights using a modified Spitzak formula +//with limited max output value (250) +//(for values up to 2500 use 1.0001 and 0.493) +//input [0...1] +//output [0...250] +static inline float exp_hl(float a) +{ +return (a<=0.4781) ? a : 0.25/(1.001-a); +} + +//------------------------------------------------------------ +//compress highlights using a modified Spitzak formula +//with limited max input value (250) +//(for values up to 2500 use 1.0001 and 0.493) +//input [0...250] +//output [0...1] +static inline float cps_hl(float a) +{ +return (a<=0.4781) ? a : 1.001-0.25/a; +} + +//---------------------------------------------------------- +//float to char conversion is done using the upper 16 bits +//of the float number as an index into the conversion table. +//This union is used for type punning, to avoid problems +//with compiler optimizations, as the read access in the +//cfc_tab_8 function directly follows writing +typedef union + { + float a; + uint16_t i[2]; + } flint; + +//-------------------------------------------------------- +//generate forward and backward conversion tables +//for 8 bit (uint8_t) video +//*ft = forward table (float to uchar, linear to gamma) +// must have space for 65536 char elements +//*bt = backward table (uchar to float, gamma to linear) +// must have space for 256 float elements +//type = what kind of gamma function will be used: +// 0 = linear (no gamma, just multiply/divide by 255) +// 1 = plain gamma (pure power function) +// 2 = rec 709 gamma +// 3 = sRGB gamma +// 4 = sRGB gamma with highlight expansion/compression +// types 0...3 map to [0...1] linear float range +// type 4 maps to [0...250] linear float range +//g = gamma value, 0.3 to 3.0 (only used with type=1) +static inline void cfc_tab_8(uint8_t *ft, float *bt, int type, float g) +{ +uint16_t i; +float a; +flint fi; + +// *** generate float to char conversion table *** +for (i=0;i<128;i++) //positive denormals map to zero + ft[i]=0; + +for (i=128;i<=32639;i++) //positive numbers map to 0...255 + { +//#if FREI0R_BYTE_ORDER == FREI0R_BIG_ENDIAN +// fi.i[0]=i; fi.i[1]=0x8000; //big endian +//#endif +//#if FREI0R_BYTE_ORDER == FREI0R_LITTLE_ENDIAN + fi.i[1]=i; fi.i[0]=0x8000; //little endian +//#endif + a=fi.a; + switch (type) + { + case 0: a=gamma_none(a); break; + case 1: a=gamma_plain_f(a,g); break; + case 2: a=gamma_709_f(a); break; + case 3: a=gamma_sRGB_f(a); break; + case 4: a=cps_hl(a); a=gamma_sRGB_f(a); break; + default: break; + } + if (a>0.9999) a=0.9999; + ft[i]=(uint8_t)(256.0*a); + } + +for (i=32640;i<32768;i++) //positive NANs and infinite map to 255 + ft[i]=255; +for (i=32768;i!=65535;i++) //everything negative maps to 0 + ft[i]=0; +ft[65535]=0; + + +// *** generate char to float conversion table *** +for (i=0;i<=255;i++) + { + a=((float)i+0.5)/256.0; + switch (type) + { + case 0: a=gamma_none(a); break; + case 1: a=gamma_plain_b(a,g); break; + case 2: a=gamma_709_b(a); break; + case 3: a=gamma_sRGB_b(a); break; + case 4: a=gamma_sRGB_b(a); a=exp_hl(a); break; + default: break; + } + bt[i]=a; + } +} + +//-------------------------------------------------------- +//convert from paked uchar RGBA to packed float RGBA +//w,h are width and height of the image +//tab = table used for RGB conversion +//atab = table used for alpha converion (usually linear) +static inline void RGBA8_2_float(const uint32_t *in, float_rgba *out, int w, int h, float *tab, float *atab) +{ +int i; +uint8_t *cin=(uint8_t *)in; + +for (i=0;ii[1]]; +} +//endif + +//#if FREI0R_BYTE_ORDER == FREI0R_BIG_ENDIAN +//static inline float_2_uint8(const float *in, uint8_t *tab) +//{ +//return tab[((flint*)in)->i[0]]; +//} +//#endif diff --git a/include/frei0r_math.h b/include/frei0r_math.h index 3218cc2..cf84eb4 100644 --- a/include/frei0r_math.h +++ b/include/frei0r_math.h @@ -17,38 +17,58 @@ */ /* Clamps a int32-range int between 0 and 255 inclusive. */ +#ifndef CLAMP0255 unsigned char CLAMP0255(int32_t a) { return (unsigned char) ( (((-a) >> 31) & a) // 0 if the number was negative | (255 - a) >> 31); // -1 if the number was greater than 255 } +#endif /* Provided temporary int t, returns a * b / 255 */ +#ifndef INT_MULT #define INT_MULT(a,b,t) ((t) = (a) * (b) + 0x80, ((((t) >> 8) + (t)) >> 8)) +#endif /* This version of INT_MULT3 is very fast, but suffers from some slight roundoff errors. It returns the correct result 99.987 percent of the time */ +#ifndef INT_MULT3 #define INT_MULT3(a,b,c,t) ((t) = (a) * (b) * (c) + 0x7F5B, \ ((((t) >> 7) + (t)) >> 16)) +#endif +#ifndef INT_BLEND #define INT_BLEND(a,b,alpha,tmp) (INT_MULT((a) - (b), alpha, tmp) + (b)) +#endif +#ifndef CLAMP //! Clamp x at lower = l and upper = u. #define CLAMP(x,l,u) ( x < l ? l : ( x > u ? u : x ) ) +#endif +#ifndef ROUND //! Round. #define ROUND(x) ((int32_t)((x)+0.5)) +#endif +#ifndef SQR //! Square. #define SQR(x) ((x) * (x)) +#endif +#ifndef MAX255 //! Limit a (0->511) int to 255. uint8_t MAX255(uint32_t a) { return (uint8_t) (a | ((a & 256) - ((a & 256) >> 8))); } +#endif +#ifndef MIN #define MIN(x, y) ((x) < (y) ? (x) : (y)); +#endif +#ifndef MAX #define MAX(x, y) ((x) > (y) ? (x) : (y)); +#endif #endif diff --git a/install-sh b/install-sh index a5897de..377bb86 100755 --- a/install-sh +++ b/install-sh @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2006-12-25.00 +scriptversion=2011-11-20.07; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -35,7 +35,7 @@ # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent -# `make' implicit rules from creating a file called install from it +# 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written @@ -156,6 +156,10 @@ -s) stripcmd=$stripprog;; -t) dst_arg=$2 + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac shift;; -T) no_target_directory=true;; @@ -186,6 +190,10 @@ fi shift # arg dst_arg=$arg + # Protect names problematic for 'test' and other utilities. + case $dst_arg in + -* | [=\(\)!]) dst_arg=./$dst_arg;; + esac done fi @@ -194,13 +202,17 @@ echo "$0: no input file specified." >&2 exit 1 fi - # It's OK to call `install-sh -d' without argument. + # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then - trap '(exit $?); exit' 1 2 13 15 + do_exit='(exit $ret); exit $ret' + trap "ret=129; $do_exit" 1 + trap "ret=130; $do_exit" 2 + trap "ret=141; $do_exit" 13 + trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. @@ -228,9 +240,9 @@ for src do - # Protect names starting with `-'. + # Protect names problematic for 'test' and other utilities. case $src in - -*) src=./$src;; + -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then @@ -252,12 +264,7 @@ echo "$0: no destination specified." >&2 exit 1 fi - dst=$dst_arg - # Protect names starting with `-'. - case $dst in - -*) dst=./$dst;; - esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. @@ -347,7 +354,7 @@ if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or - # other-writeable bit of parent directory when it shouldn't. + # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in @@ -385,7 +392,7 @@ case $dstdir in /*) prefix='/';; - -*) prefix='./';; + [-=\(\)!]*) prefix='./';; *) prefix='';; esac @@ -403,7 +410,7 @@ for d do - test -z "$d" && continue + test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then @@ -515,5 +522,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff --git a/ltmain.sh b/ltmain.sh old file mode 100755 new file mode 100644 index d88da2c..9ae038c 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -1,9 +1,9 @@ -# Generated from ltmain.m4sh. - -# ltmain.sh (GNU libtool) 2.2.6b + +# libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit , 1996 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -32,50 +32,57 @@ # # Provide generalized library-building support services. # -# --config show all configuration variables -# --debug enable verbose shell tracing -# -n, --dry-run display commands without modifying any files -# --features display basic configuration information and exit -# --mode=MODE use operation mode MODE -# --preserve-dup-deps don't remove duplicate dependency libraries -# --quiet, --silent don't print informational messages -# --tag=TAG use configuration variables from tag TAG -# -v, --verbose print informational messages (default) -# --version print version information -# -h, --help print short or long help message +# --config show all configuration variables +# --debug enable verbose shell tracing +# -n, --dry-run display commands without modifying any files +# --features display basic configuration information and exit +# --mode=MODE use operation mode MODE +# --preserve-dup-deps don't remove duplicate dependency libraries +# --quiet, --silent don't print informational messages +# --no-quiet, --no-silent +# print informational messages (default) +# --no-warn don't display warning messages +# --tag=TAG use configuration variables from tag TAG +# -v, --verbose print more informational messages than default +# --no-verbose don't print the extra informational messages +# --version print version information +# -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # -# clean remove files from the build directory -# compile compile a source file into a libtool object -# execute automatically set library path, then run a program -# finish complete the installation of libtool libraries -# install install libraries or executables -# link create a library or an executable -# uninstall remove libraries from an installed directory +# clean remove files from the build directory +# compile compile a source file into a libtool object +# execute automatically set library path, then run a program +# finish complete the installation of libtool libraries +# install install libraries or executables +# link create a library or an executable +# uninstall remove libraries from an installed directory # -# MODE-ARGS vary depending on the MODE. +# MODE-ARGS vary depending on the MODE. When passed as first option, +# `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # -# host-triplet: $host -# shell: $SHELL -# compiler: $LTCC -# compiler flags: $LTCFLAGS -# linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2 -# automake: $automake_version -# autoconf: $autoconf_version +# host-triplet: $host +# shell: $SHELL +# compiler: $LTCC +# compiler flags: $LTCFLAGS +# linker: $LD (gnu? $with_gnu_ld) +# $progname: (GNU libtool) 2.4.2 +# automake: $automake_version +# autoconf: $autoconf_version # # Report bugs to . - -PROGRAM=ltmain.sh +# GNU libtool home page: . +# General help using GNU software: . + +PROGRAM=libtool PACKAGE=libtool -VERSION="2.2.6b Debian-2.2.6b-2" +VERSION=2.4.2 TIMESTAMP="" -package_revision=1.3017 +package_revision=1.3337 # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then @@ -91,10 +98,15 @@ BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +$1 +_LTECHO_EOF' +} + # NLS nuisances: We save the old values to restore during execute mode. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES @@ -107,24 +119,28 @@ lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done +LC_ALL=C +LANGUAGE=C +export LANGUAGE LC_ALL $lt_unset CDPATH +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" : ${CP="cp -f"} -: ${ECHO="echo"} -: ${EGREP="/bin/grep -E"} -: ${FGREP="/bin/grep -F"} -: ${GREP="/bin/grep"} -: ${LN_S="ln -s"} +test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} -: ${SED="/bin/sed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} @@ -143,6 +159,27 @@ dirname="s,/[^/]*$,," basename="s,^.*/,," + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} # func_dirname may be replaced by extended shell implementation + + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "${1}" | $SED "$basename"` +} # func_basename may be replaced by extended shell implementation + # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function @@ -158,33 +195,183 @@ # those functions but instead duplicate the functionality here. func_dirname_and_basename () { - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi + func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` +} # func_dirname_and_basename may be replaced by extended shell implementation + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname may be replaced by extended shell implementation + + +# These SED scripts presuppose an absolute path with a trailing slash. +pathcar='s,^/\([^/]*\).*$,\1,' +pathcdr='s,^/[^/]*,,' +removedotparts=':dotsl + s@/\./@/@g + t dotsl + s,/\.$,/,' +collapseslashes='s@/\{1,\}@/@g' +finalslash='s,/*$,/,' + +# func_normal_abspath PATH +# Remove doubled-up and trailing slashes, "." path components, +# and cancel out any ".." path components in PATH after making +# it an absolute path. +# value returned in "$func_normal_abspath_result" +func_normal_abspath () +{ + # Start from root dir and reassemble the path. + func_normal_abspath_result= + func_normal_abspath_tpath=$1 + func_normal_abspath_altnamespace= + case $func_normal_abspath_tpath in + "") + # Empty path, that just means $cwd. + func_stripname '' '/' "`pwd`" + func_normal_abspath_result=$func_stripname_result + return + ;; + # The next three entries are used to spot a run of precisely + # two leading slashes without using negated character classes; + # we take advantage of case's first-match behaviour. + ///*) + # Unusual form of absolute path, do nothing. + ;; + //*) + # Not necessarily an ordinary path; POSIX reserves leading '//' + # and for example Cygwin uses it to access remote file shares + # over CIFS/SMB, so we conserve a leading double slash if found. + func_normal_abspath_altnamespace=/ + ;; + /*) + # Absolute path, do nothing. + ;; + *) + # Relative path, prepend $cwd. + func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath + ;; + esac + # Cancel out all the simple stuff to save iterations. We also want + # the path to end with a slash for ease of parsing, so make sure + # there is one (and only one) here. + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` + while :; do + # Processed it all yet? + if test "$func_normal_abspath_tpath" = / ; then + # If we ascended to the root using ".." the result may be empty now. + if test -z "$func_normal_abspath_result" ; then + func_normal_abspath_result=/ + fi + break + fi + func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcar"` + func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ + -e "$pathcdr"` + # Figure out what to do with it + case $func_normal_abspath_tcomponent in + "") + # Trailing empty path component, ignore it. + ;; + ..) + # Parent dir; strip last assembled component from result. + func_dirname "$func_normal_abspath_result" + func_normal_abspath_result=$func_dirname_result + ;; + *) + # Actual path component, append it. + func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent + ;; + esac + done + # Restore leading double-slash if one was found on entry. + func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result +} + +# func_relative_path SRCDIR DSTDIR +# generates a relative path from SRCDIR to DSTDIR, with a trailing +# slash if non-empty, suitable for immediately appending a filename +# without needing to append a separator. +# value returned in "$func_relative_path_result" +func_relative_path () +{ + func_relative_path_result= + func_normal_abspath "$1" + func_relative_path_tlibdir=$func_normal_abspath_result + func_normal_abspath "$2" + func_relative_path_tbindir=$func_normal_abspath_result + + # Ascend the tree starting from libdir + while :; do + # check if we have found a prefix of bindir + case $func_relative_path_tbindir in + $func_relative_path_tlibdir) + # found an exact match + func_relative_path_tcancelled= + break + ;; + $func_relative_path_tlibdir*) + # found a matching prefix + func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" + func_relative_path_tcancelled=$func_stripname_result + if test -z "$func_relative_path_result"; then + func_relative_path_result=. + fi + break + ;; + *) + func_dirname $func_relative_path_tlibdir + func_relative_path_tlibdir=${func_dirname_result} + if test "x$func_relative_path_tlibdir" = x ; then + # Have to descend all the way to the root! + func_relative_path_result=../$func_relative_path_result + func_relative_path_tcancelled=$func_relative_path_tbindir + break + fi + func_relative_path_result=../$func_relative_path_result + ;; + esac + done + + # Now calculate path; take care to avoid doubling-up slashes. + func_stripname '' '/' "$func_relative_path_result" + func_relative_path_result=$func_stripname_result + func_stripname '/' '/' "$func_relative_path_tcancelled" + if test "x$func_stripname_result" != x ; then + func_relative_path_result=${func_relative_path_result}/${func_stripname_result} fi - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -# Generated shell functions inserted here. - -# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh -# is ksh but when the shell is invoked as "sh" and the current value of -# the _XPG environment variable is not equal to 1 (one), the special -# positional parameter $0, within a function call, is the name of the -# function. -progpath="$0" + + # Normalisation. If bindir is libdir, return empty string, + # else relative path ending with a slash; either way, target + # file name can be directly appended. + if test ! -z "$func_relative_path_result"; then + func_stripname './' '' "$func_relative_path_result/" + func_relative_path_result=$func_stripname_result + fi +} # The name of this program: -# In the unlikely event $progname began with a '-', it would play havoc with -# func_echo (imagine progname=-n), so we prepend ./ in that case: func_dirname_and_basename "$progpath" progname=$func_basename_result -case $progname in - -*) progname=./$progname ;; -esac # Make sure we have an absolute path for reexecution: case $progpath in @@ -196,7 +383,7 @@ ;; *) save_IFS="$IFS" - IFS=: + IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break @@ -214,6 +401,15 @@ # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' + +# Sed substitution that turns a string into a regex matching for the +# string literally. +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' + +# Sed substitution that converts a w32 file name or path +# which contains forward slashes, into one that contains +# (escaped) backslashes. A very naive implementation. +lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' @@ -243,7 +439,7 @@ # name if it has been set yet. func_echo () { - $ECHO "$progname${mode+: }$mode: $*" + $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... @@ -258,18 +454,25 @@ : } +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + # func_error arg... # Echo program name prefixed message to standard error. func_error () { - $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2 + $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { - $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2 + $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : @@ -326,9 +529,9 @@ case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop - my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"` + my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done - my_dir_list=`$ECHO "X$my_dir_list" | $Xsed -e 's,:*$,,'` + my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do @@ -378,7 +581,7 @@ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi - $ECHO "X$my_tmpdir" | $Xsed + $ECHO "$my_tmpdir" } @@ -392,7 +595,7 @@ { case $1 in *[\\\`\"\$]*) - func_quote_for_eval_unquoted_result=`$ECHO "X$1" | $Xsed -e "$sed_quote_subst"` ;; + func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac @@ -419,7 +622,7 @@ { case $1 in *[\\\`\"]*) - my_arg=`$ECHO "X$1" | $Xsed \ + my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; @@ -488,15 +691,39 @@ fi } - - +# func_tr_sh +# Turn $1 into a string suitable for a shell variable name. +# Result is stored in $func_tr_sh_result. All characters +# not in the set a-zA-Z0-9_ are replaced with '_'. Further, +# if $1 begins with a digit, a '_' is prepended as well. +func_tr_sh () +{ + case $1 in + [0-9]* | *[!a-zA-Z0-9_]*) + func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` + ;; + * ) + func_tr_sh_result=$1 + ;; + esac +} # func_version # Echo version message to standard output and exit. func_version () { - $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / { + $opt_debug + + $SED -n '/(C)/!b go + :more + /\./!{ + N + s/\n# / / + b more + } + :go + /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ @@ -509,22 +736,28 @@ # Echo short help message to standard output and exit. func_usage () { - $SED -n '/^# Usage:/,/# -h/ { + $opt_debug + + $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" - $ECHO + echo $ECHO "run \`$progname --help | more' for full usage" exit $? } -# func_help -# Echo long help message to standard output and exit. +# func_help [NOEXIT] +# Echo long help message to standard output and exit, +# unless 'noexit' is passed as argument. func_help () { + $opt_debug + $SED -n '/^# Usage:/,/# Report bugs to/ { + :print s/^# // s/^# *$// s*\$progname*'$progname'* @@ -534,11 +767,18 @@ s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ - s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ - s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ + s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ + s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ p - }' < "$progpath" - exit $? + d + } + /^# .* home page:/b print + /^# General help using/b print + ' < "$progpath" + ret=$? + if test -z "$1"; then + exit $ret + fi } # func_missing_arg argname @@ -546,63 +786,106 @@ # exit_cmd. func_missing_arg () { - func_error "missing argument for $1" + $opt_debug + + func_error "missing argument for $1." exit_cmd=exit } + +# func_split_short_opt shortopt +# Set func_split_short_opt_name and func_split_short_opt_arg shell +# variables after splitting SHORTOPT after the 2nd character. +func_split_short_opt () +{ + my_sed_short_opt='1s/^\(..\).*$/\1/;q' + my_sed_short_rest='1s/^..\(.*\)$/\1/;q' + + func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` + func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` +} # func_split_short_opt may be replaced by extended shell implementation + + +# func_split_long_opt longopt +# Set func_split_long_opt_name and func_split_long_opt_arg shell +# variables after splitting LONGOPT at the `=' sign. +func_split_long_opt () +{ + my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' + my_sed_long_arg='1s/^--[^=]*=//' + + func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` + func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` +} # func_split_long_opt may be replaced by extended shell implementation + exit_cmd=: - -# Check that we have a working $ECHO. -if test "X$1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X$1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t'; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell, and then maybe $ECHO will work. - exec $SHELL "$progpath" --no-reexec ${1+"$@"} -fi - -if test "X$1" = X--fallback-echo; then - # used as fallback echo - shift - cat </dev/null || echo $max_cmd_len` +} # func_len may be replaced by extended shell implementation + + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` +} # func_lo2o may be replaced by extended shell implementation + + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` +} # func_xform may be replaced by extended shell implementation + + # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. @@ -636,16 +919,16 @@ # Display the features supported by this script. func_features () { - $ECHO "host: $host" + echo "host: $host" if test "$build_libtool_libs" = yes; then - $ECHO "enable shared libraries" + echo "enable shared libraries" else - $ECHO "disable shared libraries" + echo "disable shared libraries" fi if test "$build_old_libs" = yes; then - $ECHO "enable static libraries" + echo "enable static libraries" else - $ECHO "disable static libraries" + echo "disable static libraries" fi exit $? @@ -690,133 +973,6 @@ fi ;; esac -} - -# Parse options once, thoroughly. This comes as soon as possible in -# the script to make things like `libtool --version' happen quickly. -{ - - # Shorthand for --mode=foo, only valid as the first argument - case $1 in - clean|clea|cle|cl) - shift; set dummy --mode clean ${1+"$@"}; shift - ;; - compile|compil|compi|comp|com|co|c) - shift; set dummy --mode compile ${1+"$@"}; shift - ;; - execute|execut|execu|exec|exe|ex|e) - shift; set dummy --mode execute ${1+"$@"}; shift - ;; - finish|finis|fini|fin|fi|f) - shift; set dummy --mode finish ${1+"$@"}; shift - ;; - install|instal|insta|inst|ins|in|i) - shift; set dummy --mode install ${1+"$@"}; shift - ;; - link|lin|li|l) - shift; set dummy --mode link ${1+"$@"}; shift - ;; - uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) - shift; set dummy --mode uninstall ${1+"$@"}; shift - ;; - esac - - # Parse non-mode specific arguments: - while test "$#" -gt 0; do - opt="$1" - shift - - case $opt in - --config) func_config ;; - - --debug) preserve_args="$preserve_args $opt" - func_echo "enabling shell trace mode" - opt_debug='set -x' - $opt_debug - ;; - - -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break - execute_dlfiles="$execute_dlfiles $1" - shift - ;; - - --dry-run | -n) opt_dry_run=: ;; - --features) func_features ;; - --finish) mode="finish" ;; - - --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break - case $1 in - # Valid mode arguments: - clean) ;; - compile) ;; - execute) ;; - finish) ;; - install) ;; - link) ;; - relink) ;; - uninstall) ;; - - # Catch anything else as an error - *) func_error "invalid argument for $opt" - exit_cmd=exit - break - ;; - esac - - mode="$1" - shift - ;; - - --preserve-dup-deps) - opt_duplicate_deps=: ;; - - --quiet|--silent) preserve_args="$preserve_args $opt" - opt_silent=: - ;; - - --verbose| -v) preserve_args="$preserve_args $opt" - opt_silent=false - ;; - - --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break - preserve_args="$preserve_args $opt $1" - func_enable_tag "$1" # tagname is set here - shift - ;; - - # Separate optargs to long options: - -dlopen=*|--mode=*|--tag=*) - func_opt_split "$opt" - set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"} - shift - ;; - - -\?|-h) func_usage ;; - --help) opt_help=: ;; - --version) func_version ;; - - -*) func_fatal_help "unrecognized option \`$opt'" ;; - - *) nonopt="$opt" - break - ;; - esac - done - - - case $host in - *cygwin* | *mingw* | *pw32* | *cegcc*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_duplicate_deps - ;; - esac - - # Having warned about all mis-specified options, bail out if - # anything was wrong. - $exit_cmd $EXIT_FAILURE } # func_check_version_match @@ -855,37 +1011,218 @@ } +# Shorthand for --mode=foo, only valid as the first argument +case $1 in +clean|clea|cle|cl) + shift; set dummy --mode clean ${1+"$@"}; shift + ;; +compile|compil|compi|comp|com|co|c) + shift; set dummy --mode compile ${1+"$@"}; shift + ;; +execute|execut|execu|exec|exe|ex|e) + shift; set dummy --mode execute ${1+"$@"}; shift + ;; +finish|finis|fini|fin|fi|f) + shift; set dummy --mode finish ${1+"$@"}; shift + ;; +install|instal|insta|inst|ins|in|i) + shift; set dummy --mode install ${1+"$@"}; shift + ;; +link|lin|li|l) + shift; set dummy --mode link ${1+"$@"}; shift + ;; +uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) + shift; set dummy --mode uninstall ${1+"$@"}; shift + ;; +esac + + + +# Option defaults: +opt_debug=: +opt_dry_run=false +opt_config=false +opt_preserve_dup_deps=false +opt_features=false +opt_finish=false +opt_help=false +opt_help_all=false +opt_silent=: +opt_warning=: +opt_verbose=: +opt_silent=false +opt_verbose=false + + +# Parse options once, thoroughly. This comes as soon as possible in the +# script to make things like `--version' happen as quickly as we can. +{ + # this just eases exit handling + while test $# -gt 0; do + opt="$1" + shift + case $opt in + --debug|-x) opt_debug='set -x' + func_echo "enabling shell trace mode" + $opt_debug + ;; + --dry-run|--dryrun|-n) + opt_dry_run=: + ;; + --config) + opt_config=: +func_config + ;; + --dlopen|-dlopen) + optarg="$1" + opt_dlopen="${opt_dlopen+$opt_dlopen +}$optarg" + shift + ;; + --preserve-dup-deps) + opt_preserve_dup_deps=: + ;; + --features) + opt_features=: +func_features + ;; + --finish) + opt_finish=: +set dummy --mode finish ${1+"$@"}; shift + ;; + --help) + opt_help=: + ;; + --help-all) + opt_help_all=: +opt_help=': help-all' + ;; + --mode) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_mode="$optarg" +case $optarg in + # Valid mode arguments: + clean|compile|execute|finish|install|link|relink|uninstall) ;; + + # Catch anything else as an error + *) func_error "invalid argument for $opt" + exit_cmd=exit + break + ;; +esac + shift + ;; + --no-silent|--no-quiet) + opt_silent=false +func_append preserve_args " $opt" + ;; + --no-warning|--no-warn) + opt_warning=false +func_append preserve_args " $opt" + ;; + --no-verbose) + opt_verbose=false +func_append preserve_args " $opt" + ;; + --silent|--quiet) + opt_silent=: +func_append preserve_args " $opt" + opt_verbose=false + ;; + --verbose|-v) + opt_verbose=: +func_append preserve_args " $opt" +opt_silent=false + ;; + --tag) + test $# = 0 && func_missing_arg $opt && break + optarg="$1" + opt_tag="$optarg" +func_append preserve_args " $opt $optarg" +func_enable_tag "$optarg" + shift + ;; + + -\?|-h) func_usage ;; + --help) func_help ;; + --version) func_version ;; + + # Separate optargs to long options: + --*=*) + func_split_long_opt "$opt" + set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} + shift + ;; + + # Separate non-argument short options: + -\?*|-h*|-n*|-v*) + func_split_short_opt "$opt" + set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} + shift + ;; + + --) break ;; + -*) func_fatal_help "unrecognized option \`$opt'" ;; + *) set dummy "$opt" ${1+"$@"}; shift; break ;; + esac + done + + # Validate options: + + # save first non-option argument + if test "$#" -gt 0; then + nonopt="$opt" + shift + fi + + # preserve --debug + test "$opt_debug" = : || func_append preserve_args " --debug" + + case $host in + *cygwin* | *mingw* | *pw32* | *cegcc*) + # don't eliminate duplications in $postdeps and $predeps + opt_duplicate_compiler_generated_deps=: + ;; + *) + opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps + ;; + esac + + $opt_help || { + # Sanity checks first: + func_check_version_match + + if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then + func_fatal_configuration "not configured to build any kind of library" + fi + + # Darwin sucks + eval std_shrext=\"$shrext_cmds\" + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$opt_dlopen" && test "$opt_mode" != execute; then + func_error "unrecognized option \`-dlopen'" + $ECHO "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$progname --help --mode=$opt_mode' for more information." + } + + + # Bail if the options were screwed + $exit_cmd $EXIT_FAILURE +} + + + + ## ----------- ## ## Main. ## ## ----------- ## - -$opt_help || { - # Sanity checks first: - func_check_version_match - - if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then - func_fatal_configuration "not configured to build any kind of library" - fi - - test -z "$mode" && func_fatal_error "error: you must specify a MODE." - - - # Darwin sucks - eval std_shrext=\"$shrext_cmds\" - - - # Only execute mode is allowed to have -dlopen flags. - if test -n "$execute_dlfiles" && test "$mode" != execute; then - func_error "unrecognized option \`-dlopen'" - $ECHO "$help" 1>&2 - exit $EXIT_FAILURE - fi - - # Change the help message to a mode-specific one. - generic_help="$help" - help="Try \`$progname --help --mode=$mode' for more information." -} - # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. @@ -950,12 +1287,9 @@ # temporary ltwrapper_script. func_ltwrapper_scriptname () { - func_ltwrapper_scriptname_result="" - if func_ltwrapper_executable_p "$1"; then - func_dirname_and_basename "$1" "" "." - func_stripname '' '.exe' "$func_basename_result" - func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" - fi + func_dirname_and_basename "$1" "" "." + func_stripname '' '.exe' "$func_basename_result" + func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" } # func_ltwrapper_p file @@ -1001,6 +1335,37 @@ } +# func_resolve_sysroot PATH +# Replace a leading = in PATH with a sysroot. Store the result into +# func_resolve_sysroot_result +func_resolve_sysroot () +{ + func_resolve_sysroot_result=$1 + case $func_resolve_sysroot_result in + =*) + func_stripname '=' '' "$func_resolve_sysroot_result" + func_resolve_sysroot_result=$lt_sysroot$func_stripname_result + ;; + esac +} + +# func_replace_sysroot PATH +# If PATH begins with the sysroot, replace it with = and +# store the result into func_replace_sysroot_result. +func_replace_sysroot () +{ + case "$lt_sysroot:$1" in + ?*:"$lt_sysroot"*) + func_stripname "$lt_sysroot" '' "$1" + func_replace_sysroot_result="=$func_stripname_result" + ;; + *) + # Including no sysroot. + func_replace_sysroot_result=$1 + ;; + esac +} + # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. @@ -1013,13 +1378,15 @@ if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" + func_append_quoted CC_quoted "$arg" done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) ;; + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) @@ -1030,11 +1397,13 @@ CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. - func_quote_for_eval "$arg" - CC_quoted="$CC_quoted $func_quote_for_eval_result" + func_append_quoted CC_quoted "$arg" done + CC_expanded=`func_echo_all $CC` + CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in - " $CC "* | "$CC "* | " `$ECHO $CC` "* | "`$ECHO $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$ECHO $CC_quoted` "* | "`$ECHO $CC_quoted` "*) + " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ + " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. @@ -1097,6 +1466,486 @@ } } + +################################################## +# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS # +################################################## + +# func_convert_core_file_wine_to_w32 ARG +# Helper function used by file name conversion functions when $build is *nix, +# and $host is mingw, cygwin, or some other w32 environment. Relies on a +# correctly configured wine environment available, with the winepath program +# in $build's $PATH. +# +# ARG is the $build file name to be converted to w32 format. +# Result is available in $func_convert_core_file_wine_to_w32_result, and will +# be empty on error (or when ARG is empty) +func_convert_core_file_wine_to_w32 () +{ + $opt_debug + func_convert_core_file_wine_to_w32_result="$1" + if test -n "$1"; then + # Unfortunately, winepath does not exit with a non-zero error code, so we + # are forced to check the contents of stdout. On the other hand, if the + # command is not found, the shell will set an exit code of 127 and print + # *an error message* to stdout. So we must check for both error code of + # zero AND non-empty stdout, which explains the odd construction: + func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null` + if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then + func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | + $SED -e "$lt_sed_naive_backslashify"` + else + func_convert_core_file_wine_to_w32_result= + fi + fi +} +# end: func_convert_core_file_wine_to_w32 + + +# func_convert_core_path_wine_to_w32 ARG +# Helper function used by path conversion functions when $build is *nix, and +# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly +# configured wine environment available, with the winepath program in $build's +# $PATH. Assumes ARG has no leading or trailing path separator characters. +# +# ARG is path to be converted from $build format to win32. +# Result is available in $func_convert_core_path_wine_to_w32_result. +# Unconvertible file (directory) names in ARG are skipped; if no directory names +# are convertible, then the result may be empty. +func_convert_core_path_wine_to_w32 () +{ + $opt_debug + # unfortunately, winepath doesn't convert paths, only file names + func_convert_core_path_wine_to_w32_result="" + if test -n "$1"; then + oldIFS=$IFS + IFS=: + for func_convert_core_path_wine_to_w32_f in $1; do + IFS=$oldIFS + func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" + if test -n "$func_convert_core_file_wine_to_w32_result" ; then + if test -z "$func_convert_core_path_wine_to_w32_result"; then + func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" + else + func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" + fi + fi + done + IFS=$oldIFS + fi +} +# end: func_convert_core_path_wine_to_w32 + + +# func_cygpath ARGS... +# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when +# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) +# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or +# (2), returns the Cygwin file name or path in func_cygpath_result (input +# file name or path is assumed to be in w32 format, as previously converted +# from $build's *nix or MSYS format). In case (3), returns the w32 file name +# or path in func_cygpath_result (input file name or path is assumed to be in +# Cygwin format). Returns an empty string on error. +# +# ARGS are passed to cygpath, with the last one being the file name or path to +# be converted. +# +# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH +# environment variable; do not put it in $PATH. +func_cygpath () +{ + $opt_debug + if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then + func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` + if test "$?" -ne 0; then + # on failure, ensure result is empty + func_cygpath_result= + fi + else + func_cygpath_result= + func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" + fi +} +#end: func_cygpath + + +# func_convert_core_msys_to_w32 ARG +# Convert file name or path ARG from MSYS format to w32 format. Return +# result in func_convert_core_msys_to_w32_result. +func_convert_core_msys_to_w32 () +{ + $opt_debug + # awkward: cmd appends spaces to result + func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | + $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` +} +#end: func_convert_core_msys_to_w32 + + +# func_convert_file_check ARG1 ARG2 +# Verify that ARG1 (a file name in $build format) was converted to $host +# format in ARG2. Otherwise, emit an error message, but continue (resetting +# func_to_host_file_result to ARG1). +func_convert_file_check () +{ + $opt_debug + if test -z "$2" && test -n "$1" ; then + func_error "Could not determine host file name corresponding to" + func_error " \`$1'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback: + func_to_host_file_result="$1" + fi +} +# end func_convert_file_check + + +# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH +# Verify that FROM_PATH (a path in $build format) was converted to $host +# format in TO_PATH. Otherwise, emit an error message, but continue, resetting +# func_to_host_file_result to a simplistic fallback value (see below). +func_convert_path_check () +{ + $opt_debug + if test -z "$4" && test -n "$3"; then + func_error "Could not determine the host path corresponding to" + func_error " \`$3'" + func_error "Continuing, but uninstalled executables may not work." + # Fallback. This is a deliberately simplistic "conversion" and + # should not be "improved". See libtool.info. + if test "x$1" != "x$2"; then + lt_replace_pathsep_chars="s|$1|$2|g" + func_to_host_path_result=`echo "$3" | + $SED -e "$lt_replace_pathsep_chars"` + else + func_to_host_path_result="$3" + fi + fi +} +# end func_convert_path_check + + +# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG +# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT +# and appending REPL if ORIG matches BACKPAT. +func_convert_path_front_back_pathsep () +{ + $opt_debug + case $4 in + $1 ) func_to_host_path_result="$3$func_to_host_path_result" + ;; + esac + case $4 in + $2 ) func_append func_to_host_path_result "$3" + ;; + esac +} +# end func_convert_path_front_back_pathsep + + +################################################## +# $build to $host FILE NAME CONVERSION FUNCTIONS # +################################################## +# invoked via `$to_host_file_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# Result will be available in $func_to_host_file_result. + + +# func_to_host_file ARG +# Converts the file name ARG from $build format to $host format. Return result +# in func_to_host_file_result. +func_to_host_file () +{ + $opt_debug + $to_host_file_cmd "$1" +} +# end func_to_host_file + + +# func_to_tool_file ARG LAZY +# converts the file name ARG from $build format to toolchain format. Return +# result in func_to_tool_file_result. If the conversion in use is listed +# in (the comma separated) LAZY, no conversion takes place. +func_to_tool_file () +{ + $opt_debug + case ,$2, in + *,"$to_tool_file_cmd",*) + func_to_tool_file_result=$1 + ;; + *) + $to_tool_file_cmd "$1" + func_to_tool_file_result=$func_to_host_file_result + ;; + esac +} +# end func_to_tool_file + + +# func_convert_file_noop ARG +# Copy ARG to func_to_host_file_result. +func_convert_file_noop () +{ + func_to_host_file_result="$1" +} +# end func_convert_file_noop + + +# func_convert_file_msys_to_w32 ARG +# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_file_result. +func_convert_file_msys_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_to_host_file_result="$func_convert_core_msys_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_w32 + + +# func_convert_file_cygwin_to_w32 ARG +# Convert file name ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_file_cygwin_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # because $build is cygwin, we call "the" cygpath in $PATH; no need to use + # LT_CYGPATH in this case. + func_to_host_file_result=`cygpath -m "$1"` + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_cygwin_to_w32 + + +# func_convert_file_nix_to_w32 ARG +# Convert file name ARG from *nix to w32 format. Requires a wine environment +# and a working winepath. Returns result in func_to_host_file_result. +func_convert_file_nix_to_w32 () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_file_wine_to_w32 "$1" + func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_w32 + + +# func_convert_file_msys_to_cygwin ARG +# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_file_msys_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + func_convert_core_msys_to_w32 "$1" + func_cygpath -u "$func_convert_core_msys_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_msys_to_cygwin + + +# func_convert_file_nix_to_cygwin ARG +# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed +# in a wine environment, working winepath, and LT_CYGPATH set. Returns result +# in func_to_host_file_result. +func_convert_file_nix_to_cygwin () +{ + $opt_debug + func_to_host_file_result="$1" + if test -n "$1"; then + # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. + func_convert_core_file_wine_to_w32 "$1" + func_cygpath -u "$func_convert_core_file_wine_to_w32_result" + func_to_host_file_result="$func_cygpath_result" + fi + func_convert_file_check "$1" "$func_to_host_file_result" +} +# end func_convert_file_nix_to_cygwin + + +############################################# +# $build to $host PATH CONVERSION FUNCTIONS # +############################################# +# invoked via `$to_host_path_cmd ARG' +# +# In each case, ARG is the path to be converted from $build to $host format. +# The result will be available in $func_to_host_path_result. +# +# Path separators are also converted from $build format to $host format. If +# ARG begins or ends with a path separator character, it is preserved (but +# converted to $host format) on output. +# +# All path conversion functions are named using the following convention: +# file name conversion function : func_convert_file_X_to_Y () +# path conversion function : func_convert_path_X_to_Y () +# where, for any given $build/$host combination the 'X_to_Y' value is the +# same. If conversion functions are added for new $build/$host combinations, +# the two new functions must follow this pattern, or func_init_to_host_path_cmd +# will break. + + +# func_init_to_host_path_cmd +# Ensures that function "pointer" variable $to_host_path_cmd is set to the +# appropriate value, based on the value of $to_host_file_cmd. +to_host_path_cmd= +func_init_to_host_path_cmd () +{ + $opt_debug + if test -z "$to_host_path_cmd"; then + func_stripname 'func_convert_file_' '' "$to_host_file_cmd" + to_host_path_cmd="func_convert_path_${func_stripname_result}" + fi +} + + +# func_to_host_path ARG +# Converts the path ARG from $build format to $host format. Return result +# in func_to_host_path_result. +func_to_host_path () +{ + $opt_debug + func_init_to_host_path_cmd + $to_host_path_cmd "$1" +} +# end func_to_host_path + + +# func_convert_path_noop ARG +# Copy ARG to func_to_host_path_result. +func_convert_path_noop () +{ + func_to_host_path_result="$1" +} +# end func_convert_path_noop + + +# func_convert_path_msys_to_w32 ARG +# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic +# conversion to w32 is not available inside the cwrapper. Returns result in +# func_to_host_path_result. +func_convert_path_msys_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from ARG. MSYS + # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; + # and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_msys_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_msys_to_w32 + + +# func_convert_path_cygwin_to_w32 ARG +# Convert path ARG from Cygwin to w32 format. Returns result in +# func_to_host_file_result. +func_convert_path_cygwin_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_cygwin_to_w32 + + +# func_convert_path_nix_to_w32 ARG +# Convert path ARG from *nix to w32 format. Requires a wine environment and +# a working winepath. Returns result in func_to_host_file_result. +func_convert_path_nix_to_w32 () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" + func_convert_path_check : ";" \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" + fi +} +# end func_convert_path_nix_to_w32 + + +# func_convert_path_msys_to_cygwin ARG +# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. +# Returns result in func_to_host_file_result. +func_convert_path_msys_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # See func_convert_path_msys_to_w32: + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_msys_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_msys_to_cygwin + + +# func_convert_path_nix_to_cygwin ARG +# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a +# a wine environment, working winepath, and LT_CYGPATH set. Returns result in +# func_to_host_file_result. +func_convert_path_nix_to_cygwin () +{ + $opt_debug + func_to_host_path_result="$1" + if test -n "$1"; then + # Remove leading and trailing path separator characters from + # ARG. msys behavior is inconsistent here, cygpath turns them + # into '.;' and ';.', and winepath ignores them completely. + func_stripname : : "$1" + func_to_host_path_tmp1=$func_stripname_result + func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" + func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" + func_to_host_path_result="$func_cygpath_result" + func_convert_path_check : : \ + "$func_to_host_path_tmp1" "$func_to_host_path_result" + func_convert_path_front_back_pathsep ":*" "*:" : "$1" + fi +} +# end func_convert_path_nix_to_cygwin + + # func_mode_compile arg... func_mode_compile () { @@ -1137,12 +1986,12 @@ ;; -pie | -fpie | -fPIE) - pie_flag="$pie_flag $arg" + func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) - later="$later $arg" + func_append later " $arg" continue ;; @@ -1163,15 +2012,14 @@ save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" - func_quote_for_eval "$arg" - lastarg="$lastarg $func_quote_for_eval_result" + func_append_quoted lastarg "$arg" done IFS="$save_ifs" func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. - base_compile="$base_compile $lastarg" + func_append base_compile " $lastarg" continue ;; @@ -1187,8 +2035,7 @@ esac # case $arg_mode # Aesthetically quote the previous argument. - func_quote_for_eval "$lastarg" - base_compile="$base_compile $func_quote_for_eval_result" + func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in @@ -1213,7 +2060,7 @@ *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ - *.[fF][09]? | *.for | *.java | *.obj | *.sx) + *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; @@ -1288,7 +2135,7 @@ # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then - output_obj=`$ECHO "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= @@ -1319,17 +2166,16 @@ $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi - removelist="$removelist $output_obj" + func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist - removelist="$removelist $lockfile" + func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 - if test -n "$fix_srcfile_path"; then - eval srcfile=\"$fix_srcfile_path\" - fi + func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 + srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result @@ -1349,7 +2195,7 @@ if test -z "$output_obj"; then # Place PIC objects in $objdir - command="$command -o $lobj" + func_append command " -o $lobj" fi func_show_eval_locale "$command" \ @@ -1396,11 +2242,11 @@ command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then - command="$command -o $obj" + func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. - command="$command$suppress_output" + func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' @@ -1445,13 +2291,13 @@ } $opt_help || { -test "$mode" = compile && func_mode_compile ${1+"$@"} + test "$opt_mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. - case $mode in + case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. @@ -1482,10 +2328,11 @@ -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes - -prefer-pic try to building PIC objects only - -prefer-non-pic try to building non-PIC objects only + -prefer-pic try to build PIC objects only + -prefer-non-pic try to build non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking + -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. @@ -1538,7 +2385,7 @@ The following components of INSTALL-COMMAND are treated specially: - -inst-prefix PREFIX-DIR Use PREFIX-DIR as a staging area for installation + -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." @@ -1558,6 +2405,8 @@ -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible + -bindir BINDIR specify path to binaries directory (for systems where + libraries must be found in the PATH setting at runtime) -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) @@ -1586,6 +2435,11 @@ -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface + -Wc,FLAG + -Xcompiler FLAG pass linker-specific FLAG directly to the compiler + -Wl,FLAG + -Xlinker FLAG pass linker-specific FLAG directly to the linker + -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with \`-') are ignored. @@ -1619,18 +2473,44 @@ ;; *) - func_fatal_help "invalid operation mode \`$mode'" + func_fatal_help "invalid operation mode \`$opt_mode'" ;; esac - $ECHO + echo $ECHO "Try \`$progname --help' for more information about other modes." - - exit $? -} - - # Now that we've collected a possible --mode arg, show help if necessary - $opt_help && func_mode_help +} + +# Now that we've collected a possible --mode arg, show help if necessary +if $opt_help; then + if test "$opt_help" = :; then + func_mode_help + else + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + func_mode_help + done + } | sed -n '1p; 2,$s/^Usage:/ or: /p' + { + func_help noexit + for opt_mode in compile link execute install finish uninstall clean; do + echo + func_mode_help + done + } | + sed '1d + /^When reporting/,/^Report/{ + H + d + } + $x + /information about other modes/d + /more detailed .*MODE/d + s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' + fi + exit $? +fi # func_mode_execute arg... @@ -1643,13 +2523,16 @@ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. - for file in $execute_dlfiles; do + for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" @@ -1671,7 +2554,7 @@ dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then - dir="$dir/$objdir" + func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" @@ -1712,7 +2595,7 @@ for file do case $file in - -*) ;; + -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then @@ -1728,8 +2611,7 @@ ;; esac # Quote arguments (to preserve shell metacharacters). - func_quote_for_eval "$file" - args="$args $func_quote_for_eval_result" + func_append_quoted args "$file" done if test "X$opt_dry_run" = Xfalse; then @@ -1754,29 +2636,66 @@ # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" - $ECHO "export $shlibpath_var" + echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } -test "$mode" = execute && func_mode_execute ${1+"$@"} +test "$opt_mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug - libdirs="$nonopt" + libs= + libdirs= admincmds= + for opt in "$nonopt" ${1+"$@"} + do + if test -d "$opt"; then + func_append libdirs " $opt" + + elif test -f "$opt"; then + if func_lalib_unsafe_p "$opt"; then + func_append libs " $opt" + else + func_warning "\`$opt' is not a valid libtool archive" + fi + + else + func_fatal_error "invalid argument \`$opt'" + fi + done + + if test -n "$libs"; then + if test -n "$lt_sysroot"; then + sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` + sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" + else + sysroot_cmd= + fi + + # Remove sysroot references + if $opt_dry_run; then + for lib in $libs; do + echo "removing references to $lt_sysroot and \`=' prefixes from $lib" + done + else + tmpdir=`func_mktempdir` + for lib in $libs; do + sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ + > $tmpdir/tmp-la + mv -f $tmpdir/tmp-la $lib + done + ${RM}r "$tmpdir" + fi + fi + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then - for dir - do - libdirs="$libdirs $dir" - done - for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. @@ -1786,7 +2705,7 @@ if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" - $opt_dry_run || eval "$cmds" || admincmds="$admincmds + $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done @@ -1795,53 +2714,55 @@ # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS - $ECHO "X----------------------------------------------------------------------" | $Xsed - $ECHO "Libraries have been installed in:" - for libdir in $libdirs; do - $ECHO " $libdir" - done - $ECHO - $ECHO "If you ever happen to want to link against installed libraries" - $ECHO "in a given directory, LIBDIR, you must either use libtool, and" - $ECHO "specify the full pathname of the library, or use the \`-LLIBDIR'" - $ECHO "flag during linking and do at least one of the following:" - if test -n "$shlibpath_var"; then - $ECHO " - add LIBDIR to the \`$shlibpath_var' environment variable" - $ECHO " during execution" + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + echo "----------------------------------------------------------------------" + echo "Libraries have been installed in:" + for libdir in $libdirs; do + $ECHO " $libdir" + done + echo + echo "If you ever happen to want to link against installed libraries" + echo "in a given directory, LIBDIR, you must either use libtool, and" + echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + echo " during execution" + fi + if test -n "$runpath_var"; then + echo " - add LIBDIR to the \`$runpath_var' environment variable" + echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $ECHO " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $ECHO " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + echo + + echo "See any operating system documentation about shared libraries for" + case $host in + solaris2.[6789]|solaris2.1[0-9]) + echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" + echo "pages." + ;; + *) + echo "more information, such as the ld(1) and ld.so(8) manual pages." + ;; + esac + echo "----------------------------------------------------------------------" fi - if test -n "$runpath_var"; then - $ECHO " - add LIBDIR to the \`$runpath_var' environment variable" - $ECHO " during linking" - fi - if test -n "$hardcode_libdir_flag_spec"; then - libdir=LIBDIR - eval flag=\"$hardcode_libdir_flag_spec\" - - $ECHO " - use the \`$flag' linker flag" - fi - if test -n "$admincmds"; then - $ECHO " - have your system administrator run these commands:$admincmds" - fi - if test -f /etc/ld.so.conf; then - $ECHO " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" - fi - $ECHO - - $ECHO "See any operating system documentation about shared libraries for" - case $host in - solaris2.[6789]|solaris2.1[0-9]) - $ECHO "more information, such as the ld(1), crle(1) and ld.so(8) manual" - $ECHO "pages." - ;; - *) - $ECHO "more information, such as the ld(1) and ld.so(8) manual pages." - ;; - esac - $ECHO "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS } -test "$mode" = finish && func_mode_finish ${1+"$@"} +test "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... @@ -1852,7 +2773,7 @@ # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. - $ECHO "X$nonopt" | $GREP shtool >/dev/null; then + case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " @@ -1866,7 +2787,12 @@ # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" - install_prog="$install_prog$func_quote_for_eval_result" + func_append install_prog "$func_quote_for_eval_result" + install_shared_prog=$install_prog + case " $install_prog " in + *[\\\ /]cp\ *) install_cp=: ;; + *) install_cp=false ;; + esac # We need to accept at least all the BSD install flags. dest= @@ -1876,10 +2802,12 @@ install_type= isdir=no stripme= + no_mode=: for arg do + arg2= if test -n "$dest"; then - files="$files $dest" + func_append files " $dest" dest=$arg continue fi @@ -1887,10 +2815,9 @@ case $arg in -d) isdir=yes ;; -f) - case " $install_prog " in - *[\\\ /]cp\ *) ;; - *) prev=$arg ;; - esac + if $install_cp; then :; else + prev=$arg + fi ;; -g | -m | -o) prev=$arg @@ -1904,6 +2831,10 @@ *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then + if test "x$prev" = x-m && test -n "$install_override_mode"; then + arg2=$install_override_mode + no_mode=false + fi prev= else dest=$arg @@ -1914,7 +2845,11 @@ # Aesthetically quote the argument. func_quote_for_eval "$arg" - install_prog="$install_prog $func_quote_for_eval_result" + func_append install_prog " $func_quote_for_eval_result" + if test -n "$arg2"; then + func_quote_for_eval "$arg2" + fi + func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ @@ -1922,6 +2857,13 @@ test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" + + if test -n "$install_override_mode" && $no_mode; then + if $install_cp; then :; else + func_quote_for_eval "$install_override_mode" + func_append install_shared_prog " -m $func_quote_for_eval_result" + fi + fi if test -z "$files"; then if test -z "$dest"; then @@ -1977,10 +2919,13 @@ case $file in *.$libext) # Do the static libraries later. - staticlibs="$staticlibs $file" + func_append staticlibs " $file" ;; *.la) + func_resolve_sysroot "$file" + file=$func_resolve_sysroot_result + # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" @@ -1994,23 +2939,23 @@ if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; - *) current_libdirs="$current_libdirs $libdir" ;; + *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; - *) future_libdirs="$future_libdirs $libdir" ;; + *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" - dir="$dir$objdir" + func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. - inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"` + inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that @@ -2023,9 +2968,9 @@ if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else - relink_command=`$ECHO "X$relink_command" | $Xsed -e "s%@inst_prefix_dir@%%"` + relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking \`$file'" @@ -2043,7 +2988,7 @@ test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. - func_show_eval "$install_prog $dir/$srcname $destdir/$realname" \ + func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in @@ -2083,7 +3028,7 @@ func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. - test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) @@ -2183,7 +3128,7 @@ if test -f "$lib"; then func_source "$lib" fi - libfile="$libdir/"`$ECHO "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no @@ -2202,7 +3147,7 @@ file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. - relink_command=`$ECHO "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" @@ -2221,7 +3166,7 @@ } else # Install the binary that we compiled earlier. - file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi @@ -2257,11 +3202,13 @@ # Set up the ranlib parameters. oldlib="$destdir/$name" + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then - func_show_eval "$old_striplib $oldlib" 'exit $?' + func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. @@ -2280,7 +3227,7 @@ fi } -test "$mode" = install && func_mode_install ${1+"$@"} +test "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p @@ -2323,6 +3270,22 @@ extern \"C\" { #endif +#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#endif + +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT_DLSYM_CONST +#else +# define LT_DLSYM_CONST const +#endif + /* External symbol declarations for the compiler. */\ " @@ -2332,10 +3295,11 @@ $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. - progfiles=`$ECHO "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do - func_verbose "extracting global C symbols from \`$progfile'" - $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'" + func_to_tool_file "$progfile" func_convert_file_msys_to_w32 + func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" + $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then @@ -2371,7 +3335,7 @@ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in - *cygwin | *mingw* | *cegcc* ) + *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; @@ -2384,10 +3348,52 @@ func_verbose "extracting global C symbols from \`$dlprefile'" func_basename "$dlprefile" name="$func_basename_result" - $opt_dry_run || { - eval '$ECHO ": $name " >> "$nlist"' - eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'" - } + case $host in + *cygwin* | *mingw* | *cegcc* ) + # if an import library, we need to obtain dlname + if func_win32_import_lib_p "$dlprefile"; then + func_tr_sh "$dlprefile" + eval "curr_lafile=\$libfile_$func_tr_sh_result" + dlprefile_dlbasename="" + if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then + # Use subshell, to avoid clobbering current variable values + dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` + if test -n "$dlprefile_dlname" ; then + func_basename "$dlprefile_dlname" + dlprefile_dlbasename="$func_basename_result" + else + # no lafile. user explicitly requested -dlpreopen . + $sharedlib_from_linklib_cmd "$dlprefile" + dlprefile_dlbasename=$sharedlib_from_linklib_result + fi + fi + $opt_dry_run || { + if test -n "$dlprefile_dlbasename" ; then + eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' + else + func_warning "Could not compute DLL name from $name" + eval '$ECHO ": $name " >> "$nlist"' + fi + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | + $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" + } + else # not an import lib + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + fi + ;; + *) + $opt_dry_run || { + eval '$ECHO ": $name " >> "$nlist"' + func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 + eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" + } + ;; + esac done $opt_dry_run || { @@ -2415,36 +3421,19 @@ if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else - $ECHO '/* NONE */' >> "$output_objdir/$my_dlsyms" + echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; -" - case $host in - *cygwin* | *mingw* | *cegcc* ) - $ECHO >> "$output_objdir/$my_dlsyms" "\ -/* DATA imports from DLLs on WIN32 con't be const, because - runtime relocations are performed -- see ld's documentation - on pseudo-relocs. */" - lt_dlsym_const= ;; - *osf5*) - echo >> "$output_objdir/$my_dlsyms" "\ -/* This system does not cope well with relocations in const data */" - lt_dlsym_const= ;; - *) - lt_dlsym_const=const ;; - esac - - $ECHO >> "$output_objdir/$my_dlsyms" "\ -extern $lt_dlsym_const lt_dlsymlist +extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; -$lt_dlsym_const lt_dlsymlist +LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," @@ -2457,7 +3446,7 @@ eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac - $ECHO >> "$output_objdir/$my_dlsyms" "\ + echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; @@ -2484,7 +3473,7 @@ # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. - *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; @@ -2500,7 +3489,7 @@ for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; - *) symtab_cflags="$symtab_cflags $arg" ;; + *) func_append symtab_cflags " $arg" ;; esac done @@ -2515,16 +3504,16 @@ case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$symfileobj%"` + compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; @@ -2538,8 +3527,8 @@ # really was required. # Nullify the symbol file. - compile_command=`$ECHO "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` - finalize_command=`$ECHO "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` + finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } @@ -2549,6 +3538,7 @@ # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. +# Despite the name, also deal with 64 bit binaries. func_win32_libid () { $opt_debug @@ -2559,9 +3549,11 @@ win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static + # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | - $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then - win32_nmres=`eval $NM -f posix -A $1 | + $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then + func_to_tool_file "$1" func_convert_file_msys_to_w32 + win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ @@ -2590,6 +3582,131 @@ $ECHO "$win32_libid_type" } +# func_cygming_dll_for_implib ARG +# +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib () +{ + $opt_debug + sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` +} + +# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs +# +# The is the core of a fallback implementation of a +# platform-specific function to extract the name of the +# DLL associated with the specified import library LIBNAME. +# +# SECTION_NAME is either .idata$6 or .idata$7, depending +# on the platform and compiler that created the implib. +# +# Echos the name of the DLL associated with the +# specified import library. +func_cygming_dll_for_implib_fallback_core () +{ + $opt_debug + match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` + $OBJDUMP -s --section "$1" "$2" 2>/dev/null | + $SED '/^Contents of section '"$match_literal"':/{ + # Place marker at beginning of archive member dllname section + s/.*/====MARK====/ + p + d + } + # These lines can sometimes be longer than 43 characters, but + # are always uninteresting + /:[ ]*file format pe[i]\{,1\}-/d + /^In archive [^:]*:/d + # Ensure marker is printed + /^====MARK====/p + # Remove all lines with less than 43 characters + /^.\{43\}/!d + # From remaining lines, remove first 43 characters + s/^.\{43\}//' | + $SED -n ' + # Join marker and all lines until next marker into a single line + /^====MARK====/ b para + H + $ b para + b + :para + x + s/\n//g + # Remove the marker + s/^====MARK====// + # Remove trailing dots and whitespace + s/[\. \t]*$// + # Print + /./p' | + # we now have a list, one entry per line, of the stringified + # contents of the appropriate section of all members of the + # archive which possess that section. Heuristic: eliminate + # all those which have a first or second character that is + # a '.' (that is, objdump's representation of an unprintable + # character.) This should work for all archives with less than + # 0x302f exports -- but will fail for DLLs whose name actually + # begins with a literal '.' or a single character followed by + # a '.'. + # + # Of those that remain, print the first one. + $SED -e '/^\./d;/^.\./d;q' +} + +# func_cygming_gnu_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is a GNU/binutils-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_gnu_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` + test -n "$func_cygming_gnu_implib_tmp" +} + +# func_cygming_ms_implib_p ARG +# This predicate returns with zero status (TRUE) if +# ARG is an MS-style import library. Returns +# with nonzero status (FALSE) otherwise. +func_cygming_ms_implib_p () +{ + $opt_debug + func_to_tool_file "$1" func_convert_file_msys_to_w32 + func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` + test -n "$func_cygming_ms_implib_tmp" +} + +# func_cygming_dll_for_implib_fallback ARG +# Platform-specific function to extract the +# name of the DLL associated with the specified +# import library ARG. +# +# This fallback implementation is for use when $DLLTOOL +# does not support the --identify-strict option. +# Invoked by eval'ing the libtool variable +# $sharedlib_from_linklib_cmd +# Result is available in the variable +# $sharedlib_from_linklib_result +func_cygming_dll_for_implib_fallback () +{ + $opt_debug + if func_cygming_gnu_implib_p "$1" ; then + # binutils import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` + elif func_cygming_ms_implib_p "$1" ; then + # ms-generated import library + sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` + else + # unknown + sharedlib_from_linklib_result="" + fi +} # func_extract_an_archive dir oldlib @@ -2598,7 +3715,18 @@ $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" - func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" 'exit $?' + if test "$lock_old_archive_extraction" = yes; then + lockfile=$f_ex_an_ar_oldlib.lock + until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do + func_echo "Waiting for $lockfile to be removed" + sleep 2 + done + fi + func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ + 'stat=$?; rm -f "$lockfile"; exit $stat' + if test "$lock_old_archive_extraction" = yes; then + $opt_dry_run || rm -f "$lockfile" + fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else @@ -2669,7 +3797,7 @@ darwin_file= darwin_files= for darwin_file in $darwin_filelist; do - darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ @@ -2684,246 +3812,11 @@ func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" } - - - -# func_emit_wrapper_part1 [arg=no] -# -# Emit the first part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part1 () -{ - func_emit_wrapper_part1_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part1_arg1=$1 - fi - - $ECHO "\ -#! $SHELL - -# $output - temporary wrapper script for $objdir/$outputname -# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION -# -# The $output program cannot be directly executed until all the libtool -# libraries that it depends on are installed. -# -# This wrapper script should never be moved out of the build directory. -# If it is, it will not operate correctly. - -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -Xsed='${SED} -e 1s/^X//' -sed_quote_subst='$sed_quote_subst' - -# Be Bourne compatible -if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac -fi -BIN_SH=xpg4; export BIN_SH # for Tru64 -DUALCASE=1; export DUALCASE # for MKS sh - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -relink_command=\"$relink_command\" - -# This environment variable determines our operation mode. -if test \"\$libtool_install_magic\" = \"$magic\"; then - # install mode needs the following variables: - generated_by_libtool_version='$macro_version' - notinst_deplibs='$notinst_deplibs' -else - # When we are sourced in execute mode, \$file and \$ECHO are already set. - if test \"\$libtool_execute_magic\" != \"$magic\"; then - ECHO=\"$qecho\" - file=\"\$0\" - # Make sure echo works. - if test \"X\$1\" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift - elif test \"X\`{ \$ECHO '\t'; } 2>/dev/null\`\" = 'X\t'; then - # Yippee, \$ECHO works! - : - else - # Restart under the correct shell, and then maybe \$ECHO will work. - exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} - fi - fi\ -" - $ECHO "\ - - # Find the directory that this script lives in. - thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` - test \"x\$thisdir\" = \"x\$file\" && thisdir=. - - # Follow symbolic links until we get to the real thisdir. - file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` - while test -n \"\$file\"; do - destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` - - # If there was a directory component, then change thisdir. - if test \"x\$destdir\" != \"x\$file\"; then - case \"\$destdir\" in - [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; - *) thisdir=\"\$thisdir/\$destdir\" ;; - esac - fi - - file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\` - file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` - done -" -} -# end: func_emit_wrapper_part1 - -# func_emit_wrapper_part2 [arg=no] -# -# Emit the second part of a libtool wrapper script on stdout. -# For more information, see the description associated with -# func_emit_wrapper(), below. -func_emit_wrapper_part2 () -{ - func_emit_wrapper_part2_arg1=no - if test -n "$1" ; then - func_emit_wrapper_part2_arg1=$1 - fi - - $ECHO "\ - - # Usually 'no', except on cygwin/mingw when embedded into - # the cwrapper. - WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_part2_arg1 - if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then - # special case for '.' - if test \"\$thisdir\" = \".\"; then - thisdir=\`pwd\` - fi - # remove .libs from thisdir - case \"\$thisdir\" in - *[\\\\/]$objdir ) thisdir=\`\$ECHO \"X\$thisdir\" | \$Xsed -e 's%[\\\\/][^\\\\/]*$%%'\` ;; - $objdir ) thisdir=. ;; - esac - fi - - # Try to get the absolute directory name. - absdir=\`cd \"\$thisdir\" && pwd\` - test -n \"\$absdir\" && thisdir=\"\$absdir\" -" - - if test "$fast_install" = yes; then - $ECHO "\ - program=lt-'$outputname'$exeext - progdir=\"\$thisdir/$objdir\" - - if test ! -f \"\$progdir/\$program\" || - { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ - test \"X\$file\" != \"X\$progdir/\$program\"; }; then - - file=\"\$\$-\$program\" - - if test ! -d \"\$progdir\"; then - $MKDIR \"\$progdir\" - else - $RM \"\$progdir/\$file\" - fi" - - $ECHO "\ - - # relink executable if necessary - if test -n \"\$relink_command\"; then - if relink_command_output=\`eval \$relink_command 2>&1\`; then : - else - $ECHO \"\$relink_command_output\" >&2 - $RM \"\$progdir/\$file\" - exit 1 - fi - fi - - $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || - { $RM \"\$progdir/\$program\"; - $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } - $RM \"\$progdir/\$file\" - fi" - else - $ECHO "\ - program='$outputname' - progdir=\"\$thisdir/$objdir\" -" - fi - - $ECHO "\ - - if test -f \"\$progdir/\$program\"; then" - - # Export our shlibpath_var if we have one. - if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then - $ECHO "\ - # Add our own library path to $shlibpath_var - $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" - - # Some systems cannot cope with colon-terminated $shlibpath_var - # The second colon is a workaround for a bug in BeOS R4 sed - $shlibpath_var=\`\$ECHO \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` - - export $shlibpath_var -" - fi - - # fixup the dll searchpath if we need to. - if test -n "$dllsearchpath"; then - $ECHO "\ - # Add the dll search path components to the executable PATH - PATH=$dllsearchpath:\$PATH -" - fi - - $ECHO "\ - if test \"\$libtool_execute_magic\" != \"$magic\"; then - # Run the actual program with our arguments. -" - case $host in - # Backslashes separate directories on plain windows - *-*-mingw | *-*-os2* | *-cegcc*) - $ECHO "\ - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} -" - ;; - - *) - $ECHO "\ - exec \"\$progdir/\$program\" \${1+\"\$@\"} -" - ;; - esac - $ECHO "\ - \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 - exit 1 - fi - else - # The program doesn't exist. - \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 - \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 - $ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 - exit 1 - fi -fi\ -" -} -# end: func_emit_wrapper_part2 # func_emit_wrapper [arg=no] @@ -2942,188 +3835,301 @@ # behavior. func_emit_wrapper () { - func_emit_wrapper_arg1=no - if test -n "$1" ; then - func_emit_wrapper_arg1=$1 - fi - - # split this up so that func_emit_cwrapperexe_src - # can call each part independently. - func_emit_wrapper_part1 "${func_emit_wrapper_arg1}" - func_emit_wrapper_part2 "${func_emit_wrapper_arg1}" -} - - -# func_to_host_path arg + func_emit_wrapper_arg1=${1-no} + + $ECHO "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # -# Convert paths to host format when used with build tools. -# Intended for use with "native" mingw (where libtool itself -# is running under the msys shell), or in the following cross- -# build environments: -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# where wine is equipped with the `winepath' executable. -# In the native mingw case, the (msys) shell automatically -# converts paths for any non-msys applications it launches, -# but that facility isn't available from inside the cwrapper. -# Similar accommodations are necessary for $host mingw and -# $build cygwin. Calling this function does no harm for other -# $host/$build combinations not listed above. +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. # -# ARG is the path (on $build) that should be converted to -# the proper representation for $host. The result is stored -# in $func_to_host_path_result. -func_to_host_path () -{ - func_to_host_path_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - case $build in - *mingw* ) # actually, msys - # awkward: cmd appends spaces to result - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_path_tmp1=`( cmd //c echo "$1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_path_tmp1=`cygpath -w "$1"` - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # Unfortunately, winepath does not exit with a non-zero - # error code, so we are forced to check the contents of - # stdout. On the other hand, if the command is not - # found, the shell will set an exit code of 127 and print - # *an error message* to stdout. So we must check for both - # error code of zero AND non-empty stdout, which explains - # the odd construction: - func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null` - if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then - func_to_host_path_result=`echo "$func_to_host_path_tmp1" |\ - $SED -e "$lt_sed_naive_backslashify"` - else - # Allow warning below. - func_to_host_path_result="" - fi - ;; - esac - if test -z "$func_to_host_path_result" ; then - func_error "Could not determine host path corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback: - func_to_host_path_result="$1" - fi - ;; +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variables: + generated_by_libtool_version='$macro_version' + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$ECHO are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + file=\"\$0\"" + + qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` + $ECHO "\ + +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$1 +_LTECHO_EOF' +} + ECHO=\"$qECHO\" + fi + +# Very basic option parsing. These options are (a) specific to +# the libtool wrapper, (b) are identical between the wrapper +# /script/ and the wrapper /executable/ which is used only on +# windows platforms, and (c) all begin with the string "--lt-" +# (application programs are unlikely to have options which match +# this pattern). +# +# There are only two supported options: --lt-debug and +# --lt-dump-script. There is, deliberately, no --lt-help. +# +# The first argument to this parsing function should be the +# script's $0 value, followed by "$@". +lt_option_debug= +func_parse_lt_options () +{ + lt_script_arg0=\$0 + shift + for lt_opt + do + case \"\$lt_opt\" in + --lt-debug) lt_option_debug=1 ;; + --lt-dump-script) + lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` + test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. + lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` + cat \"\$lt_dump_D/\$lt_dump_F\" + exit 0 + ;; + --lt-*) + \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 + exit 1 + ;; + esac + done + + # Print the debug banner immediately: + if test -n \"\$lt_option_debug\"; then + echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 + fi +} + +# Used when --lt-debug. Prints its arguments to stdout +# (redirection is the responsibility of the caller) +func_lt_dump_args () +{ + lt_dump_args_N=1; + for lt_arg + do + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" + lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` + done +} + +# Core function for launching the target application +func_exec_program_core () +{ +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2* | *-cegcc*) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $ECHO "\ + if test -n \"\$lt_option_debug\"; then + \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 + func_lt_dump_args \${1+\"\$@\"} 1>&2 + fi + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $ECHO "\ + \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 + exit 1 +} + +# A function to encapsulate launching the target application +# Strips options in the --lt-* namespace from \$@ and +# launches target application with the remaining arguments. +func_exec_program () +{ + case \" \$* \" in + *\\ --lt-*) + for lt_wr_arg + do + case \$lt_wr_arg in + --lt-*) ;; + *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; + esac + shift + done ;; + esac + func_exec_program_core \${1+\"\$@\"} +} + + # Parse options + func_parse_lt_options \"\$0\" \${1+\"\$@\"} + + # Find the directory that this script lives in. + thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` + done + + # Usually 'no', except on cygwin/mingw when embedded into + # the cwrapper. + WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 + if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then + # special case for '.' + if test \"\$thisdir\" = \".\"; then + thisdir=\`pwd\` + fi + # remove .libs from thisdir + case \"\$thisdir\" in + *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; + $objdir ) thisdir=. ;; esac fi -} -# end: func_to_host_path - -# func_to_host_pathlist arg -# -# Convert pathlists to host format when used with build tools. -# See func_to_host_path(), above. This function supports the -# following $build/$host combinations (but does no harm for -# combinations not listed here): -# $build $host -# mingw (msys) mingw [e.g. native] -# cygwin mingw -# *nix + wine mingw -# -# Path separators are also converted from $build format to -# $host format. If ARG begins or ends with a path separator -# character, it is preserved (but converted to $host format) -# on output. -# -# ARG is a pathlist (on $build) that should be converted to -# the proper representation on $host. The result is stored -# in $func_to_host_pathlist_result. -func_to_host_pathlist () -{ - func_to_host_pathlist_result="$1" - if test -n "$1" ; then - case $host in - *mingw* ) - lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' - # Remove leading and trailing path separator characters from - # ARG. msys behavior is inconsistent here, cygpath turns them - # into '.;' and ';.', and winepath ignores them completely. - func_to_host_pathlist_tmp2="$1" - # Once set for this call, this variable should not be - # reassigned. It is used in tha fallback case. - func_to_host_pathlist_tmp1=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e 's|^:*||' -e 's|:*$||'` - case $build in - *mingw* ) # Actually, msys. - # Awkward: cmd appends spaces to result. - lt_sed_strip_trailing_spaces="s/[ ]*\$//" - func_to_host_pathlist_tmp2=`( cmd //c echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_sed_strip_trailing_spaces" ) 2>/dev/null || echo ""` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - *cygwin* ) - func_to_host_pathlist_tmp2=`cygpath -w -p "$func_to_host_pathlist_tmp1"` - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp2" |\ - $SED -e "$lt_sed_naive_backslashify"` - ;; - * ) - # unfortunately, winepath doesn't convert pathlists - func_to_host_pathlist_result="" - func_to_host_pathlist_oldIFS=$IFS - IFS=: - for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do - IFS=$func_to_host_pathlist_oldIFS - if test -n "$func_to_host_pathlist_f" ; then - func_to_host_path "$func_to_host_pathlist_f" - if test -n "$func_to_host_path_result" ; then - if test -z "$func_to_host_pathlist_result" ; then - func_to_host_pathlist_result="$func_to_host_path_result" - else - func_to_host_pathlist_result="$func_to_host_pathlist_result;$func_to_host_path_result" - fi - fi - fi - IFS=: - done - IFS=$func_to_host_pathlist_oldIFS - ;; - esac - if test -z "$func_to_host_pathlist_result" ; then - func_error "Could not determine the host path(s) corresponding to" - func_error " '$1'" - func_error "Continuing, but uninstalled executables may not work." - # Fallback. This may break if $1 contains DOS-style drive - # specifications. The fix is not to complicate the expression - # below, but for the user to provide a working wine installation - # with winepath so that path translation in the cross-to-mingw - # case works properly. - lt_replace_pathsep_nix_to_dos="s|:|;|g" - func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\ - $SED -e "$lt_replace_pathsep_nix_to_dos"` - fi - # Now, add the leading and trailing path separators back - case "$1" in - :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result" - ;; - esac - case "$1" in - *: ) func_to_host_pathlist_result="$func_to_host_pathlist_result;" - ;; - esac - ;; - esac + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $ECHO "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $MKDIR \"\$progdir\" + else + $RM \"\$progdir/\$file\" + fi" + + $ECHO "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $ECHO \"\$relink_command_output\" >&2 + $RM \"\$progdir/\$file\" + exit 1 + fi + fi + + $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $RM \"\$progdir/\$program\"; + $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $RM \"\$progdir/\$file\" + fi" + else + $ECHO "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $ECHO "\ + + if test -f \"\$progdir/\$program\"; then" + + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n "$dllsearchpath"; then + $ECHO "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $ECHO "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` + + export $shlibpath_var +" + fi + + $ECHO "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. + func_exec_program \${1+\"\$@\"} + fi + else + # The program doesn't exist. + \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 + \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 + exit 1 fi -} -# end: func_to_host_pathlist +fi\ +" +} + # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout @@ -3141,31 +4147,23 @@ This wrapper executable should never be moved out of the build directory. If it is, it will not operate correctly. - - Currently, it simply execs the wrapper *script* "$SHELL $output", - but could eventually absorb all of the scripts functionality and - exec $objdir/$outputname directly. */ EOF cat <<"EOF" +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE 1 +#endif #include #include #ifdef _MSC_VER # include # include # include -# define setmode _setmode #else # include # include # ifdef __CYGWIN__ # include -# define HAVE_SETENV -# ifdef __STRICT_ANSI__ -char *realpath (const char *, char *); -int putenv (char *); -int setenv (const char *, const char *, int); -# endif # endif #endif #include @@ -3177,6 +4175,44 @@ #include #include +/* declarations of non-ANSI functions */ +#if defined(__MINGW32__) +# ifdef __STRICT_ANSI__ +int _putenv (const char *); +# endif +#elif defined(__CYGWIN__) +# ifdef __STRICT_ANSI__ +char *realpath (const char *, char *); +int putenv (char *); +int setenv (const char *, const char *, int); +# endif +/* #elif defined (other platforms) ... */ +#endif + +/* portability defines, excluding path handling macros */ +#if defined(_MSC_VER) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +# define S_IXUSR _S_IEXEC +# ifndef _INTPTR_T_DEFINED +# define _INTPTR_T_DEFINED +# define intptr_t int +# endif +#elif defined(__MINGW32__) +# define setmode _setmode +# define stat _stat +# define chmod _chmod +# define getcwd _getcwd +# define putenv _putenv +#elif defined(__CYGWIN__) +# define HAVE_SETENV +# define FOPEN_WB "wb" +/* #elif defined (other platforms) ... */ +#endif + #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) @@ -3192,14 +4228,7 @@ # define S_IXGRP 0 #endif -#ifdef _MSC_VER -# define S_IXUSR _S_IEXEC -# define stat _stat -# ifndef _INTPTR_T_DEFINED -# define intptr_t int -# endif -#endif - +/* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' @@ -3230,10 +4259,6 @@ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ -#ifdef __CYGWIN__ -# define FOPEN_WB "wb" -#endif - #ifndef FOPEN_WB # define FOPEN_WB "w" #endif @@ -3246,22 +4271,13 @@ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) -#undef LTWRAPPER_DEBUGPRINTF -#if defined DEBUGWRAPPER -# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args -static void -ltwrapper_debugprintf (const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - (void) vfprintf (stderr, fmt, args); - va_end (args); -} +#if defined(LT_DEBUGWRAPPER) +static int lt_debug = 1; #else -# define LTWRAPPER_DEBUGPRINTF(args) +static int lt_debug = 0; #endif -const char *program_name = NULL; +const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); @@ -3271,41 +4287,27 @@ int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); -void lt_fatal (const char *message, ...); +void lt_debugprintf (const char *file, int line, const char *fmt, ...); +void lt_fatal (const char *file, int line, const char *message, ...); +static const char *nonnull (const char *s); +static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); -void lt_opt_process_env_set (const char *arg); -void lt_opt_process_env_prepend (const char *arg); -void lt_opt_process_env_append (const char *arg); -int lt_split_name_value (const char *arg, char** name, char** value); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); - -static const char *script_text_part1 = +char **prepare_spawn (char **argv); +void lt_dump_script (FILE *f); EOF - func_emit_wrapper_part1 yes | - $SED -e 's/\([\\"]\)/\\\1/g' \ - -e 's/^/ "/' -e 's/$/\\n"/' - echo ";" cat <"))); + + lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n", + nonnull (lt_argv_zero)); for (i = 0; i < newargc; i++) { - LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : ""))); + lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n", + i, nonnull (newargz[i])); } EOF @@ -3560,11 +4523,14 @@ mingw*) cat <<"EOF" /* execv doesn't actually work on mingw as expected on unix */ + newargz = prepare_spawn (newargz); rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz); if (rval == -1) { /* failed to start process */ - LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno)); + lt_debugprintf (__FILE__, __LINE__, + "(main) failed to launch target \"%s\": %s\n", + lt_argv_zero, nonnull (strerror (errno))); return 127; } return rval; @@ -3586,7 +4552,7 @@ { void *p = (void *) malloc (num); if (!p) - lt_fatal ("Memory exhausted"); + lt_fatal (__FILE__, __LINE__, "memory exhausted"); return p; } @@ -3620,8 +4586,8 @@ { struct stat st; - LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3638,8 +4604,8 @@ int rval = 0; struct stat st; - LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n", - path ? (*path ? path : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", + nonempty (path)); if ((!path) || (!*path)) return 0; @@ -3665,8 +4631,8 @@ int tmp_len; char *concat_name; - LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n", - wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!")); + lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", + nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; @@ -3719,7 +4685,8 @@ { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); @@ -3744,7 +4711,8 @@ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) - lt_fatal ("getcwd failed"); + lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", + nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); @@ -3770,8 +4738,9 @@ int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { - LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n", - tmp_pathspec)); + lt_debugprintf (__FILE__, __LINE__, + "checking path component for symlinks: %s\n", + tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) @@ -3793,8 +4762,9 @@ } else { - char *errstr = strerror (errno); - lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr); + lt_fatal (__FILE__, __LINE__, + "error accessing file \"%s\": %s", + tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); @@ -3807,7 +4777,8 @@ tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { - lt_fatal ("Could not follow symlinks for %s", pathspec); + lt_fatal (__FILE__, __LINE__, + "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif @@ -3833,11 +4804,25 @@ return str; } +void +lt_debugprintf (const char *file, int line, const char *fmt, ...) +{ + va_list args; + if (lt_debug) + { + (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); + va_start (args, fmt); + (void) vfprintf (stderr, fmt, args); + va_end (args); + } +} + static void -lt_error_core (int exit_status, const char *mode, +lt_error_core (int exit_status, const char *file, + int line, const char *mode, const char *message, va_list ap) { - fprintf (stderr, "%s: %s: ", program_name, mode); + fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); @@ -3846,20 +4831,32 @@ } void -lt_fatal (const char *message, ...) +lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); - lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); +} + +static const char * +nonnull (const char *s) +{ + return s ? s : "(null)"; +} + +static const char * +nonempty (const char *s) +{ + return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_setenv) setting '%s' to '%s'\n", + nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ @@ -3904,95 +4901,12 @@ return new_value; } -int -lt_split_name_value (const char *arg, char** name, char** value) -{ - const char *p; - int len; - if (!arg || !*arg) - return 1; - - p = strchr (arg, (int)'='); - - if (!p) - return 1; - - *value = xstrdup (++p); - - len = strlen (arg) - strlen (*value); - *name = XMALLOC (char, len); - strncpy (*name, arg, len-1); - (*name)[len - 1] = '\0'; - - return 0; -} - -void -lt_opt_process_env_set (const char *arg) -{ - char *name = NULL; - char *value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_set_opt, arg); - } - - lt_setenv (name, value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_prepend (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_prepend_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 0); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - -void -lt_opt_process_env_append (const char *arg) -{ - char *name = NULL; - char *value = NULL; - char *new_value = NULL; - - if (lt_split_name_value (arg, &name, &value) != 0) - { - XFREE (name); - XFREE (value); - lt_fatal ("bad argument for %s: '%s'", env_append_opt, arg); - } - - new_value = lt_extend_str (getenv (name), value, 1); - lt_setenv (name, new_value); - XFREE (new_value); - XFREE (name); - XFREE (value); -} - void lt_update_exe_path (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4011,9 +4925,9 @@ void lt_update_lib_path (const char *name, const char *value) { - LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n", - (name ? name : ""), - (value ? value : ""))); + lt_debugprintf (__FILE__, __LINE__, + "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", + nonnull (name), nonnull (value)); if (name && *name && value && *value) { @@ -4023,10 +4937,157 @@ } } - EOF + case $host_os in + mingw*) + cat <<"EOF" + +/* Prepares an argument vector before calling spawn(). + Note that spawn() does not by itself call the command interpreter + (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : + ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); + GetVersionEx(&v); + v.dwPlatformId == VER_PLATFORM_WIN32_NT; + }) ? "cmd.exe" : "command.com"). + Instead it simply concatenates the arguments, separated by ' ', and calls + CreateProcess(). We must quote the arguments since Win32 CreateProcess() + interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a + special way: + - Space and tab are interpreted as delimiters. They are not treated as + delimiters if they are surrounded by double quotes: "...". + - Unescaped double quotes are removed from the input. Their only effect is + that within double quotes, space and tab are treated like normal + characters. + - Backslashes not followed by double quotes are not special. + - But 2*n+1 backslashes followed by a double quote become + n backslashes followed by a double quote (n >= 0): + \" -> " + \\\" -> \" + \\\\\" -> \\" + */ +#define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +#define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" +char ** +prepare_spawn (char **argv) +{ + size_t argc; + char **new_argv; + size_t i; + + /* Count number of arguments. */ + for (argc = 0; argv[argc] != NULL; argc++) + ; + + /* Allocate new argument vector. */ + new_argv = XMALLOC (char *, argc + 1); + + /* Put quoted arguments into the new argument vector. */ + for (i = 0; i < argc; i++) + { + const char *string = argv[i]; + + if (string[0] == '\0') + new_argv[i] = xstrdup ("\"\""); + else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) + { + int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); + size_t length; + unsigned int backslashes; + const char *s; + char *quoted_string; + char *p; + + length = 0; + backslashes = 0; + if (quote_around) + length++; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + length += backslashes + 1; + length++; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + length += backslashes + 1; + + quoted_string = XMALLOC (char, length + 1); + + p = quoted_string; + backslashes = 0; + if (quote_around) + *p++ = '"'; + for (s = string; *s != '\0'; s++) + { + char c = *s; + if (c == '"') + { + unsigned int j; + for (j = backslashes + 1; j > 0; j--) + *p++ = '\\'; + } + *p++ = c; + if (c == '\\') + backslashes++; + else + backslashes = 0; + } + if (quote_around) + { + unsigned int j; + for (j = backslashes; j > 0; j--) + *p++ = '\\'; + *p++ = '"'; + } + *p = '\0'; + + new_argv[i] = quoted_string; + } + else + new_argv[i] = (char *) string; + } + new_argv[argc] = NULL; + + return new_argv; +} +EOF + ;; + esac + + cat <<"EOF" +void lt_dump_script (FILE* f) +{ +EOF + func_emit_wrapper yes | + $SED -n -e ' +s/^\(.\{79\}\)\(..*\)/\1\ +\2/ +h +s/\([\\"]\)/\\\1/g +s/$/\\n/ +s/\([^\n]*\).*/ fputs ("\1", f);/p +g +D' + cat <<"EOF" +} +EOF } # end: func_emit_cwrapperexe_src + +# func_win32_import_lib_p ARG +# True if ARG is an import lib, as indicated by $file_magic_cmd +func_win32_import_lib_p () +{ + $opt_debug + case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in + *import*) : ;; + *) false ;; + esac +} # func_mode_link arg... func_mode_link () @@ -4072,6 +5133,7 @@ new_inherited_linker_flags= avoid_version=no + bindir= dlfiles= dlprefiles= dlself=no @@ -4164,6 +5226,11 @@ esac case $prev in + bindir) + bindir="$arg" + prev= + continue + ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. @@ -4195,9 +5262,9 @@ ;; *) if test "$prev" = dlfiles; then - dlfiles="$dlfiles $arg" + func_append dlfiles " $arg" else - dlprefiles="$dlprefiles $arg" + func_append dlprefiles " $arg" fi prev= continue @@ -4221,7 +5288,7 @@ *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; - *) deplibs="$deplibs $qarg.ltframework" # this is fixed later + *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; @@ -4240,7 +5307,7 @@ moreargs= for fil in `cat "$save_arg"` do -# moreargs="$moreargs $fil" +# func_append moreargs " $fil" arg=$fil # A libtool-controlled object. @@ -4269,7 +5336,7 @@ if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" + func_append dlfiles " $pic_object" prev= continue else @@ -4281,7 +5348,7 @@ # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" + func_append dlprefiles " $pic_object" prev= fi @@ -4351,12 +5418,12 @@ if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; - *) rpath="$rpath $arg" ;; + *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; - *) xrpath="$xrpath $arg" ;; + *) func_append xrpath " $arg" ;; esac fi prev= @@ -4368,28 +5435,28 @@ continue ;; weak) - weak_libs="$weak_libs $arg" + func_append weak_libs " $arg" prev= continue ;; xcclinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $qarg" + func_append linker_flags " $qarg" + func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) - compiler_flags="$compiler_flags $qarg" + func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) - linker_flags="$linker_flags $qarg" - compiler_flags="$compiler_flags $wl$qarg" + func_append linker_flags " $qarg" + func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" @@ -4425,6 +5492,11 @@ continue ;; + -bindir) + prev=bindir + continue + ;; + -dlopen) prev=dlfiles continue @@ -4475,15 +5547,16 @@ ;; -L*) - func_stripname '-L' '' "$arg" - dir=$func_stripname_result - if test -z "$dir"; then + func_stripname "-L" '' "$arg" + if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; @@ -4495,24 +5568,30 @@ ;; esac case "$deplibs " in - *" -L$dir "*) ;; + *" -L$dir "* | *" $arg "*) + # Will only happen for absolute or sysroot arguments + ;; *) - deplibs="$deplibs -L$dir" - lib_search_path="$lib_search_path $dir" + # Preserve sysroot, but never include relative directories + case $dir in + [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; + *) func_append deplibs " -L$dir" ;; + esac + func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) - testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'` + testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; - *) dllsearchpath="$dllsearchpath:$dir";; + *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; + *) func_append dllsearchpath ":$testbindir";; esac ;; esac @@ -4522,7 +5601,7 @@ -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; @@ -4536,7 +5615,7 @@ ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework - deplibs="$deplibs System.ltframework" + func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) @@ -4556,7 +5635,7 @@ ;; esac fi - deplibs="$deplibs $arg" + func_append deplibs " $arg" continue ;; @@ -4568,21 +5647,22 @@ # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. - -model|-arch|-isysroot) - compiler_flags="$compiler_flags $arg" + -model|-arch|-isysroot|--sysroot) + func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) - compiler_flags="$compiler_flags $arg" + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) + func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;; + * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; @@ -4649,13 +5729,17 @@ # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; + =*) + func_stripname '=' '' "$dir" + dir=$lt_sysroot$func_stripname_result + ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; + *) func_append xrpath " $dir" ;; esac continue ;; @@ -4708,8 +5792,8 @@ for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $func_quote_for_eval_result" + func_append arg " $func_quote_for_eval_result" + func_append compiler_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -4724,9 +5808,9 @@ for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" - arg="$arg $wl$func_quote_for_eval_result" - compiler_flags="$compiler_flags $wl$func_quote_for_eval_result" - linker_flags="$linker_flags $func_quote_for_eval_result" + func_append arg " $wl$func_quote_for_eval_result" + func_append compiler_flags " $wl$func_quote_for_eval_result" + func_append linker_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" @@ -4754,23 +5838,28 @@ arg="$func_quote_for_eval_result" ;; - # -64, -mips[0-9] enable 64-bit mode on the SGI compiler - # -r[0-9][0-9]* specifies the processor on the SGI compiler - # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler - # +DA*, +DD* enable 64-bit mode on the HP compiler - # -q* pass through compiler args for the IBM compiler - # -m*, -t[45]*, -txscale* pass through architecture-specific - # compiler args for GCC - # -F/path gives path to uninstalled frameworks, gcc on darwin - # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC - # @file GCC response files + # Flags to be passed through unchanged, with rationale: + # -64, -mips[0-9] enable 64-bit mode for the SGI compiler + # -r[0-9][0-9]* specify processor for the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler + # +DA*, +DD* enable 64-bit mode for the HP compiler + # -q* compiler args for the IBM compiler + # -m*, -t[45]*, -txscale* architecture-specific flags for GCC + # -F/path path to uninstalled frameworks, gcc on darwin + # -p, -pg, --coverage, -fprofile-* profiling flags for GCC + # @file GCC response files + # -tp=* Portland pgcc target processor selection + # --sysroot=* for sysroot support + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization + # -stdlib=* select c++ std lib with clang -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" - compiler_flags="$compiler_flags $arg" + func_append compiler_flags " $arg" continue ;; @@ -4782,7 +5871,7 @@ *.$objext) # A standard object. - objs="$objs $arg" + func_append objs " $arg" ;; *.lo) @@ -4813,7 +5902,7 @@ if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then - dlfiles="$dlfiles $pic_object" + func_append dlfiles " $pic_object" prev= continue else @@ -4825,7 +5914,7 @@ # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. - dlprefiles="$dlprefiles $pic_object" + func_append dlprefiles " $pic_object" prev= fi @@ -4870,24 +5959,25 @@ *.$libext) # An archive. - deplibs="$deplibs $arg" - old_deplibs="$old_deplibs $arg" + func_append deplibs " $arg" + func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. + func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. - dlfiles="$dlfiles $arg" + func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. - dlprefiles="$dlprefiles $arg" + func_append dlprefiles " $func_resolve_sysroot_result" prev= else - deplibs="$deplibs $arg" + func_append deplibs " $func_resolve_sysroot_result" fi continue ;; @@ -4925,7 +6015,7 @@ if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var - eval shlib_search_path=\`\$ECHO \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi @@ -4934,6 +6024,8 @@ func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" + func_to_tool_file "$output_objdir/" + tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" @@ -4954,12 +6046,12 @@ # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do - if $opt_duplicate_deps ; then + if $opt_preserve_dup_deps ; then case "$libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi - libs="$libs $deplib" + func_append libs " $deplib" done if test "$linkmode" = lib; then @@ -4972,9 +6064,9 @@ if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in - *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac - pre_post_deps="$pre_post_deps $pre_post_dep" + func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= @@ -5033,10 +6125,7 @@ case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then @@ -5044,17 +6133,19 @@ for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= + func_resolve_sysroot "$lib" case $lib in - *.la) func_source "$lib" ;; + *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do - deplib_base=`$ECHO "X$deplib" | $Xsed -e "$basename"` + func_basename "$deplib" + deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; - *) deplibs="$deplibs $deplib" ;; + *) func_append deplibs " $deplib" ;; esac done done @@ -5070,16 +6161,17 @@ lib= found=no case $deplib in - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ + |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - compiler_flags="$compiler_flags $deplib" + func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi @@ -5164,7 +6256,7 @@ if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; - * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;; + * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi @@ -5177,7 +6269,8 @@ test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then @@ -5191,7 +6284,8 @@ finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" @@ -5202,17 +6296,21 @@ -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" - dir=$func_stripname_result + func_resolve_sysroot "$func_stripname_result" + dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; - *) xrpath="$xrpath $dir" ;; + *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; - *.la) lib="$deplib" ;; + *.la) + func_resolve_sysroot "$deplib" + lib=$func_resolve_sysroot_result + ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" @@ -5230,7 +6328,7 @@ match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` - if eval "\$ECHO \"X$deplib\"" 2>/dev/null | $Xsed -e 10q \ + if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi @@ -5240,15 +6338,15 @@ ;; esac if test "$valid_a_lib" != yes; then - $ECHO + echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because the file extensions .$libext of this argument makes me believe" - $ECHO "*** that it is just a static archive that I should not use here." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because the file extensions .$libext of this argument makes me believe" + echo "*** that it is just a static archive that I should not use here." else - $ECHO + echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" @@ -5275,11 +6373,11 @@ if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. - newdlprefiles="$newdlprefiles $deplib" + func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else - newdlfiles="$newdlfiles $deplib" + func_append newdlfiles " $deplib" fi fi continue @@ -5321,20 +6419,20 @@ # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then - tmp_inherited_linker_flags=`$ECHO "X$inherited_linker_flags" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'` + tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; - *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";; + *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi - dependency_libs=`$ECHO "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then - test -n "$dlopen" && dlfiles="$dlfiles $dlopen" - test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + test -n "$dlopen" && func_append dlfiles " $dlopen" + test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test "$pass" = conv; then @@ -5345,30 +6443,36 @@ func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. - convenience="$convenience $ladir/$objdir/$old_library" - old_convenience="$old_convenience $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done + func_append convenience " $ladir/$objdir/$old_library" + func_append old_convenience " $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done continue fi # $pass = conv # Get the name of the library we link against. linklib= - for l in $old_library $library_names; do - linklib="$l" - done + if test -n "$old_library" && + { test "$prefer_static_libs" = yes || + test "$prefer_static_libs,$installed" = "built,no"; }; then + linklib=$old_library + else + for l in $old_library $library_names; do + linklib="$l" + done + fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi @@ -5385,9 +6489,9 @@ # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. - dlprefiles="$dlprefiles $lib $dependency_libs" + func_append dlprefiles " $lib $dependency_libs" else - newdlfiles="$newdlfiles $lib" + func_append newdlfiles " $lib" fi continue fi # $pass = dlopen @@ -5409,14 +6513,14 @@ # Find the relevant object directory and library name. if test "X$installed" = Xyes; then - if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else - dir="$libdir" - absdir="$libdir" + dir="$lt_sysroot$libdir" + absdir="$lt_sysroot$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else @@ -5424,12 +6528,12 @@ dir="$ladir" absdir="$abs_ladir" # Remove this search path later - notinst_path="$notinst_path $abs_ladir" + func_append notinst_path " $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later - notinst_path="$notinst_path $abs_ladir" + func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" @@ -5440,20 +6544,46 @@ if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi - # Prefer using a static library (so that no silly _DYNAMIC symbols - # are required to link). - if test -n "$old_library"; then - newdlprefiles="$newdlprefiles $dir/$old_library" - # Keep a list of preopened convenience libraries to check - # that they are being used correctly in the link pass. - test -z "$libdir" && \ - dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library" - # Otherwise, use the dlname, so that lt_dlopen finds it. - elif test -n "$dlname"; then - newdlprefiles="$newdlprefiles $dir/$dlname" - else - newdlprefiles="$newdlprefiles $dir/$linklib" - fi + case "$host" in + # special handling for platforms with PE-DLLs. + *cygwin* | *mingw* | *cegcc* ) + # Linker will automatically link against shared library if both + # static and shared are present. Therefore, ensure we extract + # symbols from the import library if a shared library is present + # (otherwise, the dlopen module name will be incorrect). We do + # this by putting the import library name into $newdlprefiles. + # We recover the dlopen module name by 'saving' the la file + # name in a special purpose variable, and (later) extracting the + # dlname from the la file. + if test -n "$dlname"; then + func_tr_sh "$dir/$linklib" + eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" + func_append newdlprefiles " $dir/$linklib" + else + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + fi + ;; + * ) + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + func_append newdlprefiles " $dir/$old_library" + # Keep a list of preopened convenience libraries to check + # that they are being used correctly in the link pass. + test -z "$libdir" && \ + func_append dlpreconveniencelibs " $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + func_append newdlprefiles " $dir/$dlname" + else + func_append newdlprefiles " $dir/$linklib" + fi + ;; + esac fi # $pass = dlpreopen if test -z "$libdir"; then @@ -5471,7 +6601,7 @@ if test "$linkmode" = prog && test "$pass" != link; then - newlib_search_path="$newlib_search_path $ladir" + func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=no @@ -5484,7 +6614,8 @@ for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" - newlib_search_path="$newlib_search_path $func_stripname_result" + func_resolve_sysroot "$func_stripname_result" + func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? @@ -5495,12 +6626,12 @@ # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi - if $opt_duplicate_deps ; then + if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi - tmp_libs="$tmp_libs $deplib" + func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... @@ -5515,7 +6646,7 @@ # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; - *) temp_rpath="$temp_rpath$absdir:" ;; + *) func_append temp_rpath "$absdir:" ;; esac fi @@ -5527,7 +6658,7 @@ *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" + *) func_append compile_rpath " $absdir" ;; esac ;; esac @@ -5536,7 +6667,7 @@ *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" + *) func_append finalize_rpath " $libdir" ;; esac ;; esac @@ -5561,12 +6692,12 @@ case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded - notinst_deplibs="$notinst_deplibs $lib" + func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; then - notinst_deplibs="$notinst_deplibs $lib" + func_append notinst_deplibs " $lib" need_relink=yes fi ;; @@ -5583,7 +6714,7 @@ fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then - $ECHO + echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else @@ -5601,7 +6732,7 @@ *) case "$compile_rpath " in *" $absdir "*) ;; - *) compile_rpath="$compile_rpath $absdir" + *) func_append compile_rpath " $absdir" ;; esac ;; esac @@ -5610,7 +6741,7 @@ *) case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" + *) func_append finalize_rpath " $libdir" ;; esac ;; esac @@ -5664,7 +6795,7 @@ linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" - if test "$linkmode" = prog || test "$mode" != relink; then + if test "$linkmode" = prog || test "$opt_mode" != relink; then add_shlibpath= add_dir= add= @@ -5686,9 +6817,9 @@ if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then - $ECHO - $ECHO "*** And there doesn't seem to be a static archive available" - $ECHO "*** The link will probably fail, sorry" + echo + echo "*** And there doesn't seem to be a static archive available" + echo "*** The link will probably fail, sorry" else add="$dir/$old_library" fi @@ -5715,12 +6846,12 @@ test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then - add_dir="-L$dir" + add_dir="-L$absdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" + func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi @@ -5742,7 +6873,7 @@ if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; - *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then @@ -5756,13 +6887,13 @@ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi - if test "$linkmode" = prog || test "$mode" = relink; then + if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= @@ -5776,7 +6907,7 @@ elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; - *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then @@ -5793,7 +6924,7 @@ if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) - add_dir="$add_dir -L$inst_prefix_dir$libdir" + func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi @@ -5828,21 +6959,21 @@ # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. - $ECHO + echo $ECHO "*** Warning: This system can not link to static lib archive $lib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then - $ECHO "*** But as you try to build a module library, libtool will still create " - $ECHO "*** a static module, that should work as long as the dlopening application" - $ECHO "*** is linked with the -dlopen flag to resolve symbols at runtime." + echo "*** But as you try to build a module library, libtool will still create " + echo "*** a static module, that should work as long as the dlopening application" + echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module @@ -5870,27 +7001,33 @@ temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; - *) xrpath="$xrpath $temp_xrpath";; + *) func_append xrpath " $temp_xrpath";; esac;; - *) temp_deplibs="$temp_deplibs $libdir";; + *) func_append temp_deplibs " $libdir";; esac done dependency_libs="$temp_deplibs" fi - newlib_search_path="$newlib_search_path $absdir" + func_append newlib_search_path " $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" - if $opt_duplicate_deps ; then + case $deplib in + -L*) func_stripname '-L' '' "$deplib" + func_resolve_sysroot "$func_stripname_result";; + *) func_resolve_sysroot "$deplib" ;; + esac + if $opt_preserve_dup_deps ; then case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + *" $func_resolve_sysroot_result "*) + func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi - tmp_libs="$tmp_libs $deplib" + func_append tmp_libs " $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then @@ -5900,8 +7037,10 @@ case $deplib in -L*) path="$deplib" ;; *.la) + func_resolve_sysroot "$deplib" + deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." - dir="$func_dirname_result" + dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; @@ -5928,8 +7067,8 @@ if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi - compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" - linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}" + func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" + func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi @@ -5962,7 +7101,7 @@ compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else - compiler_flags="$compiler_flags "`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" @@ -5979,7 +7118,7 @@ for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; - *) lib_search_path="$lib_search_path $dir" ;; + *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= @@ -6037,10 +7176,10 @@ -L*) case " $tmp_libs " in *" $deplib "*) ;; - *) tmp_libs="$tmp_libs $deplib" ;; + *) func_append tmp_libs " $deplib" ;; esac ;; - *) tmp_libs="$tmp_libs $deplib" ;; + *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" @@ -6056,7 +7195,7 @@ ;; esac if test -n "$i" ; then - tmp_libs="$tmp_libs $i" + func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs @@ -6097,7 +7236,7 @@ # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" - objs="$objs$old_deplibs" + func_append objs "$old_deplibs" ;; lib) @@ -6130,10 +7269,10 @@ if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else - $ECHO + echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" - libobjs="$libobjs $objs" + func_append libobjs " $objs" fi fi @@ -6192,13 +7331,14 @@ # which has an extra 1 added just for fun # case $version_type in + # correct linux to gnu/linux during the next big refactor darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; - freebsd-aout|freebsd-elf|sunos) + freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" @@ -6209,9 +7349,6 @@ age="$number_minor" revision="$number_minor" lt_irix_increment=no - ;; - *) - func_fatal_configuration "$modename: unknown library version type \`$version_type'" ;; esac ;; @@ -6311,7 +7448,7 @@ versuffix="$major.$revision" ;; - linux) + linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" @@ -6334,7 +7471,7 @@ done # Make executables depend on our current version. - verstring="$verstring:${current}.0" + func_append verstring ":${current}.0" ;; qnx) @@ -6402,10 +7539,10 @@ fi func_generate_dlsyms "$libname" "$libname" "yes" - libobjs="$libobjs $symfileobj" + func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= - if test "$mode" != relink; then + if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= @@ -6421,7 +7558,7 @@ continue fi fi - removelist="$removelist $p" + func_append removelist " $p" ;; *) ;; esac @@ -6432,27 +7569,28 @@ # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then - oldlibs="$oldlibs $output_objdir/$libname.$libext" + func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. - oldobjs="$objs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do - # lib_search_path=`$ECHO "X$lib_search_path " | $Xsed -e "s% $path % %g"` - # deplibs=`$ECHO "X$deplibs " | $Xsed -e "s% -L$path % %g"` - # dependency_libs=`$ECHO "X$dependency_libs " | $Xsed -e "s% -L$path % %g"` + # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` + # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` + # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do - temp_xrpath="$temp_xrpath -R$libdir" + func_replace_sysroot "$libdir" + func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; + *) func_append finalize_rpath " $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then @@ -6466,7 +7604,7 @@ for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; - *) dlfiles="$dlfiles $lib" ;; + *) func_append dlfiles " $lib" ;; esac done @@ -6476,19 +7614,19 @@ for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; - *) dlprefiles="$dlprefiles $lib" ;; + *) func_append dlprefiles " $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc*) + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework - deplibs="$deplibs System.ltframework" + func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. @@ -6505,7 +7643,7 @@ *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then - deplibs="$deplibs -lc" + func_append deplibs " -lc" fi ;; esac @@ -6554,7 +7692,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" i="" ;; esac @@ -6565,21 +7703,21 @@ set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which I believe you do not have" - $ECHO "*** because a test_compile did reveal that the linker did not use it for" - $ECHO "*** its dynamic dependency list that programs get resolved with at runtime." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which I believe you do not have" + echo "*** because a test_compile did reveal that the linker did not use it for" + echo "*** its dynamic dependency list that programs get resolved with at runtime." fi fi ;; *) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" ;; esac done @@ -6597,7 +7735,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $i "*) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" i="" ;; esac @@ -6608,29 +7746,29 @@ set dummy $deplib_matches; shift deplib_match=$1 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: dynamic linker does not accept needed library $i." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because a test_compile did reveal that the linker did not use this one" - $ECHO "*** as a dynamic dependency that programs can get resolved with at runtime." + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because a test_compile did reveal that the linker did not use this one" + echo "*** as a dynamic dependency that programs can get resolved with at runtime." fi fi else droppeddeps=yes - $ECHO + echo $ECHO "*** Warning! Library $i is needed by this library but I was not able to" - $ECHO "*** make it link in! You will probably need to install it or some" - $ECHO "*** library that it depends on before this library will be fully" - $ECHO "*** functional. Installing it before continuing would be even better." + echo "*** make it link in! You will probably need to install it or some" + echo "*** library that it depends on before this library will be fully" + echo "*** functional. Installing it before continuing would be even better." fi ;; *) - newdeplibs="$newdeplibs $i" + func_append newdeplibs " $i" ;; esac done @@ -6647,15 +7785,27 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval "\\$ECHO \"$libname_spec\""` + if test -n "$file_magic_glob"; then + libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob` + else + libnameglob=$libname + fi + test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do - potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + if test "$want_nocaseglob" = yes; then + shopt -s nocaseglob + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + $nocaseglob + else + potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` + fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | @@ -6672,13 +7822,13 @@ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; - *) potlib=`$ECHO "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi @@ -6687,12 +7837,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else @@ -6703,7 +7853,7 @@ ;; *) # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. @@ -6719,7 +7869,7 @@ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" ;; esac @@ -6730,9 +7880,9 @@ potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test - if eval "\$ECHO \"X$potent_lib\"" 2>/dev/null | $Xsed -e 10q | \ + if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi @@ -6741,12 +7891,12 @@ fi if test -n "$a_deplib" ; then droppeddeps=yes - $ECHO + echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." - $ECHO "*** I have the capability to make that library automatically link in when" - $ECHO "*** you link to this library. But I can only do this if you have a" - $ECHO "*** shared version of the library, which you do not appear to have" - $ECHO "*** because I did check the linker path looking for a file starting" + echo "*** I have the capability to make that library automatically link in when" + echo "*** you link to this library. But I can only do this if you have a" + echo "*** shared version of the library, which you do not appear to have" + echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else @@ -6757,32 +7907,32 @@ ;; *) # Add a -L argument. - newdeplibs="$newdeplibs $a_deplib" + func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" - tmp_deplibs=`$ECHO "X $deplibs" | $Xsed \ - -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g'` + tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' - tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"` + tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi - if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' | - $GREP . >/dev/null; then - $ECHO + case $tmp_deplibs in + *[!\ \ ]*) + echo if test "X$deplibs_check_method" = "Xnone"; then - $ECHO "*** Warning: inter-library dependencies are not supported in this platform." + echo "*** Warning: inter-library dependencies are not supported in this platform." else - $ECHO "*** Warning: inter-library dependencies are not known to be supported." + echo "*** Warning: inter-library dependencies are not known to be supported." fi - $ECHO "*** All declared inter-library dependencies are being dropped." + echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes - fi + ;; + esac ;; esac versuffix=$versuffix_save @@ -6794,23 +7944,23 @@ case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then - $ECHO - $ECHO "*** Warning: libtool could not satisfy all declared inter-library" + echo + echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" - $ECHO "*** a static module, that should work as long as the dlopening" - $ECHO "*** application is linked with the -dlopen flag." + echo "*** a static module, that should work as long as the dlopening" + echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then - $ECHO - $ECHO "*** However, this would only work if libtool was able to extract symbol" - $ECHO "*** lists from a program, using \`nm' or equivalent, but libtool could" - $ECHO "*** not find such a program. So, this module is probably useless." - $ECHO "*** \`nm' from GNU binutils and a full rebuild may help." + echo + echo "*** However, this would only work if libtool was able to extract symbol" + echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + echo "*** not find such a program. So, this module is probably useless." + echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" @@ -6820,16 +7970,16 @@ build_libtool_libs=no fi else - $ECHO "*** The inter-library dependencies that have been dropped here will be" - $ECHO "*** automatically added whenever a program is linked with this library" - $ECHO "*** or is declared to -dlopen it." + echo "*** The inter-library dependencies that have been dropped here will be" + echo "*** automatically added whenever a program is linked with this library" + echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then - $ECHO - $ECHO "*** Since this library must not contain undefined symbols," - $ECHO "*** because either the platform does not support them or" - $ECHO "*** it was explicitly requested with -no-undefined," - $ECHO "*** libtool will only create a static version of it." + echo + echo "*** Since this library must not contain undefined symbols," + echo "*** because either the platform does not support them or" + echo "*** it was explicitly requested with -no-undefined," + echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module @@ -6846,9 +7996,9 @@ # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) - newdeplibs=`$ECHO "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - new_inherited_linker_flags=`$ECHO "X $new_inherited_linker_flags" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - deplibs=`$ECHO "X $deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac @@ -6861,7 +8011,7 @@ *) case " $deplibs " in *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; + func_append new_libs " -L$path/$objdir" ;; esac ;; esac @@ -6871,10 +8021,10 @@ -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac done deplibs="$new_libs" @@ -6886,15 +8036,22 @@ # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then + # Remove ${wl} instances when linking with ld. + # FIXME: should test the right _cmds variable. + case $archive_cmds in + *\$LD\ *) wl= ;; + esac if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" - test "$mode" != relink && rpath="$compile_rpath$rpath" + test "$opt_mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then + func_replace_sysroot "$libdir" + libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else @@ -6903,18 +8060,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - dep_rpath="$dep_rpath $flag" + func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; + *) func_append perm_rpath " $libdir" ;; esac fi done @@ -6922,17 +8079,13 @@ if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" - if test -n "$hardcode_libdir_flag_spec_ld"; then - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" - else - eval dep_rpath=\"$hardcode_libdir_flag_spec\" - fi + eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi @@ -6940,7 +8093,7 @@ fi shlibpath="$finalize_shlibpath" - test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi @@ -6966,18 +8119,18 @@ linknames= for link do - linknames="$linknames $link" + func_append linknames " $link" done # Use standard objects if they are pic - test -z "$pic_flag" && libobjs=`$ECHO "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" - delfiles="$delfiles $export_symbols" + func_append delfiles " $export_symbols" fi orig_export_symbols= @@ -7008,13 +8161,45 @@ $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' - for cmd in $cmds; do + for cmd1 in $cmds; do IFS="$save_ifs" - eval cmd=\"$cmd\" - func_len " $cmd" - len=$func_len_result - if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\"$cmd1\" + func_len " $cmd" + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test "$try_normal_branch" = yes \ + && { test "$len" -lt "$max_cmd_len" \ + || test "$max_cmd_len" -le -1; } + then func_show_eval "$cmd" 'exit $?' + skipped_export=false + elif test -n "$nm_file_list_spec"; then + func_basename "$output" + output_la=$func_basename_result + save_libobjs=$libobjs + save_output=$output + output=${output_objdir}/${output_la}.nm + func_to_tool_file "$output" + libobjs=$nm_file_list_spec$func_to_tool_file_result + func_append delfiles " $output" + func_verbose "creating $NM input file list: $output" + for obj in $save_libobjs; do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > "$output" + eval cmd=\"$cmd1\" + func_show_eval "$cmd" 'exit $?' + output=$save_output + libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. @@ -7036,7 +8221,7 @@ if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then @@ -7048,7 +8233,7 @@ # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" + func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -7058,7 +8243,7 @@ case " $convenience " in *" $test_deplib "*) ;; *) - tmp_deplibs="$tmp_deplibs $test_deplib" + func_append tmp_deplibs " $test_deplib" ;; esac done @@ -7078,21 +8263,21 @@ test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $convenience - libobjs="$libobjs $func_extract_archives_result" + func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" - linker_flags="$linker_flags $flag" + func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking - if test "$mode" = relink; then + if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi @@ -7137,7 +8322,8 @@ save_libobjs=$libobjs fi save_output=$output - output_la=`$ECHO "X$output" | $Xsed -e "$basename"` + func_basename "$output" + output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. @@ -7150,13 +8336,16 @@ if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" - $ECHO 'INPUT (' > $output + echo 'INPUT (' > $output for obj in $save_libobjs do - $ECHO "$obj" >> $output + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output done - $ECHO ')' >> $output - delfiles="$delfiles $output" + echo ')' >> $output + func_append delfiles " $output" + func_to_tool_file "$output" + output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" @@ -7170,10 +8359,12 @@ fi for obj do - $ECHO "$obj" >> $output + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" >> $output done - delfiles="$delfiles $output" - output=$firstobj\"$file_list_spec$output\" + func_append delfiles " $output" + func_to_tool_file "$output" + output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." @@ -7197,17 +8388,19 @@ # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. - eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + reload_objs=$objlist + eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. - eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj~\$RM $last_robj\" + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext - objlist=$obj + objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result @@ -7217,11 +8410,12 @@ # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ - eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + reload_objs="$objlist $last_robj" + eval concat_cmds=\"\${concat_cmds}$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi - delfiles="$delfiles $output" + func_append delfiles " $output" else output= @@ -7255,7 +8449,7 @@ lt_exit=$? # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) @@ -7276,7 +8470,7 @@ if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" - $opt_dry_run || eval '$ECHO "X$include_expsyms" | $Xsed | $SP2NL >> "$tmp_export_symbols"' + $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then @@ -7288,7 +8482,7 @@ # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter - delfiles="$delfiles $export_symbols $output_objdir/$libname.filter" + func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi @@ -7329,10 +8523,10 @@ # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $dlprefiles - libobjs="$libobjs $func_extract_archives_result" + func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi @@ -7348,7 +8542,7 @@ lt_exit=$? # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) @@ -7360,7 +8554,7 @@ IFS="$save_ifs" # Restore the uninstalled library and exit - if test "$mode" = relink; then + if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then @@ -7441,18 +8635,21 @@ if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" - reload_conv_objs=$reload_objs\ `$ECHO "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi + # If we're not building shared, we need to use non_pic_objs + test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" + # Create the old-style object. - reload_objs="$objs$old_deplibs "`$ECHO "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' @@ -7512,8 +8709,8 @@ case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac @@ -7524,14 +8721,14 @@ if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) - compile_command="$compile_command ${wl}-bind_at_load" - finalize_command="$finalize_command ${wl}-bind_at_load" + func_append compile_command " ${wl}-bind_at_load" + func_append finalize_command " ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" - compile_deplibs=`$ECHO "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` - finalize_deplibs=`$ECHO "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'` + compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` + finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac @@ -7545,7 +8742,7 @@ *) case " $compile_deplibs " in *" -L$path/$objdir "*) - new_libs="$new_libs -L$path/$objdir" ;; + func_append new_libs " -L$path/$objdir" ;; esac ;; esac @@ -7555,17 +8752,17 @@ -L*) case " $new_libs " in *" $deplib "*) ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac ;; - *) new_libs="$new_libs $deplib" ;; + *) func_append new_libs " $deplib" ;; esac done compile_deplibs="$new_libs" - compile_command="$compile_command $compile_deplibs" - finalize_command="$finalize_command $finalize_deplibs" + func_append compile_command " $compile_deplibs" + func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. @@ -7573,7 +8770,7 @@ # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; - *) finalize_rpath="$finalize_rpath $libdir" ;; + *) func_append finalize_rpath " $libdir" ;; esac done fi @@ -7592,18 +8789,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" + func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; - *) perm_rpath="$perm_rpath $libdir" ;; + *) func_append perm_rpath " $libdir" ;; esac fi case $host in @@ -7612,12 +8809,12 @@ case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; - *) dllsearchpath="$dllsearchpath:$libdir";; + *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; - *) dllsearchpath="$dllsearchpath:$testbindir";; + *) func_append dllsearchpath ":$testbindir";; esac ;; esac @@ -7643,18 +8840,18 @@ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) - hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" - rpath="$rpath $flag" + func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; - *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + *) func_append finalize_perm_rpath " $libdir" ;; esac fi done @@ -7668,8 +8865,8 @@ if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. - compile_command=`$ECHO "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` - finalize_command=`$ECHO "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` + finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" @@ -7681,14 +8878,14 @@ wrappers_required=yes case $host in + *cegcc* | *mingw32ce*) + # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. + wrappers_required=no + ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi - ;; - *cegcc) - # Disable wrappers for cegcc, we are cross compiling anyway. - wrappers_required=no ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then @@ -7698,12 +8895,18 @@ esac if test "$wrappers_required" = no; then # Replace the output file specification. - compile_command=`$ECHO "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then @@ -7727,7 +8930,7 @@ # We should set the runpath_var. rpath= for dir in $perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -7735,7 +8938,7 @@ # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do - rpath="$rpath$dir:" + func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi @@ -7745,11 +8948,18 @@ # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi + exit $EXIT_SUCCESS fi @@ -7764,7 +8974,7 @@ if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then - relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` + relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= @@ -7776,12 +8986,18 @@ fi # Replace the output file specification. - link_command=`$ECHO "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' + + if test -n "$postlink_cmds"; then + func_to_tool_file "$output_objdir/$outputname" + postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` + func_execute_cmds "$postlink_cmds" 'exit $?' + fi # Now create the wrapper script. func_verbose "creating $output" @@ -7800,18 +9016,7 @@ fi done relink_command="(cd `pwd`; $relink_command)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` - fi - - # Quote $ECHO for shipping. - if test "X$ECHO" = "X$SHELL $progpath --fallback-echo"; then - case $progpath in - [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; - *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; - esac - qecho=`$ECHO "X$qecho" | $Xsed -e "$sed_quote_subst"` - else - qecho=`$ECHO "X$ECHO" | $Xsed -e "$sed_quote_subst"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. @@ -7891,7 +9096,7 @@ else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then - oldobjs="$oldobjs $symfileobj" + func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" @@ -7899,10 +9104,10 @@ if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $addlibs - oldobjs="$oldobjs $func_extract_archives_result" + func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. @@ -7913,10 +9118,10 @@ # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_extract_archives $gentop $dlprefiles - oldobjs="$oldobjs $func_extract_archives_result" + func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have @@ -7932,9 +9137,9 @@ done | sort | sort -uc >/dev/null 2>&1); then : else - $ECHO "copying selected object files to avoid basename conflicts..." + echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" - generated="$generated $gentop" + func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= @@ -7958,17 +9163,29 @@ esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" - oldobjs="$oldobjs $gentop/$newobj" + func_append oldobjs " $gentop/$newobj" ;; - *) oldobjs="$oldobjs $obj" ;; + *) func_append oldobjs " $obj" ;; esac done fi + func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 + tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + elif test -n "$archiver_list_spec"; then + func_verbose "using command file archive linking..." + for obj in $oldobjs + do + func_to_tool_file "$obj" + $ECHO "$func_to_tool_file_result" + done > $output_objdir/$libname.libcmd + func_to_tool_file "$output_objdir/$libname.libcmd" + oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts @@ -8043,7 +9260,7 @@ done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" - relink_command=`$ECHO "X$relink_command" | $Xsed -e "$sed_quote_subst"` + relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi @@ -8063,12 +9280,23 @@ *.la) func_basename "$deplib" name="$func_basename_result" - eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + func_resolve_sysroot "$deplib" + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" - newdependency_libs="$newdependency_libs $libdir/$name" + func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; - *) newdependency_libs="$newdependency_libs $deplib" ;; + -L*) + func_stripname -L '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -L$func_replace_sysroot_result" + ;; + -R*) + func_stripname -R '' "$deplib" + func_replace_sysroot "$func_stripname_result" + func_append newdependency_libs " -R$func_replace_sysroot_result" + ;; + *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs="$newdependency_libs" @@ -8082,9 +9310,9 @@ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" - newdlfiles="$newdlfiles $libdir/$name" + func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; - *) newdlfiles="$newdlfiles $lib" ;; + *) func_append newdlfiles " $lib" ;; esac done dlfiles="$newdlfiles" @@ -8101,7 +9329,7 @@ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" - newdlprefiles="$newdlprefiles $libdir/$name" + func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done @@ -8113,7 +9341,7 @@ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlfiles="$newdlfiles $abs" + func_append newdlfiles " $abs" done dlfiles="$newdlfiles" newdlprefiles= @@ -8122,15 +9350,33 @@ [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac - newdlprefiles="$newdlprefiles $abs" + func_append newdlprefiles " $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin + # In fact, it would be nice if we could use this code for all target + # systems that can't hard-code library paths into their executables + # and that have no shared library path variable independent of PATH, + # but it turns out we can't easily determine that from inspecting + # libtool variables, so we have to hard-code the OSs to which it + # applies here; at the moment, that means platforms that use the PE + # object format with DLL files. See the long comment at the top of + # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in - *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) + # If a -bindir argument was supplied, place the dll there. + if test "x$bindir" != x ; + then + func_relative_path "$install_libdir" "$bindir" + tdlname=$func_relative_path_result$dlname + else + # Otherwise fall back on heuristic. + tdlname=../bin/$dlname + fi + ;; esac $ECHO > $output "\ # $outputname - a libtool library file @@ -8189,7 +9435,7 @@ exit $EXIT_SUCCESS } -{ test "$mode" = link || test "$mode" = relink; } && +{ test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} @@ -8209,9 +9455,9 @@ for arg do case $arg in - -f) RM="$RM $arg"; rmforce=yes ;; - -*) RM="$RM $arg" ;; - *) files="$files $arg" ;; + -f) func_append RM " $arg"; rmforce=yes ;; + -*) func_append RM " $arg" ;; + *) func_append files " $arg" ;; esac done @@ -8220,24 +9466,23 @@ rmdirs= - origobjdir="$objdir" for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then - objdir="$origobjdir" + odir="$objdir" else - objdir="$dir/$origobjdir" + odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" - test "$mode" = uninstall && objdir="$dir" - - # Remember objdir for removal later, being careful to avoid duplicates - if test "$mode" = clean; then + test "$opt_mode" = uninstall && odir="$dir" + + # Remember odir for removal later, being careful to avoid duplicates + if test "$opt_mode" = clean; then case " $rmdirs " in - *" $objdir "*) ;; - *) rmdirs="$rmdirs $objdir" ;; + *" $odir "*) ;; + *) func_append rmdirs " $odir" ;; esac fi @@ -8263,18 +9508,17 @@ # Delete the libtool libraries and symlinks. for n in $library_names; do - rmfiles="$rmfiles $objdir/$n" + func_append rmfiles " $odir/$n" done - test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" - - case "$mode" in + test -n "$old_library" && func_append rmfiles " $odir/$old_library" + + case "$opt_mode" in clean) - case " $library_names " in - # " " in the beginning catches empty $dlname + case " $library_names " in *" $dlname "*) ;; - *) rmfiles="$rmfiles $objdir/$dlname" ;; + *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac - test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then @@ -8302,19 +9546,19 @@ # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then - rmfiles="$rmfiles $dir/$pic_object" + func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then - rmfiles="$rmfiles $dir/$non_pic_object" + func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) - if test "$mode" = clean ; then + if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) @@ -8324,7 +9568,7 @@ noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe - rmfiles="$rmfiles $file" + func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. @@ -8333,7 +9577,7 @@ func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result - rmfiles="$rmfiles $func_ltwrapper_scriptname_result" + func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename @@ -8341,12 +9585,12 @@ # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles - rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + func_append rmfiles " $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then - rmfiles="$rmfiles $objdir/lt-$name" + func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then - rmfiles="$rmfiles $objdir/lt-${noexename}.c" + func_append rmfiles " $odir/lt-${noexename}.c" fi fi fi @@ -8354,7 +9598,6 @@ esac func_show_eval "$RM $rmfiles" 'exit_status=1' done - objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do @@ -8366,16 +9609,16 @@ exit $exit_status } -{ test "$mode" = uninstall || test "$mode" = clean; } && +{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} -test -z "$mode" && { +test -z "$opt_mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ - func_fatal_help "invalid operation mode \`$mode'" + func_fatal_help "invalid operation mode \`$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 1e7ea47..44e0ecf 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1,7 +1,8 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives @@ -10,7 +11,8 @@ m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007, 2008 Free Software Foundation, Inc. +# 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. @@ -37,7 +39,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) -# serial 56 LT_INIT +# serial 57 LT_INIT # LT_PREREQ(VERSION) @@ -66,6 +68,7 @@ # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT +AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl @@ -81,6 +84,8 @@ AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl + +_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) @@ -118,7 +123,7 @@ *) break;; esac done -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) @@ -138,6 +143,11 @@ m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl + +_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl +dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl @@ -160,10 +170,13 @@ dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl +m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl +m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl +m4_require([_LT_WITH_SYSROOT])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our @@ -179,7 +192,6 @@ _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl -_LT_PROG_ECHO_BACKSLASH case $host_os in aix3*) @@ -193,23 +205,6 @@ ;; esac -# Sed substitution that helps us do robust quoting. It backslashifies -# metacharacters that are still active within double-quoted strings. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' - -# Same as above, but do not quote variable references. -double_quote_subst='s/\([["`\\]]\)/\\\1/g' - -# Sed substitution to delay expansion of an escaped shell variable in a -# double_quote_subst'ed string. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' - -# Sed substitution to delay expansion of an escaped single quote. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' - -# Sed substitution to avoid accidental globbing in evaled expressions -no_glob_subst='s/\*/\\\*/g' - # Global variables: ofile=libtool can_build_shared=yes @@ -249,6 +244,28 @@ _LT_CONFIG_COMMANDS ])# _LT_SETUP + +# _LT_PREPARE_SED_QUOTE_VARS +# -------------------------- +# Define a few sed substitution that help us do robust quoting. +m4_defun([_LT_PREPARE_SED_QUOTE_VARS], +[# Backslashify metacharacters that are still active within +# double-quoted strings. +sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([["`\\]]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to delay expansion of an escaped single quote. +delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' +]) # _LT_PROG_LTMAIN # --------------- @@ -408,7 +425,7 @@ # declaration there will have the same value as in `configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) +[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS @@ -418,7 +435,7 @@ # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # -# ='`$ECHO "X$" | $Xsed -e "$delay_single_quote_subst"`' +# ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) @@ -517,12 +534,20 @@ LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' +# A function that is used when there is no print builtin or printf. +func_fallback_echo () +{ + eval 'cat <<_LTECHO_EOF +\$[]1 +_LTECHO_EOF' +} + # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -533,9 +558,9 @@ # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do - case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in + case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" @@ -543,16 +568,38 @@ esac done -# Fix-up fallback echo if it was mangled by the above quoting rules. -case \$lt_ECHO in -*'\\\[$]0 --fallback-echo"')dnl " - lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` - ;; -esac - _LT_OUTPUT_LIBTOOL_INIT ]) +# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) +# ------------------------------------ +# Generate a child script FILE with all initialization necessary to +# reuse the environment learned by the parent script, and make the +# file executable. If COMMENT is supplied, it is inserted after the +# `#!' sequence but before initialization text begins. After this +# macro, additional text can be appended to FILE to form the body of +# the child script. The macro ends with non-zero status if the +# file could not be fully written (such as if the disk is full). +m4_ifdef([AS_INIT_GENERATED], +[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], +[m4_defun([_LT_GENERATED_FILE_INIT], +[m4_require([AS_PREPARE])]dnl +[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl +[lt_write_fail=0 +cat >$1 <<_ASEOF || lt_write_fail=1 +#! $SHELL +# Generated by $as_me. +$2 +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$1 <<\_ASEOF || lt_write_fail=1 +AS_SHELL_SANITIZE +_AS_PREPARE +exec AS_MESSAGE_FD>&1 +_ASEOF +test $lt_write_fail = 0 && chmod +x $1[]dnl +m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- @@ -562,20 +609,11 @@ AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) -cat >"$CONFIG_LT" <<_LTEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate a libtool stub with the current configuration. - +_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], +[# Run this file to recreate a libtool stub with the current configuration.]) + +cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_LTEOF - -cat >>"$CONFIG_LT" <<\_LTEOF -AS_SHELL_SANITIZE -_AS_PREPARE - -exec AS_MESSAGE_FD>&1 exec AS_MESSAGE_LOG_FD>>config.log { echo @@ -601,7 +639,7 @@ m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." @@ -646,15 +684,13 @@ # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. -if test "$no_create" != yes; then - lt_cl_success=: - test "$silent" = yes && - lt_config_lt_args="$lt_config_lt_args --quiet" - exec AS_MESSAGE_LOG_FD>/dev/null - $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false - exec AS_MESSAGE_LOG_FD>>config.log - $lt_cl_success || AS_EXIT(1) -fi +lt_cl_success=: +test "$silent" = yes && + lt_config_lt_args="$lt_config_lt_args --quiet" +exec AS_MESSAGE_LOG_FD>/dev/null +$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false +exec AS_MESSAGE_LOG_FD>>config.log +$lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT @@ -717,15 +753,12 @@ # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? - sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - _LT_PROG_XSI_SHELLFNS - - sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ - || (rm -f "$cfgfile"; exit 1) - - mv -f "$cfgfile" "$ofile" || + sed '$q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + _LT_PROG_REPLACE_SHELLFNS + + mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], @@ -770,6 +803,7 @@ m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], + [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], @@ -789,6 +823,31 @@ m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG + + +m4_ifndef([AC_PROG_GO], [ +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_GO. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +m4_defun([AC_PROG_GO], +[AC_LANG_PUSH(Go)dnl +AC_ARG_VAR([GOC], [Go compiler command])dnl +AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl +_AC_ARG_VAR_LDFLAGS()dnl +AC_CHECK_TOOL(GOC, gccgo) +if test -z "$GOC"; then + if test -n "$ac_tool_prefix"; then + AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) + fi +fi +if test -z "$GOC"; then + AC_CHECK_PROG(GOC, gccgo, gccgo, false) +fi +])#m4_defun +])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG @@ -821,6 +880,10 @@ m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) +AC_PROVIDE_IFELSE([AC_PROG_GO], + [LT_LANG(GO)], + [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) + AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) @@ -831,11 +894,13 @@ AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) +AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) +dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER @@ -921,7 +986,13 @@ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? - if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then + # If there is a non-empty error log, and "single_module" + # appears in it, assume the flag caused a linker warning + if test -s conftest.err && $GREP single_module conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + # Otherwise, if the output was created with a 0 exit code from + # the compiler, it worked. + elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD @@ -929,6 +1000,7 @@ rm -rf libconftest.dylib* rm -f conftest.* fi]) + AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no @@ -939,6 +1011,34 @@ [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" + ]) + + AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], + [lt_cv_ld_force_load=no + cat > conftest.c << _LT_EOF +int forced_loaded() { return 2;} +_LT_EOF + echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD + echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD + $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD + echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD + $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD + cat > conftest.c << _LT_EOF +int main() { return 0;} +_LT_EOF + echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD + $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err + _lt_result=$? + if test -s conftest.err && $GREP force_load conftest.err; then + cat conftest.err >&AS_MESSAGE_LOG_FD + elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then + lt_cv_ld_force_load=yes + else + cat conftest.err >&AS_MESSAGE_LOG_FD + fi + rm -f conftest.err libconftest.a conftest conftest.c + rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) @@ -967,7 +1067,7 @@ else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi - if test "$DSYMUTIL" != ":"; then + if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= @@ -977,8 +1077,8 @@ ]) -# _LT_DARWIN_LINKER_FEATURES -# -------------------------- +# _LT_DARWIN_LINKER_FEATURES([TAG]) +# --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ @@ -987,7 +1087,13 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported - _LT_TAGVAR(whole_archive_flag_spec, $1)='' + if test "$lt_cv_ld_force_load" = "yes"; then + _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' + m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], + [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) + else + _LT_TAGVAR(whole_archive_flag_spec, $1)='' + fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in @@ -995,7 +1101,7 @@ *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" @@ -1011,202 +1117,141 @@ fi ]) -# _LT_SYS_MODULE_PATH_AIX -# ----------------------- +# _LT_SYS_MODULE_PATH_AIX([TAGNAME]) +# ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. +# Store the results from the different compilers for each TAGNAME. +# Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl -AC_LINK_IFELSE(AC_LANG_PROGRAM,[ -lt_aix_libpath_sed=' - /Import File Strings/,/^$/ { - /^0/ { - s/^0 *\(.*\)$/\1/ - p - } - }' -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -# Check for a 64-bit object if we didn't find anything. -if test -z "$aix_libpath"; then - aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -fi],[]) -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +if test "${lt_cv_aix_libpath+set}" = set; then + aix_libpath=$lt_cv_aix_libpath +else + AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], + [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ + lt_aix_libpath_sed='[ + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\([^ ]*\) *$/\1/ + p + } + }]' + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + # Check for a 64-bit object if we didn't find anything. + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi],[]) + if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" + fi + ]) + aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) +fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], -[ifdef([AC_DIVERSION_NOTICE], - [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], - [AC_DIVERT_PUSH(NOTICE)]) -$1 -AC_DIVERT_POP -])# _LT_SHELL_INIT +[m4_divert_text([M4SH-INIT], [$1 +])])# _LT_SHELL_INIT + # _LT_PROG_ECHO_BACKSLASH # ----------------------- -# Add some code to the start of the generated configure script which -# will find an echo command which doesn't interpret backslashes. +# Find how we can fake an echo command that does not interpret backslash. +# In particular, with Autoconf 2.60 or later we add some code to the start +# of the generated configure script which will find a shell with a builtin +# printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], -[_LT_SHELL_INIT([ -# Check that we are running under the correct shell. -SHELL=${CONFIG_SHELL-/bin/sh} - -case X$lt_ECHO in -X*--fallback-echo) - # Remove one level of quotation (which was required for Make). - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` - ;; +[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO +ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + +AC_MSG_CHECKING([how to print strings]) +# Test print first, because it will be a builtin if present. +if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ + test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='print -r --' +elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then + ECHO='printf %s\n' +else + # Use this function as a fallback that always works. + func_fallback_echo () + { + eval 'cat <<_LTECHO_EOF +$[]1 +_LTECHO_EOF' + } + ECHO='func_fallback_echo' +fi + +# func_echo_all arg... +# Invoke $ECHO with all args, space-separated. +func_echo_all () +{ + $ECHO "$*" +} + +case "$ECHO" in + printf*) AC_MSG_RESULT([printf]) ;; + print*) AC_MSG_RESULT([print -r]) ;; + *) AC_MSG_RESULT([cat]) ;; esac -ECHO=${lt_ECHO-echo} -if test "X[$]1" = X--no-reexec; then - # Discard the --no-reexec flag, and continue. - shift -elif test "X[$]1" = X--fallback-echo; then - # Avoid inline document here, it may be left over - : -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then - # Yippee, $ECHO works! - : -else - # Restart under the correct shell. - exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} -fi - -if test "X[$]1" = X--fallback-echo; then - # used as fallback echo - shift - cat <<_LT_EOF -[$]* -_LT_EOF - exit 0 -fi - -# The HP-UX ksh and POSIX shell print the target directory to stdout -# if CDPATH is set. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -if test -z "$lt_ECHO"; then - if test "X${echo_test_string+set}" != Xset; then - # find a string as large as possible, as long as the shell can cope with it - for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... - if { echo_test_string=`eval $cmd`; } 2>/dev/null && - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null - then - break - fi - done - fi - - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - : - else - # The Solaris, AIX, and Digital Unix default echo programs unquote - # backslashes. This makes it impossible to quote backslashes using - # echo "$something" | sed 's/\\/\\\\/g' - # - # So, first we look for a working echo in the user's PATH. - - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR - for dir in $PATH /usr/ucb; do - IFS="$lt_save_ifs" - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$dir/echo" - break - fi - done - IFS="$lt_save_ifs" - - if test "X$ECHO" = Xecho; then - # We didn't find a better echo, so look for alternatives. - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # This shell has a builtin print -r that does the trick. - ECHO='print -r' - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && - test "X$CONFIG_SHELL" != X/bin/ksh; then - # If we have ksh, try running configure again with it. - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} - export ORIGINAL_CONFIG_SHELL - CONFIG_SHELL=/bin/ksh - export CONFIG_SHELL - exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} - else - # Try using printf. - ECHO='printf %s\n' - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - # Cool, printf works - : - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL - export CONFIG_SHELL - SHELL="$CONFIG_SHELL" - export SHELL - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && - test "X$echo_testing_string" = 'X\t' && - echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && - test "X$echo_testing_string" = "X$echo_test_string"; then - ECHO="$CONFIG_SHELL [$]0 --fallback-echo" - else - # maybe with a smaller string... - prev=: - - for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null - then - break - fi - prev="$cmd" - done - - if test "$prev" != 'sed 50q "[$]0"'; then - echo_test_string=`eval $prev` - export echo_test_string - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} - else - # Oops. We lost completely, so just stick with echo. - ECHO=echo - fi - fi - fi - fi - fi -fi - -# Copy echo and quote the copy suitably for passing to libtool from -# the Makefile, instead of quoting the original, which is used later. -lt_ECHO=$ECHO -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then - lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" -fi - -AC_SUBST(lt_ECHO) -]) +m4_ifdef([_AS_DETECT_SUGGESTED], +[_AS_DETECT_SUGGESTED([ + test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO + ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test "X`printf %s $ECHO`" = "X$ECHO" \ + || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) + _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) -_LT_DECL([], [ECHO], [1], - [An echo program that does not interpret backslashes]) +_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH + +# _LT_WITH_SYSROOT +# ---------------- +AC_DEFUN([_LT_WITH_SYSROOT], +[AC_MSG_CHECKING([for sysroot]) +AC_ARG_WITH([sysroot], +[ --with-sysroot[=DIR] Search for dependent libraries within DIR + (or the compiler's sysroot if not specified).], +[], [with_sysroot=no]) + +dnl lt_sysroot will always be passed unquoted. We quote it here +dnl in case the user passed a directory name. +lt_sysroot= +case ${with_sysroot} in #( + yes) + if test "$GCC" = yes; then + lt_sysroot=`$CC --print-sysroot 2>/dev/null` + fi + ;; #( + /*) + lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` + ;; #( + no|'') + ;; #( + *) + AC_MSG_RESULT([${with_sysroot}]) + AC_MSG_ERROR([The sysroot must be an absolute path.]) + ;; +esac + + AC_MSG_RESULT([${lt_sysroot:-no}]) +_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl +[dependent libraries, and in which our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- @@ -1236,7 +1281,7 @@ ;; *-*-irix6*) # Find out which ABI we are using. - echo '[#]line __oline__ "configure"' > conftest.$ac_ext + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in @@ -1329,14 +1374,27 @@ CFLAGS="$SAVE_CFLAGS" fi ;; -sparc*-*solaris*) +*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in - yes*) LD="${LD-ld} -m elf64_sparc" ;; + yes*) + case $host in + i?86-*-solaris*) + LD="${LD-ld} -m elf_x86_64" + ;; + sparc*-*-solaris*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + # GNU ld 2.21 introduced _sol2 emulations. Use them if available. + if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then + LD="${LD-ld}_sol2" + fi + ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" @@ -1354,14 +1412,47 @@ ])# _LT_ENABLE_LOCK +# _LT_PROG_AR +# ----------- +m4_defun([_LT_PROG_AR], +[AC_CHECK_TOOLS(AR, [ar], false) +: ${AR=ar} +: ${AR_FLAGS=cru} +_LT_DECL([], [AR], [1], [The archiver]) +_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) + +AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], + [lt_cv_ar_at_file=no + AC_COMPILE_IFELSE([AC_LANG_PROGRAM], + [echo conftest.$ac_objext > conftest.lst + lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -eq 0; then + # Ensure the archiver fails upon bogus file names. + rm -f conftest.$ac_objext libconftest.a + AC_TRY_EVAL([lt_ar_try]) + if test "$ac_status" -ne 0; then + lt_cv_ar_at_file=@ + fi + fi + rm -f conftest.* libconftest.a + ]) + ]) + +if test "x$lt_cv_ar_at_file" = xno; then + archiver_list_spec= +else + archiver_list_spec=$lt_cv_ar_at_file +fi +_LT_DECL([], [archiver_list_spec], [1], + [How to feed a file listing to the archiver]) +])# _LT_PROG_AR + + # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], -[AC_CHECK_TOOL(AR, ar, false) -test -z "$AR" && AR=ar -test -z "$AR_FLAGS" && AR_FLAGS=cru -_LT_DECL([], [AR], [1], [The archiver]) -_LT_DECL([], [AR_FLAGS], [1]) +[_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: @@ -1380,18 +1471,27 @@ if test -n "$RANLIB"; then case $host_os in openbsd*) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) - old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac - old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" + old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi + +case $host_os in + darwin*) + lock_old_archive_extraction=yes ;; + *) + lock_old_archive_extraction=no ;; +esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) +_LT_DECL([], [lock_old_archive_extraction], [0], + [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE @@ -1416,15 +1516,15 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes @@ -1464,7 +1564,7 @@ if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD - $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes @@ -1524,6 +1624,11 @@ # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + mint*) + # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; @@ -1550,6 +1655,11 @@ interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 + ;; + + os2*) + # The test takes a long time on OS/2. + lt_cv_sys_max_cmd_len=8192 ;; osf*) @@ -1591,8 +1701,8 @@ # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. - while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ - = "XX$teststring$teststring"; } >/dev/null 2>&1 && + while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ + = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` @@ -1643,7 +1753,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -[#line __oline__ "configure" +[#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -1684,7 +1794,13 @@ # endif #endif -void fnord() { int i=42;} +/* When -fvisbility=hidden is used, assume the code has been annotated + correspondingly for the symbols needed. */ +#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) +int fnord () __attribute__((visibility("default"))); +#endif + +int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); @@ -1693,7 +1809,11 @@ if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; - else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else + { + if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + else puts (dlerror ()); + } /* dlclose (self); */ } else @@ -1869,16 +1989,16 @@ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD - echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings - $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes @@ -2037,6 +2157,7 @@ m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl +m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ @@ -2045,16 +2166,23 @@ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac - lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then + case $host_os in + mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; + *) lt_sed_strip_eq="s,=/,/,g" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` + case $lt_search_path_spec in + *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` - else - lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` + ;; + *) + lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` + ;; + esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -2067,7 +2195,7 @@ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done - lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' + lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; @@ -2087,7 +2215,13 @@ if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` - sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` + # AWK program above erroneously prepends '/' to C:/dos/paths + # for these hosts. + case $host_os in + mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ + $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; + esac + sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) @@ -2113,7 +2247,7 @@ case $host_os in aix3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH @@ -2122,7 +2256,7 @@ ;; aix[[4-9]]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes @@ -2175,7 +2309,7 @@ m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. - finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; @@ -2187,7 +2321,7 @@ ;; bsdi[[45]]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' @@ -2206,8 +2340,9 @@ need_version=no need_lib_prefix=no - case $GCC,$host_os in - yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) + case $GCC,$cc_basename in + yes,*) + # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ @@ -2228,36 +2363,83 @@ cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" +m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' - sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` - if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then - # It is most probably a Windows format PATH printed by - # mingw gcc, but we are running on Cygwin. Gcc prints its search - # path with ; separators, and with drive letters. We can handle the - # drive letters (cygwin fileutils understands them), so leave them, - # especially as we might pass files found there to a mingw objdump, - # which wouldn't understand a cygwinified path. Ahh. - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` - else - sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` - fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac + dynamic_linker='Win32 ld.exe' ;; + *,cl*) + # Native MSVC + libname_spec='$name' + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + library_names_spec='${libname}.dll.lib' + + case $build_os in + mingw*) + sys_lib_search_path_spec= + lt_save_ifs=$IFS + IFS=';' + for lt_path in $LIB + do + IFS=$lt_save_ifs + # Let DOS variable expansion print the short 8.3 style file name. + lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` + sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" + done + IFS=$lt_save_ifs + # Convert to MSYS style. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` + ;; + cygwin*) + # Convert to unix form, then to dos form, then back to unix form + # but this time dos style (no spaces!) so that the unix form looks + # like /cygdrive/c/PROGRA~1:/cygdr... + sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` + sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` + sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + ;; + *) + sys_lib_search_path_spec="$LIB" + if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH. + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # FIXME: find the short name or the path components, as spaces are + # common. (e.g. "Program Files" -> "PROGRA~1") + ;; + esac + + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $RM \$dlpath' + shlibpath_overrides_runpath=yes + dynamic_linker='Win32 link.exe' + ;; + *) + # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + dynamic_linker='Win32 ld.exe' ;; esac - dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; @@ -2278,16 +2460,12 @@ ;; dgux*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH - ;; - -freebsd1*) - dynamic_linker=no ;; freebsd* | dragonfly*) @@ -2297,7 +2475,7 @@ objformat=`/usr/bin/objformat` else case $host_os in - freebsd[[123]]*) objformat=aout ;; + freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi @@ -2315,7 +2493,7 @@ esac shlibpath_var=LD_LIBRARY_PATH case $host_os in - freebsd2*) + freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) @@ -2335,12 +2513,26 @@ ;; gnu*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +haiku*) + version_type=linux # correct to gnu/linux during the next big refactor + need_lib_prefix=no + need_version=no + dynamic_linker="$host_os runtime_loader" + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LIBRARY_PATH + shlibpath_overrides_runpath=yes + sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; @@ -2386,12 +2578,14 @@ soname_spec='${libname}${release}${shared_ext}$major' ;; esac - # HP-UX runs *really* slowly unless shared libraries are mode 555. + # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' + # or fails outright, so override atomically: + install_override_mode=555 ;; interix[[3-9]]*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' @@ -2407,7 +2601,7 @@ nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; @@ -2444,9 +2638,9 @@ dynamic_linker=no ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) - version_type=linux +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -2454,16 +2648,21 @@ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ - LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" - AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], - [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], - [shlibpath_overrides_runpath=yes])]) - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], + [lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ + LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], + [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], + [lt_cv_shlibpath_overrides_runpath=yes])]) + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + ]) + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -2472,7 +2671,7 @@ # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi @@ -2483,18 +2682,6 @@ # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' - ;; - -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) @@ -2516,7 +2703,7 @@ ;; newsos6) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -2585,7 +2772,7 @@ ;; solaris*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -2610,7 +2797,7 @@ ;; sysv4 | sysv4.3*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -2634,7 +2821,7 @@ sysv4*MP*) if test -d /usr/nec ;then - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH @@ -2665,7 +2852,7 @@ tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' @@ -2675,7 +2862,7 @@ ;; uts4*) - version_type=linux + version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH @@ -2717,6 +2904,8 @@ The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) +_LT_DECL([], [install_override_mode], [1], + [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], @@ -2829,6 +3018,7 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], @@ -2950,6 +3140,11 @@ esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in + cygwin* | mingw* | pw32* | cegcc*) + if test "$GCC" != yes; then + reload_cmds=false + fi + ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' @@ -2958,8 +3153,8 @@ fi ;; esac -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl -_LT_DECL([], [reload_cmds], [2])dnl +_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl +_LT_TAGDECL([], [reload_cmds], [2])dnl ])# _LT_CMD_RELOAD @@ -3011,16 +3206,18 @@ # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. - if ( file / ) >/dev/null 2>&1; then + # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. + if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + # Keep this pattern in sync with the one in func_win32_libid. + lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -cegcc) +cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' @@ -3050,6 +3247,10 @@ lt_cv_deplibs_check_method=pass_all ;; +haiku*) + lt_cv_deplibs_check_method=pass_all + ;; + hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in @@ -3058,11 +3259,11 @@ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) - [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) - lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac @@ -3083,12 +3284,12 @@ lt_cv_deplibs_check_method=pass_all ;; -# This must be Linux ELF. -linux* | k*bsd*-gnu) +# This must be glibc/ELF. +linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -3162,6 +3363,21 @@ ;; esac ]) + +file_magic_glob= +want_nocaseglob=no +if test "$build" = "$host"; then + case $host_os in + mingw* | pw32*) + if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then + want_nocaseglob=yes + else + file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` + fi + ;; + esac +fi + file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown @@ -3169,7 +3385,11 @@ _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], - [Command to use when deplibs_check_method == "file_magic"]) + [Command to use when deplibs_check_method = "file_magic"]) +_LT_DECL([], [file_magic_glob], [1], + [How to find potential files when deplibs_check_method = "file_magic"]) +_LT_DECL([], [want_nocaseglob], [1], + [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD @@ -3226,7 +3446,19 @@ NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. - AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) + if test -n "$DUMPBIN"; then : + # Let the user override the test. + else + AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) + case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in + *COFF*) + DUMPBIN="$DUMPBIN -symbols" + ;; + *) + DUMPBIN=: + ;; + esac + fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" @@ -3239,13 +3471,13 @@ AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD - (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) + (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -3259,6 +3491,67 @@ dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) + +# _LT_CHECK_SHAREDLIB_FROM_LINKLIB +# -------------------------------- +# how to determine the name of the shared library +# associated with a specific link library. +# -- PORTME fill in with the dynamic library characteristics +m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], +[m4_require([_LT_DECL_EGREP]) +m4_require([_LT_DECL_OBJDUMP]) +m4_require([_LT_DECL_DLLTOOL]) +AC_CACHE_CHECK([how to associate runtime and link libraries], +lt_cv_sharedlib_from_linklib_cmd, +[lt_cv_sharedlib_from_linklib_cmd='unknown' + +case $host_os in +cygwin* | mingw* | pw32* | cegcc*) + # two different shell functions defined in ltmain.sh + # decide which to use based on capabilities of $DLLTOOL + case `$DLLTOOL --help 2>&1` in + *--identify-strict*) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib + ;; + *) + lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback + ;; + esac + ;; +*) + # fallback: assume linklib IS sharedlib + lt_cv_sharedlib_from_linklib_cmd="$ECHO" + ;; +esac +]) +sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd +test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO + +_LT_DECL([], [sharedlib_from_linklib_cmd], [1], + [Command to associate shared and link libraries]) +])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB + + +# _LT_PATH_MANIFEST_TOOL +# ---------------------- +# locate the manifest tool +m4_defun([_LT_PATH_MANIFEST_TOOL], +[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) +test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt +AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], + [lt_cv_path_mainfest_tool=no + echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD + $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out + cat conftest.err >&AS_MESSAGE_LOG_FD + if $GREP 'Manifest Tool' conftest.out > /dev/null; then + lt_cv_path_mainfest_tool=yes + fi + rm -f conftest*]) +if test "x$lt_cv_path_mainfest_tool" != xyes; then + MANIFEST_TOOL=: +fi +_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl +])# _LT_PATH_MANIFEST_TOOL # LT_LIB_M @@ -3268,7 +3561,7 @@ [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) +*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) @@ -3296,7 +3589,12 @@ _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then - _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + case $cc_basename in + nvcc*) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; + *) + _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; + esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, @@ -3313,6 +3611,7 @@ m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl @@ -3380,8 +3679,8 @@ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= @@ -3405,6 +3704,7 @@ # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ +" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ @@ -3417,6 +3717,7 @@ else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi + lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no @@ -3438,7 +3739,7 @@ if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm - if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then + if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -3450,6 +3751,18 @@ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext +/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ +#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) +/* DATA imports from DLLs on WIN32 con't be const, because runtime + relocations are performed -- see ld's documentation on pseudo-relocs. */ +# define LT@&t@_DLSYM_CONST +#elif defined(__osf__) +/* This system does not cope well with relocations in const data. */ +# define LT@&t@_DLSYM_CONST +#else +# define LT@&t@_DLSYM_CONST const +#endif + #ifdef __cplusplus extern "C" { #endif @@ -3461,7 +3774,7 @@ cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ -const struct { +LT@&t@_DLSYM_CONST struct { const char *name; void *address; } @@ -3487,15 +3800,15 @@ _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext - lt_save_LIBS="$LIBS" - lt_save_CFLAGS="$CFLAGS" + lt_globsym_save_LIBS=$LIBS + lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi - LIBS="$lt_save_LIBS" - CFLAGS="$lt_save_CFLAGS" + LIBS=$lt_globsym_save_LIBS + CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi @@ -3528,6 +3841,13 @@ AC_MSG_RESULT(ok) fi +# Response file support. +if test "$lt_cv_nm_interface" = "MS dumpbin"; then + nm_file_list_spec='@' +elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then + nm_file_list_spec='@' +fi + _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], @@ -3538,6 +3858,8 @@ _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) +_LT_DECL([], [nm_file_list_spec], [1], + [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS @@ -3549,7 +3871,6 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= -AC_MSG_CHECKING([for $compiler option to produce PIC]) m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then @@ -3599,6 +3920,11 @@ *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. @@ -3648,6 +3974,12 @@ # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac + ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in @@ -3705,7 +4037,7 @@ ;; esac ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -3738,8 +4070,8 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xlc* | xlC*) - # IBM XL 8.0 on PPC + xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) + # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' @@ -3769,7 +4101,7 @@ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -3801,7 +4133,7 @@ ;; solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' @@ -3905,6 +4237,12 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; + haiku*) + # PIC is the default for Haiku. + # The "-static" flag exists, but is broken. + _LT_TAGVAR(lt_prog_compiler_static, $1)= + ;; + hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag @@ -3945,6 +4283,15 @@ *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + + case $cc_basename in + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' + if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then + _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" + fi ;; esac else @@ -3989,7 +4336,7 @@ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -4010,7 +4357,13 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; - pgcc* | pgf77* | pgf90* | pgf95*) + nagfor*) + # NAG Fortran compiler + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' @@ -4022,25 +4375,40 @@ # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - xl*) - # IBM XL C 8.0/Fortran 10.1 on PPC + xl* | bgxl* | bgf* | mpixl*) + # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in + *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + *Sun\ F* | *Sun*Fortran*) + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; - *Sun\ F*) - # Sun Fortran 8.3 passes all unrecognized flags to the linker - _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + *Intel*\ [[CF]]*Compiler*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + *Portland\ Group*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' - _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; esac ;; @@ -4072,7 +4440,7 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in - f77* | f90* | f95*) + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; @@ -4129,9 +4497,11 @@ _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], - [How to pass a linker flag through the compiler]) + +AC_CACHE_CHECK([for $compiler option to produce PIC], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], + [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) +_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. @@ -4150,6 +4520,8 @@ _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) +_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], + [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # @@ -4170,6 +4542,7 @@ m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl @@ -4178,30 +4551,37 @@ AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global defined + # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" - ;; + ;; cygwin* | mingw* | cegcc*) - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' - ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; + case $cc_basename in + cl*) + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + ;; + *) + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] + ;; + esac + ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' - ;; + ;; esac - _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= @@ -4216,7 +4596,6 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported @@ -4261,13 +4640,36 @@ openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes + + # On some targets, GNU ld is compatible enough with the native linker + # that we're better off using the native interface for both. + lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then + case $host_os in + aix*) + # The AIX port of GNU ld has always aspired to compatibility + # with the native linker. However, as the warning in the GNU ld + # block says, versions before 2.19.5* couldn't really create working + # shared libraries, regardless of the interface used. + case `$LD -v 2>&1` in + *\ \(GNU\ Binutils\)\ 2.19.5*) ;; + *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; + *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + ;; + *) + lt_use_gnu_ld_interface=yes + ;; + esac + fi + + if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' @@ -4285,6 +4687,7 @@ fi supports_anon_versioning=no case `$LD -v 2>&1` in + *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -4300,11 +4703,12 @@ _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 -*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you -*** really care for shared libraries, you may want to modify your PATH -*** so that a non-GNU linker is found, and then restart. +*** really care for shared libraries, you may want to install binutils +*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. +*** You will then need to restart the configuration process. _LT_EOF fi @@ -4340,10 +4744,12 @@ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' + _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' @@ -4361,6 +4767,11 @@ fi ;; + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes + ;; + interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -4376,7 +4787,7 @@ _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; - gnu* | linux* | tpf* | k*bsd*-gnu) + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -4386,15 +4797,16 @@ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then - tmp_addflag= + tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; - pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + pgf77* | pgf90* | pgf95* | pgfortran*) + # Portland Group f77 and f90 compilers + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; @@ -4405,13 +4817,17 @@ lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; - xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) + xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; + nvcc*) # Cuda Compiler Driver 2.2 + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(compiler_needs_object, $1)=yes + ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 @@ -4427,17 +4843,16 @@ fi case $cc_basename in - xlf*) + xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' - _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ - $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' + $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac @@ -4446,13 +4861,13 @@ fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; @@ -4470,8 +4885,8 @@ _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -4517,8 +4932,8 @@ *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -4558,8 +4973,10 @@ else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm + # Also, AIX nm treats weak defined symbols like other global + # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then - _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi @@ -4621,7 +5038,6 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -4647,9 +5063,9 @@ _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -4658,14 +5074,19 @@ else # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -4697,20 +5118,64 @@ # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - # Tell ltmain to make .lib files, not .a files. - libext=lib - # Tell ltmain to make .dll files, not .so files. - shrext_cmds=".dll" - # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' - # The linker will automatically build a .lib file if we build a DLL. - _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' - # FIXME: Should let the user specify the lib program. - _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' - _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + case $cc_basename in + cl*) + # Native MSVC + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' + _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # Assume MSVC wrapper + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + esac ;; darwin* | rhapsody*) @@ -4721,10 +5186,6 @@ _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no - ;; - - freebsd1*) - _LT_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor @@ -4739,7 +5200,7 @@ ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. - freebsd2*) + freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes @@ -4748,7 +5209,7 @@ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no @@ -4756,7 +5217,7 @@ hpux9*) if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi @@ -4771,14 +5232,13 @@ ;; hpux10*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + if test "$GCC" = yes && test "$with_gnu_ld" = no; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes @@ -4790,16 +5250,16 @@ ;; hpux11*) - if test "$GCC" = yes -a "$with_gnu_ld" = no; then + if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else @@ -4811,7 +5271,14 @@ _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + m4_if($1, [], [ + # Older versions of the 11.00 compiler do not understand -b yet + # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) + _LT_LINKER_OPTION([if $CC understands -b], + _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi @@ -4839,19 +5306,34 @@ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - AC_LINK_IFELSE(int foo(void) {}, - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' - ) - LDFLAGS="$save_LDFLAGS" + # This should be the same for all languages, so no per-tag cache variable. + AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], + [lt_cv_irix_exported_symbol], + [save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" + AC_LINK_IFELSE( + [AC_LANG_SOURCE( + [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], + [C++], [[int foo (void) { return 0; }]], + [Fortran 77], [[ + subroutine foo + end]], + [Fortran], [[ + subroutine foo + end]])])], + [lt_cv_irix_exported_symbol=yes], + [lt_cv_irix_exported_symbol=no]) + LDFLAGS="$save_LDFLAGS"]) + if test "$lt_cv_irix_exported_symbol" = yes; then + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + fi else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' @@ -4860,7 +5342,7 @@ _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -4913,17 +5395,17 @@ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' @@ -4933,13 +5415,13 @@ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ - $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' + $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' @@ -4952,9 +5434,9 @@ _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) @@ -5130,36 +5612,38 @@ # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - AC_MSG_CHECKING([whether -lc should be explicitly linked in]) - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext - - if AC_TRY_EVAL(ac_compile) 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) - pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) - _LT_TAGVAR(allow_undefined_flag, $1)= - if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) - then - _LT_TAGVAR(archive_cmds_need_lc, $1)=no - else - _LT_TAGVAR(archive_cmds_need_lc, $1)=yes - fi - _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) + AC_CACHE_CHECK([whether -lc should be explicitly linked in], + [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), + [$RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) + _LT_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) + then + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no + else + lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + ]) + _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi @@ -5196,9 +5680,6 @@ _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1], - [[If ld is used when linking, flag to hardcode $libdir into a binary - during linking. This must work even if $libdir does not exist]]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], @@ -5224,8 +5705,6 @@ to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) -_LT_TAGDECL([], [fix_srcfile_path], [1], - [Fix the shell variable $srcfile for the compiler]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], @@ -5236,6 +5715,8 @@ [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) +_LT_TAGDECL([], [postlink_cmds], [2], + [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented @@ -5329,14 +5810,15 @@ ])# _LT_LANG_C_CONFIG -# _LT_PROG_CXX -# ------------ -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ -# compiler, we have our own version here. -m4_defun([_LT_PROG_CXX], -[ -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) -AC_PROG_CXX +# _LT_LANG_CXX_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for a C++ compiler are suitably +# defined. These variables are subsequently used by _LT_CONFIG to write +# the compiler configuration to `libtool'. +m4_defun([_LT_LANG_CXX_CONFIG], +[m4_require([_LT_FILEUTILS_DEFAULTS])dnl +m4_require([_LT_DECL_EGREP])dnl +m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then @@ -5344,22 +5826,6 @@ else _lt_caught_CXX_error=yes fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_CXX - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_CXX], []) - - -# _LT_LANG_CXX_CONFIG([TAG]) -# -------------------------- -# Ensure that the configuration variables for a C++ compiler are suitably -# defined. These variables are subsequently used by _LT_CONFIG to write -# the compiler configuration to `libtool'. -m4_defun([_LT_LANG_CXX_CONFIG], -[AC_REQUIRE([_LT_PROG_CXX])dnl -m4_require([_LT_FILEUTILS_DEFAULTS])dnl -m4_require([_LT_DECL_EGREP])dnl AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no @@ -5371,7 +5837,6 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported @@ -5381,6 +5846,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -5412,6 +5879,7 @@ # Allow CC to be a program name with arguments. lt_save_CC=$CC + lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX @@ -5429,6 +5897,7 @@ fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} + CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -5450,8 +5919,8 @@ # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -5483,7 +5952,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no @@ -5592,10 +6061,10 @@ _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" - _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' @@ -5604,14 +6073,19 @@ else # Determine the default libpath from the value encoded in an # empty executable. - _LT_SYS_MODULE_PATH_AIX + _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' - # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + if test "$with_gnu_ld" = yes; then + # We only use this code for GNU lds that support --whole-archive. + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + else + # Exported symbols can be pulled into shared objects from archives + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. @@ -5641,28 +6115,75 @@ ;; cygwin* | mingw* | pw32* | cegcc*) - # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, - # as there is no search path for DLLs. - _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' - _LT_TAGVAR(allow_undefined_flag, $1)=unsupported - _LT_TAGVAR(always_export_symbols, $1)=no - _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes - - if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - # If the export-symbols file already is a .def file (1st line - # is EXPORTS), use it as is; otherwise, prepend... - _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then - cp $export_symbols $output_objdir/$soname.def; - else - echo EXPORTS > $output_objdir/$soname.def; - cat $export_symbols >> $output_objdir/$soname.def; - fi~ - $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' - else - _LT_TAGVAR(ld_shlibs, $1)=no - fi - ;; + case $GXX,$cc_basename in + ,cl* | no,cl*) + # Native MSVC + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=yes + _LT_TAGVAR(file_list_spec, $1)='@' + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; + else + $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; + fi~ + $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + linknames=' + # The linker will not automatically build a static lib if we build a DLL. + # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + # Don't use ranlib + _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' + _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ + lt_tool_outputfile="@TOOL_OUTPUT@"~ + case $lt_outputfile in + *.exe|*.EXE) ;; + *) + lt_outputfile="$lt_outputfile.exe" + lt_tool_outputfile="$lt_tool_outputfile.exe" + ;; + esac~ + func_to_tool_file "$lt_outputfile"~ + if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then + $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; + $RM "$lt_outputfile.manifest"; + fi' + ;; + *) + # g++ + # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' + _LT_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_TAGVAR(always_export_symbols, $1)=no + _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; @@ -5685,7 +6206,7 @@ esac ;; - freebsd[[12]]*) + freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no @@ -5702,6 +6223,11 @@ ;; gnu*) + ;; + + haiku*) + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) @@ -5728,11 +6254,11 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then - _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no @@ -5793,7 +6319,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then @@ -5803,10 +6329,10 @@ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi @@ -5836,7 +6362,7 @@ case $cc_basename in CC*) # SGI C++ - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is @@ -5847,9 +6373,9 @@ *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes @@ -5860,7 +6386,7 @@ _LT_TAGVAR(inherit_rpath, $1)=yes ;; - linux* | k*bsd*-gnu) + linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler @@ -5878,7 +6404,7 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -5915,26 +6441,26 @@ pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in - *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) + *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ - compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' + compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ - $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ + $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ - $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; - *) # Version 6 will use weak symbols + *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; @@ -5942,7 +6468,7 @@ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ @@ -5961,9 +6487,9 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; - xl*) + xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' @@ -5983,13 +6509,13 @@ _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' - _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' + _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -6058,7 +6584,7 @@ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi - output_verbose_link_cmd=echo + output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi @@ -6093,15 +6619,15 @@ case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' - _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ - $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; @@ -6117,17 +6643,17 @@ # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. - output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac @@ -6137,7 +6663,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support @@ -6173,7 +6699,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' @@ -6194,7 +6720,7 @@ esac _LT_TAGVAR(link_all_deplibs, $1)=yes - output_verbose_link_cmd='echo' + output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is @@ -6214,14 +6740,14 @@ if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ - $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' + $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. @@ -6232,7 +6758,7 @@ # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. - output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' + output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' @@ -6286,6 +6812,10 @@ CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" + _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ + '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' @@ -6341,6 +6871,7 @@ fi # test -n "$compiler" CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC @@ -6355,6 +6886,29 @@ ])# _LT_LANG_CXX_CONFIG +# _LT_FUNC_STRIPNAME_CNF +# ---------------------- +# func_stripname_cnf prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# +# This function is identical to the (non-XSI) version of func_stripname, +# except this one can be used by m4 code that may be executed by configure, +# rather than the libtool script. +m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl +AC_REQUIRE([_LT_DECL_SED]) +AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) +func_stripname_cnf () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; + esac +} # func_stripname_cnf +])# _LT_FUNC_STRIPNAME_CNF + # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose @@ -6363,6 +6917,7 @@ # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl +AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= @@ -6412,7 +6967,20 @@ } }; _LT_EOF +], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF +package foo +func foo() { +} +_LT_EOF ]) + +_lt_libdeps_save_CFLAGS=$CFLAGS +case "$CC $CFLAGS " in #( +*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; +*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; +*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; +esac + dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then @@ -6424,7 +6992,7 @@ pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do - case $p in + case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. @@ -6433,13 +7001,22 @@ test $p = "-R"; then prev=$p continue - else - prev= fi + # Expand the sysroot to ease extracting the directories later. + if test -z "$prev"; then + case $p in + -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; + -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; + -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; + esac + fi + case $p in + =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; + esac if test "$pre_test_object_deps_done" = no; then - case $p in - -L* | -R*) + case ${prev} in + -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. @@ -6459,8 +7036,10 @@ _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi + prev= ;; + *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. @@ -6496,6 +7075,7 @@ fi $RM -f confest.$objext +CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], @@ -6532,7 +7112,7 @@ solaris*) case $cc_basename in - CC*) + CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as @@ -6576,32 +7156,16 @@ ])# _LT_SYS_HIDDEN_LIBDEPS -# _LT_PROG_F77 -# ------------ -# Since AC_PROG_F77 is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_F77], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) -AC_PROG_F77 -if test -z "$F77" || test "X$F77" = "Xno"; then - _lt_disable_F77=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_F77 - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_F77], []) - - # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_F77_CONFIG], -[AC_REQUIRE([_LT_PROG_F77])dnl -AC_LANG_PUSH(Fortran 77) +[AC_LANG_PUSH(Fortran 77) +if test -z "$F77" || test "X$F77" = "Xno"; then + _lt_disable_F77=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -6611,7 +7175,6 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no @@ -6620,6 +7183,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -6659,7 +7224,9 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} + CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -6713,28 +7280,11 @@ GCC=$lt_save_GCC CC="$lt_save_CC" + CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG - - -# _LT_PROG_FC -# ----------- -# Since AC_PROG_FC is broken, in that it returns the empty string -# if there is no fortran compiler, we have our own version here. -m4_defun([_LT_PROG_FC], -[ -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) -AC_PROG_FC -if test -z "$FC" || test "X$FC" = "Xno"; then - _lt_disable_FC=yes -fi -popdef([AC_MSG_ERROR]) -])# _LT_PROG_FC - -dnl aclocal-1.4 backwards compatibility: -dnl AC_DEFUN([_LT_PROG_FC], []) # _LT_LANG_FC_CONFIG([TAG]) @@ -6743,8 +7293,11 @@ # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_FC_CONFIG], -[AC_REQUIRE([_LT_PROG_FC])dnl -AC_LANG_PUSH(Fortran) +[AC_LANG_PUSH(Fortran) + +if test -z "$FC" || test "X$FC" = "Xno"; then + _lt_disable_FC=yes +fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= @@ -6754,7 +7307,6 @@ _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no @@ -6763,6 +7315,8 @@ _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no @@ -6802,7 +7356,9 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC + lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} + CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu @@ -6858,7 +7414,8 @@ fi # test -n "$compiler" GCC=$lt_save_GCC - CC="$lt_save_CC" + CC=$lt_save_CC + CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP @@ -6895,10 +7452,12 @@ _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. -lt_save_CC="$CC" +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} +CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" @@ -6908,6 +7467,8 @@ _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change @@ -6927,8 +7488,80 @@ AC_LANG_RESTORE GCC=$lt_save_GCC -CC="$lt_save_CC" +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG + + +# _LT_LANG_GO_CONFIG([TAG]) +# -------------------------- +# Ensure that the configuration variables for the GNU Go compiler +# are suitably defined. These variables are subsequently used by _LT_CONFIG +# to write the compiler configuration to `libtool'. +m4_defun([_LT_LANG_GO_CONFIG], +[AC_REQUIRE([LT_PROG_GO])dnl +AC_LANG_SAVE + +# Source file extension for Go test sources. +ac_ext=go + +# Object file extension for compiled Go test sources. +objext=o +_LT_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="package main; func main() { }" + +# Code to be used in simple link tests +lt_simple_link_test_code='package main; func main() { }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_TAG_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_CFLAGS=$CFLAGS +lt_save_GCC=$GCC +GCC=yes +CC=${GOC-"gccgo"} +CFLAGS=$GOFLAGS +compiler=$CC +_LT_TAGVAR(compiler, $1)=$CC +_LT_TAGVAR(LD, $1)="$LD" +_LT_CC_BASENAME([$compiler]) + +# Go did not exist at the time GCC didn't implicitly link libc in. +_LT_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_TAGVAR(reload_flag, $1)=$reload_flag +_LT_TAGVAR(reload_cmds, $1)=$reload_cmds + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +if test -n "$compiler"; then + _LT_COMPILER_NO_RTTI($1) + _LT_COMPILER_PIC($1) + _LT_COMPILER_C_O($1) + _LT_COMPILER_FILE_LOCKS($1) + _LT_LINKER_SHLIBS($1) + _LT_LINKER_HARDCODE_LIBPATH($1) + + _LT_CONFIG($1) +fi + +AC_LANG_RESTORE + +GCC=$lt_save_GCC +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS +])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) @@ -6962,9 +7595,11 @@ # Allow CC to be a program name with arguments. lt_save_CC="$CC" +lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} +CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) @@ -6977,7 +7612,8 @@ GCC=$lt_save_GCC AC_LANG_RESTORE -CC="$lt_save_CC" +CC=$lt_save_CC +CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG @@ -6995,6 +7631,13 @@ AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) + + +# LT_PROG_GO +# ---------- +AC_DEFUN([LT_PROG_GO], +[AC_CHECK_TOOL(GOC, gccgo,) +]) # LT_PROG_RC @@ -7036,6 +7679,15 @@ AC_SUBST([OBJDUMP]) ]) +# _LT_DECL_DLLTOOL +# ---------------- +# Ensure DLLTOOL variable is set. +m4_defun([_LT_DECL_DLLTOOL], +[AC_CHECK_TOOL(DLLTOOL, dlltool, false) +test -z "$DLLTOOL" && DLLTOOL=dlltool +_LT_DECL([], [DLLTOOL], [1], [DLL creation program]) +AC_SUBST([DLLTOOL]) +]) # _LT_DECL_SED # ------------ @@ -7129,8 +7781,8 @@ # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" - test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ - = c,a/b,, \ + test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ + = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes @@ -7169,208 +7821,162 @@ ])# _LT_CHECK_SHELL_FEATURES -# _LT_PROG_XSI_SHELLFNS -# --------------------- -# Bourne and XSI compatible variants of some useful shell functions. -m4_defun([_LT_PROG_XSI_SHELLFNS], -[case $xsi_shell in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac -} - -# func_basename file -func_basename () -{ - func_basename_result="${1##*/}" -} - -# func_dirname_and_basename file append nondir_replacement -# perform func_basename and func_dirname in a single function -# call: -# dirname: Compute the dirname of FILE. If nonempty, -# add APPEND to the result, otherwise set result -# to NONDIR_REPLACEMENT. -# value returned in "$func_dirname_result" -# basename: Compute filename of FILE. -# value retuned in "$func_basename_result" -# Implementation must be kept synchronized with func_dirname -# and func_basename. For efficiency, we do not delegate to -# those functions but instead duplicate the functionality here. -func_dirname_and_basename () -{ - case ${1} in - */*) func_dirname_result="${1%/*}${2}" ;; - * ) func_dirname_result="${3}" ;; - esac - func_basename_result="${1##*/}" -} - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -func_stripname () -{ - # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are - # positional parameters, so assign one to ordinary parameter first. - func_stripname_result=${3} - func_stripname_result=${func_stripname_result#"${1}"} - func_stripname_result=${func_stripname_result%"${2}"} -} - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=${1%%=*} - func_opt_split_arg=${1#*=} -} - -# func_lo2o object -func_lo2o () -{ - case ${1} in - *.lo) func_lo2o_result=${1%.lo}.${objext} ;; - *) func_lo2o_result=${1} ;; - esac -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=${1%.*}.lo -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=$(( $[*] )) -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=${#1} -} - -_LT_EOF +# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) +# ------------------------------------------------------ +# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and +# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. +m4_defun([_LT_PROG_FUNCTION_REPLACE], +[dnl { +sed -e '/^$1 ()$/,/^} # $1 /c\ +$1 ()\ +{\ +m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) +} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") +test 0 -eq $? || _lt_function_replace_fail=: +]) + + +# _LT_PROG_REPLACE_SHELLFNS +# ------------------------- +# Replace existing portable implementations of several shell functions with +# equivalent extended shell implementations where those features are available.. +m4_defun([_LT_PROG_REPLACE_SHELLFNS], +[if test x"$xsi_shell" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}"]) + + _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl + func_split_long_opt_name=${1%%=*} + func_split_long_opt_arg=${1#*=}]) + + _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl + func_split_short_opt_arg=${1#??} + func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) + + _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac]) + + _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) + + _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) + + _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) +fi + +if test x"$lt_shell_append" = xyes; then + _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) + + _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl + func_quote_for_eval "${2}" +dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ + eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) + + # Save a `func_append' function call where possible by direct use of '+=' + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +else + # Save a `func_append' function call even when '+=' is not available + sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ + && mv -f "$cfgfile.tmp" "$cfgfile" \ + || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") + test 0 -eq $? || _lt_function_replace_fail=: +fi + +if test x"$_lt_function_replace_fail" = x":"; then + AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) +fi +]) + +# _LT_PATH_CONVERSION_FUNCTIONS +# ----------------------------- +# Determine which file name conversion functions should be used by +# func_to_host_file (and, implicitly, by func_to_host_path). These are needed +# for certain cross-compile configurations and native mingw. +m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_MSG_CHECKING([how to convert $build file names to $host format]) +AC_CACHE_VAL(lt_cv_to_host_file_cmd, +[case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 + ;; + esac ;; - *) # Bourne compatible functions. - cat << \_LT_EOF >> "$cfgfile" - -# func_dirname file append nondir_replacement -# Compute the dirname of FILE. If nonempty, add APPEND to the result, -# otherwise set result to NONDIR_REPLACEMENT. -func_dirname () -{ - # Extract subdirectory from the argument. - func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` - if test "X$func_dirname_result" = "X${1}"; then - func_dirname_result="${3}" - else - func_dirname_result="$func_dirname_result${2}" - fi -} - -# func_basename file -func_basename () -{ - func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` -} - -dnl func_dirname_and_basename -dnl A portable version of this function is already defined in general.m4sh -dnl so there is no need for it here. - -# func_stripname prefix suffix name -# strip PREFIX and SUFFIX off of NAME. -# PREFIX and SUFFIX must not contain globbing or regex special -# characters, hashes, percent signs, but SUFFIX may contain a leading -# dot (in which case that matches only a dot). -# func_strip_suffix prefix name -func_stripname () -{ - case ${2} in - .*) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; - *) func_stripname_result=`$ECHO "X${3}" \ - | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; - esac -} - -# sed scripts: -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' -my_sed_long_arg='1s/^-[[^=]]*=//' - -# func_opt_split -func_opt_split () -{ - func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` - func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` -} - -# func_lo2o object -func_lo2o () -{ - func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` -} - -# func_xform libobj-or-source -func_xform () -{ - func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` -} - -# func_arith arithmetic-term... -func_arith () -{ - func_arith_result=`expr "$[@]"` -} - -# func_len string -# STRING may not start with a hyphen. -func_len () -{ - func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len` -} - -_LT_EOF + *-*-cygwin* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin + ;; + *-*-cygwin* ) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; + * ) # otherwise, assume *nix + lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin + ;; + esac + ;; + * ) # unhandled hosts (and "normal" native builds) + lt_cv_to_host_file_cmd=func_convert_file_noop + ;; esac - -case $lt_shell_append in - yes) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]+=\$[2]" -} -_LT_EOF +]) +to_host_file_cmd=$lt_cv_to_host_file_cmd +AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) +_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], + [0], [convert $build file names to $host format])dnl + +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *-*-mingw* ) + case $build in + *-*-mingw* ) # actually msys + lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 + ;; + esac ;; - *) - cat << \_LT_EOF >> "$cfgfile" - -# func_append var value -# Append VALUE to the end of shell variable VAR. -func_append () -{ - eval "$[1]=\$$[1]\$[2]" -} - -_LT_EOF - ;; - esac +esac ]) +to_tool_file_cmd=$lt_cv_to_tool_file_cmd +AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS diff --git a/m4/ltoptions.m4 b/m4/ltoptions.m4 index 34151a3..5d9acd8 100644 --- a/m4/ltoptions.m4 +++ b/m4/ltoptions.m4 @@ -1,13 +1,14 @@ # Helper functions for option handling. -*- Autoconf -*- # -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, +# Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 6 ltoptions.m4 +# serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) @@ -125,7 +126,7 @@ [enable_win32_dll=yes case $host in -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) +*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) @@ -133,13 +134,13 @@ esac test -z "$AS" && AS=as -_LT_DECL([], [AS], [0], [Assembler program])dnl +_LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl +_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl +_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], @@ -325,9 +326,24 @@ # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], - [AS_HELP_STRING([--with-pic], + [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], - [pic_mode="$withval"], + [lt_p=${PACKAGE-default} + case $withval in + yes|no) pic_mode=$withval ;; + *) + pic_mode=default + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for lt_pkg in $withval; do + IFS="$lt_save_ifs" + if test "X$lt_pkg" = "X$lt_p"; then + pic_mode=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) diff --git a/m4/ltversion.m4 b/m4/ltversion.m4 index f3c5309..07a8602 100644 --- a/m4/ltversion.m4 +++ b/m4/ltversion.m4 @@ -7,17 +7,17 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# Generated from ltversion.in. +# @configure_input@ -# serial 3017 ltversion.m4 +# serial 3337 ltversion.m4 # This file is part of GNU Libtool -m4_define([LT_PACKAGE_VERSION], [2.2.6b]) -m4_define([LT_PACKAGE_REVISION], [1.3017]) +m4_define([LT_PACKAGE_VERSION], [2.4.2]) +m4_define([LT_PACKAGE_REVISION], [1.3337]) AC_DEFUN([LTVERSION_VERSION], -[macro_version='2.2.6b' -macro_revision='1.3017' +[macro_version='2.4.2' +macro_revision='1.3337' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) diff --git a/m4/lt~obsolete.m4 b/m4/lt~obsolete.m4 index 637bb20..c573da9 100644 --- a/m4/lt~obsolete.m4 +++ b/m4/lt~obsolete.m4 @@ -1,13 +1,13 @@ # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # -# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 4 lt~obsolete.m4 +# serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # @@ -77,7 +77,6 @@ m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) -m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) @@ -90,3 +89,10 @@ m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) +m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) +m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) +m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) +m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) +m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) +m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) +m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) diff --git a/missing b/missing index 1c8ff70..cdea514 100755 --- a/missing +++ b/missing @@ -1,11 +1,10 @@ #! /bin/sh -# Common stub for a few missing GNU programs while installing. - -scriptversion=2006-05-10.23 - -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. -# Originally by Fran,cois Pinard , 1996. +# Common wrapper for a few potentially missing GNU programs. + +scriptversion=2012-06-26.16; # UTC + +# Copyright (C) 1996-2013 Free Software Foundation, Inc. +# Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,9 +17,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -28,66 +25,40 @@ # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "Try '$0 --help' for more information" exit 1 fi -run=: -sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' -sed_minuso='s/.* -o \([^ ]*\).*/\1/p' - -# In the cases where this matters, `missing' is being run in the -# srcdir already. -if test -f configure.ac; then - configure_ac=configure.ac -else - configure_ac=configure.in -fi - -msg="missing on your system" - case $1 in ---run) - # Try to run requested program, and just exit if it succeeds. - run= - shift - "$@" && exit 0 - # Exit code 63 means version mismatch. This often happens - # when the user try to use an ancient version of a tool on - # a file that requires a minimum version. In this case we - # we should proceed has if the program had been absent, or - # if --run hadn't been passed. - if test $? = 63; then - run=: - msg="probably too old" - fi - ;; + + --is-lightweight) + # Used by our autoconf macros to check whether the available missing + # script is modern enough. + exit 0 + ;; + + --run) + # Back-compat with the calling convention used by older automake. + shift + ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... -Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an -error status if there is no known handling for PROGRAM. +Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due +to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit - --run try to run the given command, and emulate it if it fails Supported PROGRAM values: - aclocal touch file \`aclocal.m4' - autoconf touch file \`configure' - autoheader touch file \`config.h.in' - autom4te touch the output file, or create a stub one - automake touch all \`Makefile.in' files - bison create \`y.tab.[ch]', if possible, from existing .[ch] - flex create \`lex.yy.c', if possible, from existing .c - help2man touch the output file - lex create \`lex.yy.c', if possible, from existing .c - makeinfo touch the output file - tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch] + aclocal autoconf autoheader autom4te automake makeinfo + bison yacc flex lex help2man + +Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and +'g' are ignored when checking the name. Send bug reports to ." exit $? @@ -99,269 +70,146 @@ ;; -*) - echo 1>&2 "$0: Unknown \`$1' option" - echo 1>&2 "Try \`$0 --help' for more information" + echo 1>&2 "$0: unknown '$1' option" + echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac -# Now exit if we have it, but it failed. Also exit now if we -# don't have it and --version was passed (most likely to detect -# the program). -case $1 in - lex|yacc) - # Not GNU programs, they don't have --version. - ;; - - tar) - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - exit 1 - fi - ;; - - *) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - elif test "x$2" = "x--version" || test "x$2" = "x--help"; then - # Could not run --version or --help. This is probably someone - # running `$TOOL --version' or `$TOOL --help' to check whether - # $TOOL exists and not knowing $TOOL uses missing. - exit 1 - fi - ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case $1 in - aclocal*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acinclude.m4' or \`${configure_ac}'. You might want - to install the \`Automake' and \`Perl' packages. Grab them from - any GNU archive site." - touch aclocal.m4 - ;; - - autoconf) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`${configure_ac}'. You might want to install the - \`Autoconf' and \`GNU m4' packages. Grab them from any GNU - archive site." - touch configure - ;; - - autoheader) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`acconfig.h' or \`${configure_ac}'. You might want - to install the \`Autoconf' and \`GNU m4' packages. Grab them - from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` - test -z "$files" && files="config.h" - touch_files= - for f in $files; do - case $f in - *:*) touch_files="$touch_files "`echo "$f" | - sed -e 's/^[^:]*://' -e 's/:.*//'`;; - *) touch_files="$touch_files $f.in";; - esac - done - touch $touch_files - ;; - - automake*) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. - You might want to install the \`Automake' and \`Perl' packages. - Grab them from any GNU archive site." - find . -type f -name Makefile.am -print | - sed 's/\.am$/.in/' | - while read f; do touch "$f"; done - ;; - - autom4te) - echo 1>&2 "\ -WARNING: \`$1' is needed, but is $msg. - You might have modified some files without having the - proper tools for further handling them. - You can get \`$1' as part of \`Autoconf' from any GNU - archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo "#! /bin/sh" - echo "# Created by GNU Automake missing as a replacement of" - echo "# $ $@" - echo "exit 0" - chmod +x $file - exit 1 - fi - ;; - - bison|yacc) - echo 1>&2 "\ -WARNING: \`$1' $msg. You should only need it if - you modified a \`.y' file. You may need the \`Bison' package - in order for those modifications to take effect. You can get - \`Bison' from any GNU archive site." - rm -f y.tab.c y.tab.h - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.y) - SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.c - fi - SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" y.tab.h - fi - ;; - esac - fi - if test ! -f y.tab.h; then - echo >y.tab.h - fi - if test ! -f y.tab.c; then - echo 'main() { return 0; }' >y.tab.c - fi - ;; - - lex|flex) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.l' file. You may need the \`Flex' package - in order for those modifications to take effect. You can get - \`Flex' from any GNU archive site." - rm -f lex.yy.c - if test $# -ne 1; then - eval LASTARG="\${$#}" - case $LASTARG in - *.l) - SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if test -f "$SRCFILE"; then - cp "$SRCFILE" lex.yy.c - fi - ;; - esac - fi - if test ! -f lex.yy.c; then - echo 'main() { return 0; }' >lex.yy.c - fi - ;; - - help2man) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a dependency of a manual page. You may need the - \`Help2man' package in order for those modifications to take - effect. You can get \`Help2man' from any GNU archive site." - - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -f "$file"; then - touch $file - else - test -z "$file" || exec >$file - echo ".ab help2man is required to generate this page" - exit 1 - fi - ;; - - makeinfo) - echo 1>&2 "\ -WARNING: \`$1' is $msg. You should only need it if - you modified a \`.texi' or \`.texinfo' file, or any other file - indirectly affecting the aspect of the manual. The spurious - call might also be the consequence of using a buggy \`make' (AIX, - DU, IRIX). You might want to install the \`Texinfo' package or - the \`GNU make' package. Grab either from any GNU archive site." - # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n "$sed_output"` - test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` - if test -z "$file"; then - # ... or it is the one specified with @setfilename ... - infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n ' - /^@setfilename/{ - s/.* \([^ ]*\) *$/\1/ - p - q - }' $infile` - # ... or it is derived from the source name (dir/f.texi becomes f.info) - test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info - fi - # If the file does not exist, the user really needs makeinfo; - # let's fail without touching anything. - test -f $file || exit 1 - touch $file - ;; - - tar) - shift - - # We have already tried tar in the generic part. - # Look for gnutar/gtar before invocation to avoid ugly error - # messages. - if (gnutar --version > /dev/null 2>&1); then - gnutar "$@" && exit 0 - fi - if (gtar --version > /dev/null 2>&1); then - gtar "$@" && exit 0 - fi - firstarg="$1" - if shift; then - case $firstarg in - *o*) - firstarg=`echo "$firstarg" | sed s/o//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - case $firstarg in - *h*) - firstarg=`echo "$firstarg" | sed s/h//` - tar "$firstarg" "$@" && exit 0 - ;; - esac - fi - - echo 1>&2 "\ -WARNING: I can't seem to be able to run \`tar' with the given arguments. - You may want to install GNU tar or Free paxutils, or check the - command line arguments." - exit 1 - ;; - - *) - echo 1>&2 "\ -WARNING: \`$1' is needed, and is $msg. - You might have modified some files without having the - proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequisites for installing - this package. You may also peek at any GNU archive site, in case - some other package would contain this missing \`$1' program." - exit 1 - ;; -esac - -exit 0 +# Run the given program, remember its exit status. +"$@"; st=$? + +# If it succeeded, we are done. +test $st -eq 0 && exit 0 + +# Also exit now if we it failed (or wasn't found), and '--version' was +# passed; such an option is passed most likely to detect whether the +# program is present and works. +case $2 in --version|--help) exit $st;; esac + +# Exit code 63 means version mismatch. This often happens when the user +# tries to use an ancient version of a tool on a file that requires a +# minimum version. +if test $st -eq 63; then + msg="probably too old" +elif test $st -eq 127; then + # Program was missing. + msg="missing on your system" +else + # Program was found and executed, but failed. Give up. + exit $st +fi + +perl_URL=http://www.perl.org/ +flex_URL=http://flex.sourceforge.net/ +gnu_software_URL=http://www.gnu.org/software + +program_details () +{ + case $1 in + aclocal|automake) + echo "The '$1' program is part of the GNU Automake package:" + echo "<$gnu_software_URL/automake>" + echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/autoconf>" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + autoconf|autom4te|autoheader) + echo "The '$1' program is part of the GNU Autoconf package:" + echo "<$gnu_software_URL/autoconf/>" + echo "It also requires GNU m4 and Perl in order to run:" + echo "<$gnu_software_URL/m4/>" + echo "<$perl_URL>" + ;; + esac +} + +give_advice () +{ + # Normalize program name to check for. + normalized_program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + + printf '%s\n' "'$1' is $msg." + + configure_deps="'configure.ac' or m4 files included by 'configure.ac'" + case $normalized_program in + autoconf*) + echo "You should only need it if you modified 'configure.ac'," + echo "or m4 files included by it." + program_details 'autoconf' + ;; + autoheader*) + echo "You should only need it if you modified 'acconfig.h' or" + echo "$configure_deps." + program_details 'autoheader' + ;; + automake*) + echo "You should only need it if you modified 'Makefile.am' or" + echo "$configure_deps." + program_details 'automake' + ;; + aclocal*) + echo "You should only need it if you modified 'acinclude.m4' or" + echo "$configure_deps." + program_details 'aclocal' + ;; + autom4te*) + echo "You might have modified some maintainer files that require" + echo "the 'automa4te' program to be rebuilt." + program_details 'autom4te' + ;; + bison*|yacc*) + echo "You should only need it if you modified a '.y' file." + echo "You may want to install the GNU Bison package:" + echo "<$gnu_software_URL/bison/>" + ;; + lex*|flex*) + echo "You should only need it if you modified a '.l' file." + echo "You may want to install the Fast Lexical Analyzer package:" + echo "<$flex_URL>" + ;; + help2man*) + echo "You should only need it if you modified a dependency" \ + "of a man page." + echo "You may want to install the GNU Help2man package:" + echo "<$gnu_software_URL/help2man/>" + ;; + makeinfo*) + echo "You should only need it if you modified a '.texi' file, or" + echo "any other file indirectly affecting the aspect of the manual." + echo "You might want to install the Texinfo package:" + echo "<$gnu_software_URL/texinfo/>" + echo "The spurious makeinfo call might also be the consequence of" + echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" + echo "want to install GNU make:" + echo "<$gnu_software_URL/make/>" + ;; + *) + echo "You might have modified some files without having the proper" + echo "tools for further handling them. Check the 'README' file, it" + echo "often tells you about the needed prerequisites for installing" + echo "this package. You may also peek at any GNU archive site, in" + echo "case some other package contains this missing '$1' program." + ;; + esac +} + +give_advice "$1" | sed -e '1s/^/WARNING: /' \ + -e '2,$s/^/ /' >&2 + +# Propagate the correct exit status (expected to be 127 for a program +# not found, 63 for a program that failed due to version mismatch). +exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff --git a/src/Makefile.am b/src/Makefile.am index 663705f..b416472 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,8 +32,12 @@ c0rners.la \ cartoon.la \ cluster.la \ + colgate.la \ coloradj_RGB.la \ colordistance.la \ + colorhalftone.la \ + colorize.la \ + colortap.la \ color_only.la \ composition.la \ contrast0r.la \ @@ -45,9 +49,11 @@ delaygrab.la \ difference.la \ distort0r.la \ + dither.la \ divide.la \ dodge.la \ edgeglow.la \ + emboss.la \ equaliz0r.la \ flippo.la \ G.la \ @@ -59,8 +65,10 @@ hqdn3d.la \ hue.la \ hueshift0r.la \ + IIRblur.la \ invert0r.la \ ising0r.la \ + keyspillm0pup.la \ lenscorrection.la \ letterb0xed.la \ levels.la \ @@ -69,6 +77,7 @@ lissajous0r.la \ luminance.la \ mask0mate.la \ + medians.la \ multiply.la \ nervous.la \ nois0r.la \ @@ -79,20 +88,25 @@ perspective.la \ pixeliz0r.la \ plasma.la \ + posterize.la \ pr0be.la \ pr0file.la \ primaries.la \ R.la \ RGB.la \ + rgbnoise.la \ saturation.la \ saturat0r.la \ scanline0r.la \ screen.la \ select0r.la \ sharpness.la \ + sigmoidaltransfer.la \ sobel.la \ + softglow.la \ softlight.la \ sopsat.la \ + spillsupress.la \ squareblur.la \ subtract.la \ tehroxx0r.la \ @@ -105,12 +119,14 @@ three_point_balance.la \ threshold0r.la \ threelay0r.la \ + timeout.la \ tint0r.la \ transparency.la \ twolay0r.la \ uvmap.la \ value.la \ vertigo.la \ + vignette.la \ xfade0r.la if HAVE_GAVL @@ -141,11 +157,33 @@ facedetect_la_LIBADD = @OPENCV_LIBS@ endif +if HAVE_CAIRO +plugin_LTLIBRARIES += cairogradient.la +cairogradient_la_SOURCES = filter/cairogradient/cairogradient.c +cairogradient_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +cairogradient_la_LIBADD = @CAIRO_LIBS@ + +plugin_LTLIBRARIES += cairoimagegrid.la +cairoimagegrid_la_SOURCES = filter/cairoimagegrid/cairoimagegrid.c +cairoimagegrid_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +cairoimagegrid_la_LIBADD = @CAIRO_LIBS@ + +plugin_LTLIBRARIES += cairoaffineblend.la +cairoaffineblend_la_SOURCES = mixer2/cairoaffineblend/cairoaffineblend.c +cairoaffineblend_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +cairoaffineblend_la_LIBADD = @CAIRO_LIBS@ + +plugin_LTLIBRARIES += cairoblend.la +cairoblend_la_SOURCES = mixer2/cairoblend/cairoblend.c +cairoblend_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +cairoblend_la_LIBADD = @CAIRO_LIBS@ +endif + # # FILTERS # 3dflippo_la_SOURCES = filter/3dflippo/3dflippo.c -alpha0ps_la_SOURCES = filter/alpha0ps/alpha0ps.c +alpha0ps_la_SOURCES = filter/alpha0ps/alpha0ps.c filter/alpha0ps/fibe_f.h alphagrad_la_SOURCES = filter/alpha0ps/alphagrad.c alphaspot_la_SOURCES = filter/alpha0ps/alphaspot.c B_la_SOURCES = filter/RGB/B.c @@ -157,8 +195,12 @@ c0rners_la_SOURCES = filter/c0rners/c0rners.c filter/c0rners/interp.h cartoon_la_SOURCES = filter/cartoon/cartoon.cpp cluster_la_SOURCES = filter/cluster/cluster.c +colgate_la_SOURCES = filter/colgate/colgate.c coloradj_RGB_la_SOURCES = filter/coloradj/coloradj_RGB.c colordistance_la_SOURCES = filter/colordistance/colordistance.c +colorhalftone_la_SOURCES = filter/colorhalftone/colorhalftone.c +colorize_la_SOURCES = filter/colorize/colorize.c +colortap_la_SOURCES = filter/colortap/colortap.c contrast0r_la_SOURCES = filter/contrast0r/contrast0r.c curves_la_SOURCES = filter/curves/curves.c d90stairsteppingfix_la_SOURCES = filter/d90stairsteppingfix/d90stairsteppingfix.cpp @@ -166,45 +208,57 @@ delay0r_la_SOURCES = filter/delay0r/delay0r.cpp delaygrab_la_SOURCES = filter/delaygrab/delaygrab.cpp distort0r_la_SOURCES = filter/distort0r/distort0r.c +dither_la_SOURCES = filter/dither/dither.c edgeglow_la_SOURCES = filter/edgeglow/edgeglow.cpp +emboss_la_SOURCES = filter/emboss/emboss.c equaliz0r_la_SOURCES = filter/equaliz0r/equaliz0r.cpp flippo_la_SOURCES = filter/flippo/flippo.c G_la_SOURCES = filter/RGB/G.c gamma_la_SOURCES = filter/gamma/gamma.c -glow_la_SOURCES = filter/glow/glow.c filter/glow/blur.h +glow_la_SOURCES = filter/glow/glow.c hqdn3d_la_SOURCES = filter/denoise/hqdn3d.c hueshift0r_la_SOURCES = filter/hueshift0r/hueshift0r.c filter/hueshift0r/matrix.h +IIRblur_la_SOURCES = filter/blur/IIRblur.c filter/blur/fibe.h invert0r_la_SOURCES = filter/invert0r/invert0r.c +keyspillm0pup_la_SOURCES = filter/keyspillm0pup/keyspillm0pup.c lenscorrection_la_SOURCES = filter/lenscorrection/lenscorrection.c letterb0xed_la_SOURCES = filter/letterb0xed/letterb0xed.c levels_la_SOURCES = filter/levels/levels.c lightgraffiti_la_SOURCES = filter/lightgraffiti/lightgraffiti.cpp luminance_la_SOURCES = filter/luminance/luminance.c -mask0mate_la_SOURCES = filter/mask0mate/mask0mate.c filter/mask0mate/blur.h +mask0mate_la_SOURCES = filter/mask0mate/mask0mate.c +medians_la_SOURCES = filter/medians/medians.c filter/medians/ctmf.h filter/medians/small_medians.h nervous_la_SOURCES = filter/nervous/nervous.cpp nosync0r_la_SOURCES = filter/nosync0r/nosync0r.cpp partik0l_la_SOURCES = generator/partik0l/partik0l.cpp perspective_la_SOURCES = filter/perspective/perspective.c pixeliz0r_la_SOURCES = filter/pixeliz0r/pixeliz0r.c +posterize_la_SOURCES = filter/posterize/posterize.c pr0be_la_SOURCES = filter/measure/pr0be.c filter/measure/measure.h filter/measure/font2.h pr0file_la_SOURCES = filter/measure/pr0file.c filter/measure/measure.h filter/measure/font2.h primaries_la_SOURCES = filter/primaries/primaries.cpp R_la_SOURCES = filter/RGB/R.c +rgbnoise_la_SOURCES = filter/rgbnoise/rgbnoise.c saturat0r_la_SOURCES = filter/saturat0r/saturat0r.c scanline0r_la_SOURCES = filter/scanline0r/scanline0r.cpp select0r_la_SOURCES = filter/select0r/select0r.c sharpness_la_SOURCES = filter/sharpness/sharpness.c +sigmoidaltransfer_la_SOURCES = filter/sigmoidaltransfer/sigmoidaltransfer.c sobel_la_SOURCES = filter/sobel/sobel.cpp +softglow_la_SOURCES = filter/softglow/softglow.c sopsat_la_SOURCES = filter/sopsat/sopsat.cpp +spillsupress_la_SOURCES = filter/spillsupress/spillsupress.c squareblur_la_SOURCES = filter/squareblur/squareblur.c tehroxx0r_la_SOURCES = filter/tehroxx0r/tehRoxx0r.c threelay0r_la_SOURCES = filter/threelay0r/threelay0r.cpp three_point_balance_la_SOURCES = filter/three_point_balance/three_point_balance.c threshold0r_la_SOURCES = filter/threshold0r/threshold0r.c +timeout_la_SOURCES = filter/timeout/timeout.cpp tint0r_la_SOURCES = filter/tint0r/tint0r.c transparency_la_SOURCES = filter/transparency/transparency.c twolay0r_la_SOURCES = filter/twolay0r/twolay0r.cpp vertigo_la_SOURCES = filter/vertigo/vertigo.c +vignette_la_SOURCES = filter/vignette/vignette.cpp # # GENERATORS diff --git a/src/Makefile.in b/src/Makefile.in index 3189740..eca28f3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,9 +1,8 @@ -# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile.in generated by automake 1.13.1 from Makefile.am. # @configure_input@ -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, -# Inc. +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -26,6 +25,23 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ @@ -47,8 +63,11 @@ @HAVE_GAVL_TRUE@am__append_1 = scale0tilt.la vectorscope.la \ @HAVE_GAVL_TRUE@ rgbparade.la @HAVE_OPENCV_TRUE@am__append_2 = facebl0r.la facedetect.la +@HAVE_CAIRO_TRUE@am__append_3 = cairogradient.la cairoimagegrid.la \ +@HAVE_CAIRO_TRUE@ cairoaffineblend.la cairoblend.la subdir = src -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/depcomp ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ @@ -81,17 +100,30 @@ am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } am__installdirs = "$(DESTDIR)$(plugindir)" LTLIBRARIES = $(plugin_LTLIBRARIES) 3dflippo_la_LIBADD = am_3dflippo_la_OBJECTS = 3dflippo.lo 3dflippo_la_OBJECTS = $(am_3dflippo_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = B_la_LIBADD = am_B_la_OBJECTS = B.lo B_la_OBJECTS = $(am_B_la_OBJECTS) G_la_LIBADD = am_G_la_OBJECTS = G.lo G_la_OBJECTS = $(am_G_la_OBJECTS) +IIRblur_la_LIBADD = +am_IIRblur_la_OBJECTS = IIRblur.lo +IIRblur_la_OBJECTS = $(am_IIRblur_la_OBJECTS) R_la_LIBADD = am_R_la_OBJECTS = R.lo R_la_OBJECTS = $(am_R_la_OBJECTS) @@ -155,12 +187,57 @@ c0rners_la_LIBADD = am_c0rners_la_OBJECTS = c0rners.lo c0rners_la_OBJECTS = $(am_c0rners_la_OBJECTS) +cairoaffineblend_la_DEPENDENCIES = +am__cairoaffineblend_la_SOURCES_DIST = \ + mixer2/cairoaffineblend/cairoaffineblend.c +@HAVE_CAIRO_TRUE@am_cairoaffineblend_la_OBJECTS = \ +@HAVE_CAIRO_TRUE@ cairoaffineblend_la-cairoaffineblend.lo +cairoaffineblend_la_OBJECTS = $(am_cairoaffineblend_la_OBJECTS) +cairoaffineblend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(cairoaffineblend_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +@HAVE_CAIRO_TRUE@am_cairoaffineblend_la_rpath = -rpath $(plugindir) +cairoblend_la_DEPENDENCIES = +am__cairoblend_la_SOURCES_DIST = mixer2/cairoblend/cairoblend.c +@HAVE_CAIRO_TRUE@am_cairoblend_la_OBJECTS = \ +@HAVE_CAIRO_TRUE@ cairoblend_la-cairoblend.lo +cairoblend_la_OBJECTS = $(am_cairoblend_la_OBJECTS) +cairoblend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cairoblend_la_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +@HAVE_CAIRO_TRUE@am_cairoblend_la_rpath = -rpath $(plugindir) +cairogradient_la_DEPENDENCIES = +am__cairogradient_la_SOURCES_DIST = \ + filter/cairogradient/cairogradient.c +@HAVE_CAIRO_TRUE@am_cairogradient_la_OBJECTS = \ +@HAVE_CAIRO_TRUE@ cairogradient_la-cairogradient.lo +cairogradient_la_OBJECTS = $(am_cairogradient_la_OBJECTS) +cairogradient_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(cairogradient_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +@HAVE_CAIRO_TRUE@am_cairogradient_la_rpath = -rpath $(plugindir) +cairoimagegrid_la_DEPENDENCIES = +am__cairoimagegrid_la_SOURCES_DIST = \ + filter/cairoimagegrid/cairoimagegrid.c +@HAVE_CAIRO_TRUE@am_cairoimagegrid_la_OBJECTS = \ +@HAVE_CAIRO_TRUE@ cairoimagegrid_la-cairoimagegrid.lo +cairoimagegrid_la_OBJECTS = $(am_cairoimagegrid_la_OBJECTS) +cairoimagegrid_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(cairoimagegrid_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +@HAVE_CAIRO_TRUE@am_cairoimagegrid_la_rpath = -rpath $(plugindir) cartoon_la_LIBADD = am_cartoon_la_OBJECTS = cartoon.lo cartoon_la_OBJECTS = $(am_cartoon_la_OBJECTS) cluster_la_LIBADD = am_cluster_la_OBJECTS = cluster.lo cluster_la_OBJECTS = $(am_cluster_la_OBJECTS) +colgate_la_LIBADD = +am_colgate_la_OBJECTS = colgate.lo +colgate_la_OBJECTS = $(am_colgate_la_OBJECTS) color_only_la_LIBADD = am_color_only_la_OBJECTS = color_only.lo color_only_la_OBJECTS = $(am_color_only_la_OBJECTS) @@ -170,6 +247,15 @@ colordistance_la_LIBADD = am_colordistance_la_OBJECTS = colordistance.lo colordistance_la_OBJECTS = $(am_colordistance_la_OBJECTS) +colorhalftone_la_LIBADD = +am_colorhalftone_la_OBJECTS = colorhalftone.lo +colorhalftone_la_OBJECTS = $(am_colorhalftone_la_OBJECTS) +colorize_la_LIBADD = +am_colorize_la_OBJECTS = colorize.lo +colorize_la_OBJECTS = $(am_colorize_la_OBJECTS) +colortap_la_LIBADD = +am_colortap_la_OBJECTS = colortap.lo +colortap_la_OBJECTS = $(am_colortap_la_OBJECTS) composition_la_LIBADD = am_composition_la_OBJECTS = composition.lo composition_la_OBJECTS = $(am_composition_la_OBJECTS) @@ -200,6 +286,9 @@ distort0r_la_LIBADD = am_distort0r_la_OBJECTS = distort0r.lo distort0r_la_OBJECTS = $(am_distort0r_la_OBJECTS) +dither_la_LIBADD = +am_dither_la_OBJECTS = dither.lo +dither_la_OBJECTS = $(am_dither_la_OBJECTS) divide_la_LIBADD = am_divide_la_OBJECTS = divide.lo divide_la_OBJECTS = $(am_divide_la_OBJECTS) @@ -209,6 +298,9 @@ edgeglow_la_LIBADD = am_edgeglow_la_OBJECTS = edgeglow.lo edgeglow_la_OBJECTS = $(am_edgeglow_la_OBJECTS) +emboss_la_LIBADD = +am_emboss_la_OBJECTS = emboss.lo +emboss_la_OBJECTS = $(am_emboss_la_OBJECTS) equaliz0r_la_LIBADD = am_equaliz0r_la_OBJECTS = equaliz0r.lo equaliz0r_la_OBJECTS = $(am_equaliz0r_la_OBJECTS) @@ -255,6 +347,9 @@ ising0r_la_LIBADD = am_ising0r_la_OBJECTS = ising0r.lo ising0r_la_OBJECTS = $(am_ising0r_la_OBJECTS) +keyspillm0pup_la_LIBADD = +am_keyspillm0pup_la_OBJECTS = keyspillm0pup.lo +keyspillm0pup_la_OBJECTS = $(am_keyspillm0pup_la_OBJECTS) lenscorrection_la_LIBADD = am_lenscorrection_la_OBJECTS = lenscorrection.lo lenscorrection_la_OBJECTS = $(am_lenscorrection_la_OBJECTS) @@ -279,6 +374,9 @@ mask0mate_la_LIBADD = am_mask0mate_la_OBJECTS = mask0mate.lo mask0mate_la_OBJECTS = $(am_mask0mate_la_OBJECTS) +medians_la_LIBADD = +am_medians_la_OBJECTS = medians.lo +medians_la_OBJECTS = $(am_medians_la_OBJECTS) multiply_la_LIBADD = am_multiply_la_OBJECTS = multiply.lo multiply_la_OBJECTS = $(am_multiply_la_OBJECTS) @@ -309,6 +407,9 @@ plasma_la_LIBADD = am_plasma_la_OBJECTS = plasma.lo plasma_la_OBJECTS = $(am_plasma_la_OBJECTS) +posterize_la_LIBADD = +am_posterize_la_OBJECTS = posterize.lo +posterize_la_OBJECTS = $(am_posterize_la_OBJECTS) pr0be_la_LIBADD = am_pr0be_la_OBJECTS = pr0be.lo pr0be_la_OBJECTS = $(am_pr0be_la_OBJECTS) @@ -318,12 +419,15 @@ primaries_la_LIBADD = am_primaries_la_OBJECTS = primaries.lo primaries_la_OBJECTS = $(am_primaries_la_OBJECTS) +rgbnoise_la_LIBADD = +am_rgbnoise_la_OBJECTS = rgbnoise.lo +rgbnoise_la_OBJECTS = $(am_rgbnoise_la_OBJECTS) rgbparade_la_DEPENDENCIES = am__rgbparade_la_SOURCES_DIST = filter/rgbparade/rgbparade.c \ filter/rgbparade/rgbparade_image.h @HAVE_GAVL_TRUE@am_rgbparade_la_OBJECTS = rgbparade_la-rgbparade.lo rgbparade_la_OBJECTS = $(am_rgbparade_la_OBJECTS) -rgbparade_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ +rgbparade_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(rgbparade_la_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ @HAVE_GAVL_TRUE@am_rgbparade_la_rpath = -rpath $(plugindir) @@ -338,7 +442,7 @@ @HAVE_GAVL_TRUE@am_scale0tilt_la_OBJECTS = \ @HAVE_GAVL_TRUE@ scale0tilt_la-scale0tilt.lo scale0tilt_la_OBJECTS = $(am_scale0tilt_la_OBJECTS) -scale0tilt_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ +scale0tilt_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(scale0tilt_la_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ @HAVE_GAVL_TRUE@am_scale0tilt_la_rpath = -rpath $(plugindir) @@ -354,15 +458,24 @@ sharpness_la_LIBADD = am_sharpness_la_OBJECTS = sharpness.lo sharpness_la_OBJECTS = $(am_sharpness_la_OBJECTS) +sigmoidaltransfer_la_LIBADD = +am_sigmoidaltransfer_la_OBJECTS = sigmoidaltransfer.lo +sigmoidaltransfer_la_OBJECTS = $(am_sigmoidaltransfer_la_OBJECTS) sobel_la_LIBADD = am_sobel_la_OBJECTS = sobel.lo sobel_la_OBJECTS = $(am_sobel_la_OBJECTS) +softglow_la_LIBADD = +am_softglow_la_OBJECTS = softglow.lo +softglow_la_OBJECTS = $(am_softglow_la_OBJECTS) softlight_la_LIBADD = am_softlight_la_OBJECTS = softlight.lo softlight_la_OBJECTS = $(am_softlight_la_OBJECTS) sopsat_la_LIBADD = am_sopsat_la_OBJECTS = sopsat.lo sopsat_la_OBJECTS = $(am_sopsat_la_OBJECTS) +spillsupress_la_LIBADD = +am_spillsupress_la_OBJECTS = spillsupress.lo +spillsupress_la_OBJECTS = $(am_spillsupress_la_OBJECTS) squareblur_la_LIBADD = am_squareblur_la_OBJECTS = squareblur.lo squareblur_la_OBJECTS = $(am_squareblur_la_OBJECTS) @@ -399,6 +512,9 @@ threshold0r_la_LIBADD = am_threshold0r_la_OBJECTS = threshold0r.lo threshold0r_la_OBJECTS = $(am_threshold0r_la_OBJECTS) +timeout_la_LIBADD = +am_timeout_la_OBJECTS = timeout.lo +timeout_la_OBJECTS = $(am_timeout_la_OBJECTS) tint0r_la_LIBADD = am_tint0r_la_OBJECTS = tint0r.lo tint0r_la_OBJECTS = $(am_tint0r_la_OBJECTS) @@ -420,151 +536,232 @@ @HAVE_GAVL_TRUE@am_vectorscope_la_OBJECTS = \ @HAVE_GAVL_TRUE@ vectorscope_la-vectorscope.lo vectorscope_la_OBJECTS = $(am_vectorscope_la_OBJECTS) -vectorscope_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(vectorscope_la_CFLAGS) \ - $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +vectorscope_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(vectorscope_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ + $@ @HAVE_GAVL_TRUE@am_vectorscope_la_rpath = -rpath $(plugindir) vertigo_la_LIBADD = am_vertigo_la_OBJECTS = vertigo.lo vertigo_la_OBJECTS = $(am_vertigo_la_OBJECTS) +vignette_la_LIBADD = +am_vignette_la_OBJECTS = vignette.lo +vignette_la_OBJECTS = $(am_vignette_la_OBJECTS) xfade0r_la_LIBADD = am_xfade0r_la_OBJECTS = xfade0r.lo xfade0r_la_OBJECTS = $(am_xfade0r_la_OBJECTS) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = CCLD = $(CC) -LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = CXXLD = $(CXX) -CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ - $(LDFLAGS) -o $@ +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = SOURCES = $(3dflippo_la_SOURCES) $(B_la_SOURCES) $(G_la_SOURCES) \ - $(R_la_SOURCES) $(RGB_la_SOURCES) $(addition_la_SOURCES) \ - $(addition_alpha_la_SOURCES) $(alpha0ps_la_SOURCES) \ - $(alphaatop_la_SOURCES) $(alphagrad_la_SOURCES) \ - $(alphain_la_SOURCES) $(alphainjection_la_SOURCES) \ - $(alphaout_la_SOURCES) $(alphaover_la_SOURCES) \ - $(alphaspot_la_SOURCES) $(alphaxor_la_SOURCES) \ - $(balanc0r_la_SOURCES) $(baltan_la_SOURCES) \ - $(blend_la_SOURCES) $(bluescreen0r_la_SOURCES) \ - $(brightness_la_SOURCES) $(burn_la_SOURCES) $(bw0r_la_SOURCES) \ - $(c0rners_la_SOURCES) $(cartoon_la_SOURCES) \ - $(cluster_la_SOURCES) $(color_only_la_SOURCES) \ + $(IIRblur_la_SOURCES) $(R_la_SOURCES) $(RGB_la_SOURCES) \ + $(addition_la_SOURCES) $(addition_alpha_la_SOURCES) \ + $(alpha0ps_la_SOURCES) $(alphaatop_la_SOURCES) \ + $(alphagrad_la_SOURCES) $(alphain_la_SOURCES) \ + $(alphainjection_la_SOURCES) $(alphaout_la_SOURCES) \ + $(alphaover_la_SOURCES) $(alphaspot_la_SOURCES) \ + $(alphaxor_la_SOURCES) $(balanc0r_la_SOURCES) \ + $(baltan_la_SOURCES) $(blend_la_SOURCES) \ + $(bluescreen0r_la_SOURCES) $(brightness_la_SOURCES) \ + $(burn_la_SOURCES) $(bw0r_la_SOURCES) $(c0rners_la_SOURCES) \ + $(cairoaffineblend_la_SOURCES) $(cairoblend_la_SOURCES) \ + $(cairogradient_la_SOURCES) $(cairoimagegrid_la_SOURCES) \ + $(cartoon_la_SOURCES) $(cluster_la_SOURCES) \ + $(colgate_la_SOURCES) $(color_only_la_SOURCES) \ $(coloradj_RGB_la_SOURCES) $(colordistance_la_SOURCES) \ - $(composition_la_SOURCES) $(contrast0r_la_SOURCES) \ - $(curves_la_SOURCES) $(d90stairsteppingfix_la_SOURCES) \ - $(darken_la_SOURCES) $(defish0r_la_SOURCES) \ - $(delay0r_la_SOURCES) $(delaygrab_la_SOURCES) \ - $(difference_la_SOURCES) $(distort0r_la_SOURCES) \ + $(colorhalftone_la_SOURCES) $(colorize_la_SOURCES) \ + $(colortap_la_SOURCES) $(composition_la_SOURCES) \ + $(contrast0r_la_SOURCES) $(curves_la_SOURCES) \ + $(d90stairsteppingfix_la_SOURCES) $(darken_la_SOURCES) \ + $(defish0r_la_SOURCES) $(delay0r_la_SOURCES) \ + $(delaygrab_la_SOURCES) $(difference_la_SOURCES) \ + $(distort0r_la_SOURCES) $(dither_la_SOURCES) \ $(divide_la_SOURCES) $(dodge_la_SOURCES) \ - $(edgeglow_la_SOURCES) $(equaliz0r_la_SOURCES) \ - $(facebl0r_la_SOURCES) $(facedetect_la_SOURCES) \ - $(flippo_la_SOURCES) $(gamma_la_SOURCES) $(glow_la_SOURCES) \ + $(edgeglow_la_SOURCES) $(emboss_la_SOURCES) \ + $(equaliz0r_la_SOURCES) $(facebl0r_la_SOURCES) \ + $(facedetect_la_SOURCES) $(flippo_la_SOURCES) \ + $(gamma_la_SOURCES) $(glow_la_SOURCES) \ $(grain_extract_la_SOURCES) $(grain_merge_la_SOURCES) \ $(hardlight_la_SOURCES) $(hqdn3d_la_SOURCES) $(hue_la_SOURCES) \ $(hueshift0r_la_SOURCES) $(invert0r_la_SOURCES) \ - $(ising0r_la_SOURCES) $(lenscorrection_la_SOURCES) \ - $(letterb0xed_la_SOURCES) $(levels_la_SOURCES) \ - $(lighten_la_SOURCES) $(lightgraffiti_la_SOURCES) \ - $(lissajous0r_la_SOURCES) $(luminance_la_SOURCES) \ - $(mask0mate_la_SOURCES) $(multiply_la_SOURCES) \ + $(ising0r_la_SOURCES) $(keyspillm0pup_la_SOURCES) \ + $(lenscorrection_la_SOURCES) $(letterb0xed_la_SOURCES) \ + $(levels_la_SOURCES) $(lighten_la_SOURCES) \ + $(lightgraffiti_la_SOURCES) $(lissajous0r_la_SOURCES) \ + $(luminance_la_SOURCES) $(mask0mate_la_SOURCES) \ + $(medians_la_SOURCES) $(multiply_la_SOURCES) \ $(nervous_la_SOURCES) $(nois0r_la_SOURCES) \ $(nosync0r_la_SOURCES) $(onecol0r_la_SOURCES) \ $(overlay_la_SOURCES) $(partik0l_la_SOURCES) \ $(perspective_la_SOURCES) $(pixeliz0r_la_SOURCES) \ - $(plasma_la_SOURCES) $(pr0be_la_SOURCES) $(pr0file_la_SOURCES) \ - $(primaries_la_SOURCES) $(rgbparade_la_SOURCES) \ - $(saturat0r_la_SOURCES) $(saturation_la_SOURCES) \ - $(scale0tilt_la_SOURCES) $(scanline0r_la_SOURCES) \ - $(screen_la_SOURCES) $(select0r_la_SOURCES) \ - $(sharpness_la_SOURCES) $(sobel_la_SOURCES) \ - $(softlight_la_SOURCES) $(sopsat_la_SOURCES) \ + $(plasma_la_SOURCES) $(posterize_la_SOURCES) \ + $(pr0be_la_SOURCES) $(pr0file_la_SOURCES) \ + $(primaries_la_SOURCES) $(rgbnoise_la_SOURCES) \ + $(rgbparade_la_SOURCES) $(saturat0r_la_SOURCES) \ + $(saturation_la_SOURCES) $(scale0tilt_la_SOURCES) \ + $(scanline0r_la_SOURCES) $(screen_la_SOURCES) \ + $(select0r_la_SOURCES) $(sharpness_la_SOURCES) \ + $(sigmoidaltransfer_la_SOURCES) $(sobel_la_SOURCES) \ + $(softglow_la_SOURCES) $(softlight_la_SOURCES) \ + $(sopsat_la_SOURCES) $(spillsupress_la_SOURCES) \ $(squareblur_la_SOURCES) $(subtract_la_SOURCES) \ $(tehroxx0r_la_SOURCES) $(test_pat_B_la_SOURCES) \ $(test_pat_C_la_SOURCES) $(test_pat_G_la_SOURCES) \ $(test_pat_I_la_SOURCES) $(test_pat_L_la_SOURCES) \ $(test_pat_R_la_SOURCES) $(three_point_balance_la_SOURCES) \ $(threelay0r_la_SOURCES) $(threshold0r_la_SOURCES) \ - $(tint0r_la_SOURCES) $(transparency_la_SOURCES) \ - $(twolay0r_la_SOURCES) $(uvmap_la_SOURCES) $(value_la_SOURCES) \ + $(timeout_la_SOURCES) $(tint0r_la_SOURCES) \ + $(transparency_la_SOURCES) $(twolay0r_la_SOURCES) \ + $(uvmap_la_SOURCES) $(value_la_SOURCES) \ $(vectorscope_la_SOURCES) $(vertigo_la_SOURCES) \ - $(xfade0r_la_SOURCES) + $(vignette_la_SOURCES) $(xfade0r_la_SOURCES) DIST_SOURCES = $(3dflippo_la_SOURCES) $(B_la_SOURCES) $(G_la_SOURCES) \ - $(R_la_SOURCES) $(RGB_la_SOURCES) $(addition_la_SOURCES) \ - $(addition_alpha_la_SOURCES) $(alpha0ps_la_SOURCES) \ - $(alphaatop_la_SOURCES) $(alphagrad_la_SOURCES) \ - $(alphain_la_SOURCES) $(alphainjection_la_SOURCES) \ - $(alphaout_la_SOURCES) $(alphaover_la_SOURCES) \ - $(alphaspot_la_SOURCES) $(alphaxor_la_SOURCES) \ - $(balanc0r_la_SOURCES) $(baltan_la_SOURCES) \ - $(blend_la_SOURCES) $(bluescreen0r_la_SOURCES) \ - $(brightness_la_SOURCES) $(burn_la_SOURCES) $(bw0r_la_SOURCES) \ - $(c0rners_la_SOURCES) $(cartoon_la_SOURCES) \ - $(cluster_la_SOURCES) $(color_only_la_SOURCES) \ - $(coloradj_RGB_la_SOURCES) $(colordistance_la_SOURCES) \ + $(IIRblur_la_SOURCES) $(R_la_SOURCES) $(RGB_la_SOURCES) \ + $(addition_la_SOURCES) $(addition_alpha_la_SOURCES) \ + $(alpha0ps_la_SOURCES) $(alphaatop_la_SOURCES) \ + $(alphagrad_la_SOURCES) $(alphain_la_SOURCES) \ + $(alphainjection_la_SOURCES) $(alphaout_la_SOURCES) \ + $(alphaover_la_SOURCES) $(alphaspot_la_SOURCES) \ + $(alphaxor_la_SOURCES) $(balanc0r_la_SOURCES) \ + $(baltan_la_SOURCES) $(blend_la_SOURCES) \ + $(bluescreen0r_la_SOURCES) $(brightness_la_SOURCES) \ + $(burn_la_SOURCES) $(bw0r_la_SOURCES) $(c0rners_la_SOURCES) \ + $(am__cairoaffineblend_la_SOURCES_DIST) \ + $(am__cairoblend_la_SOURCES_DIST) \ + $(am__cairogradient_la_SOURCES_DIST) \ + $(am__cairoimagegrid_la_SOURCES_DIST) $(cartoon_la_SOURCES) \ + $(cluster_la_SOURCES) $(colgate_la_SOURCES) \ + $(color_only_la_SOURCES) $(coloradj_RGB_la_SOURCES) \ + $(colordistance_la_SOURCES) $(colorhalftone_la_SOURCES) \ + $(colorize_la_SOURCES) $(colortap_la_SOURCES) \ $(composition_la_SOURCES) $(contrast0r_la_SOURCES) \ $(curves_la_SOURCES) $(d90stairsteppingfix_la_SOURCES) \ $(darken_la_SOURCES) $(defish0r_la_SOURCES) \ $(delay0r_la_SOURCES) $(delaygrab_la_SOURCES) \ $(difference_la_SOURCES) $(distort0r_la_SOURCES) \ - $(divide_la_SOURCES) $(dodge_la_SOURCES) \ - $(edgeglow_la_SOURCES) $(equaliz0r_la_SOURCES) \ - $(am__facebl0r_la_SOURCES_DIST) \ + $(dither_la_SOURCES) $(divide_la_SOURCES) $(dodge_la_SOURCES) \ + $(edgeglow_la_SOURCES) $(emboss_la_SOURCES) \ + $(equaliz0r_la_SOURCES) $(am__facebl0r_la_SOURCES_DIST) \ $(am__facedetect_la_SOURCES_DIST) $(flippo_la_SOURCES) \ $(gamma_la_SOURCES) $(glow_la_SOURCES) \ $(grain_extract_la_SOURCES) $(grain_merge_la_SOURCES) \ $(hardlight_la_SOURCES) $(hqdn3d_la_SOURCES) $(hue_la_SOURCES) \ $(hueshift0r_la_SOURCES) $(invert0r_la_SOURCES) \ - $(ising0r_la_SOURCES) $(lenscorrection_la_SOURCES) \ - $(letterb0xed_la_SOURCES) $(levels_la_SOURCES) \ - $(lighten_la_SOURCES) $(lightgraffiti_la_SOURCES) \ - $(lissajous0r_la_SOURCES) $(luminance_la_SOURCES) \ - $(mask0mate_la_SOURCES) $(multiply_la_SOURCES) \ + $(ising0r_la_SOURCES) $(keyspillm0pup_la_SOURCES) \ + $(lenscorrection_la_SOURCES) $(letterb0xed_la_SOURCES) \ + $(levels_la_SOURCES) $(lighten_la_SOURCES) \ + $(lightgraffiti_la_SOURCES) $(lissajous0r_la_SOURCES) \ + $(luminance_la_SOURCES) $(mask0mate_la_SOURCES) \ + $(medians_la_SOURCES) $(multiply_la_SOURCES) \ $(nervous_la_SOURCES) $(nois0r_la_SOURCES) \ $(nosync0r_la_SOURCES) $(onecol0r_la_SOURCES) \ $(overlay_la_SOURCES) $(partik0l_la_SOURCES) \ $(perspective_la_SOURCES) $(pixeliz0r_la_SOURCES) \ - $(plasma_la_SOURCES) $(pr0be_la_SOURCES) $(pr0file_la_SOURCES) \ - $(primaries_la_SOURCES) $(am__rgbparade_la_SOURCES_DIST) \ - $(saturat0r_la_SOURCES) $(saturation_la_SOURCES) \ - $(am__scale0tilt_la_SOURCES_DIST) $(scanline0r_la_SOURCES) \ - $(screen_la_SOURCES) $(select0r_la_SOURCES) \ - $(sharpness_la_SOURCES) $(sobel_la_SOURCES) \ - $(softlight_la_SOURCES) $(sopsat_la_SOURCES) \ + $(plasma_la_SOURCES) $(posterize_la_SOURCES) \ + $(pr0be_la_SOURCES) $(pr0file_la_SOURCES) \ + $(primaries_la_SOURCES) $(rgbnoise_la_SOURCES) \ + $(am__rgbparade_la_SOURCES_DIST) $(saturat0r_la_SOURCES) \ + $(saturation_la_SOURCES) $(am__scale0tilt_la_SOURCES_DIST) \ + $(scanline0r_la_SOURCES) $(screen_la_SOURCES) \ + $(select0r_la_SOURCES) $(sharpness_la_SOURCES) \ + $(sigmoidaltransfer_la_SOURCES) $(sobel_la_SOURCES) \ + $(softglow_la_SOURCES) $(softlight_la_SOURCES) \ + $(sopsat_la_SOURCES) $(spillsupress_la_SOURCES) \ $(squareblur_la_SOURCES) $(subtract_la_SOURCES) \ $(tehroxx0r_la_SOURCES) $(test_pat_B_la_SOURCES) \ $(test_pat_C_la_SOURCES) $(test_pat_G_la_SOURCES) \ $(test_pat_I_la_SOURCES) $(test_pat_L_la_SOURCES) \ $(test_pat_R_la_SOURCES) $(three_point_balance_la_SOURCES) \ $(threelay0r_la_SOURCES) $(threshold0r_la_SOURCES) \ - $(tint0r_la_SOURCES) $(transparency_la_SOURCES) \ - $(twolay0r_la_SOURCES) $(uvmap_la_SOURCES) $(value_la_SOURCES) \ + $(timeout_la_SOURCES) $(tint0r_la_SOURCES) \ + $(transparency_la_SOURCES) $(twolay0r_la_SOURCES) \ + $(uvmap_la_SOURCES) $(value_la_SOURCES) \ $(am__vectorscope_la_SOURCES_DIST) $(vertigo_la_SOURCES) \ - $(xfade0r_la_SOURCES) + $(vignette_la_SOURCES) $(xfade0r_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +CAIRO_CFLAGS = @CAIRO_CFLAGS@ +CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ @@ -577,6 +774,7 @@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ DOXYGEN = @DOXYGEN@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ @@ -604,6 +802,7 @@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ @@ -636,6 +835,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ @@ -669,7 +869,6 @@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ -lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ @@ -690,25 +889,29 @@ alphainjection.la alphaout.la alphaover.la alphaspot.la \ alphaxor.la B.la balanc0r.la baltan.la blend.la \ bluescreen0r.la brightness.la burn.la bw0r.la c0rners.la \ - cartoon.la cluster.la coloradj_RGB.la colordistance.la \ + cartoon.la cluster.la colgate.la coloradj_RGB.la \ + colordistance.la colorhalftone.la colorize.la colortap.la \ color_only.la composition.la contrast0r.la curves.la \ d90stairsteppingfix.la darken.la defish0r.la delay0r.la \ - delaygrab.la difference.la distort0r.la divide.la dodge.la \ - edgeglow.la equaliz0r.la flippo.la G.la gamma.la glow.la \ - grain_extract.la grain_merge.la hardlight.la hqdn3d.la hue.la \ - hueshift0r.la invert0r.la ising0r.la lenscorrection.la \ - letterb0xed.la levels.la lighten.la lightgraffiti.la \ - lissajous0r.la luminance.la mask0mate.la multiply.la \ - nervous.la nois0r.la nosync0r.la onecol0r.la overlay.la \ - partik0l.la perspective.la pixeliz0r.la plasma.la pr0be.la \ - pr0file.la primaries.la R.la RGB.la saturation.la saturat0r.la \ - scanline0r.la screen.la select0r.la sharpness.la sobel.la \ - softlight.la sopsat.la squareblur.la subtract.la tehroxx0r.la \ - test_pat_B.la test_pat_C.la test_pat_G.la test_pat_I.la \ - test_pat_L.la test_pat_R.la three_point_balance.la \ - threshold0r.la threelay0r.la tint0r.la transparency.la \ - twolay0r.la uvmap.la value.la vertigo.la xfade0r.la \ - $(am__append_1) $(am__append_2) + delaygrab.la difference.la distort0r.la dither.la divide.la \ + dodge.la edgeglow.la emboss.la equaliz0r.la flippo.la G.la \ + gamma.la glow.la grain_extract.la grain_merge.la hardlight.la \ + hqdn3d.la hue.la hueshift0r.la IIRblur.la invert0r.la \ + ising0r.la keyspillm0pup.la lenscorrection.la letterb0xed.la \ + levels.la lighten.la lightgraffiti.la lissajous0r.la \ + luminance.la mask0mate.la medians.la multiply.la nervous.la \ + nois0r.la nosync0r.la onecol0r.la overlay.la partik0l.la \ + perspective.la pixeliz0r.la plasma.la posterize.la pr0be.la \ + pr0file.la primaries.la R.la RGB.la rgbnoise.la saturation.la \ + saturat0r.la scanline0r.la screen.la select0r.la sharpness.la \ + sigmoidaltransfer.la sobel.la softglow.la softlight.la \ + sopsat.la spillsupress.la squareblur.la subtract.la \ + tehroxx0r.la test_pat_B.la test_pat_C.la test_pat_G.la \ + test_pat_I.la test_pat_L.la test_pat_R.la \ + three_point_balance.la threshold0r.la threelay0r.la timeout.la \ + tint0r.la transparency.la twolay0r.la uvmap.la value.la \ + vertigo.la vignette.la xfade0r.la $(am__append_1) \ + $(am__append_2) $(am__append_3) @HAVE_GAVL_TRUE@scale0tilt_la_SOURCES = filter/scale0tilt/scale0tilt.c @HAVE_GAVL_TRUE@scale0tilt_la_CFLAGS = @GAVL_CFLAGS@ @CFLAGS@ @HAVE_GAVL_TRUE@scale0tilt_la_LIBADD = @GAVL_LIBS@ @@ -724,12 +927,24 @@ @HAVE_OPENCV_TRUE@facedetect_la_SOURCES = filter/facedetect/facedetect.cpp @HAVE_OPENCV_TRUE@facedetect_la_CFLAGS = @OPENCV_CFLAGS@ @CFLAGS@ @HAVE_OPENCV_TRUE@facedetect_la_LIBADD = @OPENCV_LIBS@ +@HAVE_CAIRO_TRUE@cairogradient_la_SOURCES = filter/cairogradient/cairogradient.c +@HAVE_CAIRO_TRUE@cairogradient_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +@HAVE_CAIRO_TRUE@cairogradient_la_LIBADD = @CAIRO_LIBS@ +@HAVE_CAIRO_TRUE@cairoimagegrid_la_SOURCES = filter/cairoimagegrid/cairoimagegrid.c +@HAVE_CAIRO_TRUE@cairoimagegrid_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +@HAVE_CAIRO_TRUE@cairoimagegrid_la_LIBADD = @CAIRO_LIBS@ +@HAVE_CAIRO_TRUE@cairoaffineblend_la_SOURCES = mixer2/cairoaffineblend/cairoaffineblend.c +@HAVE_CAIRO_TRUE@cairoaffineblend_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +@HAVE_CAIRO_TRUE@cairoaffineblend_la_LIBADD = @CAIRO_LIBS@ +@HAVE_CAIRO_TRUE@cairoblend_la_SOURCES = mixer2/cairoblend/cairoblend.c +@HAVE_CAIRO_TRUE@cairoblend_la_CFLAGS = @CAIRO_CFLAGS@ @CFLAGS@ +@HAVE_CAIRO_TRUE@cairoblend_la_LIBADD = @CAIRO_LIBS@ # # FILTERS # 3dflippo_la_SOURCES = filter/3dflippo/3dflippo.c -alpha0ps_la_SOURCES = filter/alpha0ps/alpha0ps.c +alpha0ps_la_SOURCES = filter/alpha0ps/alpha0ps.c filter/alpha0ps/fibe_f.h alphagrad_la_SOURCES = filter/alpha0ps/alphagrad.c alphaspot_la_SOURCES = filter/alpha0ps/alphaspot.c B_la_SOURCES = filter/RGB/B.c @@ -741,8 +956,12 @@ c0rners_la_SOURCES = filter/c0rners/c0rners.c filter/c0rners/interp.h cartoon_la_SOURCES = filter/cartoon/cartoon.cpp cluster_la_SOURCES = filter/cluster/cluster.c +colgate_la_SOURCES = filter/colgate/colgate.c coloradj_RGB_la_SOURCES = filter/coloradj/coloradj_RGB.c colordistance_la_SOURCES = filter/colordistance/colordistance.c +colorhalftone_la_SOURCES = filter/colorhalftone/colorhalftone.c +colorize_la_SOURCES = filter/colorize/colorize.c +colortap_la_SOURCES = filter/colortap/colortap.c contrast0r_la_SOURCES = filter/contrast0r/contrast0r.c curves_la_SOURCES = filter/curves/curves.c d90stairsteppingfix_la_SOURCES = filter/d90stairsteppingfix/d90stairsteppingfix.cpp @@ -750,45 +969,57 @@ delay0r_la_SOURCES = filter/delay0r/delay0r.cpp delaygrab_la_SOURCES = filter/delaygrab/delaygrab.cpp distort0r_la_SOURCES = filter/distort0r/distort0r.c +dither_la_SOURCES = filter/dither/dither.c edgeglow_la_SOURCES = filter/edgeglow/edgeglow.cpp +emboss_la_SOURCES = filter/emboss/emboss.c equaliz0r_la_SOURCES = filter/equaliz0r/equaliz0r.cpp flippo_la_SOURCES = filter/flippo/flippo.c G_la_SOURCES = filter/RGB/G.c gamma_la_SOURCES = filter/gamma/gamma.c -glow_la_SOURCES = filter/glow/glow.c filter/glow/blur.h +glow_la_SOURCES = filter/glow/glow.c hqdn3d_la_SOURCES = filter/denoise/hqdn3d.c hueshift0r_la_SOURCES = filter/hueshift0r/hueshift0r.c filter/hueshift0r/matrix.h +IIRblur_la_SOURCES = filter/blur/IIRblur.c filter/blur/fibe.h invert0r_la_SOURCES = filter/invert0r/invert0r.c +keyspillm0pup_la_SOURCES = filter/keyspillm0pup/keyspillm0pup.c lenscorrection_la_SOURCES = filter/lenscorrection/lenscorrection.c letterb0xed_la_SOURCES = filter/letterb0xed/letterb0xed.c levels_la_SOURCES = filter/levels/levels.c lightgraffiti_la_SOURCES = filter/lightgraffiti/lightgraffiti.cpp luminance_la_SOURCES = filter/luminance/luminance.c -mask0mate_la_SOURCES = filter/mask0mate/mask0mate.c filter/mask0mate/blur.h +mask0mate_la_SOURCES = filter/mask0mate/mask0mate.c +medians_la_SOURCES = filter/medians/medians.c filter/medians/ctmf.h filter/medians/small_medians.h nervous_la_SOURCES = filter/nervous/nervous.cpp nosync0r_la_SOURCES = filter/nosync0r/nosync0r.cpp partik0l_la_SOURCES = generator/partik0l/partik0l.cpp perspective_la_SOURCES = filter/perspective/perspective.c pixeliz0r_la_SOURCES = filter/pixeliz0r/pixeliz0r.c +posterize_la_SOURCES = filter/posterize/posterize.c pr0be_la_SOURCES = filter/measure/pr0be.c filter/measure/measure.h filter/measure/font2.h pr0file_la_SOURCES = filter/measure/pr0file.c filter/measure/measure.h filter/measure/font2.h primaries_la_SOURCES = filter/primaries/primaries.cpp R_la_SOURCES = filter/RGB/R.c +rgbnoise_la_SOURCES = filter/rgbnoise/rgbnoise.c saturat0r_la_SOURCES = filter/saturat0r/saturat0r.c scanline0r_la_SOURCES = filter/scanline0r/scanline0r.cpp select0r_la_SOURCES = filter/select0r/select0r.c sharpness_la_SOURCES = filter/sharpness/sharpness.c +sigmoidaltransfer_la_SOURCES = filter/sigmoidaltransfer/sigmoidaltransfer.c sobel_la_SOURCES = filter/sobel/sobel.cpp +softglow_la_SOURCES = filter/softglow/softglow.c sopsat_la_SOURCES = filter/sopsat/sopsat.cpp +spillsupress_la_SOURCES = filter/spillsupress/spillsupress.c squareblur_la_SOURCES = filter/squareblur/squareblur.c tehroxx0r_la_SOURCES = filter/tehroxx0r/tehRoxx0r.c threelay0r_la_SOURCES = filter/threelay0r/threelay0r.cpp three_point_balance_la_SOURCES = filter/three_point_balance/three_point_balance.c threshold0r_la_SOURCES = filter/threshold0r/threshold0r.c +timeout_la_SOURCES = filter/timeout/timeout.cpp tint0r_la_SOURCES = filter/tint0r/tint0r.c transparency_la_SOURCES = filter/transparency/transparency.c twolay0r_la_SOURCES = filter/twolay0r/twolay0r.cpp vertigo_la_SOURCES = filter/vertigo/vertigo.c +vignette_la_SOURCES = filter/vignette/vignette.cpp # # GENERATORS @@ -881,228 +1112,270 @@ clean-pluginLTLIBRARIES: -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) - @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" != "$$p" || dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -3dflippo.la: $(3dflippo_la_OBJECTS) $(3dflippo_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(3dflippo_la_OBJECTS) $(3dflippo_la_LIBADD) $(LIBS) -B.la: $(B_la_OBJECTS) $(B_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(B_la_OBJECTS) $(B_la_LIBADD) $(LIBS) -G.la: $(G_la_OBJECTS) $(G_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(G_la_OBJECTS) $(G_la_LIBADD) $(LIBS) -R.la: $(R_la_OBJECTS) $(R_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(R_la_OBJECTS) $(R_la_LIBADD) $(LIBS) -RGB.la: $(RGB_la_OBJECTS) $(RGB_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(RGB_la_OBJECTS) $(RGB_la_LIBADD) $(LIBS) -addition.la: $(addition_la_OBJECTS) $(addition_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(addition_la_OBJECTS) $(addition_la_LIBADD) $(LIBS) -addition_alpha.la: $(addition_alpha_la_OBJECTS) $(addition_alpha_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(addition_alpha_la_OBJECTS) $(addition_alpha_la_LIBADD) $(LIBS) -alpha0ps.la: $(alpha0ps_la_OBJECTS) $(alpha0ps_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(alpha0ps_la_OBJECTS) $(alpha0ps_la_LIBADD) $(LIBS) -alphaatop.la: $(alphaatop_la_OBJECTS) $(alphaatop_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(alphaatop_la_OBJECTS) $(alphaatop_la_LIBADD) $(LIBS) -alphagrad.la: $(alphagrad_la_OBJECTS) $(alphagrad_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(alphagrad_la_OBJECTS) $(alphagrad_la_LIBADD) $(LIBS) -alphain.la: $(alphain_la_OBJECTS) $(alphain_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(alphain_la_OBJECTS) $(alphain_la_LIBADD) $(LIBS) -alphainjection.la: $(alphainjection_la_OBJECTS) $(alphainjection_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(alphainjection_la_OBJECTS) $(alphainjection_la_LIBADD) $(LIBS) -alphaout.la: $(alphaout_la_OBJECTS) $(alphaout_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(alphaout_la_OBJECTS) $(alphaout_la_LIBADD) $(LIBS) -alphaover.la: $(alphaover_la_OBJECTS) $(alphaover_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(alphaover_la_OBJECTS) $(alphaover_la_LIBADD) $(LIBS) -alphaspot.la: $(alphaspot_la_OBJECTS) $(alphaspot_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(alphaspot_la_OBJECTS) $(alphaspot_la_LIBADD) $(LIBS) -alphaxor.la: $(alphaxor_la_OBJECTS) $(alphaxor_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(alphaxor_la_OBJECTS) $(alphaxor_la_LIBADD) $(LIBS) -balanc0r.la: $(balanc0r_la_OBJECTS) $(balanc0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(balanc0r_la_OBJECTS) $(balanc0r_la_LIBADD) $(LIBS) -baltan.la: $(baltan_la_OBJECTS) $(baltan_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(baltan_la_OBJECTS) $(baltan_la_LIBADD) $(LIBS) -blend.la: $(blend_la_OBJECTS) $(blend_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(blend_la_OBJECTS) $(blend_la_LIBADD) $(LIBS) -bluescreen0r.la: $(bluescreen0r_la_OBJECTS) $(bluescreen0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(bluescreen0r_la_OBJECTS) $(bluescreen0r_la_LIBADD) $(LIBS) -brightness.la: $(brightness_la_OBJECTS) $(brightness_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(brightness_la_OBJECTS) $(brightness_la_LIBADD) $(LIBS) -burn.la: $(burn_la_OBJECTS) $(burn_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(burn_la_OBJECTS) $(burn_la_LIBADD) $(LIBS) -bw0r.la: $(bw0r_la_OBJECTS) $(bw0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(bw0r_la_OBJECTS) $(bw0r_la_LIBADD) $(LIBS) -c0rners.la: $(c0rners_la_OBJECTS) $(c0rners_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(c0rners_la_OBJECTS) $(c0rners_la_LIBADD) $(LIBS) -cartoon.la: $(cartoon_la_OBJECTS) $(cartoon_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(cartoon_la_OBJECTS) $(cartoon_la_LIBADD) $(LIBS) -cluster.la: $(cluster_la_OBJECTS) $(cluster_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(cluster_la_OBJECTS) $(cluster_la_LIBADD) $(LIBS) -color_only.la: $(color_only_la_OBJECTS) $(color_only_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(color_only_la_OBJECTS) $(color_only_la_LIBADD) $(LIBS) -coloradj_RGB.la: $(coloradj_RGB_la_OBJECTS) $(coloradj_RGB_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(coloradj_RGB_la_OBJECTS) $(coloradj_RGB_la_LIBADD) $(LIBS) -colordistance.la: $(colordistance_la_OBJECTS) $(colordistance_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(colordistance_la_OBJECTS) $(colordistance_la_LIBADD) $(LIBS) -composition.la: $(composition_la_OBJECTS) $(composition_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(composition_la_OBJECTS) $(composition_la_LIBADD) $(LIBS) -contrast0r.la: $(contrast0r_la_OBJECTS) $(contrast0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(contrast0r_la_OBJECTS) $(contrast0r_la_LIBADD) $(LIBS) -curves.la: $(curves_la_OBJECTS) $(curves_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(curves_la_OBJECTS) $(curves_la_LIBADD) $(LIBS) -d90stairsteppingfix.la: $(d90stairsteppingfix_la_OBJECTS) $(d90stairsteppingfix_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(d90stairsteppingfix_la_OBJECTS) $(d90stairsteppingfix_la_LIBADD) $(LIBS) -darken.la: $(darken_la_OBJECTS) $(darken_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(darken_la_OBJECTS) $(darken_la_LIBADD) $(LIBS) -defish0r.la: $(defish0r_la_OBJECTS) $(defish0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(defish0r_la_OBJECTS) $(defish0r_la_LIBADD) $(LIBS) -delay0r.la: $(delay0r_la_OBJECTS) $(delay0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(delay0r_la_OBJECTS) $(delay0r_la_LIBADD) $(LIBS) -delaygrab.la: $(delaygrab_la_OBJECTS) $(delaygrab_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(delaygrab_la_OBJECTS) $(delaygrab_la_LIBADD) $(LIBS) -difference.la: $(difference_la_OBJECTS) $(difference_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(difference_la_OBJECTS) $(difference_la_LIBADD) $(LIBS) -distort0r.la: $(distort0r_la_OBJECTS) $(distort0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(distort0r_la_OBJECTS) $(distort0r_la_LIBADD) $(LIBS) -divide.la: $(divide_la_OBJECTS) $(divide_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(divide_la_OBJECTS) $(divide_la_LIBADD) $(LIBS) -dodge.la: $(dodge_la_OBJECTS) $(dodge_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(dodge_la_OBJECTS) $(dodge_la_LIBADD) $(LIBS) -edgeglow.la: $(edgeglow_la_OBJECTS) $(edgeglow_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(edgeglow_la_OBJECTS) $(edgeglow_la_LIBADD) $(LIBS) -equaliz0r.la: $(equaliz0r_la_OBJECTS) $(equaliz0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(equaliz0r_la_OBJECTS) $(equaliz0r_la_LIBADD) $(LIBS) -facebl0r.la: $(facebl0r_la_OBJECTS) $(facebl0r_la_DEPENDENCIES) - $(CXXLINK) $(am_facebl0r_la_rpath) $(facebl0r_la_OBJECTS) $(facebl0r_la_LIBADD) $(LIBS) -facedetect.la: $(facedetect_la_OBJECTS) $(facedetect_la_DEPENDENCIES) - $(CXXLINK) $(am_facedetect_la_rpath) $(facedetect_la_OBJECTS) $(facedetect_la_LIBADD) $(LIBS) -flippo.la: $(flippo_la_OBJECTS) $(flippo_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(flippo_la_OBJECTS) $(flippo_la_LIBADD) $(LIBS) -gamma.la: $(gamma_la_OBJECTS) $(gamma_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(gamma_la_OBJECTS) $(gamma_la_LIBADD) $(LIBS) -glow.la: $(glow_la_OBJECTS) $(glow_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(glow_la_OBJECTS) $(glow_la_LIBADD) $(LIBS) -grain_extract.la: $(grain_extract_la_OBJECTS) $(grain_extract_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(grain_extract_la_OBJECTS) $(grain_extract_la_LIBADD) $(LIBS) -grain_merge.la: $(grain_merge_la_OBJECTS) $(grain_merge_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(grain_merge_la_OBJECTS) $(grain_merge_la_LIBADD) $(LIBS) -hardlight.la: $(hardlight_la_OBJECTS) $(hardlight_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(hardlight_la_OBJECTS) $(hardlight_la_LIBADD) $(LIBS) -hqdn3d.la: $(hqdn3d_la_OBJECTS) $(hqdn3d_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(hqdn3d_la_OBJECTS) $(hqdn3d_la_LIBADD) $(LIBS) -hue.la: $(hue_la_OBJECTS) $(hue_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(hue_la_OBJECTS) $(hue_la_LIBADD) $(LIBS) -hueshift0r.la: $(hueshift0r_la_OBJECTS) $(hueshift0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(hueshift0r_la_OBJECTS) $(hueshift0r_la_LIBADD) $(LIBS) -invert0r.la: $(invert0r_la_OBJECTS) $(invert0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(invert0r_la_OBJECTS) $(invert0r_la_LIBADD) $(LIBS) -ising0r.la: $(ising0r_la_OBJECTS) $(ising0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(ising0r_la_OBJECTS) $(ising0r_la_LIBADD) $(LIBS) -lenscorrection.la: $(lenscorrection_la_OBJECTS) $(lenscorrection_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(lenscorrection_la_OBJECTS) $(lenscorrection_la_LIBADD) $(LIBS) -letterb0xed.la: $(letterb0xed_la_OBJECTS) $(letterb0xed_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(letterb0xed_la_OBJECTS) $(letterb0xed_la_LIBADD) $(LIBS) -levels.la: $(levels_la_OBJECTS) $(levels_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(levels_la_OBJECTS) $(levels_la_LIBADD) $(LIBS) -lighten.la: $(lighten_la_OBJECTS) $(lighten_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(lighten_la_OBJECTS) $(lighten_la_LIBADD) $(LIBS) -lightgraffiti.la: $(lightgraffiti_la_OBJECTS) $(lightgraffiti_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(lightgraffiti_la_OBJECTS) $(lightgraffiti_la_LIBADD) $(LIBS) -lissajous0r.la: $(lissajous0r_la_OBJECTS) $(lissajous0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(lissajous0r_la_OBJECTS) $(lissajous0r_la_LIBADD) $(LIBS) -luminance.la: $(luminance_la_OBJECTS) $(luminance_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(luminance_la_OBJECTS) $(luminance_la_LIBADD) $(LIBS) -mask0mate.la: $(mask0mate_la_OBJECTS) $(mask0mate_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(mask0mate_la_OBJECTS) $(mask0mate_la_LIBADD) $(LIBS) -multiply.la: $(multiply_la_OBJECTS) $(multiply_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(multiply_la_OBJECTS) $(multiply_la_LIBADD) $(LIBS) -nervous.la: $(nervous_la_OBJECTS) $(nervous_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(nervous_la_OBJECTS) $(nervous_la_LIBADD) $(LIBS) -nois0r.la: $(nois0r_la_OBJECTS) $(nois0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(nois0r_la_OBJECTS) $(nois0r_la_LIBADD) $(LIBS) -nosync0r.la: $(nosync0r_la_OBJECTS) $(nosync0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(nosync0r_la_OBJECTS) $(nosync0r_la_LIBADD) $(LIBS) -onecol0r.la: $(onecol0r_la_OBJECTS) $(onecol0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(onecol0r_la_OBJECTS) $(onecol0r_la_LIBADD) $(LIBS) -overlay.la: $(overlay_la_OBJECTS) $(overlay_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(overlay_la_OBJECTS) $(overlay_la_LIBADD) $(LIBS) -partik0l.la: $(partik0l_la_OBJECTS) $(partik0l_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(partik0l_la_OBJECTS) $(partik0l_la_LIBADD) $(LIBS) -perspective.la: $(perspective_la_OBJECTS) $(perspective_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(perspective_la_OBJECTS) $(perspective_la_LIBADD) $(LIBS) -pixeliz0r.la: $(pixeliz0r_la_OBJECTS) $(pixeliz0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(pixeliz0r_la_OBJECTS) $(pixeliz0r_la_LIBADD) $(LIBS) -plasma.la: $(plasma_la_OBJECTS) $(plasma_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(plasma_la_OBJECTS) $(plasma_la_LIBADD) $(LIBS) -pr0be.la: $(pr0be_la_OBJECTS) $(pr0be_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(pr0be_la_OBJECTS) $(pr0be_la_LIBADD) $(LIBS) -pr0file.la: $(pr0file_la_OBJECTS) $(pr0file_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(pr0file_la_OBJECTS) $(pr0file_la_LIBADD) $(LIBS) -primaries.la: $(primaries_la_OBJECTS) $(primaries_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(primaries_la_OBJECTS) $(primaries_la_LIBADD) $(LIBS) -rgbparade.la: $(rgbparade_la_OBJECTS) $(rgbparade_la_DEPENDENCIES) - $(rgbparade_la_LINK) $(am_rgbparade_la_rpath) $(rgbparade_la_OBJECTS) $(rgbparade_la_LIBADD) $(LIBS) -saturat0r.la: $(saturat0r_la_OBJECTS) $(saturat0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(saturat0r_la_OBJECTS) $(saturat0r_la_LIBADD) $(LIBS) -saturation.la: $(saturation_la_OBJECTS) $(saturation_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(saturation_la_OBJECTS) $(saturation_la_LIBADD) $(LIBS) -scale0tilt.la: $(scale0tilt_la_OBJECTS) $(scale0tilt_la_DEPENDENCIES) - $(scale0tilt_la_LINK) $(am_scale0tilt_la_rpath) $(scale0tilt_la_OBJECTS) $(scale0tilt_la_LIBADD) $(LIBS) -scanline0r.la: $(scanline0r_la_OBJECTS) $(scanline0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(scanline0r_la_OBJECTS) $(scanline0r_la_LIBADD) $(LIBS) -screen.la: $(screen_la_OBJECTS) $(screen_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(screen_la_OBJECTS) $(screen_la_LIBADD) $(LIBS) -select0r.la: $(select0r_la_OBJECTS) $(select0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(select0r_la_OBJECTS) $(select0r_la_LIBADD) $(LIBS) -sharpness.la: $(sharpness_la_OBJECTS) $(sharpness_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(sharpness_la_OBJECTS) $(sharpness_la_LIBADD) $(LIBS) -sobel.la: $(sobel_la_OBJECTS) $(sobel_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(sobel_la_OBJECTS) $(sobel_la_LIBADD) $(LIBS) -softlight.la: $(softlight_la_OBJECTS) $(softlight_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(softlight_la_OBJECTS) $(softlight_la_LIBADD) $(LIBS) -sopsat.la: $(sopsat_la_OBJECTS) $(sopsat_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(sopsat_la_OBJECTS) $(sopsat_la_LIBADD) $(LIBS) -squareblur.la: $(squareblur_la_OBJECTS) $(squareblur_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(squareblur_la_OBJECTS) $(squareblur_la_LIBADD) $(LIBS) -subtract.la: $(subtract_la_OBJECTS) $(subtract_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(subtract_la_OBJECTS) $(subtract_la_LIBADD) $(LIBS) -tehroxx0r.la: $(tehroxx0r_la_OBJECTS) $(tehroxx0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(tehroxx0r_la_OBJECTS) $(tehroxx0r_la_LIBADD) $(LIBS) -test_pat_B.la: $(test_pat_B_la_OBJECTS) $(test_pat_B_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_B_la_OBJECTS) $(test_pat_B_la_LIBADD) $(LIBS) -test_pat_C.la: $(test_pat_C_la_OBJECTS) $(test_pat_C_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_C_la_OBJECTS) $(test_pat_C_la_LIBADD) $(LIBS) -test_pat_G.la: $(test_pat_G_la_OBJECTS) $(test_pat_G_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_G_la_OBJECTS) $(test_pat_G_la_LIBADD) $(LIBS) -test_pat_I.la: $(test_pat_I_la_OBJECTS) $(test_pat_I_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_I_la_OBJECTS) $(test_pat_I_la_LIBADD) $(LIBS) -test_pat_L.la: $(test_pat_L_la_OBJECTS) $(test_pat_L_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_L_la_OBJECTS) $(test_pat_L_la_LIBADD) $(LIBS) -test_pat_R.la: $(test_pat_R_la_OBJECTS) $(test_pat_R_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(test_pat_R_la_OBJECTS) $(test_pat_R_la_LIBADD) $(LIBS) -three_point_balance.la: $(three_point_balance_la_OBJECTS) $(three_point_balance_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(three_point_balance_la_OBJECTS) $(three_point_balance_la_LIBADD) $(LIBS) -threelay0r.la: $(threelay0r_la_OBJECTS) $(threelay0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(threelay0r_la_OBJECTS) $(threelay0r_la_LIBADD) $(LIBS) -threshold0r.la: $(threshold0r_la_OBJECTS) $(threshold0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(threshold0r_la_OBJECTS) $(threshold0r_la_LIBADD) $(LIBS) -tint0r.la: $(tint0r_la_OBJECTS) $(tint0r_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(tint0r_la_OBJECTS) $(tint0r_la_LIBADD) $(LIBS) -transparency.la: $(transparency_la_OBJECTS) $(transparency_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(transparency_la_OBJECTS) $(transparency_la_LIBADD) $(LIBS) -twolay0r.la: $(twolay0r_la_OBJECTS) $(twolay0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(twolay0r_la_OBJECTS) $(twolay0r_la_LIBADD) $(LIBS) -uvmap.la: $(uvmap_la_OBJECTS) $(uvmap_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(uvmap_la_OBJECTS) $(uvmap_la_LIBADD) $(LIBS) -value.la: $(value_la_OBJECTS) $(value_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(value_la_OBJECTS) $(value_la_LIBADD) $(LIBS) -vectorscope.la: $(vectorscope_la_OBJECTS) $(vectorscope_la_DEPENDENCIES) - $(vectorscope_la_LINK) $(am_vectorscope_la_rpath) $(vectorscope_la_OBJECTS) $(vectorscope_la_LIBADD) $(LIBS) -vertigo.la: $(vertigo_la_OBJECTS) $(vertigo_la_DEPENDENCIES) - $(LINK) -rpath $(plugindir) $(vertigo_la_OBJECTS) $(vertigo_la_LIBADD) $(LIBS) -xfade0r.la: $(xfade0r_la_OBJECTS) $(xfade0r_la_DEPENDENCIES) - $(CXXLINK) -rpath $(plugindir) $(xfade0r_la_OBJECTS) $(xfade0r_la_LIBADD) $(LIBS) + @list='$(plugin_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +3dflippo.la: $(3dflippo_la_OBJECTS) $(3dflippo_la_DEPENDENCIES) $(EXTRA_3dflippo_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(3dflippo_la_OBJECTS) $(3dflippo_la_LIBADD) $(LIBS) +B.la: $(B_la_OBJECTS) $(B_la_DEPENDENCIES) $(EXTRA_B_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(B_la_OBJECTS) $(B_la_LIBADD) $(LIBS) +G.la: $(G_la_OBJECTS) $(G_la_DEPENDENCIES) $(EXTRA_G_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(G_la_OBJECTS) $(G_la_LIBADD) $(LIBS) +IIRblur.la: $(IIRblur_la_OBJECTS) $(IIRblur_la_DEPENDENCIES) $(EXTRA_IIRblur_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(IIRblur_la_OBJECTS) $(IIRblur_la_LIBADD) $(LIBS) +R.la: $(R_la_OBJECTS) $(R_la_DEPENDENCIES) $(EXTRA_R_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(R_la_OBJECTS) $(R_la_LIBADD) $(LIBS) +RGB.la: $(RGB_la_OBJECTS) $(RGB_la_DEPENDENCIES) $(EXTRA_RGB_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(RGB_la_OBJECTS) $(RGB_la_LIBADD) $(LIBS) +addition.la: $(addition_la_OBJECTS) $(addition_la_DEPENDENCIES) $(EXTRA_addition_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(addition_la_OBJECTS) $(addition_la_LIBADD) $(LIBS) +addition_alpha.la: $(addition_alpha_la_OBJECTS) $(addition_alpha_la_DEPENDENCIES) $(EXTRA_addition_alpha_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(addition_alpha_la_OBJECTS) $(addition_alpha_la_LIBADD) $(LIBS) +alpha0ps.la: $(alpha0ps_la_OBJECTS) $(alpha0ps_la_DEPENDENCIES) $(EXTRA_alpha0ps_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(alpha0ps_la_OBJECTS) $(alpha0ps_la_LIBADD) $(LIBS) +alphaatop.la: $(alphaatop_la_OBJECTS) $(alphaatop_la_DEPENDENCIES) $(EXTRA_alphaatop_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(alphaatop_la_OBJECTS) $(alphaatop_la_LIBADD) $(LIBS) +alphagrad.la: $(alphagrad_la_OBJECTS) $(alphagrad_la_DEPENDENCIES) $(EXTRA_alphagrad_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(alphagrad_la_OBJECTS) $(alphagrad_la_LIBADD) $(LIBS) +alphain.la: $(alphain_la_OBJECTS) $(alphain_la_DEPENDENCIES) $(EXTRA_alphain_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(alphain_la_OBJECTS) $(alphain_la_LIBADD) $(LIBS) +alphainjection.la: $(alphainjection_la_OBJECTS) $(alphainjection_la_DEPENDENCIES) $(EXTRA_alphainjection_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(alphainjection_la_OBJECTS) $(alphainjection_la_LIBADD) $(LIBS) +alphaout.la: $(alphaout_la_OBJECTS) $(alphaout_la_DEPENDENCIES) $(EXTRA_alphaout_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(alphaout_la_OBJECTS) $(alphaout_la_LIBADD) $(LIBS) +alphaover.la: $(alphaover_la_OBJECTS) $(alphaover_la_DEPENDENCIES) $(EXTRA_alphaover_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(alphaover_la_OBJECTS) $(alphaover_la_LIBADD) $(LIBS) +alphaspot.la: $(alphaspot_la_OBJECTS) $(alphaspot_la_DEPENDENCIES) $(EXTRA_alphaspot_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(alphaspot_la_OBJECTS) $(alphaspot_la_LIBADD) $(LIBS) +alphaxor.la: $(alphaxor_la_OBJECTS) $(alphaxor_la_DEPENDENCIES) $(EXTRA_alphaxor_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(alphaxor_la_OBJECTS) $(alphaxor_la_LIBADD) $(LIBS) +balanc0r.la: $(balanc0r_la_OBJECTS) $(balanc0r_la_DEPENDENCIES) $(EXTRA_balanc0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(balanc0r_la_OBJECTS) $(balanc0r_la_LIBADD) $(LIBS) +baltan.la: $(baltan_la_OBJECTS) $(baltan_la_DEPENDENCIES) $(EXTRA_baltan_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(baltan_la_OBJECTS) $(baltan_la_LIBADD) $(LIBS) +blend.la: $(blend_la_OBJECTS) $(blend_la_DEPENDENCIES) $(EXTRA_blend_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(blend_la_OBJECTS) $(blend_la_LIBADD) $(LIBS) +bluescreen0r.la: $(bluescreen0r_la_OBJECTS) $(bluescreen0r_la_DEPENDENCIES) $(EXTRA_bluescreen0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(bluescreen0r_la_OBJECTS) $(bluescreen0r_la_LIBADD) $(LIBS) +brightness.la: $(brightness_la_OBJECTS) $(brightness_la_DEPENDENCIES) $(EXTRA_brightness_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(brightness_la_OBJECTS) $(brightness_la_LIBADD) $(LIBS) +burn.la: $(burn_la_OBJECTS) $(burn_la_DEPENDENCIES) $(EXTRA_burn_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(burn_la_OBJECTS) $(burn_la_LIBADD) $(LIBS) +bw0r.la: $(bw0r_la_OBJECTS) $(bw0r_la_DEPENDENCIES) $(EXTRA_bw0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(bw0r_la_OBJECTS) $(bw0r_la_LIBADD) $(LIBS) +c0rners.la: $(c0rners_la_OBJECTS) $(c0rners_la_DEPENDENCIES) $(EXTRA_c0rners_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(c0rners_la_OBJECTS) $(c0rners_la_LIBADD) $(LIBS) +cairoaffineblend.la: $(cairoaffineblend_la_OBJECTS) $(cairoaffineblend_la_DEPENDENCIES) $(EXTRA_cairoaffineblend_la_DEPENDENCIES) + $(AM_V_CCLD)$(cairoaffineblend_la_LINK) $(am_cairoaffineblend_la_rpath) $(cairoaffineblend_la_OBJECTS) $(cairoaffineblend_la_LIBADD) $(LIBS) +cairoblend.la: $(cairoblend_la_OBJECTS) $(cairoblend_la_DEPENDENCIES) $(EXTRA_cairoblend_la_DEPENDENCIES) + $(AM_V_CCLD)$(cairoblend_la_LINK) $(am_cairoblend_la_rpath) $(cairoblend_la_OBJECTS) $(cairoblend_la_LIBADD) $(LIBS) +cairogradient.la: $(cairogradient_la_OBJECTS) $(cairogradient_la_DEPENDENCIES) $(EXTRA_cairogradient_la_DEPENDENCIES) + $(AM_V_CCLD)$(cairogradient_la_LINK) $(am_cairogradient_la_rpath) $(cairogradient_la_OBJECTS) $(cairogradient_la_LIBADD) $(LIBS) +cairoimagegrid.la: $(cairoimagegrid_la_OBJECTS) $(cairoimagegrid_la_DEPENDENCIES) $(EXTRA_cairoimagegrid_la_DEPENDENCIES) + $(AM_V_CCLD)$(cairoimagegrid_la_LINK) $(am_cairoimagegrid_la_rpath) $(cairoimagegrid_la_OBJECTS) $(cairoimagegrid_la_LIBADD) $(LIBS) +cartoon.la: $(cartoon_la_OBJECTS) $(cartoon_la_DEPENDENCIES) $(EXTRA_cartoon_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(cartoon_la_OBJECTS) $(cartoon_la_LIBADD) $(LIBS) +cluster.la: $(cluster_la_OBJECTS) $(cluster_la_DEPENDENCIES) $(EXTRA_cluster_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(cluster_la_OBJECTS) $(cluster_la_LIBADD) $(LIBS) +colgate.la: $(colgate_la_OBJECTS) $(colgate_la_DEPENDENCIES) $(EXTRA_colgate_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(colgate_la_OBJECTS) $(colgate_la_LIBADD) $(LIBS) +color_only.la: $(color_only_la_OBJECTS) $(color_only_la_DEPENDENCIES) $(EXTRA_color_only_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(color_only_la_OBJECTS) $(color_only_la_LIBADD) $(LIBS) +coloradj_RGB.la: $(coloradj_RGB_la_OBJECTS) $(coloradj_RGB_la_DEPENDENCIES) $(EXTRA_coloradj_RGB_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(coloradj_RGB_la_OBJECTS) $(coloradj_RGB_la_LIBADD) $(LIBS) +colordistance.la: $(colordistance_la_OBJECTS) $(colordistance_la_DEPENDENCIES) $(EXTRA_colordistance_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(colordistance_la_OBJECTS) $(colordistance_la_LIBADD) $(LIBS) +colorhalftone.la: $(colorhalftone_la_OBJECTS) $(colorhalftone_la_DEPENDENCIES) $(EXTRA_colorhalftone_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(colorhalftone_la_OBJECTS) $(colorhalftone_la_LIBADD) $(LIBS) +colorize.la: $(colorize_la_OBJECTS) $(colorize_la_DEPENDENCIES) $(EXTRA_colorize_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(colorize_la_OBJECTS) $(colorize_la_LIBADD) $(LIBS) +colortap.la: $(colortap_la_OBJECTS) $(colortap_la_DEPENDENCIES) $(EXTRA_colortap_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(colortap_la_OBJECTS) $(colortap_la_LIBADD) $(LIBS) +composition.la: $(composition_la_OBJECTS) $(composition_la_DEPENDENCIES) $(EXTRA_composition_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(composition_la_OBJECTS) $(composition_la_LIBADD) $(LIBS) +contrast0r.la: $(contrast0r_la_OBJECTS) $(contrast0r_la_DEPENDENCIES) $(EXTRA_contrast0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(contrast0r_la_OBJECTS) $(contrast0r_la_LIBADD) $(LIBS) +curves.la: $(curves_la_OBJECTS) $(curves_la_DEPENDENCIES) $(EXTRA_curves_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(curves_la_OBJECTS) $(curves_la_LIBADD) $(LIBS) +d90stairsteppingfix.la: $(d90stairsteppingfix_la_OBJECTS) $(d90stairsteppingfix_la_DEPENDENCIES) $(EXTRA_d90stairsteppingfix_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(d90stairsteppingfix_la_OBJECTS) $(d90stairsteppingfix_la_LIBADD) $(LIBS) +darken.la: $(darken_la_OBJECTS) $(darken_la_DEPENDENCIES) $(EXTRA_darken_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(darken_la_OBJECTS) $(darken_la_LIBADD) $(LIBS) +defish0r.la: $(defish0r_la_OBJECTS) $(defish0r_la_DEPENDENCIES) $(EXTRA_defish0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(defish0r_la_OBJECTS) $(defish0r_la_LIBADD) $(LIBS) +delay0r.la: $(delay0r_la_OBJECTS) $(delay0r_la_DEPENDENCIES) $(EXTRA_delay0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(delay0r_la_OBJECTS) $(delay0r_la_LIBADD) $(LIBS) +delaygrab.la: $(delaygrab_la_OBJECTS) $(delaygrab_la_DEPENDENCIES) $(EXTRA_delaygrab_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(delaygrab_la_OBJECTS) $(delaygrab_la_LIBADD) $(LIBS) +difference.la: $(difference_la_OBJECTS) $(difference_la_DEPENDENCIES) $(EXTRA_difference_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(difference_la_OBJECTS) $(difference_la_LIBADD) $(LIBS) +distort0r.la: $(distort0r_la_OBJECTS) $(distort0r_la_DEPENDENCIES) $(EXTRA_distort0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(distort0r_la_OBJECTS) $(distort0r_la_LIBADD) $(LIBS) +dither.la: $(dither_la_OBJECTS) $(dither_la_DEPENDENCIES) $(EXTRA_dither_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(dither_la_OBJECTS) $(dither_la_LIBADD) $(LIBS) +divide.la: $(divide_la_OBJECTS) $(divide_la_DEPENDENCIES) $(EXTRA_divide_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(divide_la_OBJECTS) $(divide_la_LIBADD) $(LIBS) +dodge.la: $(dodge_la_OBJECTS) $(dodge_la_DEPENDENCIES) $(EXTRA_dodge_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(dodge_la_OBJECTS) $(dodge_la_LIBADD) $(LIBS) +edgeglow.la: $(edgeglow_la_OBJECTS) $(edgeglow_la_DEPENDENCIES) $(EXTRA_edgeglow_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(edgeglow_la_OBJECTS) $(edgeglow_la_LIBADD) $(LIBS) +emboss.la: $(emboss_la_OBJECTS) $(emboss_la_DEPENDENCIES) $(EXTRA_emboss_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(emboss_la_OBJECTS) $(emboss_la_LIBADD) $(LIBS) +equaliz0r.la: $(equaliz0r_la_OBJECTS) $(equaliz0r_la_DEPENDENCIES) $(EXTRA_equaliz0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(equaliz0r_la_OBJECTS) $(equaliz0r_la_LIBADD) $(LIBS) +facebl0r.la: $(facebl0r_la_OBJECTS) $(facebl0r_la_DEPENDENCIES) $(EXTRA_facebl0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_facebl0r_la_rpath) $(facebl0r_la_OBJECTS) $(facebl0r_la_LIBADD) $(LIBS) +facedetect.la: $(facedetect_la_OBJECTS) $(facedetect_la_DEPENDENCIES) $(EXTRA_facedetect_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_facedetect_la_rpath) $(facedetect_la_OBJECTS) $(facedetect_la_LIBADD) $(LIBS) +flippo.la: $(flippo_la_OBJECTS) $(flippo_la_DEPENDENCIES) $(EXTRA_flippo_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(flippo_la_OBJECTS) $(flippo_la_LIBADD) $(LIBS) +gamma.la: $(gamma_la_OBJECTS) $(gamma_la_DEPENDENCIES) $(EXTRA_gamma_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(gamma_la_OBJECTS) $(gamma_la_LIBADD) $(LIBS) +glow.la: $(glow_la_OBJECTS) $(glow_la_DEPENDENCIES) $(EXTRA_glow_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(glow_la_OBJECTS) $(glow_la_LIBADD) $(LIBS) +grain_extract.la: $(grain_extract_la_OBJECTS) $(grain_extract_la_DEPENDENCIES) $(EXTRA_grain_extract_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(grain_extract_la_OBJECTS) $(grain_extract_la_LIBADD) $(LIBS) +grain_merge.la: $(grain_merge_la_OBJECTS) $(grain_merge_la_DEPENDENCIES) $(EXTRA_grain_merge_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(grain_merge_la_OBJECTS) $(grain_merge_la_LIBADD) $(LIBS) +hardlight.la: $(hardlight_la_OBJECTS) $(hardlight_la_DEPENDENCIES) $(EXTRA_hardlight_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(hardlight_la_OBJECTS) $(hardlight_la_LIBADD) $(LIBS) +hqdn3d.la: $(hqdn3d_la_OBJECTS) $(hqdn3d_la_DEPENDENCIES) $(EXTRA_hqdn3d_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(hqdn3d_la_OBJECTS) $(hqdn3d_la_LIBADD) $(LIBS) +hue.la: $(hue_la_OBJECTS) $(hue_la_DEPENDENCIES) $(EXTRA_hue_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(hue_la_OBJECTS) $(hue_la_LIBADD) $(LIBS) +hueshift0r.la: $(hueshift0r_la_OBJECTS) $(hueshift0r_la_DEPENDENCIES) $(EXTRA_hueshift0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(hueshift0r_la_OBJECTS) $(hueshift0r_la_LIBADD) $(LIBS) +invert0r.la: $(invert0r_la_OBJECTS) $(invert0r_la_DEPENDENCIES) $(EXTRA_invert0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(invert0r_la_OBJECTS) $(invert0r_la_LIBADD) $(LIBS) +ising0r.la: $(ising0r_la_OBJECTS) $(ising0r_la_DEPENDENCIES) $(EXTRA_ising0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(ising0r_la_OBJECTS) $(ising0r_la_LIBADD) $(LIBS) +keyspillm0pup.la: $(keyspillm0pup_la_OBJECTS) $(keyspillm0pup_la_DEPENDENCIES) $(EXTRA_keyspillm0pup_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(keyspillm0pup_la_OBJECTS) $(keyspillm0pup_la_LIBADD) $(LIBS) +lenscorrection.la: $(lenscorrection_la_OBJECTS) $(lenscorrection_la_DEPENDENCIES) $(EXTRA_lenscorrection_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(lenscorrection_la_OBJECTS) $(lenscorrection_la_LIBADD) $(LIBS) +letterb0xed.la: $(letterb0xed_la_OBJECTS) $(letterb0xed_la_DEPENDENCIES) $(EXTRA_letterb0xed_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(letterb0xed_la_OBJECTS) $(letterb0xed_la_LIBADD) $(LIBS) +levels.la: $(levels_la_OBJECTS) $(levels_la_DEPENDENCIES) $(EXTRA_levels_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(levels_la_OBJECTS) $(levels_la_LIBADD) $(LIBS) +lighten.la: $(lighten_la_OBJECTS) $(lighten_la_DEPENDENCIES) $(EXTRA_lighten_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(lighten_la_OBJECTS) $(lighten_la_LIBADD) $(LIBS) +lightgraffiti.la: $(lightgraffiti_la_OBJECTS) $(lightgraffiti_la_DEPENDENCIES) $(EXTRA_lightgraffiti_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(lightgraffiti_la_OBJECTS) $(lightgraffiti_la_LIBADD) $(LIBS) +lissajous0r.la: $(lissajous0r_la_OBJECTS) $(lissajous0r_la_DEPENDENCIES) $(EXTRA_lissajous0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(lissajous0r_la_OBJECTS) $(lissajous0r_la_LIBADD) $(LIBS) +luminance.la: $(luminance_la_OBJECTS) $(luminance_la_DEPENDENCIES) $(EXTRA_luminance_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(luminance_la_OBJECTS) $(luminance_la_LIBADD) $(LIBS) +mask0mate.la: $(mask0mate_la_OBJECTS) $(mask0mate_la_DEPENDENCIES) $(EXTRA_mask0mate_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(mask0mate_la_OBJECTS) $(mask0mate_la_LIBADD) $(LIBS) +medians.la: $(medians_la_OBJECTS) $(medians_la_DEPENDENCIES) $(EXTRA_medians_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(medians_la_OBJECTS) $(medians_la_LIBADD) $(LIBS) +multiply.la: $(multiply_la_OBJECTS) $(multiply_la_DEPENDENCIES) $(EXTRA_multiply_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(multiply_la_OBJECTS) $(multiply_la_LIBADD) $(LIBS) +nervous.la: $(nervous_la_OBJECTS) $(nervous_la_DEPENDENCIES) $(EXTRA_nervous_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(nervous_la_OBJECTS) $(nervous_la_LIBADD) $(LIBS) +nois0r.la: $(nois0r_la_OBJECTS) $(nois0r_la_DEPENDENCIES) $(EXTRA_nois0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(nois0r_la_OBJECTS) $(nois0r_la_LIBADD) $(LIBS) +nosync0r.la: $(nosync0r_la_OBJECTS) $(nosync0r_la_DEPENDENCIES) $(EXTRA_nosync0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(nosync0r_la_OBJECTS) $(nosync0r_la_LIBADD) $(LIBS) +onecol0r.la: $(onecol0r_la_OBJECTS) $(onecol0r_la_DEPENDENCIES) $(EXTRA_onecol0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(onecol0r_la_OBJECTS) $(onecol0r_la_LIBADD) $(LIBS) +overlay.la: $(overlay_la_OBJECTS) $(overlay_la_DEPENDENCIES) $(EXTRA_overlay_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(overlay_la_OBJECTS) $(overlay_la_LIBADD) $(LIBS) +partik0l.la: $(partik0l_la_OBJECTS) $(partik0l_la_DEPENDENCIES) $(EXTRA_partik0l_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(partik0l_la_OBJECTS) $(partik0l_la_LIBADD) $(LIBS) +perspective.la: $(perspective_la_OBJECTS) $(perspective_la_DEPENDENCIES) $(EXTRA_perspective_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(perspective_la_OBJECTS) $(perspective_la_LIBADD) $(LIBS) +pixeliz0r.la: $(pixeliz0r_la_OBJECTS) $(pixeliz0r_la_DEPENDENCIES) $(EXTRA_pixeliz0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(pixeliz0r_la_OBJECTS) $(pixeliz0r_la_LIBADD) $(LIBS) +plasma.la: $(plasma_la_OBJECTS) $(plasma_la_DEPENDENCIES) $(EXTRA_plasma_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(plasma_la_OBJECTS) $(plasma_la_LIBADD) $(LIBS) +posterize.la: $(posterize_la_OBJECTS) $(posterize_la_DEPENDENCIES) $(EXTRA_posterize_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(posterize_la_OBJECTS) $(posterize_la_LIBADD) $(LIBS) +pr0be.la: $(pr0be_la_OBJECTS) $(pr0be_la_DEPENDENCIES) $(EXTRA_pr0be_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(pr0be_la_OBJECTS) $(pr0be_la_LIBADD) $(LIBS) +pr0file.la: $(pr0file_la_OBJECTS) $(pr0file_la_DEPENDENCIES) $(EXTRA_pr0file_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(pr0file_la_OBJECTS) $(pr0file_la_LIBADD) $(LIBS) +primaries.la: $(primaries_la_OBJECTS) $(primaries_la_DEPENDENCIES) $(EXTRA_primaries_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(primaries_la_OBJECTS) $(primaries_la_LIBADD) $(LIBS) +rgbnoise.la: $(rgbnoise_la_OBJECTS) $(rgbnoise_la_DEPENDENCIES) $(EXTRA_rgbnoise_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(rgbnoise_la_OBJECTS) $(rgbnoise_la_LIBADD) $(LIBS) +rgbparade.la: $(rgbparade_la_OBJECTS) $(rgbparade_la_DEPENDENCIES) $(EXTRA_rgbparade_la_DEPENDENCIES) + $(AM_V_CCLD)$(rgbparade_la_LINK) $(am_rgbparade_la_rpath) $(rgbparade_la_OBJECTS) $(rgbparade_la_LIBADD) $(LIBS) +saturat0r.la: $(saturat0r_la_OBJECTS) $(saturat0r_la_DEPENDENCIES) $(EXTRA_saturat0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(saturat0r_la_OBJECTS) $(saturat0r_la_LIBADD) $(LIBS) +saturation.la: $(saturation_la_OBJECTS) $(saturation_la_DEPENDENCIES) $(EXTRA_saturation_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(saturation_la_OBJECTS) $(saturation_la_LIBADD) $(LIBS) +scale0tilt.la: $(scale0tilt_la_OBJECTS) $(scale0tilt_la_DEPENDENCIES) $(EXTRA_scale0tilt_la_DEPENDENCIES) + $(AM_V_CCLD)$(scale0tilt_la_LINK) $(am_scale0tilt_la_rpath) $(scale0tilt_la_OBJECTS) $(scale0tilt_la_LIBADD) $(LIBS) +scanline0r.la: $(scanline0r_la_OBJECTS) $(scanline0r_la_DEPENDENCIES) $(EXTRA_scanline0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(scanline0r_la_OBJECTS) $(scanline0r_la_LIBADD) $(LIBS) +screen.la: $(screen_la_OBJECTS) $(screen_la_DEPENDENCIES) $(EXTRA_screen_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(screen_la_OBJECTS) $(screen_la_LIBADD) $(LIBS) +select0r.la: $(select0r_la_OBJECTS) $(select0r_la_DEPENDENCIES) $(EXTRA_select0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(select0r_la_OBJECTS) $(select0r_la_LIBADD) $(LIBS) +sharpness.la: $(sharpness_la_OBJECTS) $(sharpness_la_DEPENDENCIES) $(EXTRA_sharpness_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(sharpness_la_OBJECTS) $(sharpness_la_LIBADD) $(LIBS) +sigmoidaltransfer.la: $(sigmoidaltransfer_la_OBJECTS) $(sigmoidaltransfer_la_DEPENDENCIES) $(EXTRA_sigmoidaltransfer_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(sigmoidaltransfer_la_OBJECTS) $(sigmoidaltransfer_la_LIBADD) $(LIBS) +sobel.la: $(sobel_la_OBJECTS) $(sobel_la_DEPENDENCIES) $(EXTRA_sobel_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(sobel_la_OBJECTS) $(sobel_la_LIBADD) $(LIBS) +softglow.la: $(softglow_la_OBJECTS) $(softglow_la_DEPENDENCIES) $(EXTRA_softglow_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(softglow_la_OBJECTS) $(softglow_la_LIBADD) $(LIBS) +softlight.la: $(softlight_la_OBJECTS) $(softlight_la_DEPENDENCIES) $(EXTRA_softlight_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(softlight_la_OBJECTS) $(softlight_la_LIBADD) $(LIBS) +sopsat.la: $(sopsat_la_OBJECTS) $(sopsat_la_DEPENDENCIES) $(EXTRA_sopsat_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(sopsat_la_OBJECTS) $(sopsat_la_LIBADD) $(LIBS) +spillsupress.la: $(spillsupress_la_OBJECTS) $(spillsupress_la_DEPENDENCIES) $(EXTRA_spillsupress_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(spillsupress_la_OBJECTS) $(spillsupress_la_LIBADD) $(LIBS) +squareblur.la: $(squareblur_la_OBJECTS) $(squareblur_la_DEPENDENCIES) $(EXTRA_squareblur_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(squareblur_la_OBJECTS) $(squareblur_la_LIBADD) $(LIBS) +subtract.la: $(subtract_la_OBJECTS) $(subtract_la_DEPENDENCIES) $(EXTRA_subtract_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(subtract_la_OBJECTS) $(subtract_la_LIBADD) $(LIBS) +tehroxx0r.la: $(tehroxx0r_la_OBJECTS) $(tehroxx0r_la_DEPENDENCIES) $(EXTRA_tehroxx0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(tehroxx0r_la_OBJECTS) $(tehroxx0r_la_LIBADD) $(LIBS) +test_pat_B.la: $(test_pat_B_la_OBJECTS) $(test_pat_B_la_DEPENDENCIES) $(EXTRA_test_pat_B_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_B_la_OBJECTS) $(test_pat_B_la_LIBADD) $(LIBS) +test_pat_C.la: $(test_pat_C_la_OBJECTS) $(test_pat_C_la_DEPENDENCIES) $(EXTRA_test_pat_C_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_C_la_OBJECTS) $(test_pat_C_la_LIBADD) $(LIBS) +test_pat_G.la: $(test_pat_G_la_OBJECTS) $(test_pat_G_la_DEPENDENCIES) $(EXTRA_test_pat_G_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_G_la_OBJECTS) $(test_pat_G_la_LIBADD) $(LIBS) +test_pat_I.la: $(test_pat_I_la_OBJECTS) $(test_pat_I_la_DEPENDENCIES) $(EXTRA_test_pat_I_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_I_la_OBJECTS) $(test_pat_I_la_LIBADD) $(LIBS) +test_pat_L.la: $(test_pat_L_la_OBJECTS) $(test_pat_L_la_DEPENDENCIES) $(EXTRA_test_pat_L_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_L_la_OBJECTS) $(test_pat_L_la_LIBADD) $(LIBS) +test_pat_R.la: $(test_pat_R_la_OBJECTS) $(test_pat_R_la_DEPENDENCIES) $(EXTRA_test_pat_R_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(test_pat_R_la_OBJECTS) $(test_pat_R_la_LIBADD) $(LIBS) +three_point_balance.la: $(three_point_balance_la_OBJECTS) $(three_point_balance_la_DEPENDENCIES) $(EXTRA_three_point_balance_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(three_point_balance_la_OBJECTS) $(three_point_balance_la_LIBADD) $(LIBS) +threelay0r.la: $(threelay0r_la_OBJECTS) $(threelay0r_la_DEPENDENCIES) $(EXTRA_threelay0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(threelay0r_la_OBJECTS) $(threelay0r_la_LIBADD) $(LIBS) +threshold0r.la: $(threshold0r_la_OBJECTS) $(threshold0r_la_DEPENDENCIES) $(EXTRA_threshold0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(threshold0r_la_OBJECTS) $(threshold0r_la_LIBADD) $(LIBS) +timeout.la: $(timeout_la_OBJECTS) $(timeout_la_DEPENDENCIES) $(EXTRA_timeout_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(timeout_la_OBJECTS) $(timeout_la_LIBADD) $(LIBS) +tint0r.la: $(tint0r_la_OBJECTS) $(tint0r_la_DEPENDENCIES) $(EXTRA_tint0r_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(tint0r_la_OBJECTS) $(tint0r_la_LIBADD) $(LIBS) +transparency.la: $(transparency_la_OBJECTS) $(transparency_la_DEPENDENCIES) $(EXTRA_transparency_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(transparency_la_OBJECTS) $(transparency_la_LIBADD) $(LIBS) +twolay0r.la: $(twolay0r_la_OBJECTS) $(twolay0r_la_DEPENDENCIES) $(EXTRA_twolay0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(twolay0r_la_OBJECTS) $(twolay0r_la_LIBADD) $(LIBS) +uvmap.la: $(uvmap_la_OBJECTS) $(uvmap_la_DEPENDENCIES) $(EXTRA_uvmap_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(uvmap_la_OBJECTS) $(uvmap_la_LIBADD) $(LIBS) +value.la: $(value_la_OBJECTS) $(value_la_DEPENDENCIES) $(EXTRA_value_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(value_la_OBJECTS) $(value_la_LIBADD) $(LIBS) +vectorscope.la: $(vectorscope_la_OBJECTS) $(vectorscope_la_DEPENDENCIES) $(EXTRA_vectorscope_la_DEPENDENCIES) + $(AM_V_CCLD)$(vectorscope_la_LINK) $(am_vectorscope_la_rpath) $(vectorscope_la_OBJECTS) $(vectorscope_la_LIBADD) $(LIBS) +vertigo.la: $(vertigo_la_OBJECTS) $(vertigo_la_DEPENDENCIES) $(EXTRA_vertigo_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(plugindir) $(vertigo_la_OBJECTS) $(vertigo_la_LIBADD) $(LIBS) +vignette.la: $(vignette_la_OBJECTS) $(vignette_la_DEPENDENCIES) $(EXTRA_vignette_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(vignette_la_OBJECTS) $(vignette_la_LIBADD) $(LIBS) +xfade0r.la: $(xfade0r_la_OBJECTS) $(xfade0r_la_DEPENDENCIES) $(EXTRA_xfade0r_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) -rpath $(plugindir) $(xfade0r_la_OBJECTS) $(xfade0r_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -1113,6 +1386,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/3dflippo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/B.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/G.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/IIRblur.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/R.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/RGB.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/addition.Plo@am__quote@ @@ -1134,11 +1408,19 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/burn.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bw0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c0rners.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cairoaffineblend_la-cairoaffineblend.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cairoblend_la-cairoblend.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cairogradient_la-cairogradient.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cairoimagegrid_la-cairoimagegrid.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cartoon.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cluster.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colgate.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/color_only.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coloradj_RGB.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colordistance.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colorhalftone.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colorize.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/colortap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/composition.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/contrast0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curves.Plo@am__quote@ @@ -1149,9 +1431,11 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delaygrab.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/difference.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/distort0r.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dither.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/divide.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dodge.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/edgeglow.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emboss.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/equaliz0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/facebl0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/facedetect.Plo@am__quote@ @@ -1166,6 +1450,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hueshift0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/invert0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ising0r.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyspillm0pup.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lenscorrection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/letterb0xed.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/levels.Plo@am__quote@ @@ -1174,6 +1459,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lissajous0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/luminance.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mask0mate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/medians.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiply.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nervous.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nois0r.Plo@am__quote@ @@ -1184,9 +1470,11 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/perspective.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pixeliz0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plasma.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posterize.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pr0be.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pr0file.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primaries.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgbnoise.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rgbparade_la-rgbparade.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/saturat0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/saturation.Plo@am__quote@ @@ -1195,9 +1483,12 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/screen.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sharpness.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sigmoidaltransfer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sobel.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/softglow.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/softlight.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sopsat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spillsupress.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/squareblur.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/subtract.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tehRoxx0r.Plo@am__quote@ @@ -1210,6 +1501,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/three_point_balance.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threelay0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/threshold0r.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tint0r.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transparency.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/twolay0r.Plo@am__quote@ @@ -1217,805 +1509,946 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vectorscope_la-vectorscope.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vertigo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vignette.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xfade0r.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< 3dflippo.lo: filter/3dflippo/3dflippo.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 3dflippo.lo -MD -MP -MF $(DEPDIR)/3dflippo.Tpo -c -o 3dflippo.lo `test -f 'filter/3dflippo/3dflippo.c' || echo '$(srcdir)/'`filter/3dflippo/3dflippo.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/3dflippo.Tpo $(DEPDIR)/3dflippo.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/3dflippo/3dflippo.c' object='3dflippo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 3dflippo.lo `test -f 'filter/3dflippo/3dflippo.c' || echo '$(srcdir)/'`filter/3dflippo/3dflippo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT 3dflippo.lo -MD -MP -MF $(DEPDIR)/3dflippo.Tpo -c -o 3dflippo.lo `test -f 'filter/3dflippo/3dflippo.c' || echo '$(srcdir)/'`filter/3dflippo/3dflippo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/3dflippo.Tpo $(DEPDIR)/3dflippo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/3dflippo/3dflippo.c' object='3dflippo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o 3dflippo.lo `test -f 'filter/3dflippo/3dflippo.c' || echo '$(srcdir)/'`filter/3dflippo/3dflippo.c B.lo: filter/RGB/B.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT B.lo -MD -MP -MF $(DEPDIR)/B.Tpo -c -o B.lo `test -f 'filter/RGB/B.c' || echo '$(srcdir)/'`filter/RGB/B.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/B.Tpo $(DEPDIR)/B.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/RGB/B.c' object='B.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o B.lo `test -f 'filter/RGB/B.c' || echo '$(srcdir)/'`filter/RGB/B.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT B.lo -MD -MP -MF $(DEPDIR)/B.Tpo -c -o B.lo `test -f 'filter/RGB/B.c' || echo '$(srcdir)/'`filter/RGB/B.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/B.Tpo $(DEPDIR)/B.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/RGB/B.c' object='B.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o B.lo `test -f 'filter/RGB/B.c' || echo '$(srcdir)/'`filter/RGB/B.c G.lo: filter/RGB/G.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT G.lo -MD -MP -MF $(DEPDIR)/G.Tpo -c -o G.lo `test -f 'filter/RGB/G.c' || echo '$(srcdir)/'`filter/RGB/G.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/G.Tpo $(DEPDIR)/G.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/RGB/G.c' object='G.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o G.lo `test -f 'filter/RGB/G.c' || echo '$(srcdir)/'`filter/RGB/G.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT G.lo -MD -MP -MF $(DEPDIR)/G.Tpo -c -o G.lo `test -f 'filter/RGB/G.c' || echo '$(srcdir)/'`filter/RGB/G.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/G.Tpo $(DEPDIR)/G.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/RGB/G.c' object='G.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o G.lo `test -f 'filter/RGB/G.c' || echo '$(srcdir)/'`filter/RGB/G.c + +IIRblur.lo: filter/blur/IIRblur.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT IIRblur.lo -MD -MP -MF $(DEPDIR)/IIRblur.Tpo -c -o IIRblur.lo `test -f 'filter/blur/IIRblur.c' || echo '$(srcdir)/'`filter/blur/IIRblur.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/IIRblur.Tpo $(DEPDIR)/IIRblur.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/blur/IIRblur.c' object='IIRblur.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o IIRblur.lo `test -f 'filter/blur/IIRblur.c' || echo '$(srcdir)/'`filter/blur/IIRblur.c R.lo: filter/RGB/R.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT R.lo -MD -MP -MF $(DEPDIR)/R.Tpo -c -o R.lo `test -f 'filter/RGB/R.c' || echo '$(srcdir)/'`filter/RGB/R.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/R.Tpo $(DEPDIR)/R.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/RGB/R.c' object='R.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o R.lo `test -f 'filter/RGB/R.c' || echo '$(srcdir)/'`filter/RGB/R.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT R.lo -MD -MP -MF $(DEPDIR)/R.Tpo -c -o R.lo `test -f 'filter/RGB/R.c' || echo '$(srcdir)/'`filter/RGB/R.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/R.Tpo $(DEPDIR)/R.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/RGB/R.c' object='R.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o R.lo `test -f 'filter/RGB/R.c' || echo '$(srcdir)/'`filter/RGB/R.c RGB.lo: mixer3/RGB/RGB.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT RGB.lo -MD -MP -MF $(DEPDIR)/RGB.Tpo -c -o RGB.lo `test -f 'mixer3/RGB/RGB.c' || echo '$(srcdir)/'`mixer3/RGB/RGB.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/RGB.Tpo $(DEPDIR)/RGB.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mixer3/RGB/RGB.c' object='RGB.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o RGB.lo `test -f 'mixer3/RGB/RGB.c' || echo '$(srcdir)/'`mixer3/RGB/RGB.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT RGB.lo -MD -MP -MF $(DEPDIR)/RGB.Tpo -c -o RGB.lo `test -f 'mixer3/RGB/RGB.c' || echo '$(srcdir)/'`mixer3/RGB/RGB.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/RGB.Tpo $(DEPDIR)/RGB.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer3/RGB/RGB.c' object='RGB.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o RGB.lo `test -f 'mixer3/RGB/RGB.c' || echo '$(srcdir)/'`mixer3/RGB/RGB.c alpha0ps.lo: filter/alpha0ps/alpha0ps.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alpha0ps.lo -MD -MP -MF $(DEPDIR)/alpha0ps.Tpo -c -o alpha0ps.lo `test -f 'filter/alpha0ps/alpha0ps.c' || echo '$(srcdir)/'`filter/alpha0ps/alpha0ps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/alpha0ps.Tpo $(DEPDIR)/alpha0ps.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/alpha0ps/alpha0ps.c' object='alpha0ps.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alpha0ps.lo `test -f 'filter/alpha0ps/alpha0ps.c' || echo '$(srcdir)/'`filter/alpha0ps/alpha0ps.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alpha0ps.lo -MD -MP -MF $(DEPDIR)/alpha0ps.Tpo -c -o alpha0ps.lo `test -f 'filter/alpha0ps/alpha0ps.c' || echo '$(srcdir)/'`filter/alpha0ps/alpha0ps.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alpha0ps.Tpo $(DEPDIR)/alpha0ps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/alpha0ps/alpha0ps.c' object='alpha0ps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alpha0ps.lo `test -f 'filter/alpha0ps/alpha0ps.c' || echo '$(srcdir)/'`filter/alpha0ps/alpha0ps.c alphagrad.lo: filter/alpha0ps/alphagrad.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphagrad.lo -MD -MP -MF $(DEPDIR)/alphagrad.Tpo -c -o alphagrad.lo `test -f 'filter/alpha0ps/alphagrad.c' || echo '$(srcdir)/'`filter/alpha0ps/alphagrad.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/alphagrad.Tpo $(DEPDIR)/alphagrad.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/alpha0ps/alphagrad.c' object='alphagrad.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphagrad.lo `test -f 'filter/alpha0ps/alphagrad.c' || echo '$(srcdir)/'`filter/alpha0ps/alphagrad.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphagrad.lo -MD -MP -MF $(DEPDIR)/alphagrad.Tpo -c -o alphagrad.lo `test -f 'filter/alpha0ps/alphagrad.c' || echo '$(srcdir)/'`filter/alpha0ps/alphagrad.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphagrad.Tpo $(DEPDIR)/alphagrad.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/alpha0ps/alphagrad.c' object='alphagrad.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphagrad.lo `test -f 'filter/alpha0ps/alphagrad.c' || echo '$(srcdir)/'`filter/alpha0ps/alphagrad.c alphainjection.lo: mixer2/alphainjection/alphainjection.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphainjection.lo -MD -MP -MF $(DEPDIR)/alphainjection.Tpo -c -o alphainjection.lo `test -f 'mixer2/alphainjection/alphainjection.c' || echo '$(srcdir)/'`mixer2/alphainjection/alphainjection.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/alphainjection.Tpo $(DEPDIR)/alphainjection.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mixer2/alphainjection/alphainjection.c' object='alphainjection.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphainjection.lo `test -f 'mixer2/alphainjection/alphainjection.c' || echo '$(srcdir)/'`mixer2/alphainjection/alphainjection.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphainjection.lo -MD -MP -MF $(DEPDIR)/alphainjection.Tpo -c -o alphainjection.lo `test -f 'mixer2/alphainjection/alphainjection.c' || echo '$(srcdir)/'`mixer2/alphainjection/alphainjection.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphainjection.Tpo $(DEPDIR)/alphainjection.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer2/alphainjection/alphainjection.c' object='alphainjection.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphainjection.lo `test -f 'mixer2/alphainjection/alphainjection.c' || echo '$(srcdir)/'`mixer2/alphainjection/alphainjection.c alphaspot.lo: filter/alpha0ps/alphaspot.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphaspot.lo -MD -MP -MF $(DEPDIR)/alphaspot.Tpo -c -o alphaspot.lo `test -f 'filter/alpha0ps/alphaspot.c' || echo '$(srcdir)/'`filter/alpha0ps/alphaspot.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/alphaspot.Tpo $(DEPDIR)/alphaspot.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/alpha0ps/alphaspot.c' object='alphaspot.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphaspot.lo `test -f 'filter/alpha0ps/alphaspot.c' || echo '$(srcdir)/'`filter/alpha0ps/alphaspot.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT alphaspot.lo -MD -MP -MF $(DEPDIR)/alphaspot.Tpo -c -o alphaspot.lo `test -f 'filter/alpha0ps/alphaspot.c' || echo '$(srcdir)/'`filter/alpha0ps/alphaspot.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphaspot.Tpo $(DEPDIR)/alphaspot.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/alpha0ps/alphaspot.c' object='alphaspot.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o alphaspot.lo `test -f 'filter/alpha0ps/alphaspot.c' || echo '$(srcdir)/'`filter/alpha0ps/alphaspot.c balanc0r.lo: filter/balanc0r/balanc0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT balanc0r.lo -MD -MP -MF $(DEPDIR)/balanc0r.Tpo -c -o balanc0r.lo `test -f 'filter/balanc0r/balanc0r.c' || echo '$(srcdir)/'`filter/balanc0r/balanc0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/balanc0r.Tpo $(DEPDIR)/balanc0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/balanc0r/balanc0r.c' object='balanc0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o balanc0r.lo `test -f 'filter/balanc0r/balanc0r.c' || echo '$(srcdir)/'`filter/balanc0r/balanc0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT balanc0r.lo -MD -MP -MF $(DEPDIR)/balanc0r.Tpo -c -o balanc0r.lo `test -f 'filter/balanc0r/balanc0r.c' || echo '$(srcdir)/'`filter/balanc0r/balanc0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/balanc0r.Tpo $(DEPDIR)/balanc0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/balanc0r/balanc0r.c' object='balanc0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o balanc0r.lo `test -f 'filter/balanc0r/balanc0r.c' || echo '$(srcdir)/'`filter/balanc0r/balanc0r.c brightness.lo: filter/brightness/brightness.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT brightness.lo -MD -MP -MF $(DEPDIR)/brightness.Tpo -c -o brightness.lo `test -f 'filter/brightness/brightness.c' || echo '$(srcdir)/'`filter/brightness/brightness.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/brightness.Tpo $(DEPDIR)/brightness.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/brightness/brightness.c' object='brightness.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o brightness.lo `test -f 'filter/brightness/brightness.c' || echo '$(srcdir)/'`filter/brightness/brightness.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT brightness.lo -MD -MP -MF $(DEPDIR)/brightness.Tpo -c -o brightness.lo `test -f 'filter/brightness/brightness.c' || echo '$(srcdir)/'`filter/brightness/brightness.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/brightness.Tpo $(DEPDIR)/brightness.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/brightness/brightness.c' object='brightness.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o brightness.lo `test -f 'filter/brightness/brightness.c' || echo '$(srcdir)/'`filter/brightness/brightness.c bw0r.lo: filter/bw0r/bw0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bw0r.lo -MD -MP -MF $(DEPDIR)/bw0r.Tpo -c -o bw0r.lo `test -f 'filter/bw0r/bw0r.c' || echo '$(srcdir)/'`filter/bw0r/bw0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/bw0r.Tpo $(DEPDIR)/bw0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/bw0r/bw0r.c' object='bw0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bw0r.lo `test -f 'filter/bw0r/bw0r.c' || echo '$(srcdir)/'`filter/bw0r/bw0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT bw0r.lo -MD -MP -MF $(DEPDIR)/bw0r.Tpo -c -o bw0r.lo `test -f 'filter/bw0r/bw0r.c' || echo '$(srcdir)/'`filter/bw0r/bw0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bw0r.Tpo $(DEPDIR)/bw0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/bw0r/bw0r.c' object='bw0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o bw0r.lo `test -f 'filter/bw0r/bw0r.c' || echo '$(srcdir)/'`filter/bw0r/bw0r.c c0rners.lo: filter/c0rners/c0rners.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT c0rners.lo -MD -MP -MF $(DEPDIR)/c0rners.Tpo -c -o c0rners.lo `test -f 'filter/c0rners/c0rners.c' || echo '$(srcdir)/'`filter/c0rners/c0rners.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/c0rners.Tpo $(DEPDIR)/c0rners.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/c0rners/c0rners.c' object='c0rners.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o c0rners.lo `test -f 'filter/c0rners/c0rners.c' || echo '$(srcdir)/'`filter/c0rners/c0rners.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT c0rners.lo -MD -MP -MF $(DEPDIR)/c0rners.Tpo -c -o c0rners.lo `test -f 'filter/c0rners/c0rners.c' || echo '$(srcdir)/'`filter/c0rners/c0rners.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/c0rners.Tpo $(DEPDIR)/c0rners.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/c0rners/c0rners.c' object='c0rners.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o c0rners.lo `test -f 'filter/c0rners/c0rners.c' || echo '$(srcdir)/'`filter/c0rners/c0rners.c + +cairoaffineblend_la-cairoaffineblend.lo: mixer2/cairoaffineblend/cairoaffineblend.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoaffineblend_la_CFLAGS) $(CFLAGS) -MT cairoaffineblend_la-cairoaffineblend.lo -MD -MP -MF $(DEPDIR)/cairoaffineblend_la-cairoaffineblend.Tpo -c -o cairoaffineblend_la-cairoaffineblend.lo `test -f 'mixer2/cairoaffineblend/cairoaffineblend.c' || echo '$(srcdir)/'`mixer2/cairoaffineblend/cairoaffineblend.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cairoaffineblend_la-cairoaffineblend.Tpo $(DEPDIR)/cairoaffineblend_la-cairoaffineblend.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer2/cairoaffineblend/cairoaffineblend.c' object='cairoaffineblend_la-cairoaffineblend.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoaffineblend_la_CFLAGS) $(CFLAGS) -c -o cairoaffineblend_la-cairoaffineblend.lo `test -f 'mixer2/cairoaffineblend/cairoaffineblend.c' || echo '$(srcdir)/'`mixer2/cairoaffineblend/cairoaffineblend.c + +cairoblend_la-cairoblend.lo: mixer2/cairoblend/cairoblend.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoblend_la_CFLAGS) $(CFLAGS) -MT cairoblend_la-cairoblend.lo -MD -MP -MF $(DEPDIR)/cairoblend_la-cairoblend.Tpo -c -o cairoblend_la-cairoblend.lo `test -f 'mixer2/cairoblend/cairoblend.c' || echo '$(srcdir)/'`mixer2/cairoblend/cairoblend.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cairoblend_la-cairoblend.Tpo $(DEPDIR)/cairoblend_la-cairoblend.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer2/cairoblend/cairoblend.c' object='cairoblend_la-cairoblend.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoblend_la_CFLAGS) $(CFLAGS) -c -o cairoblend_la-cairoblend.lo `test -f 'mixer2/cairoblend/cairoblend.c' || echo '$(srcdir)/'`mixer2/cairoblend/cairoblend.c + +cairogradient_la-cairogradient.lo: filter/cairogradient/cairogradient.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairogradient_la_CFLAGS) $(CFLAGS) -MT cairogradient_la-cairogradient.lo -MD -MP -MF $(DEPDIR)/cairogradient_la-cairogradient.Tpo -c -o cairogradient_la-cairogradient.lo `test -f 'filter/cairogradient/cairogradient.c' || echo '$(srcdir)/'`filter/cairogradient/cairogradient.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cairogradient_la-cairogradient.Tpo $(DEPDIR)/cairogradient_la-cairogradient.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/cairogradient/cairogradient.c' object='cairogradient_la-cairogradient.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairogradient_la_CFLAGS) $(CFLAGS) -c -o cairogradient_la-cairogradient.lo `test -f 'filter/cairogradient/cairogradient.c' || echo '$(srcdir)/'`filter/cairogradient/cairogradient.c + +cairoimagegrid_la-cairoimagegrid.lo: filter/cairoimagegrid/cairoimagegrid.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoimagegrid_la_CFLAGS) $(CFLAGS) -MT cairoimagegrid_la-cairoimagegrid.lo -MD -MP -MF $(DEPDIR)/cairoimagegrid_la-cairoimagegrid.Tpo -c -o cairoimagegrid_la-cairoimagegrid.lo `test -f 'filter/cairoimagegrid/cairoimagegrid.c' || echo '$(srcdir)/'`filter/cairoimagegrid/cairoimagegrid.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cairoimagegrid_la-cairoimagegrid.Tpo $(DEPDIR)/cairoimagegrid_la-cairoimagegrid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/cairoimagegrid/cairoimagegrid.c' object='cairoimagegrid_la-cairoimagegrid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cairoimagegrid_la_CFLAGS) $(CFLAGS) -c -o cairoimagegrid_la-cairoimagegrid.lo `test -f 'filter/cairoimagegrid/cairoimagegrid.c' || echo '$(srcdir)/'`filter/cairoimagegrid/cairoimagegrid.c cluster.lo: filter/cluster/cluster.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cluster.lo -MD -MP -MF $(DEPDIR)/cluster.Tpo -c -o cluster.lo `test -f 'filter/cluster/cluster.c' || echo '$(srcdir)/'`filter/cluster/cluster.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/cluster.Tpo $(DEPDIR)/cluster.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/cluster/cluster.c' object='cluster.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cluster.lo `test -f 'filter/cluster/cluster.c' || echo '$(srcdir)/'`filter/cluster/cluster.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT cluster.lo -MD -MP -MF $(DEPDIR)/cluster.Tpo -c -o cluster.lo `test -f 'filter/cluster/cluster.c' || echo '$(srcdir)/'`filter/cluster/cluster.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cluster.Tpo $(DEPDIR)/cluster.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/cluster/cluster.c' object='cluster.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o cluster.lo `test -f 'filter/cluster/cluster.c' || echo '$(srcdir)/'`filter/cluster/cluster.c + +colgate.lo: filter/colgate/colgate.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colgate.lo -MD -MP -MF $(DEPDIR)/colgate.Tpo -c -o colgate.lo `test -f 'filter/colgate/colgate.c' || echo '$(srcdir)/'`filter/colgate/colgate.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/colgate.Tpo $(DEPDIR)/colgate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/colgate/colgate.c' object='colgate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colgate.lo `test -f 'filter/colgate/colgate.c' || echo '$(srcdir)/'`filter/colgate/colgate.c coloradj_RGB.lo: filter/coloradj/coloradj_RGB.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT coloradj_RGB.lo -MD -MP -MF $(DEPDIR)/coloradj_RGB.Tpo -c -o coloradj_RGB.lo `test -f 'filter/coloradj/coloradj_RGB.c' || echo '$(srcdir)/'`filter/coloradj/coloradj_RGB.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/coloradj_RGB.Tpo $(DEPDIR)/coloradj_RGB.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/coloradj/coloradj_RGB.c' object='coloradj_RGB.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o coloradj_RGB.lo `test -f 'filter/coloradj/coloradj_RGB.c' || echo '$(srcdir)/'`filter/coloradj/coloradj_RGB.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT coloradj_RGB.lo -MD -MP -MF $(DEPDIR)/coloradj_RGB.Tpo -c -o coloradj_RGB.lo `test -f 'filter/coloradj/coloradj_RGB.c' || echo '$(srcdir)/'`filter/coloradj/coloradj_RGB.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/coloradj_RGB.Tpo $(DEPDIR)/coloradj_RGB.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/coloradj/coloradj_RGB.c' object='coloradj_RGB.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o coloradj_RGB.lo `test -f 'filter/coloradj/coloradj_RGB.c' || echo '$(srcdir)/'`filter/coloradj/coloradj_RGB.c colordistance.lo: filter/colordistance/colordistance.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colordistance.lo -MD -MP -MF $(DEPDIR)/colordistance.Tpo -c -o colordistance.lo `test -f 'filter/colordistance/colordistance.c' || echo '$(srcdir)/'`filter/colordistance/colordistance.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/colordistance.Tpo $(DEPDIR)/colordistance.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/colordistance/colordistance.c' object='colordistance.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colordistance.lo `test -f 'filter/colordistance/colordistance.c' || echo '$(srcdir)/'`filter/colordistance/colordistance.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colordistance.lo -MD -MP -MF $(DEPDIR)/colordistance.Tpo -c -o colordistance.lo `test -f 'filter/colordistance/colordistance.c' || echo '$(srcdir)/'`filter/colordistance/colordistance.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/colordistance.Tpo $(DEPDIR)/colordistance.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/colordistance/colordistance.c' object='colordistance.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colordistance.lo `test -f 'filter/colordistance/colordistance.c' || echo '$(srcdir)/'`filter/colordistance/colordistance.c + +colorhalftone.lo: filter/colorhalftone/colorhalftone.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colorhalftone.lo -MD -MP -MF $(DEPDIR)/colorhalftone.Tpo -c -o colorhalftone.lo `test -f 'filter/colorhalftone/colorhalftone.c' || echo '$(srcdir)/'`filter/colorhalftone/colorhalftone.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/colorhalftone.Tpo $(DEPDIR)/colorhalftone.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/colorhalftone/colorhalftone.c' object='colorhalftone.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colorhalftone.lo `test -f 'filter/colorhalftone/colorhalftone.c' || echo '$(srcdir)/'`filter/colorhalftone/colorhalftone.c + +colorize.lo: filter/colorize/colorize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colorize.lo -MD -MP -MF $(DEPDIR)/colorize.Tpo -c -o colorize.lo `test -f 'filter/colorize/colorize.c' || echo '$(srcdir)/'`filter/colorize/colorize.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/colorize.Tpo $(DEPDIR)/colorize.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/colorize/colorize.c' object='colorize.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colorize.lo `test -f 'filter/colorize/colorize.c' || echo '$(srcdir)/'`filter/colorize/colorize.c + +colortap.lo: filter/colortap/colortap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT colortap.lo -MD -MP -MF $(DEPDIR)/colortap.Tpo -c -o colortap.lo `test -f 'filter/colortap/colortap.c' || echo '$(srcdir)/'`filter/colortap/colortap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/colortap.Tpo $(DEPDIR)/colortap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/colortap/colortap.c' object='colortap.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o colortap.lo `test -f 'filter/colortap/colortap.c' || echo '$(srcdir)/'`filter/colortap/colortap.c composition.lo: mixer2/composition/composition.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT composition.lo -MD -MP -MF $(DEPDIR)/composition.Tpo -c -o composition.lo `test -f 'mixer2/composition/composition.c' || echo '$(srcdir)/'`mixer2/composition/composition.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/composition.Tpo $(DEPDIR)/composition.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mixer2/composition/composition.c' object='composition.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o composition.lo `test -f 'mixer2/composition/composition.c' || echo '$(srcdir)/'`mixer2/composition/composition.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT composition.lo -MD -MP -MF $(DEPDIR)/composition.Tpo -c -o composition.lo `test -f 'mixer2/composition/composition.c' || echo '$(srcdir)/'`mixer2/composition/composition.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/composition.Tpo $(DEPDIR)/composition.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer2/composition/composition.c' object='composition.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o composition.lo `test -f 'mixer2/composition/composition.c' || echo '$(srcdir)/'`mixer2/composition/composition.c contrast0r.lo: filter/contrast0r/contrast0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT contrast0r.lo -MD -MP -MF $(DEPDIR)/contrast0r.Tpo -c -o contrast0r.lo `test -f 'filter/contrast0r/contrast0r.c' || echo '$(srcdir)/'`filter/contrast0r/contrast0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/contrast0r.Tpo $(DEPDIR)/contrast0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/contrast0r/contrast0r.c' object='contrast0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o contrast0r.lo `test -f 'filter/contrast0r/contrast0r.c' || echo '$(srcdir)/'`filter/contrast0r/contrast0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT contrast0r.lo -MD -MP -MF $(DEPDIR)/contrast0r.Tpo -c -o contrast0r.lo `test -f 'filter/contrast0r/contrast0r.c' || echo '$(srcdir)/'`filter/contrast0r/contrast0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/contrast0r.Tpo $(DEPDIR)/contrast0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/contrast0r/contrast0r.c' object='contrast0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o contrast0r.lo `test -f 'filter/contrast0r/contrast0r.c' || echo '$(srcdir)/'`filter/contrast0r/contrast0r.c curves.lo: filter/curves/curves.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT curves.lo -MD -MP -MF $(DEPDIR)/curves.Tpo -c -o curves.lo `test -f 'filter/curves/curves.c' || echo '$(srcdir)/'`filter/curves/curves.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/curves.Tpo $(DEPDIR)/curves.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/curves/curves.c' object='curves.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o curves.lo `test -f 'filter/curves/curves.c' || echo '$(srcdir)/'`filter/curves/curves.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT curves.lo -MD -MP -MF $(DEPDIR)/curves.Tpo -c -o curves.lo `test -f 'filter/curves/curves.c' || echo '$(srcdir)/'`filter/curves/curves.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/curves.Tpo $(DEPDIR)/curves.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/curves/curves.c' object='curves.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o curves.lo `test -f 'filter/curves/curves.c' || echo '$(srcdir)/'`filter/curves/curves.c defish0r.lo: filter/defish0r/defish0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT defish0r.lo -MD -MP -MF $(DEPDIR)/defish0r.Tpo -c -o defish0r.lo `test -f 'filter/defish0r/defish0r.c' || echo '$(srcdir)/'`filter/defish0r/defish0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/defish0r.Tpo $(DEPDIR)/defish0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/defish0r/defish0r.c' object='defish0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o defish0r.lo `test -f 'filter/defish0r/defish0r.c' || echo '$(srcdir)/'`filter/defish0r/defish0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT defish0r.lo -MD -MP -MF $(DEPDIR)/defish0r.Tpo -c -o defish0r.lo `test -f 'filter/defish0r/defish0r.c' || echo '$(srcdir)/'`filter/defish0r/defish0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/defish0r.Tpo $(DEPDIR)/defish0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/defish0r/defish0r.c' object='defish0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o defish0r.lo `test -f 'filter/defish0r/defish0r.c' || echo '$(srcdir)/'`filter/defish0r/defish0r.c distort0r.lo: filter/distort0r/distort0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT distort0r.lo -MD -MP -MF $(DEPDIR)/distort0r.Tpo -c -o distort0r.lo `test -f 'filter/distort0r/distort0r.c' || echo '$(srcdir)/'`filter/distort0r/distort0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/distort0r.Tpo $(DEPDIR)/distort0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/distort0r/distort0r.c' object='distort0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o distort0r.lo `test -f 'filter/distort0r/distort0r.c' || echo '$(srcdir)/'`filter/distort0r/distort0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT distort0r.lo -MD -MP -MF $(DEPDIR)/distort0r.Tpo -c -o distort0r.lo `test -f 'filter/distort0r/distort0r.c' || echo '$(srcdir)/'`filter/distort0r/distort0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/distort0r.Tpo $(DEPDIR)/distort0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/distort0r/distort0r.c' object='distort0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o distort0r.lo `test -f 'filter/distort0r/distort0r.c' || echo '$(srcdir)/'`filter/distort0r/distort0r.c + +dither.lo: filter/dither/dither.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dither.lo -MD -MP -MF $(DEPDIR)/dither.Tpo -c -o dither.lo `test -f 'filter/dither/dither.c' || echo '$(srcdir)/'`filter/dither/dither.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dither.Tpo $(DEPDIR)/dither.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/dither/dither.c' object='dither.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dither.lo `test -f 'filter/dither/dither.c' || echo '$(srcdir)/'`filter/dither/dither.c + +emboss.lo: filter/emboss/emboss.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT emboss.lo -MD -MP -MF $(DEPDIR)/emboss.Tpo -c -o emboss.lo `test -f 'filter/emboss/emboss.c' || echo '$(srcdir)/'`filter/emboss/emboss.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/emboss.Tpo $(DEPDIR)/emboss.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/emboss/emboss.c' object='emboss.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o emboss.lo `test -f 'filter/emboss/emboss.c' || echo '$(srcdir)/'`filter/emboss/emboss.c flippo.lo: filter/flippo/flippo.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT flippo.lo -MD -MP -MF $(DEPDIR)/flippo.Tpo -c -o flippo.lo `test -f 'filter/flippo/flippo.c' || echo '$(srcdir)/'`filter/flippo/flippo.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/flippo.Tpo $(DEPDIR)/flippo.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/flippo/flippo.c' object='flippo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o flippo.lo `test -f 'filter/flippo/flippo.c' || echo '$(srcdir)/'`filter/flippo/flippo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT flippo.lo -MD -MP -MF $(DEPDIR)/flippo.Tpo -c -o flippo.lo `test -f 'filter/flippo/flippo.c' || echo '$(srcdir)/'`filter/flippo/flippo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/flippo.Tpo $(DEPDIR)/flippo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/flippo/flippo.c' object='flippo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o flippo.lo `test -f 'filter/flippo/flippo.c' || echo '$(srcdir)/'`filter/flippo/flippo.c gamma.lo: filter/gamma/gamma.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gamma.lo -MD -MP -MF $(DEPDIR)/gamma.Tpo -c -o gamma.lo `test -f 'filter/gamma/gamma.c' || echo '$(srcdir)/'`filter/gamma/gamma.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/gamma.Tpo $(DEPDIR)/gamma.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/gamma/gamma.c' object='gamma.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gamma.lo `test -f 'filter/gamma/gamma.c' || echo '$(srcdir)/'`filter/gamma/gamma.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gamma.lo -MD -MP -MF $(DEPDIR)/gamma.Tpo -c -o gamma.lo `test -f 'filter/gamma/gamma.c' || echo '$(srcdir)/'`filter/gamma/gamma.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/gamma.Tpo $(DEPDIR)/gamma.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/gamma/gamma.c' object='gamma.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gamma.lo `test -f 'filter/gamma/gamma.c' || echo '$(srcdir)/'`filter/gamma/gamma.c glow.lo: filter/glow/glow.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glow.lo -MD -MP -MF $(DEPDIR)/glow.Tpo -c -o glow.lo `test -f 'filter/glow/glow.c' || echo '$(srcdir)/'`filter/glow/glow.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/glow.Tpo $(DEPDIR)/glow.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/glow/glow.c' object='glow.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glow.lo `test -f 'filter/glow/glow.c' || echo '$(srcdir)/'`filter/glow/glow.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT glow.lo -MD -MP -MF $(DEPDIR)/glow.Tpo -c -o glow.lo `test -f 'filter/glow/glow.c' || echo '$(srcdir)/'`filter/glow/glow.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/glow.Tpo $(DEPDIR)/glow.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/glow/glow.c' object='glow.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o glow.lo `test -f 'filter/glow/glow.c' || echo '$(srcdir)/'`filter/glow/glow.c hqdn3d.lo: filter/denoise/hqdn3d.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hqdn3d.lo -MD -MP -MF $(DEPDIR)/hqdn3d.Tpo -c -o hqdn3d.lo `test -f 'filter/denoise/hqdn3d.c' || echo '$(srcdir)/'`filter/denoise/hqdn3d.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hqdn3d.Tpo $(DEPDIR)/hqdn3d.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/denoise/hqdn3d.c' object='hqdn3d.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hqdn3d.lo `test -f 'filter/denoise/hqdn3d.c' || echo '$(srcdir)/'`filter/denoise/hqdn3d.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hqdn3d.lo -MD -MP -MF $(DEPDIR)/hqdn3d.Tpo -c -o hqdn3d.lo `test -f 'filter/denoise/hqdn3d.c' || echo '$(srcdir)/'`filter/denoise/hqdn3d.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hqdn3d.Tpo $(DEPDIR)/hqdn3d.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/denoise/hqdn3d.c' object='hqdn3d.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hqdn3d.lo `test -f 'filter/denoise/hqdn3d.c' || echo '$(srcdir)/'`filter/denoise/hqdn3d.c hueshift0r.lo: filter/hueshift0r/hueshift0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hueshift0r.lo -MD -MP -MF $(DEPDIR)/hueshift0r.Tpo -c -o hueshift0r.lo `test -f 'filter/hueshift0r/hueshift0r.c' || echo '$(srcdir)/'`filter/hueshift0r/hueshift0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/hueshift0r.Tpo $(DEPDIR)/hueshift0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/hueshift0r/hueshift0r.c' object='hueshift0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hueshift0r.lo `test -f 'filter/hueshift0r/hueshift0r.c' || echo '$(srcdir)/'`filter/hueshift0r/hueshift0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT hueshift0r.lo -MD -MP -MF $(DEPDIR)/hueshift0r.Tpo -c -o hueshift0r.lo `test -f 'filter/hueshift0r/hueshift0r.c' || echo '$(srcdir)/'`filter/hueshift0r/hueshift0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hueshift0r.Tpo $(DEPDIR)/hueshift0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/hueshift0r/hueshift0r.c' object='hueshift0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hueshift0r.lo `test -f 'filter/hueshift0r/hueshift0r.c' || echo '$(srcdir)/'`filter/hueshift0r/hueshift0r.c invert0r.lo: filter/invert0r/invert0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT invert0r.lo -MD -MP -MF $(DEPDIR)/invert0r.Tpo -c -o invert0r.lo `test -f 'filter/invert0r/invert0r.c' || echo '$(srcdir)/'`filter/invert0r/invert0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/invert0r.Tpo $(DEPDIR)/invert0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/invert0r/invert0r.c' object='invert0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o invert0r.lo `test -f 'filter/invert0r/invert0r.c' || echo '$(srcdir)/'`filter/invert0r/invert0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT invert0r.lo -MD -MP -MF $(DEPDIR)/invert0r.Tpo -c -o invert0r.lo `test -f 'filter/invert0r/invert0r.c' || echo '$(srcdir)/'`filter/invert0r/invert0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/invert0r.Tpo $(DEPDIR)/invert0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/invert0r/invert0r.c' object='invert0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o invert0r.lo `test -f 'filter/invert0r/invert0r.c' || echo '$(srcdir)/'`filter/invert0r/invert0r.c ising0r.lo: generator/ising0r/ising0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ising0r.lo -MD -MP -MF $(DEPDIR)/ising0r.Tpo -c -o ising0r.lo `test -f 'generator/ising0r/ising0r.c' || echo '$(srcdir)/'`generator/ising0r/ising0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ising0r.Tpo $(DEPDIR)/ising0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/ising0r/ising0r.c' object='ising0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ising0r.lo `test -f 'generator/ising0r/ising0r.c' || echo '$(srcdir)/'`generator/ising0r/ising0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ising0r.lo -MD -MP -MF $(DEPDIR)/ising0r.Tpo -c -o ising0r.lo `test -f 'generator/ising0r/ising0r.c' || echo '$(srcdir)/'`generator/ising0r/ising0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ising0r.Tpo $(DEPDIR)/ising0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/ising0r/ising0r.c' object='ising0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ising0r.lo `test -f 'generator/ising0r/ising0r.c' || echo '$(srcdir)/'`generator/ising0r/ising0r.c + +keyspillm0pup.lo: filter/keyspillm0pup/keyspillm0pup.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT keyspillm0pup.lo -MD -MP -MF $(DEPDIR)/keyspillm0pup.Tpo -c -o keyspillm0pup.lo `test -f 'filter/keyspillm0pup/keyspillm0pup.c' || echo '$(srcdir)/'`filter/keyspillm0pup/keyspillm0pup.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/keyspillm0pup.Tpo $(DEPDIR)/keyspillm0pup.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/keyspillm0pup/keyspillm0pup.c' object='keyspillm0pup.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o keyspillm0pup.lo `test -f 'filter/keyspillm0pup/keyspillm0pup.c' || echo '$(srcdir)/'`filter/keyspillm0pup/keyspillm0pup.c lenscorrection.lo: filter/lenscorrection/lenscorrection.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lenscorrection.lo -MD -MP -MF $(DEPDIR)/lenscorrection.Tpo -c -o lenscorrection.lo `test -f 'filter/lenscorrection/lenscorrection.c' || echo '$(srcdir)/'`filter/lenscorrection/lenscorrection.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/lenscorrection.Tpo $(DEPDIR)/lenscorrection.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/lenscorrection/lenscorrection.c' object='lenscorrection.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lenscorrection.lo `test -f 'filter/lenscorrection/lenscorrection.c' || echo '$(srcdir)/'`filter/lenscorrection/lenscorrection.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lenscorrection.lo -MD -MP -MF $(DEPDIR)/lenscorrection.Tpo -c -o lenscorrection.lo `test -f 'filter/lenscorrection/lenscorrection.c' || echo '$(srcdir)/'`filter/lenscorrection/lenscorrection.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lenscorrection.Tpo $(DEPDIR)/lenscorrection.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/lenscorrection/lenscorrection.c' object='lenscorrection.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lenscorrection.lo `test -f 'filter/lenscorrection/lenscorrection.c' || echo '$(srcdir)/'`filter/lenscorrection/lenscorrection.c letterb0xed.lo: filter/letterb0xed/letterb0xed.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT letterb0xed.lo -MD -MP -MF $(DEPDIR)/letterb0xed.Tpo -c -o letterb0xed.lo `test -f 'filter/letterb0xed/letterb0xed.c' || echo '$(srcdir)/'`filter/letterb0xed/letterb0xed.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/letterb0xed.Tpo $(DEPDIR)/letterb0xed.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/letterb0xed/letterb0xed.c' object='letterb0xed.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o letterb0xed.lo `test -f 'filter/letterb0xed/letterb0xed.c' || echo '$(srcdir)/'`filter/letterb0xed/letterb0xed.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT letterb0xed.lo -MD -MP -MF $(DEPDIR)/letterb0xed.Tpo -c -o letterb0xed.lo `test -f 'filter/letterb0xed/letterb0xed.c' || echo '$(srcdir)/'`filter/letterb0xed/letterb0xed.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/letterb0xed.Tpo $(DEPDIR)/letterb0xed.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/letterb0xed/letterb0xed.c' object='letterb0xed.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o letterb0xed.lo `test -f 'filter/letterb0xed/letterb0xed.c' || echo '$(srcdir)/'`filter/letterb0xed/letterb0xed.c levels.lo: filter/levels/levels.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT levels.lo -MD -MP -MF $(DEPDIR)/levels.Tpo -c -o levels.lo `test -f 'filter/levels/levels.c' || echo '$(srcdir)/'`filter/levels/levels.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/levels.Tpo $(DEPDIR)/levels.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/levels/levels.c' object='levels.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o levels.lo `test -f 'filter/levels/levels.c' || echo '$(srcdir)/'`filter/levels/levels.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT levels.lo -MD -MP -MF $(DEPDIR)/levels.Tpo -c -o levels.lo `test -f 'filter/levels/levels.c' || echo '$(srcdir)/'`filter/levels/levels.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/levels.Tpo $(DEPDIR)/levels.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/levels/levels.c' object='levels.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o levels.lo `test -f 'filter/levels/levels.c' || echo '$(srcdir)/'`filter/levels/levels.c luminance.lo: filter/luminance/luminance.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT luminance.lo -MD -MP -MF $(DEPDIR)/luminance.Tpo -c -o luminance.lo `test -f 'filter/luminance/luminance.c' || echo '$(srcdir)/'`filter/luminance/luminance.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/luminance.Tpo $(DEPDIR)/luminance.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/luminance/luminance.c' object='luminance.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o luminance.lo `test -f 'filter/luminance/luminance.c' || echo '$(srcdir)/'`filter/luminance/luminance.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT luminance.lo -MD -MP -MF $(DEPDIR)/luminance.Tpo -c -o luminance.lo `test -f 'filter/luminance/luminance.c' || echo '$(srcdir)/'`filter/luminance/luminance.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/luminance.Tpo $(DEPDIR)/luminance.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/luminance/luminance.c' object='luminance.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o luminance.lo `test -f 'filter/luminance/luminance.c' || echo '$(srcdir)/'`filter/luminance/luminance.c mask0mate.lo: filter/mask0mate/mask0mate.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mask0mate.lo -MD -MP -MF $(DEPDIR)/mask0mate.Tpo -c -o mask0mate.lo `test -f 'filter/mask0mate/mask0mate.c' || echo '$(srcdir)/'`filter/mask0mate/mask0mate.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/mask0mate.Tpo $(DEPDIR)/mask0mate.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/mask0mate/mask0mate.c' object='mask0mate.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mask0mate.lo `test -f 'filter/mask0mate/mask0mate.c' || echo '$(srcdir)/'`filter/mask0mate/mask0mate.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mask0mate.lo -MD -MP -MF $(DEPDIR)/mask0mate.Tpo -c -o mask0mate.lo `test -f 'filter/mask0mate/mask0mate.c' || echo '$(srcdir)/'`filter/mask0mate/mask0mate.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mask0mate.Tpo $(DEPDIR)/mask0mate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/mask0mate/mask0mate.c' object='mask0mate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mask0mate.lo `test -f 'filter/mask0mate/mask0mate.c' || echo '$(srcdir)/'`filter/mask0mate/mask0mate.c + +medians.lo: filter/medians/medians.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT medians.lo -MD -MP -MF $(DEPDIR)/medians.Tpo -c -o medians.lo `test -f 'filter/medians/medians.c' || echo '$(srcdir)/'`filter/medians/medians.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/medians.Tpo $(DEPDIR)/medians.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/medians/medians.c' object='medians.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o medians.lo `test -f 'filter/medians/medians.c' || echo '$(srcdir)/'`filter/medians/medians.c perspective.lo: filter/perspective/perspective.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT perspective.lo -MD -MP -MF $(DEPDIR)/perspective.Tpo -c -o perspective.lo `test -f 'filter/perspective/perspective.c' || echo '$(srcdir)/'`filter/perspective/perspective.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/perspective.Tpo $(DEPDIR)/perspective.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/perspective/perspective.c' object='perspective.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o perspective.lo `test -f 'filter/perspective/perspective.c' || echo '$(srcdir)/'`filter/perspective/perspective.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT perspective.lo -MD -MP -MF $(DEPDIR)/perspective.Tpo -c -o perspective.lo `test -f 'filter/perspective/perspective.c' || echo '$(srcdir)/'`filter/perspective/perspective.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/perspective.Tpo $(DEPDIR)/perspective.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/perspective/perspective.c' object='perspective.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o perspective.lo `test -f 'filter/perspective/perspective.c' || echo '$(srcdir)/'`filter/perspective/perspective.c pixeliz0r.lo: filter/pixeliz0r/pixeliz0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pixeliz0r.lo -MD -MP -MF $(DEPDIR)/pixeliz0r.Tpo -c -o pixeliz0r.lo `test -f 'filter/pixeliz0r/pixeliz0r.c' || echo '$(srcdir)/'`filter/pixeliz0r/pixeliz0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/pixeliz0r.Tpo $(DEPDIR)/pixeliz0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/pixeliz0r/pixeliz0r.c' object='pixeliz0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pixeliz0r.lo `test -f 'filter/pixeliz0r/pixeliz0r.c' || echo '$(srcdir)/'`filter/pixeliz0r/pixeliz0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pixeliz0r.lo -MD -MP -MF $(DEPDIR)/pixeliz0r.Tpo -c -o pixeliz0r.lo `test -f 'filter/pixeliz0r/pixeliz0r.c' || echo '$(srcdir)/'`filter/pixeliz0r/pixeliz0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/pixeliz0r.Tpo $(DEPDIR)/pixeliz0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/pixeliz0r/pixeliz0r.c' object='pixeliz0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pixeliz0r.lo `test -f 'filter/pixeliz0r/pixeliz0r.c' || echo '$(srcdir)/'`filter/pixeliz0r/pixeliz0r.c + +posterize.lo: filter/posterize/posterize.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT posterize.lo -MD -MP -MF $(DEPDIR)/posterize.Tpo -c -o posterize.lo `test -f 'filter/posterize/posterize.c' || echo '$(srcdir)/'`filter/posterize/posterize.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/posterize.Tpo $(DEPDIR)/posterize.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/posterize/posterize.c' object='posterize.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o posterize.lo `test -f 'filter/posterize/posterize.c' || echo '$(srcdir)/'`filter/posterize/posterize.c pr0be.lo: filter/measure/pr0be.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pr0be.lo -MD -MP -MF $(DEPDIR)/pr0be.Tpo -c -o pr0be.lo `test -f 'filter/measure/pr0be.c' || echo '$(srcdir)/'`filter/measure/pr0be.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/pr0be.Tpo $(DEPDIR)/pr0be.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/measure/pr0be.c' object='pr0be.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pr0be.lo `test -f 'filter/measure/pr0be.c' || echo '$(srcdir)/'`filter/measure/pr0be.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pr0be.lo -MD -MP -MF $(DEPDIR)/pr0be.Tpo -c -o pr0be.lo `test -f 'filter/measure/pr0be.c' || echo '$(srcdir)/'`filter/measure/pr0be.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/pr0be.Tpo $(DEPDIR)/pr0be.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/measure/pr0be.c' object='pr0be.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pr0be.lo `test -f 'filter/measure/pr0be.c' || echo '$(srcdir)/'`filter/measure/pr0be.c pr0file.lo: filter/measure/pr0file.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pr0file.lo -MD -MP -MF $(DEPDIR)/pr0file.Tpo -c -o pr0file.lo `test -f 'filter/measure/pr0file.c' || echo '$(srcdir)/'`filter/measure/pr0file.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/pr0file.Tpo $(DEPDIR)/pr0file.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/measure/pr0file.c' object='pr0file.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pr0file.lo `test -f 'filter/measure/pr0file.c' || echo '$(srcdir)/'`filter/measure/pr0file.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT pr0file.lo -MD -MP -MF $(DEPDIR)/pr0file.Tpo -c -o pr0file.lo `test -f 'filter/measure/pr0file.c' || echo '$(srcdir)/'`filter/measure/pr0file.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/pr0file.Tpo $(DEPDIR)/pr0file.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/measure/pr0file.c' object='pr0file.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o pr0file.lo `test -f 'filter/measure/pr0file.c' || echo '$(srcdir)/'`filter/measure/pr0file.c + +rgbnoise.lo: filter/rgbnoise/rgbnoise.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT rgbnoise.lo -MD -MP -MF $(DEPDIR)/rgbnoise.Tpo -c -o rgbnoise.lo `test -f 'filter/rgbnoise/rgbnoise.c' || echo '$(srcdir)/'`filter/rgbnoise/rgbnoise.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/rgbnoise.Tpo $(DEPDIR)/rgbnoise.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/rgbnoise/rgbnoise.c' object='rgbnoise.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o rgbnoise.lo `test -f 'filter/rgbnoise/rgbnoise.c' || echo '$(srcdir)/'`filter/rgbnoise/rgbnoise.c rgbparade_la-rgbparade.lo: filter/rgbparade/rgbparade.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rgbparade_la_CFLAGS) $(CFLAGS) -MT rgbparade_la-rgbparade.lo -MD -MP -MF $(DEPDIR)/rgbparade_la-rgbparade.Tpo -c -o rgbparade_la-rgbparade.lo `test -f 'filter/rgbparade/rgbparade.c' || echo '$(srcdir)/'`filter/rgbparade/rgbparade.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/rgbparade_la-rgbparade.Tpo $(DEPDIR)/rgbparade_la-rgbparade.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/rgbparade/rgbparade.c' object='rgbparade_la-rgbparade.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rgbparade_la_CFLAGS) $(CFLAGS) -c -o rgbparade_la-rgbparade.lo `test -f 'filter/rgbparade/rgbparade.c' || echo '$(srcdir)/'`filter/rgbparade/rgbparade.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rgbparade_la_CFLAGS) $(CFLAGS) -MT rgbparade_la-rgbparade.lo -MD -MP -MF $(DEPDIR)/rgbparade_la-rgbparade.Tpo -c -o rgbparade_la-rgbparade.lo `test -f 'filter/rgbparade/rgbparade.c' || echo '$(srcdir)/'`filter/rgbparade/rgbparade.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/rgbparade_la-rgbparade.Tpo $(DEPDIR)/rgbparade_la-rgbparade.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/rgbparade/rgbparade.c' object='rgbparade_la-rgbparade.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rgbparade_la_CFLAGS) $(CFLAGS) -c -o rgbparade_la-rgbparade.lo `test -f 'filter/rgbparade/rgbparade.c' || echo '$(srcdir)/'`filter/rgbparade/rgbparade.c saturat0r.lo: filter/saturat0r/saturat0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT saturat0r.lo -MD -MP -MF $(DEPDIR)/saturat0r.Tpo -c -o saturat0r.lo `test -f 'filter/saturat0r/saturat0r.c' || echo '$(srcdir)/'`filter/saturat0r/saturat0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/saturat0r.Tpo $(DEPDIR)/saturat0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/saturat0r/saturat0r.c' object='saturat0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o saturat0r.lo `test -f 'filter/saturat0r/saturat0r.c' || echo '$(srcdir)/'`filter/saturat0r/saturat0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT saturat0r.lo -MD -MP -MF $(DEPDIR)/saturat0r.Tpo -c -o saturat0r.lo `test -f 'filter/saturat0r/saturat0r.c' || echo '$(srcdir)/'`filter/saturat0r/saturat0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/saturat0r.Tpo $(DEPDIR)/saturat0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/saturat0r/saturat0r.c' object='saturat0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o saturat0r.lo `test -f 'filter/saturat0r/saturat0r.c' || echo '$(srcdir)/'`filter/saturat0r/saturat0r.c scale0tilt_la-scale0tilt.lo: filter/scale0tilt/scale0tilt.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scale0tilt_la_CFLAGS) $(CFLAGS) -MT scale0tilt_la-scale0tilt.lo -MD -MP -MF $(DEPDIR)/scale0tilt_la-scale0tilt.Tpo -c -o scale0tilt_la-scale0tilt.lo `test -f 'filter/scale0tilt/scale0tilt.c' || echo '$(srcdir)/'`filter/scale0tilt/scale0tilt.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/scale0tilt_la-scale0tilt.Tpo $(DEPDIR)/scale0tilt_la-scale0tilt.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/scale0tilt/scale0tilt.c' object='scale0tilt_la-scale0tilt.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scale0tilt_la_CFLAGS) $(CFLAGS) -c -o scale0tilt_la-scale0tilt.lo `test -f 'filter/scale0tilt/scale0tilt.c' || echo '$(srcdir)/'`filter/scale0tilt/scale0tilt.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scale0tilt_la_CFLAGS) $(CFLAGS) -MT scale0tilt_la-scale0tilt.lo -MD -MP -MF $(DEPDIR)/scale0tilt_la-scale0tilt.Tpo -c -o scale0tilt_la-scale0tilt.lo `test -f 'filter/scale0tilt/scale0tilt.c' || echo '$(srcdir)/'`filter/scale0tilt/scale0tilt.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/scale0tilt_la-scale0tilt.Tpo $(DEPDIR)/scale0tilt_la-scale0tilt.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/scale0tilt/scale0tilt.c' object='scale0tilt_la-scale0tilt.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scale0tilt_la_CFLAGS) $(CFLAGS) -c -o scale0tilt_la-scale0tilt.lo `test -f 'filter/scale0tilt/scale0tilt.c' || echo '$(srcdir)/'`filter/scale0tilt/scale0tilt.c select0r.lo: filter/select0r/select0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT select0r.lo -MD -MP -MF $(DEPDIR)/select0r.Tpo -c -o select0r.lo `test -f 'filter/select0r/select0r.c' || echo '$(srcdir)/'`filter/select0r/select0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/select0r.Tpo $(DEPDIR)/select0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/select0r/select0r.c' object='select0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o select0r.lo `test -f 'filter/select0r/select0r.c' || echo '$(srcdir)/'`filter/select0r/select0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT select0r.lo -MD -MP -MF $(DEPDIR)/select0r.Tpo -c -o select0r.lo `test -f 'filter/select0r/select0r.c' || echo '$(srcdir)/'`filter/select0r/select0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/select0r.Tpo $(DEPDIR)/select0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/select0r/select0r.c' object='select0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o select0r.lo `test -f 'filter/select0r/select0r.c' || echo '$(srcdir)/'`filter/select0r/select0r.c sharpness.lo: filter/sharpness/sharpness.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sharpness.lo -MD -MP -MF $(DEPDIR)/sharpness.Tpo -c -o sharpness.lo `test -f 'filter/sharpness/sharpness.c' || echo '$(srcdir)/'`filter/sharpness/sharpness.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sharpness.Tpo $(DEPDIR)/sharpness.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/sharpness/sharpness.c' object='sharpness.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sharpness.lo `test -f 'filter/sharpness/sharpness.c' || echo '$(srcdir)/'`filter/sharpness/sharpness.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sharpness.lo -MD -MP -MF $(DEPDIR)/sharpness.Tpo -c -o sharpness.lo `test -f 'filter/sharpness/sharpness.c' || echo '$(srcdir)/'`filter/sharpness/sharpness.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sharpness.Tpo $(DEPDIR)/sharpness.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/sharpness/sharpness.c' object='sharpness.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sharpness.lo `test -f 'filter/sharpness/sharpness.c' || echo '$(srcdir)/'`filter/sharpness/sharpness.c + +sigmoidaltransfer.lo: filter/sigmoidaltransfer/sigmoidaltransfer.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sigmoidaltransfer.lo -MD -MP -MF $(DEPDIR)/sigmoidaltransfer.Tpo -c -o sigmoidaltransfer.lo `test -f 'filter/sigmoidaltransfer/sigmoidaltransfer.c' || echo '$(srcdir)/'`filter/sigmoidaltransfer/sigmoidaltransfer.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sigmoidaltransfer.Tpo $(DEPDIR)/sigmoidaltransfer.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/sigmoidaltransfer/sigmoidaltransfer.c' object='sigmoidaltransfer.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sigmoidaltransfer.lo `test -f 'filter/sigmoidaltransfer/sigmoidaltransfer.c' || echo '$(srcdir)/'`filter/sigmoidaltransfer/sigmoidaltransfer.c + +softglow.lo: filter/softglow/softglow.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT softglow.lo -MD -MP -MF $(DEPDIR)/softglow.Tpo -c -o softglow.lo `test -f 'filter/softglow/softglow.c' || echo '$(srcdir)/'`filter/softglow/softglow.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/softglow.Tpo $(DEPDIR)/softglow.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/softglow/softglow.c' object='softglow.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o softglow.lo `test -f 'filter/softglow/softglow.c' || echo '$(srcdir)/'`filter/softglow/softglow.c + +spillsupress.lo: filter/spillsupress/spillsupress.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT spillsupress.lo -MD -MP -MF $(DEPDIR)/spillsupress.Tpo -c -o spillsupress.lo `test -f 'filter/spillsupress/spillsupress.c' || echo '$(srcdir)/'`filter/spillsupress/spillsupress.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/spillsupress.Tpo $(DEPDIR)/spillsupress.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/spillsupress/spillsupress.c' object='spillsupress.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o spillsupress.lo `test -f 'filter/spillsupress/spillsupress.c' || echo '$(srcdir)/'`filter/spillsupress/spillsupress.c squareblur.lo: filter/squareblur/squareblur.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT squareblur.lo -MD -MP -MF $(DEPDIR)/squareblur.Tpo -c -o squareblur.lo `test -f 'filter/squareblur/squareblur.c' || echo '$(srcdir)/'`filter/squareblur/squareblur.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/squareblur.Tpo $(DEPDIR)/squareblur.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/squareblur/squareblur.c' object='squareblur.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o squareblur.lo `test -f 'filter/squareblur/squareblur.c' || echo '$(srcdir)/'`filter/squareblur/squareblur.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT squareblur.lo -MD -MP -MF $(DEPDIR)/squareblur.Tpo -c -o squareblur.lo `test -f 'filter/squareblur/squareblur.c' || echo '$(srcdir)/'`filter/squareblur/squareblur.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/squareblur.Tpo $(DEPDIR)/squareblur.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/squareblur/squareblur.c' object='squareblur.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o squareblur.lo `test -f 'filter/squareblur/squareblur.c' || echo '$(srcdir)/'`filter/squareblur/squareblur.c tehRoxx0r.lo: filter/tehroxx0r/tehRoxx0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tehRoxx0r.lo -MD -MP -MF $(DEPDIR)/tehRoxx0r.Tpo -c -o tehRoxx0r.lo `test -f 'filter/tehroxx0r/tehRoxx0r.c' || echo '$(srcdir)/'`filter/tehroxx0r/tehRoxx0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/tehRoxx0r.Tpo $(DEPDIR)/tehRoxx0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/tehroxx0r/tehRoxx0r.c' object='tehRoxx0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tehRoxx0r.lo `test -f 'filter/tehroxx0r/tehRoxx0r.c' || echo '$(srcdir)/'`filter/tehroxx0r/tehRoxx0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tehRoxx0r.lo -MD -MP -MF $(DEPDIR)/tehRoxx0r.Tpo -c -o tehRoxx0r.lo `test -f 'filter/tehroxx0r/tehRoxx0r.c' || echo '$(srcdir)/'`filter/tehroxx0r/tehRoxx0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tehRoxx0r.Tpo $(DEPDIR)/tehRoxx0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/tehroxx0r/tehRoxx0r.c' object='tehRoxx0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tehRoxx0r.lo `test -f 'filter/tehroxx0r/tehRoxx0r.c' || echo '$(srcdir)/'`filter/tehroxx0r/tehRoxx0r.c test_pat_B.lo: generator/test_pat/test_pat_B.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_B.lo -MD -MP -MF $(DEPDIR)/test_pat_B.Tpo -c -o test_pat_B.lo `test -f 'generator/test_pat/test_pat_B.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_B.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_B.Tpo $(DEPDIR)/test_pat_B.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_B.c' object='test_pat_B.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_B.lo `test -f 'generator/test_pat/test_pat_B.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_B.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_B.lo -MD -MP -MF $(DEPDIR)/test_pat_B.Tpo -c -o test_pat_B.lo `test -f 'generator/test_pat/test_pat_B.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_B.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_B.Tpo $(DEPDIR)/test_pat_B.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_B.c' object='test_pat_B.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_B.lo `test -f 'generator/test_pat/test_pat_B.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_B.c test_pat_C.lo: generator/test_pat/test_pat_C.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_C.lo -MD -MP -MF $(DEPDIR)/test_pat_C.Tpo -c -o test_pat_C.lo `test -f 'generator/test_pat/test_pat_C.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_C.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_C.Tpo $(DEPDIR)/test_pat_C.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_C.c' object='test_pat_C.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_C.lo `test -f 'generator/test_pat/test_pat_C.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_C.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_C.lo -MD -MP -MF $(DEPDIR)/test_pat_C.Tpo -c -o test_pat_C.lo `test -f 'generator/test_pat/test_pat_C.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_C.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_C.Tpo $(DEPDIR)/test_pat_C.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_C.c' object='test_pat_C.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_C.lo `test -f 'generator/test_pat/test_pat_C.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_C.c test_pat_G.lo: generator/test_pat/test_pat_G.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_G.lo -MD -MP -MF $(DEPDIR)/test_pat_G.Tpo -c -o test_pat_G.lo `test -f 'generator/test_pat/test_pat_G.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_G.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_G.Tpo $(DEPDIR)/test_pat_G.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_G.c' object='test_pat_G.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_G.lo `test -f 'generator/test_pat/test_pat_G.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_G.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_G.lo -MD -MP -MF $(DEPDIR)/test_pat_G.Tpo -c -o test_pat_G.lo `test -f 'generator/test_pat/test_pat_G.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_G.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_G.Tpo $(DEPDIR)/test_pat_G.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_G.c' object='test_pat_G.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_G.lo `test -f 'generator/test_pat/test_pat_G.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_G.c test_pat_I.lo: generator/test_pat/test_pat_I.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_I.lo -MD -MP -MF $(DEPDIR)/test_pat_I.Tpo -c -o test_pat_I.lo `test -f 'generator/test_pat/test_pat_I.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_I.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_I.Tpo $(DEPDIR)/test_pat_I.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_I.c' object='test_pat_I.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_I.lo `test -f 'generator/test_pat/test_pat_I.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_I.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_I.lo -MD -MP -MF $(DEPDIR)/test_pat_I.Tpo -c -o test_pat_I.lo `test -f 'generator/test_pat/test_pat_I.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_I.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_I.Tpo $(DEPDIR)/test_pat_I.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_I.c' object='test_pat_I.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_I.lo `test -f 'generator/test_pat/test_pat_I.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_I.c test_pat_L.lo: generator/test_pat/test_pat_L.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_L.lo -MD -MP -MF $(DEPDIR)/test_pat_L.Tpo -c -o test_pat_L.lo `test -f 'generator/test_pat/test_pat_L.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_L.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_L.Tpo $(DEPDIR)/test_pat_L.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_L.c' object='test_pat_L.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_L.lo `test -f 'generator/test_pat/test_pat_L.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_L.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_L.lo -MD -MP -MF $(DEPDIR)/test_pat_L.Tpo -c -o test_pat_L.lo `test -f 'generator/test_pat/test_pat_L.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_L.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_L.Tpo $(DEPDIR)/test_pat_L.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_L.c' object='test_pat_L.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_L.lo `test -f 'generator/test_pat/test_pat_L.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_L.c test_pat_R.lo: generator/test_pat/test_pat_R.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_R.lo -MD -MP -MF $(DEPDIR)/test_pat_R.Tpo -c -o test_pat_R.lo `test -f 'generator/test_pat/test_pat_R.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_R.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/test_pat_R.Tpo $(DEPDIR)/test_pat_R.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='generator/test_pat/test_pat_R.c' object='test_pat_R.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_R.lo `test -f 'generator/test_pat/test_pat_R.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_R.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT test_pat_R.lo -MD -MP -MF $(DEPDIR)/test_pat_R.Tpo -c -o test_pat_R.lo `test -f 'generator/test_pat/test_pat_R.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_R.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_pat_R.Tpo $(DEPDIR)/test_pat_R.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='generator/test_pat/test_pat_R.c' object='test_pat_R.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o test_pat_R.lo `test -f 'generator/test_pat/test_pat_R.c' || echo '$(srcdir)/'`generator/test_pat/test_pat_R.c three_point_balance.lo: filter/three_point_balance/three_point_balance.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT three_point_balance.lo -MD -MP -MF $(DEPDIR)/three_point_balance.Tpo -c -o three_point_balance.lo `test -f 'filter/three_point_balance/three_point_balance.c' || echo '$(srcdir)/'`filter/three_point_balance/three_point_balance.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/three_point_balance.Tpo $(DEPDIR)/three_point_balance.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/three_point_balance/three_point_balance.c' object='three_point_balance.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o three_point_balance.lo `test -f 'filter/three_point_balance/three_point_balance.c' || echo '$(srcdir)/'`filter/three_point_balance/three_point_balance.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT three_point_balance.lo -MD -MP -MF $(DEPDIR)/three_point_balance.Tpo -c -o three_point_balance.lo `test -f 'filter/three_point_balance/three_point_balance.c' || echo '$(srcdir)/'`filter/three_point_balance/three_point_balance.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/three_point_balance.Tpo $(DEPDIR)/three_point_balance.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/three_point_balance/three_point_balance.c' object='three_point_balance.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o three_point_balance.lo `test -f 'filter/three_point_balance/three_point_balance.c' || echo '$(srcdir)/'`filter/three_point_balance/three_point_balance.c threshold0r.lo: filter/threshold0r/threshold0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threshold0r.lo -MD -MP -MF $(DEPDIR)/threshold0r.Tpo -c -o threshold0r.lo `test -f 'filter/threshold0r/threshold0r.c' || echo '$(srcdir)/'`filter/threshold0r/threshold0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/threshold0r.Tpo $(DEPDIR)/threshold0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/threshold0r/threshold0r.c' object='threshold0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threshold0r.lo `test -f 'filter/threshold0r/threshold0r.c' || echo '$(srcdir)/'`filter/threshold0r/threshold0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT threshold0r.lo -MD -MP -MF $(DEPDIR)/threshold0r.Tpo -c -o threshold0r.lo `test -f 'filter/threshold0r/threshold0r.c' || echo '$(srcdir)/'`filter/threshold0r/threshold0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threshold0r.Tpo $(DEPDIR)/threshold0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/threshold0r/threshold0r.c' object='threshold0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o threshold0r.lo `test -f 'filter/threshold0r/threshold0r.c' || echo '$(srcdir)/'`filter/threshold0r/threshold0r.c tint0r.lo: filter/tint0r/tint0r.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tint0r.lo -MD -MP -MF $(DEPDIR)/tint0r.Tpo -c -o tint0r.lo `test -f 'filter/tint0r/tint0r.c' || echo '$(srcdir)/'`filter/tint0r/tint0r.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/tint0r.Tpo $(DEPDIR)/tint0r.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/tint0r/tint0r.c' object='tint0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tint0r.lo `test -f 'filter/tint0r/tint0r.c' || echo '$(srcdir)/'`filter/tint0r/tint0r.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tint0r.lo -MD -MP -MF $(DEPDIR)/tint0r.Tpo -c -o tint0r.lo `test -f 'filter/tint0r/tint0r.c' || echo '$(srcdir)/'`filter/tint0r/tint0r.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/tint0r.Tpo $(DEPDIR)/tint0r.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/tint0r/tint0r.c' object='tint0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tint0r.lo `test -f 'filter/tint0r/tint0r.c' || echo '$(srcdir)/'`filter/tint0r/tint0r.c transparency.lo: filter/transparency/transparency.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT transparency.lo -MD -MP -MF $(DEPDIR)/transparency.Tpo -c -o transparency.lo `test -f 'filter/transparency/transparency.c' || echo '$(srcdir)/'`filter/transparency/transparency.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/transparency.Tpo $(DEPDIR)/transparency.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/transparency/transparency.c' object='transparency.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o transparency.lo `test -f 'filter/transparency/transparency.c' || echo '$(srcdir)/'`filter/transparency/transparency.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT transparency.lo -MD -MP -MF $(DEPDIR)/transparency.Tpo -c -o transparency.lo `test -f 'filter/transparency/transparency.c' || echo '$(srcdir)/'`filter/transparency/transparency.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/transparency.Tpo $(DEPDIR)/transparency.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/transparency/transparency.c' object='transparency.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o transparency.lo `test -f 'filter/transparency/transparency.c' || echo '$(srcdir)/'`filter/transparency/transparency.c uvmap.lo: mixer2/uvmap/uvmap.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uvmap.lo -MD -MP -MF $(DEPDIR)/uvmap.Tpo -c -o uvmap.lo `test -f 'mixer2/uvmap/uvmap.c' || echo '$(srcdir)/'`mixer2/uvmap/uvmap.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/uvmap.Tpo $(DEPDIR)/uvmap.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='mixer2/uvmap/uvmap.c' object='uvmap.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o uvmap.lo `test -f 'mixer2/uvmap/uvmap.c' || echo '$(srcdir)/'`mixer2/uvmap/uvmap.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT uvmap.lo -MD -MP -MF $(DEPDIR)/uvmap.Tpo -c -o uvmap.lo `test -f 'mixer2/uvmap/uvmap.c' || echo '$(srcdir)/'`mixer2/uvmap/uvmap.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/uvmap.Tpo $(DEPDIR)/uvmap.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='mixer2/uvmap/uvmap.c' object='uvmap.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o uvmap.lo `test -f 'mixer2/uvmap/uvmap.c' || echo '$(srcdir)/'`mixer2/uvmap/uvmap.c vectorscope_la-vectorscope.lo: filter/vectorscope/vectorscope.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vectorscope_la_CFLAGS) $(CFLAGS) -MT vectorscope_la-vectorscope.lo -MD -MP -MF $(DEPDIR)/vectorscope_la-vectorscope.Tpo -c -o vectorscope_la-vectorscope.lo `test -f 'filter/vectorscope/vectorscope.c' || echo '$(srcdir)/'`filter/vectorscope/vectorscope.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/vectorscope_la-vectorscope.Tpo $(DEPDIR)/vectorscope_la-vectorscope.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/vectorscope/vectorscope.c' object='vectorscope_la-vectorscope.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vectorscope_la_CFLAGS) $(CFLAGS) -c -o vectorscope_la-vectorscope.lo `test -f 'filter/vectorscope/vectorscope.c' || echo '$(srcdir)/'`filter/vectorscope/vectorscope.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vectorscope_la_CFLAGS) $(CFLAGS) -MT vectorscope_la-vectorscope.lo -MD -MP -MF $(DEPDIR)/vectorscope_la-vectorscope.Tpo -c -o vectorscope_la-vectorscope.lo `test -f 'filter/vectorscope/vectorscope.c' || echo '$(srcdir)/'`filter/vectorscope/vectorscope.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vectorscope_la-vectorscope.Tpo $(DEPDIR)/vectorscope_la-vectorscope.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/vectorscope/vectorscope.c' object='vectorscope_la-vectorscope.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(vectorscope_la_CFLAGS) $(CFLAGS) -c -o vectorscope_la-vectorscope.lo `test -f 'filter/vectorscope/vectorscope.c' || echo '$(srcdir)/'`filter/vectorscope/vectorscope.c vertigo.lo: filter/vertigo/vertigo.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vertigo.lo -MD -MP -MF $(DEPDIR)/vertigo.Tpo -c -o vertigo.lo `test -f 'filter/vertigo/vertigo.c' || echo '$(srcdir)/'`filter/vertigo/vertigo.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/vertigo.Tpo $(DEPDIR)/vertigo.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='filter/vertigo/vertigo.c' object='vertigo.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vertigo.lo `test -f 'filter/vertigo/vertigo.c' || echo '$(srcdir)/'`filter/vertigo/vertigo.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vertigo.lo -MD -MP -MF $(DEPDIR)/vertigo.Tpo -c -o vertigo.lo `test -f 'filter/vertigo/vertigo.c' || echo '$(srcdir)/'`filter/vertigo/vertigo.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vertigo.Tpo $(DEPDIR)/vertigo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='filter/vertigo/vertigo.c' object='vertigo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vertigo.lo `test -f 'filter/vertigo/vertigo.c' || echo '$(srcdir)/'`filter/vertigo/vertigo.c .cpp.o: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: -@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: -@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< addition.lo: mixer2/addition/addition.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT addition.lo -MD -MP -MF $(DEPDIR)/addition.Tpo -c -o addition.lo `test -f 'mixer2/addition/addition.cpp' || echo '$(srcdir)/'`mixer2/addition/addition.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/addition.Tpo $(DEPDIR)/addition.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/addition/addition.cpp' object='addition.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o addition.lo `test -f 'mixer2/addition/addition.cpp' || echo '$(srcdir)/'`mixer2/addition/addition.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT addition.lo -MD -MP -MF $(DEPDIR)/addition.Tpo -c -o addition.lo `test -f 'mixer2/addition/addition.cpp' || echo '$(srcdir)/'`mixer2/addition/addition.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/addition.Tpo $(DEPDIR)/addition.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/addition/addition.cpp' object='addition.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o addition.lo `test -f 'mixer2/addition/addition.cpp' || echo '$(srcdir)/'`mixer2/addition/addition.cpp addition_alpha.lo: mixer2/addition_alpha/addition_alpha.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT addition_alpha.lo -MD -MP -MF $(DEPDIR)/addition_alpha.Tpo -c -o addition_alpha.lo `test -f 'mixer2/addition_alpha/addition_alpha.cpp' || echo '$(srcdir)/'`mixer2/addition_alpha/addition_alpha.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/addition_alpha.Tpo $(DEPDIR)/addition_alpha.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/addition_alpha/addition_alpha.cpp' object='addition_alpha.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o addition_alpha.lo `test -f 'mixer2/addition_alpha/addition_alpha.cpp' || echo '$(srcdir)/'`mixer2/addition_alpha/addition_alpha.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT addition_alpha.lo -MD -MP -MF $(DEPDIR)/addition_alpha.Tpo -c -o addition_alpha.lo `test -f 'mixer2/addition_alpha/addition_alpha.cpp' || echo '$(srcdir)/'`mixer2/addition_alpha/addition_alpha.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/addition_alpha.Tpo $(DEPDIR)/addition_alpha.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/addition_alpha/addition_alpha.cpp' object='addition_alpha.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o addition_alpha.lo `test -f 'mixer2/addition_alpha/addition_alpha.cpp' || echo '$(srcdir)/'`mixer2/addition_alpha/addition_alpha.cpp alphaatop.lo: mixer2/alphaatop/alphaatop.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaatop.lo -MD -MP -MF $(DEPDIR)/alphaatop.Tpo -c -o alphaatop.lo `test -f 'mixer2/alphaatop/alphaatop.cpp' || echo '$(srcdir)/'`mixer2/alphaatop/alphaatop.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/alphaatop.Tpo $(DEPDIR)/alphaatop.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/alphaatop/alphaatop.cpp' object='alphaatop.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaatop.lo `test -f 'mixer2/alphaatop/alphaatop.cpp' || echo '$(srcdir)/'`mixer2/alphaatop/alphaatop.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaatop.lo -MD -MP -MF $(DEPDIR)/alphaatop.Tpo -c -o alphaatop.lo `test -f 'mixer2/alphaatop/alphaatop.cpp' || echo '$(srcdir)/'`mixer2/alphaatop/alphaatop.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphaatop.Tpo $(DEPDIR)/alphaatop.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/alphaatop/alphaatop.cpp' object='alphaatop.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaatop.lo `test -f 'mixer2/alphaatop/alphaatop.cpp' || echo '$(srcdir)/'`mixer2/alphaatop/alphaatop.cpp alphain.lo: mixer2/alphain/alphain.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphain.lo -MD -MP -MF $(DEPDIR)/alphain.Tpo -c -o alphain.lo `test -f 'mixer2/alphain/alphain.cpp' || echo '$(srcdir)/'`mixer2/alphain/alphain.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/alphain.Tpo $(DEPDIR)/alphain.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/alphain/alphain.cpp' object='alphain.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphain.lo `test -f 'mixer2/alphain/alphain.cpp' || echo '$(srcdir)/'`mixer2/alphain/alphain.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphain.lo -MD -MP -MF $(DEPDIR)/alphain.Tpo -c -o alphain.lo `test -f 'mixer2/alphain/alphain.cpp' || echo '$(srcdir)/'`mixer2/alphain/alphain.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphain.Tpo $(DEPDIR)/alphain.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/alphain/alphain.cpp' object='alphain.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphain.lo `test -f 'mixer2/alphain/alphain.cpp' || echo '$(srcdir)/'`mixer2/alphain/alphain.cpp alphaout.lo: mixer2/alphaout/alphaout.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaout.lo -MD -MP -MF $(DEPDIR)/alphaout.Tpo -c -o alphaout.lo `test -f 'mixer2/alphaout/alphaout.cpp' || echo '$(srcdir)/'`mixer2/alphaout/alphaout.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/alphaout.Tpo $(DEPDIR)/alphaout.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/alphaout/alphaout.cpp' object='alphaout.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaout.lo `test -f 'mixer2/alphaout/alphaout.cpp' || echo '$(srcdir)/'`mixer2/alphaout/alphaout.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaout.lo -MD -MP -MF $(DEPDIR)/alphaout.Tpo -c -o alphaout.lo `test -f 'mixer2/alphaout/alphaout.cpp' || echo '$(srcdir)/'`mixer2/alphaout/alphaout.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphaout.Tpo $(DEPDIR)/alphaout.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/alphaout/alphaout.cpp' object='alphaout.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaout.lo `test -f 'mixer2/alphaout/alphaout.cpp' || echo '$(srcdir)/'`mixer2/alphaout/alphaout.cpp alphaover.lo: mixer2/alphaover/alphaover.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaover.lo -MD -MP -MF $(DEPDIR)/alphaover.Tpo -c -o alphaover.lo `test -f 'mixer2/alphaover/alphaover.cpp' || echo '$(srcdir)/'`mixer2/alphaover/alphaover.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/alphaover.Tpo $(DEPDIR)/alphaover.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/alphaover/alphaover.cpp' object='alphaover.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaover.lo `test -f 'mixer2/alphaover/alphaover.cpp' || echo '$(srcdir)/'`mixer2/alphaover/alphaover.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaover.lo -MD -MP -MF $(DEPDIR)/alphaover.Tpo -c -o alphaover.lo `test -f 'mixer2/alphaover/alphaover.cpp' || echo '$(srcdir)/'`mixer2/alphaover/alphaover.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphaover.Tpo $(DEPDIR)/alphaover.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/alphaover/alphaover.cpp' object='alphaover.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaover.lo `test -f 'mixer2/alphaover/alphaover.cpp' || echo '$(srcdir)/'`mixer2/alphaover/alphaover.cpp alphaxor.lo: mixer2/alphaxor/alphaxor.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaxor.lo -MD -MP -MF $(DEPDIR)/alphaxor.Tpo -c -o alphaxor.lo `test -f 'mixer2/alphaxor/alphaxor.cpp' || echo '$(srcdir)/'`mixer2/alphaxor/alphaxor.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/alphaxor.Tpo $(DEPDIR)/alphaxor.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/alphaxor/alphaxor.cpp' object='alphaxor.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaxor.lo `test -f 'mixer2/alphaxor/alphaxor.cpp' || echo '$(srcdir)/'`mixer2/alphaxor/alphaxor.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT alphaxor.lo -MD -MP -MF $(DEPDIR)/alphaxor.Tpo -c -o alphaxor.lo `test -f 'mixer2/alphaxor/alphaxor.cpp' || echo '$(srcdir)/'`mixer2/alphaxor/alphaxor.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/alphaxor.Tpo $(DEPDIR)/alphaxor.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/alphaxor/alphaxor.cpp' object='alphaxor.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o alphaxor.lo `test -f 'mixer2/alphaxor/alphaxor.cpp' || echo '$(srcdir)/'`mixer2/alphaxor/alphaxor.cpp baltan.lo: filter/baltan/baltan.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT baltan.lo -MD -MP -MF $(DEPDIR)/baltan.Tpo -c -o baltan.lo `test -f 'filter/baltan/baltan.cpp' || echo '$(srcdir)/'`filter/baltan/baltan.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/baltan.Tpo $(DEPDIR)/baltan.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/baltan/baltan.cpp' object='baltan.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o baltan.lo `test -f 'filter/baltan/baltan.cpp' || echo '$(srcdir)/'`filter/baltan/baltan.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT baltan.lo -MD -MP -MF $(DEPDIR)/baltan.Tpo -c -o baltan.lo `test -f 'filter/baltan/baltan.cpp' || echo '$(srcdir)/'`filter/baltan/baltan.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/baltan.Tpo $(DEPDIR)/baltan.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/baltan/baltan.cpp' object='baltan.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o baltan.lo `test -f 'filter/baltan/baltan.cpp' || echo '$(srcdir)/'`filter/baltan/baltan.cpp blend.lo: mixer2/blend/blend.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT blend.lo -MD -MP -MF $(DEPDIR)/blend.Tpo -c -o blend.lo `test -f 'mixer2/blend/blend.cpp' || echo '$(srcdir)/'`mixer2/blend/blend.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/blend.Tpo $(DEPDIR)/blend.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/blend/blend.cpp' object='blend.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o blend.lo `test -f 'mixer2/blend/blend.cpp' || echo '$(srcdir)/'`mixer2/blend/blend.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT blend.lo -MD -MP -MF $(DEPDIR)/blend.Tpo -c -o blend.lo `test -f 'mixer2/blend/blend.cpp' || echo '$(srcdir)/'`mixer2/blend/blend.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/blend.Tpo $(DEPDIR)/blend.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/blend/blend.cpp' object='blend.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o blend.lo `test -f 'mixer2/blend/blend.cpp' || echo '$(srcdir)/'`mixer2/blend/blend.cpp bluescreen0r.lo: filter/bluescreen0r/bluescreen0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT bluescreen0r.lo -MD -MP -MF $(DEPDIR)/bluescreen0r.Tpo -c -o bluescreen0r.lo `test -f 'filter/bluescreen0r/bluescreen0r.cpp' || echo '$(srcdir)/'`filter/bluescreen0r/bluescreen0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/bluescreen0r.Tpo $(DEPDIR)/bluescreen0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/bluescreen0r/bluescreen0r.cpp' object='bluescreen0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o bluescreen0r.lo `test -f 'filter/bluescreen0r/bluescreen0r.cpp' || echo '$(srcdir)/'`filter/bluescreen0r/bluescreen0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT bluescreen0r.lo -MD -MP -MF $(DEPDIR)/bluescreen0r.Tpo -c -o bluescreen0r.lo `test -f 'filter/bluescreen0r/bluescreen0r.cpp' || echo '$(srcdir)/'`filter/bluescreen0r/bluescreen0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/bluescreen0r.Tpo $(DEPDIR)/bluescreen0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/bluescreen0r/bluescreen0r.cpp' object='bluescreen0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o bluescreen0r.lo `test -f 'filter/bluescreen0r/bluescreen0r.cpp' || echo '$(srcdir)/'`filter/bluescreen0r/bluescreen0r.cpp burn.lo: mixer2/burn/burn.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT burn.lo -MD -MP -MF $(DEPDIR)/burn.Tpo -c -o burn.lo `test -f 'mixer2/burn/burn.cpp' || echo '$(srcdir)/'`mixer2/burn/burn.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/burn.Tpo $(DEPDIR)/burn.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/burn/burn.cpp' object='burn.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o burn.lo `test -f 'mixer2/burn/burn.cpp' || echo '$(srcdir)/'`mixer2/burn/burn.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT burn.lo -MD -MP -MF $(DEPDIR)/burn.Tpo -c -o burn.lo `test -f 'mixer2/burn/burn.cpp' || echo '$(srcdir)/'`mixer2/burn/burn.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/burn.Tpo $(DEPDIR)/burn.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/burn/burn.cpp' object='burn.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o burn.lo `test -f 'mixer2/burn/burn.cpp' || echo '$(srcdir)/'`mixer2/burn/burn.cpp cartoon.lo: filter/cartoon/cartoon.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT cartoon.lo -MD -MP -MF $(DEPDIR)/cartoon.Tpo -c -o cartoon.lo `test -f 'filter/cartoon/cartoon.cpp' || echo '$(srcdir)/'`filter/cartoon/cartoon.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/cartoon.Tpo $(DEPDIR)/cartoon.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/cartoon/cartoon.cpp' object='cartoon.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o cartoon.lo `test -f 'filter/cartoon/cartoon.cpp' || echo '$(srcdir)/'`filter/cartoon/cartoon.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT cartoon.lo -MD -MP -MF $(DEPDIR)/cartoon.Tpo -c -o cartoon.lo `test -f 'filter/cartoon/cartoon.cpp' || echo '$(srcdir)/'`filter/cartoon/cartoon.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/cartoon.Tpo $(DEPDIR)/cartoon.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/cartoon/cartoon.cpp' object='cartoon.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o cartoon.lo `test -f 'filter/cartoon/cartoon.cpp' || echo '$(srcdir)/'`filter/cartoon/cartoon.cpp color_only.lo: mixer2/color_only/color_only.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT color_only.lo -MD -MP -MF $(DEPDIR)/color_only.Tpo -c -o color_only.lo `test -f 'mixer2/color_only/color_only.cpp' || echo '$(srcdir)/'`mixer2/color_only/color_only.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/color_only.Tpo $(DEPDIR)/color_only.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/color_only/color_only.cpp' object='color_only.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o color_only.lo `test -f 'mixer2/color_only/color_only.cpp' || echo '$(srcdir)/'`mixer2/color_only/color_only.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT color_only.lo -MD -MP -MF $(DEPDIR)/color_only.Tpo -c -o color_only.lo `test -f 'mixer2/color_only/color_only.cpp' || echo '$(srcdir)/'`mixer2/color_only/color_only.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/color_only.Tpo $(DEPDIR)/color_only.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/color_only/color_only.cpp' object='color_only.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o color_only.lo `test -f 'mixer2/color_only/color_only.cpp' || echo '$(srcdir)/'`mixer2/color_only/color_only.cpp d90stairsteppingfix.lo: filter/d90stairsteppingfix/d90stairsteppingfix.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT d90stairsteppingfix.lo -MD -MP -MF $(DEPDIR)/d90stairsteppingfix.Tpo -c -o d90stairsteppingfix.lo `test -f 'filter/d90stairsteppingfix/d90stairsteppingfix.cpp' || echo '$(srcdir)/'`filter/d90stairsteppingfix/d90stairsteppingfix.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/d90stairsteppingfix.Tpo $(DEPDIR)/d90stairsteppingfix.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/d90stairsteppingfix/d90stairsteppingfix.cpp' object='d90stairsteppingfix.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o d90stairsteppingfix.lo `test -f 'filter/d90stairsteppingfix/d90stairsteppingfix.cpp' || echo '$(srcdir)/'`filter/d90stairsteppingfix/d90stairsteppingfix.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT d90stairsteppingfix.lo -MD -MP -MF $(DEPDIR)/d90stairsteppingfix.Tpo -c -o d90stairsteppingfix.lo `test -f 'filter/d90stairsteppingfix/d90stairsteppingfix.cpp' || echo '$(srcdir)/'`filter/d90stairsteppingfix/d90stairsteppingfix.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/d90stairsteppingfix.Tpo $(DEPDIR)/d90stairsteppingfix.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/d90stairsteppingfix/d90stairsteppingfix.cpp' object='d90stairsteppingfix.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o d90stairsteppingfix.lo `test -f 'filter/d90stairsteppingfix/d90stairsteppingfix.cpp' || echo '$(srcdir)/'`filter/d90stairsteppingfix/d90stairsteppingfix.cpp darken.lo: mixer2/darken/darken.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT darken.lo -MD -MP -MF $(DEPDIR)/darken.Tpo -c -o darken.lo `test -f 'mixer2/darken/darken.cpp' || echo '$(srcdir)/'`mixer2/darken/darken.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/darken.Tpo $(DEPDIR)/darken.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/darken/darken.cpp' object='darken.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o darken.lo `test -f 'mixer2/darken/darken.cpp' || echo '$(srcdir)/'`mixer2/darken/darken.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT darken.lo -MD -MP -MF $(DEPDIR)/darken.Tpo -c -o darken.lo `test -f 'mixer2/darken/darken.cpp' || echo '$(srcdir)/'`mixer2/darken/darken.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/darken.Tpo $(DEPDIR)/darken.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/darken/darken.cpp' object='darken.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o darken.lo `test -f 'mixer2/darken/darken.cpp' || echo '$(srcdir)/'`mixer2/darken/darken.cpp delay0r.lo: filter/delay0r/delay0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT delay0r.lo -MD -MP -MF $(DEPDIR)/delay0r.Tpo -c -o delay0r.lo `test -f 'filter/delay0r/delay0r.cpp' || echo '$(srcdir)/'`filter/delay0r/delay0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/delay0r.Tpo $(DEPDIR)/delay0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/delay0r/delay0r.cpp' object='delay0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o delay0r.lo `test -f 'filter/delay0r/delay0r.cpp' || echo '$(srcdir)/'`filter/delay0r/delay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT delay0r.lo -MD -MP -MF $(DEPDIR)/delay0r.Tpo -c -o delay0r.lo `test -f 'filter/delay0r/delay0r.cpp' || echo '$(srcdir)/'`filter/delay0r/delay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/delay0r.Tpo $(DEPDIR)/delay0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/delay0r/delay0r.cpp' object='delay0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o delay0r.lo `test -f 'filter/delay0r/delay0r.cpp' || echo '$(srcdir)/'`filter/delay0r/delay0r.cpp delaygrab.lo: filter/delaygrab/delaygrab.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT delaygrab.lo -MD -MP -MF $(DEPDIR)/delaygrab.Tpo -c -o delaygrab.lo `test -f 'filter/delaygrab/delaygrab.cpp' || echo '$(srcdir)/'`filter/delaygrab/delaygrab.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/delaygrab.Tpo $(DEPDIR)/delaygrab.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/delaygrab/delaygrab.cpp' object='delaygrab.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o delaygrab.lo `test -f 'filter/delaygrab/delaygrab.cpp' || echo '$(srcdir)/'`filter/delaygrab/delaygrab.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT delaygrab.lo -MD -MP -MF $(DEPDIR)/delaygrab.Tpo -c -o delaygrab.lo `test -f 'filter/delaygrab/delaygrab.cpp' || echo '$(srcdir)/'`filter/delaygrab/delaygrab.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/delaygrab.Tpo $(DEPDIR)/delaygrab.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/delaygrab/delaygrab.cpp' object='delaygrab.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o delaygrab.lo `test -f 'filter/delaygrab/delaygrab.cpp' || echo '$(srcdir)/'`filter/delaygrab/delaygrab.cpp difference.lo: mixer2/difference/difference.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT difference.lo -MD -MP -MF $(DEPDIR)/difference.Tpo -c -o difference.lo `test -f 'mixer2/difference/difference.cpp' || echo '$(srcdir)/'`mixer2/difference/difference.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/difference.Tpo $(DEPDIR)/difference.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/difference/difference.cpp' object='difference.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o difference.lo `test -f 'mixer2/difference/difference.cpp' || echo '$(srcdir)/'`mixer2/difference/difference.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT difference.lo -MD -MP -MF $(DEPDIR)/difference.Tpo -c -o difference.lo `test -f 'mixer2/difference/difference.cpp' || echo '$(srcdir)/'`mixer2/difference/difference.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/difference.Tpo $(DEPDIR)/difference.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/difference/difference.cpp' object='difference.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o difference.lo `test -f 'mixer2/difference/difference.cpp' || echo '$(srcdir)/'`mixer2/difference/difference.cpp divide.lo: mixer2/divide/divide.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT divide.lo -MD -MP -MF $(DEPDIR)/divide.Tpo -c -o divide.lo `test -f 'mixer2/divide/divide.cpp' || echo '$(srcdir)/'`mixer2/divide/divide.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/divide.Tpo $(DEPDIR)/divide.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/divide/divide.cpp' object='divide.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o divide.lo `test -f 'mixer2/divide/divide.cpp' || echo '$(srcdir)/'`mixer2/divide/divide.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT divide.lo -MD -MP -MF $(DEPDIR)/divide.Tpo -c -o divide.lo `test -f 'mixer2/divide/divide.cpp' || echo '$(srcdir)/'`mixer2/divide/divide.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/divide.Tpo $(DEPDIR)/divide.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/divide/divide.cpp' object='divide.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o divide.lo `test -f 'mixer2/divide/divide.cpp' || echo '$(srcdir)/'`mixer2/divide/divide.cpp dodge.lo: mixer2/dodge/dodge.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT dodge.lo -MD -MP -MF $(DEPDIR)/dodge.Tpo -c -o dodge.lo `test -f 'mixer2/dodge/dodge.cpp' || echo '$(srcdir)/'`mixer2/dodge/dodge.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/dodge.Tpo $(DEPDIR)/dodge.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/dodge/dodge.cpp' object='dodge.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o dodge.lo `test -f 'mixer2/dodge/dodge.cpp' || echo '$(srcdir)/'`mixer2/dodge/dodge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT dodge.lo -MD -MP -MF $(DEPDIR)/dodge.Tpo -c -o dodge.lo `test -f 'mixer2/dodge/dodge.cpp' || echo '$(srcdir)/'`mixer2/dodge/dodge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dodge.Tpo $(DEPDIR)/dodge.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/dodge/dodge.cpp' object='dodge.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o dodge.lo `test -f 'mixer2/dodge/dodge.cpp' || echo '$(srcdir)/'`mixer2/dodge/dodge.cpp edgeglow.lo: filter/edgeglow/edgeglow.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT edgeglow.lo -MD -MP -MF $(DEPDIR)/edgeglow.Tpo -c -o edgeglow.lo `test -f 'filter/edgeglow/edgeglow.cpp' || echo '$(srcdir)/'`filter/edgeglow/edgeglow.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/edgeglow.Tpo $(DEPDIR)/edgeglow.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/edgeglow/edgeglow.cpp' object='edgeglow.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o edgeglow.lo `test -f 'filter/edgeglow/edgeglow.cpp' || echo '$(srcdir)/'`filter/edgeglow/edgeglow.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT edgeglow.lo -MD -MP -MF $(DEPDIR)/edgeglow.Tpo -c -o edgeglow.lo `test -f 'filter/edgeglow/edgeglow.cpp' || echo '$(srcdir)/'`filter/edgeglow/edgeglow.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/edgeglow.Tpo $(DEPDIR)/edgeglow.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/edgeglow/edgeglow.cpp' object='edgeglow.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o edgeglow.lo `test -f 'filter/edgeglow/edgeglow.cpp' || echo '$(srcdir)/'`filter/edgeglow/edgeglow.cpp equaliz0r.lo: filter/equaliz0r/equaliz0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT equaliz0r.lo -MD -MP -MF $(DEPDIR)/equaliz0r.Tpo -c -o equaliz0r.lo `test -f 'filter/equaliz0r/equaliz0r.cpp' || echo '$(srcdir)/'`filter/equaliz0r/equaliz0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/equaliz0r.Tpo $(DEPDIR)/equaliz0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/equaliz0r/equaliz0r.cpp' object='equaliz0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o equaliz0r.lo `test -f 'filter/equaliz0r/equaliz0r.cpp' || echo '$(srcdir)/'`filter/equaliz0r/equaliz0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT equaliz0r.lo -MD -MP -MF $(DEPDIR)/equaliz0r.Tpo -c -o equaliz0r.lo `test -f 'filter/equaliz0r/equaliz0r.cpp' || echo '$(srcdir)/'`filter/equaliz0r/equaliz0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/equaliz0r.Tpo $(DEPDIR)/equaliz0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/equaliz0r/equaliz0r.cpp' object='equaliz0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o equaliz0r.lo `test -f 'filter/equaliz0r/equaliz0r.cpp' || echo '$(srcdir)/'`filter/equaliz0r/equaliz0r.cpp facebl0r.lo: filter/facebl0r/facebl0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT facebl0r.lo -MD -MP -MF $(DEPDIR)/facebl0r.Tpo -c -o facebl0r.lo `test -f 'filter/facebl0r/facebl0r.cpp' || echo '$(srcdir)/'`filter/facebl0r/facebl0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/facebl0r.Tpo $(DEPDIR)/facebl0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/facebl0r/facebl0r.cpp' object='facebl0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o facebl0r.lo `test -f 'filter/facebl0r/facebl0r.cpp' || echo '$(srcdir)/'`filter/facebl0r/facebl0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT facebl0r.lo -MD -MP -MF $(DEPDIR)/facebl0r.Tpo -c -o facebl0r.lo `test -f 'filter/facebl0r/facebl0r.cpp' || echo '$(srcdir)/'`filter/facebl0r/facebl0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/facebl0r.Tpo $(DEPDIR)/facebl0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/facebl0r/facebl0r.cpp' object='facebl0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o facebl0r.lo `test -f 'filter/facebl0r/facebl0r.cpp' || echo '$(srcdir)/'`filter/facebl0r/facebl0r.cpp facedetect.lo: filter/facedetect/facedetect.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT facedetect.lo -MD -MP -MF $(DEPDIR)/facedetect.Tpo -c -o facedetect.lo `test -f 'filter/facedetect/facedetect.cpp' || echo '$(srcdir)/'`filter/facedetect/facedetect.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/facedetect.Tpo $(DEPDIR)/facedetect.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/facedetect/facedetect.cpp' object='facedetect.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o facedetect.lo `test -f 'filter/facedetect/facedetect.cpp' || echo '$(srcdir)/'`filter/facedetect/facedetect.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT facedetect.lo -MD -MP -MF $(DEPDIR)/facedetect.Tpo -c -o facedetect.lo `test -f 'filter/facedetect/facedetect.cpp' || echo '$(srcdir)/'`filter/facedetect/facedetect.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/facedetect.Tpo $(DEPDIR)/facedetect.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/facedetect/facedetect.cpp' object='facedetect.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o facedetect.lo `test -f 'filter/facedetect/facedetect.cpp' || echo '$(srcdir)/'`filter/facedetect/facedetect.cpp grain_extract.lo: mixer2/grain_extract/grain_extract.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT grain_extract.lo -MD -MP -MF $(DEPDIR)/grain_extract.Tpo -c -o grain_extract.lo `test -f 'mixer2/grain_extract/grain_extract.cpp' || echo '$(srcdir)/'`mixer2/grain_extract/grain_extract.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/grain_extract.Tpo $(DEPDIR)/grain_extract.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/grain_extract/grain_extract.cpp' object='grain_extract.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o grain_extract.lo `test -f 'mixer2/grain_extract/grain_extract.cpp' || echo '$(srcdir)/'`mixer2/grain_extract/grain_extract.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT grain_extract.lo -MD -MP -MF $(DEPDIR)/grain_extract.Tpo -c -o grain_extract.lo `test -f 'mixer2/grain_extract/grain_extract.cpp' || echo '$(srcdir)/'`mixer2/grain_extract/grain_extract.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/grain_extract.Tpo $(DEPDIR)/grain_extract.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/grain_extract/grain_extract.cpp' object='grain_extract.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o grain_extract.lo `test -f 'mixer2/grain_extract/grain_extract.cpp' || echo '$(srcdir)/'`mixer2/grain_extract/grain_extract.cpp grain_merge.lo: mixer2/grain_merge/grain_merge.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT grain_merge.lo -MD -MP -MF $(DEPDIR)/grain_merge.Tpo -c -o grain_merge.lo `test -f 'mixer2/grain_merge/grain_merge.cpp' || echo '$(srcdir)/'`mixer2/grain_merge/grain_merge.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/grain_merge.Tpo $(DEPDIR)/grain_merge.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/grain_merge/grain_merge.cpp' object='grain_merge.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o grain_merge.lo `test -f 'mixer2/grain_merge/grain_merge.cpp' || echo '$(srcdir)/'`mixer2/grain_merge/grain_merge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT grain_merge.lo -MD -MP -MF $(DEPDIR)/grain_merge.Tpo -c -o grain_merge.lo `test -f 'mixer2/grain_merge/grain_merge.cpp' || echo '$(srcdir)/'`mixer2/grain_merge/grain_merge.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/grain_merge.Tpo $(DEPDIR)/grain_merge.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/grain_merge/grain_merge.cpp' object='grain_merge.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o grain_merge.lo `test -f 'mixer2/grain_merge/grain_merge.cpp' || echo '$(srcdir)/'`mixer2/grain_merge/grain_merge.cpp hardlight.lo: mixer2/hardlight/hardlight.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hardlight.lo -MD -MP -MF $(DEPDIR)/hardlight.Tpo -c -o hardlight.lo `test -f 'mixer2/hardlight/hardlight.cpp' || echo '$(srcdir)/'`mixer2/hardlight/hardlight.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/hardlight.Tpo $(DEPDIR)/hardlight.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/hardlight/hardlight.cpp' object='hardlight.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hardlight.lo `test -f 'mixer2/hardlight/hardlight.cpp' || echo '$(srcdir)/'`mixer2/hardlight/hardlight.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hardlight.lo -MD -MP -MF $(DEPDIR)/hardlight.Tpo -c -o hardlight.lo `test -f 'mixer2/hardlight/hardlight.cpp' || echo '$(srcdir)/'`mixer2/hardlight/hardlight.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hardlight.Tpo $(DEPDIR)/hardlight.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/hardlight/hardlight.cpp' object='hardlight.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hardlight.lo `test -f 'mixer2/hardlight/hardlight.cpp' || echo '$(srcdir)/'`mixer2/hardlight/hardlight.cpp hue.lo: mixer2/hue/hue.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hue.lo -MD -MP -MF $(DEPDIR)/hue.Tpo -c -o hue.lo `test -f 'mixer2/hue/hue.cpp' || echo '$(srcdir)/'`mixer2/hue/hue.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/hue.Tpo $(DEPDIR)/hue.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/hue/hue.cpp' object='hue.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hue.lo `test -f 'mixer2/hue/hue.cpp' || echo '$(srcdir)/'`mixer2/hue/hue.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hue.lo -MD -MP -MF $(DEPDIR)/hue.Tpo -c -o hue.lo `test -f 'mixer2/hue/hue.cpp' || echo '$(srcdir)/'`mixer2/hue/hue.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/hue.Tpo $(DEPDIR)/hue.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/hue/hue.cpp' object='hue.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hue.lo `test -f 'mixer2/hue/hue.cpp' || echo '$(srcdir)/'`mixer2/hue/hue.cpp lighten.lo: mixer2/lighten/lighten.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lighten.lo -MD -MP -MF $(DEPDIR)/lighten.Tpo -c -o lighten.lo `test -f 'mixer2/lighten/lighten.cpp' || echo '$(srcdir)/'`mixer2/lighten/lighten.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/lighten.Tpo $(DEPDIR)/lighten.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/lighten/lighten.cpp' object='lighten.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lighten.lo `test -f 'mixer2/lighten/lighten.cpp' || echo '$(srcdir)/'`mixer2/lighten/lighten.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lighten.lo -MD -MP -MF $(DEPDIR)/lighten.Tpo -c -o lighten.lo `test -f 'mixer2/lighten/lighten.cpp' || echo '$(srcdir)/'`mixer2/lighten/lighten.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lighten.Tpo $(DEPDIR)/lighten.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/lighten/lighten.cpp' object='lighten.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lighten.lo `test -f 'mixer2/lighten/lighten.cpp' || echo '$(srcdir)/'`mixer2/lighten/lighten.cpp lightgraffiti.lo: filter/lightgraffiti/lightgraffiti.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lightgraffiti.lo -MD -MP -MF $(DEPDIR)/lightgraffiti.Tpo -c -o lightgraffiti.lo `test -f 'filter/lightgraffiti/lightgraffiti.cpp' || echo '$(srcdir)/'`filter/lightgraffiti/lightgraffiti.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/lightgraffiti.Tpo $(DEPDIR)/lightgraffiti.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/lightgraffiti/lightgraffiti.cpp' object='lightgraffiti.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lightgraffiti.lo `test -f 'filter/lightgraffiti/lightgraffiti.cpp' || echo '$(srcdir)/'`filter/lightgraffiti/lightgraffiti.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lightgraffiti.lo -MD -MP -MF $(DEPDIR)/lightgraffiti.Tpo -c -o lightgraffiti.lo `test -f 'filter/lightgraffiti/lightgraffiti.cpp' || echo '$(srcdir)/'`filter/lightgraffiti/lightgraffiti.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lightgraffiti.Tpo $(DEPDIR)/lightgraffiti.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/lightgraffiti/lightgraffiti.cpp' object='lightgraffiti.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lightgraffiti.lo `test -f 'filter/lightgraffiti/lightgraffiti.cpp' || echo '$(srcdir)/'`filter/lightgraffiti/lightgraffiti.cpp lissajous0r.lo: generator/lissajous0r/lissajous0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lissajous0r.lo -MD -MP -MF $(DEPDIR)/lissajous0r.Tpo -c -o lissajous0r.lo `test -f 'generator/lissajous0r/lissajous0r.cpp' || echo '$(srcdir)/'`generator/lissajous0r/lissajous0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/lissajous0r.Tpo $(DEPDIR)/lissajous0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='generator/lissajous0r/lissajous0r.cpp' object='lissajous0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lissajous0r.lo `test -f 'generator/lissajous0r/lissajous0r.cpp' || echo '$(srcdir)/'`generator/lissajous0r/lissajous0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT lissajous0r.lo -MD -MP -MF $(DEPDIR)/lissajous0r.Tpo -c -o lissajous0r.lo `test -f 'generator/lissajous0r/lissajous0r.cpp' || echo '$(srcdir)/'`generator/lissajous0r/lissajous0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/lissajous0r.Tpo $(DEPDIR)/lissajous0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='generator/lissajous0r/lissajous0r.cpp' object='lissajous0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o lissajous0r.lo `test -f 'generator/lissajous0r/lissajous0r.cpp' || echo '$(srcdir)/'`generator/lissajous0r/lissajous0r.cpp multiply.lo: mixer2/multiply/multiply.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT multiply.lo -MD -MP -MF $(DEPDIR)/multiply.Tpo -c -o multiply.lo `test -f 'mixer2/multiply/multiply.cpp' || echo '$(srcdir)/'`mixer2/multiply/multiply.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/multiply.Tpo $(DEPDIR)/multiply.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/multiply/multiply.cpp' object='multiply.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o multiply.lo `test -f 'mixer2/multiply/multiply.cpp' || echo '$(srcdir)/'`mixer2/multiply/multiply.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT multiply.lo -MD -MP -MF $(DEPDIR)/multiply.Tpo -c -o multiply.lo `test -f 'mixer2/multiply/multiply.cpp' || echo '$(srcdir)/'`mixer2/multiply/multiply.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/multiply.Tpo $(DEPDIR)/multiply.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/multiply/multiply.cpp' object='multiply.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o multiply.lo `test -f 'mixer2/multiply/multiply.cpp' || echo '$(srcdir)/'`mixer2/multiply/multiply.cpp nervous.lo: filter/nervous/nervous.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nervous.lo -MD -MP -MF $(DEPDIR)/nervous.Tpo -c -o nervous.lo `test -f 'filter/nervous/nervous.cpp' || echo '$(srcdir)/'`filter/nervous/nervous.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/nervous.Tpo $(DEPDIR)/nervous.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/nervous/nervous.cpp' object='nervous.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nervous.lo `test -f 'filter/nervous/nervous.cpp' || echo '$(srcdir)/'`filter/nervous/nervous.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nervous.lo -MD -MP -MF $(DEPDIR)/nervous.Tpo -c -o nervous.lo `test -f 'filter/nervous/nervous.cpp' || echo '$(srcdir)/'`filter/nervous/nervous.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nervous.Tpo $(DEPDIR)/nervous.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/nervous/nervous.cpp' object='nervous.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nervous.lo `test -f 'filter/nervous/nervous.cpp' || echo '$(srcdir)/'`filter/nervous/nervous.cpp nois0r.lo: generator/nois0r/nois0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nois0r.lo -MD -MP -MF $(DEPDIR)/nois0r.Tpo -c -o nois0r.lo `test -f 'generator/nois0r/nois0r.cpp' || echo '$(srcdir)/'`generator/nois0r/nois0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/nois0r.Tpo $(DEPDIR)/nois0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='generator/nois0r/nois0r.cpp' object='nois0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nois0r.lo `test -f 'generator/nois0r/nois0r.cpp' || echo '$(srcdir)/'`generator/nois0r/nois0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nois0r.lo -MD -MP -MF $(DEPDIR)/nois0r.Tpo -c -o nois0r.lo `test -f 'generator/nois0r/nois0r.cpp' || echo '$(srcdir)/'`generator/nois0r/nois0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nois0r.Tpo $(DEPDIR)/nois0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='generator/nois0r/nois0r.cpp' object='nois0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nois0r.lo `test -f 'generator/nois0r/nois0r.cpp' || echo '$(srcdir)/'`generator/nois0r/nois0r.cpp nosync0r.lo: filter/nosync0r/nosync0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nosync0r.lo -MD -MP -MF $(DEPDIR)/nosync0r.Tpo -c -o nosync0r.lo `test -f 'filter/nosync0r/nosync0r.cpp' || echo '$(srcdir)/'`filter/nosync0r/nosync0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/nosync0r.Tpo $(DEPDIR)/nosync0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/nosync0r/nosync0r.cpp' object='nosync0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nosync0r.lo `test -f 'filter/nosync0r/nosync0r.cpp' || echo '$(srcdir)/'`filter/nosync0r/nosync0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT nosync0r.lo -MD -MP -MF $(DEPDIR)/nosync0r.Tpo -c -o nosync0r.lo `test -f 'filter/nosync0r/nosync0r.cpp' || echo '$(srcdir)/'`filter/nosync0r/nosync0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nosync0r.Tpo $(DEPDIR)/nosync0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/nosync0r/nosync0r.cpp' object='nosync0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o nosync0r.lo `test -f 'filter/nosync0r/nosync0r.cpp' || echo '$(srcdir)/'`filter/nosync0r/nosync0r.cpp onecol0r.lo: generator/onecol0r/onecol0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT onecol0r.lo -MD -MP -MF $(DEPDIR)/onecol0r.Tpo -c -o onecol0r.lo `test -f 'generator/onecol0r/onecol0r.cpp' || echo '$(srcdir)/'`generator/onecol0r/onecol0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/onecol0r.Tpo $(DEPDIR)/onecol0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='generator/onecol0r/onecol0r.cpp' object='onecol0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o onecol0r.lo `test -f 'generator/onecol0r/onecol0r.cpp' || echo '$(srcdir)/'`generator/onecol0r/onecol0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT onecol0r.lo -MD -MP -MF $(DEPDIR)/onecol0r.Tpo -c -o onecol0r.lo `test -f 'generator/onecol0r/onecol0r.cpp' || echo '$(srcdir)/'`generator/onecol0r/onecol0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/onecol0r.Tpo $(DEPDIR)/onecol0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='generator/onecol0r/onecol0r.cpp' object='onecol0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o onecol0r.lo `test -f 'generator/onecol0r/onecol0r.cpp' || echo '$(srcdir)/'`generator/onecol0r/onecol0r.cpp overlay.lo: mixer2/overlay/overlay.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT overlay.lo -MD -MP -MF $(DEPDIR)/overlay.Tpo -c -o overlay.lo `test -f 'mixer2/overlay/overlay.cpp' || echo '$(srcdir)/'`mixer2/overlay/overlay.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/overlay.Tpo $(DEPDIR)/overlay.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/overlay/overlay.cpp' object='overlay.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o overlay.lo `test -f 'mixer2/overlay/overlay.cpp' || echo '$(srcdir)/'`mixer2/overlay/overlay.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT overlay.lo -MD -MP -MF $(DEPDIR)/overlay.Tpo -c -o overlay.lo `test -f 'mixer2/overlay/overlay.cpp' || echo '$(srcdir)/'`mixer2/overlay/overlay.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/overlay.Tpo $(DEPDIR)/overlay.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/overlay/overlay.cpp' object='overlay.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o overlay.lo `test -f 'mixer2/overlay/overlay.cpp' || echo '$(srcdir)/'`mixer2/overlay/overlay.cpp partik0l.lo: generator/partik0l/partik0l.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT partik0l.lo -MD -MP -MF $(DEPDIR)/partik0l.Tpo -c -o partik0l.lo `test -f 'generator/partik0l/partik0l.cpp' || echo '$(srcdir)/'`generator/partik0l/partik0l.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/partik0l.Tpo $(DEPDIR)/partik0l.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='generator/partik0l/partik0l.cpp' object='partik0l.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o partik0l.lo `test -f 'generator/partik0l/partik0l.cpp' || echo '$(srcdir)/'`generator/partik0l/partik0l.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT partik0l.lo -MD -MP -MF $(DEPDIR)/partik0l.Tpo -c -o partik0l.lo `test -f 'generator/partik0l/partik0l.cpp' || echo '$(srcdir)/'`generator/partik0l/partik0l.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/partik0l.Tpo $(DEPDIR)/partik0l.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='generator/partik0l/partik0l.cpp' object='partik0l.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o partik0l.lo `test -f 'generator/partik0l/partik0l.cpp' || echo '$(srcdir)/'`generator/partik0l/partik0l.cpp plasma.lo: generator/dem0scene/plasma.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT plasma.lo -MD -MP -MF $(DEPDIR)/plasma.Tpo -c -o plasma.lo `test -f 'generator/dem0scene/plasma.cpp' || echo '$(srcdir)/'`generator/dem0scene/plasma.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/plasma.Tpo $(DEPDIR)/plasma.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='generator/dem0scene/plasma.cpp' object='plasma.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o plasma.lo `test -f 'generator/dem0scene/plasma.cpp' || echo '$(srcdir)/'`generator/dem0scene/plasma.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT plasma.lo -MD -MP -MF $(DEPDIR)/plasma.Tpo -c -o plasma.lo `test -f 'generator/dem0scene/plasma.cpp' || echo '$(srcdir)/'`generator/dem0scene/plasma.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/plasma.Tpo $(DEPDIR)/plasma.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='generator/dem0scene/plasma.cpp' object='plasma.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o plasma.lo `test -f 'generator/dem0scene/plasma.cpp' || echo '$(srcdir)/'`generator/dem0scene/plasma.cpp primaries.lo: filter/primaries/primaries.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primaries.lo -MD -MP -MF $(DEPDIR)/primaries.Tpo -c -o primaries.lo `test -f 'filter/primaries/primaries.cpp' || echo '$(srcdir)/'`filter/primaries/primaries.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/primaries.Tpo $(DEPDIR)/primaries.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/primaries/primaries.cpp' object='primaries.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primaries.lo `test -f 'filter/primaries/primaries.cpp' || echo '$(srcdir)/'`filter/primaries/primaries.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primaries.lo -MD -MP -MF $(DEPDIR)/primaries.Tpo -c -o primaries.lo `test -f 'filter/primaries/primaries.cpp' || echo '$(srcdir)/'`filter/primaries/primaries.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/primaries.Tpo $(DEPDIR)/primaries.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/primaries/primaries.cpp' object='primaries.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primaries.lo `test -f 'filter/primaries/primaries.cpp' || echo '$(srcdir)/'`filter/primaries/primaries.cpp saturation.lo: mixer2/saturation/saturation.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT saturation.lo -MD -MP -MF $(DEPDIR)/saturation.Tpo -c -o saturation.lo `test -f 'mixer2/saturation/saturation.cpp' || echo '$(srcdir)/'`mixer2/saturation/saturation.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/saturation.Tpo $(DEPDIR)/saturation.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/saturation/saturation.cpp' object='saturation.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o saturation.lo `test -f 'mixer2/saturation/saturation.cpp' || echo '$(srcdir)/'`mixer2/saturation/saturation.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT saturation.lo -MD -MP -MF $(DEPDIR)/saturation.Tpo -c -o saturation.lo `test -f 'mixer2/saturation/saturation.cpp' || echo '$(srcdir)/'`mixer2/saturation/saturation.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/saturation.Tpo $(DEPDIR)/saturation.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/saturation/saturation.cpp' object='saturation.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o saturation.lo `test -f 'mixer2/saturation/saturation.cpp' || echo '$(srcdir)/'`mixer2/saturation/saturation.cpp scanline0r.lo: filter/scanline0r/scanline0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT scanline0r.lo -MD -MP -MF $(DEPDIR)/scanline0r.Tpo -c -o scanline0r.lo `test -f 'filter/scanline0r/scanline0r.cpp' || echo '$(srcdir)/'`filter/scanline0r/scanline0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/scanline0r.Tpo $(DEPDIR)/scanline0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/scanline0r/scanline0r.cpp' object='scanline0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o scanline0r.lo `test -f 'filter/scanline0r/scanline0r.cpp' || echo '$(srcdir)/'`filter/scanline0r/scanline0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT scanline0r.lo -MD -MP -MF $(DEPDIR)/scanline0r.Tpo -c -o scanline0r.lo `test -f 'filter/scanline0r/scanline0r.cpp' || echo '$(srcdir)/'`filter/scanline0r/scanline0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/scanline0r.Tpo $(DEPDIR)/scanline0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/scanline0r/scanline0r.cpp' object='scanline0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o scanline0r.lo `test -f 'filter/scanline0r/scanline0r.cpp' || echo '$(srcdir)/'`filter/scanline0r/scanline0r.cpp screen.lo: mixer2/screen/screen.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT screen.lo -MD -MP -MF $(DEPDIR)/screen.Tpo -c -o screen.lo `test -f 'mixer2/screen/screen.cpp' || echo '$(srcdir)/'`mixer2/screen/screen.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/screen.Tpo $(DEPDIR)/screen.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/screen/screen.cpp' object='screen.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o screen.lo `test -f 'mixer2/screen/screen.cpp' || echo '$(srcdir)/'`mixer2/screen/screen.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT screen.lo -MD -MP -MF $(DEPDIR)/screen.Tpo -c -o screen.lo `test -f 'mixer2/screen/screen.cpp' || echo '$(srcdir)/'`mixer2/screen/screen.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/screen.Tpo $(DEPDIR)/screen.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/screen/screen.cpp' object='screen.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o screen.lo `test -f 'mixer2/screen/screen.cpp' || echo '$(srcdir)/'`mixer2/screen/screen.cpp sobel.lo: filter/sobel/sobel.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sobel.lo -MD -MP -MF $(DEPDIR)/sobel.Tpo -c -o sobel.lo `test -f 'filter/sobel/sobel.cpp' || echo '$(srcdir)/'`filter/sobel/sobel.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sobel.Tpo $(DEPDIR)/sobel.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/sobel/sobel.cpp' object='sobel.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sobel.lo `test -f 'filter/sobel/sobel.cpp' || echo '$(srcdir)/'`filter/sobel/sobel.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sobel.lo -MD -MP -MF $(DEPDIR)/sobel.Tpo -c -o sobel.lo `test -f 'filter/sobel/sobel.cpp' || echo '$(srcdir)/'`filter/sobel/sobel.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sobel.Tpo $(DEPDIR)/sobel.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/sobel/sobel.cpp' object='sobel.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sobel.lo `test -f 'filter/sobel/sobel.cpp' || echo '$(srcdir)/'`filter/sobel/sobel.cpp softlight.lo: mixer2/softlight/softlight.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT softlight.lo -MD -MP -MF $(DEPDIR)/softlight.Tpo -c -o softlight.lo `test -f 'mixer2/softlight/softlight.cpp' || echo '$(srcdir)/'`mixer2/softlight/softlight.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/softlight.Tpo $(DEPDIR)/softlight.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/softlight/softlight.cpp' object='softlight.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o softlight.lo `test -f 'mixer2/softlight/softlight.cpp' || echo '$(srcdir)/'`mixer2/softlight/softlight.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT softlight.lo -MD -MP -MF $(DEPDIR)/softlight.Tpo -c -o softlight.lo `test -f 'mixer2/softlight/softlight.cpp' || echo '$(srcdir)/'`mixer2/softlight/softlight.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/softlight.Tpo $(DEPDIR)/softlight.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/softlight/softlight.cpp' object='softlight.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o softlight.lo `test -f 'mixer2/softlight/softlight.cpp' || echo '$(srcdir)/'`mixer2/softlight/softlight.cpp sopsat.lo: filter/sopsat/sopsat.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sopsat.lo -MD -MP -MF $(DEPDIR)/sopsat.Tpo -c -o sopsat.lo `test -f 'filter/sopsat/sopsat.cpp' || echo '$(srcdir)/'`filter/sopsat/sopsat.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sopsat.Tpo $(DEPDIR)/sopsat.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/sopsat/sopsat.cpp' object='sopsat.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sopsat.lo `test -f 'filter/sopsat/sopsat.cpp' || echo '$(srcdir)/'`filter/sopsat/sopsat.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sopsat.lo -MD -MP -MF $(DEPDIR)/sopsat.Tpo -c -o sopsat.lo `test -f 'filter/sopsat/sopsat.cpp' || echo '$(srcdir)/'`filter/sopsat/sopsat.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sopsat.Tpo $(DEPDIR)/sopsat.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/sopsat/sopsat.cpp' object='sopsat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sopsat.lo `test -f 'filter/sopsat/sopsat.cpp' || echo '$(srcdir)/'`filter/sopsat/sopsat.cpp subtract.lo: mixer2/subtract/subtract.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT subtract.lo -MD -MP -MF $(DEPDIR)/subtract.Tpo -c -o subtract.lo `test -f 'mixer2/subtract/subtract.cpp' || echo '$(srcdir)/'`mixer2/subtract/subtract.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/subtract.Tpo $(DEPDIR)/subtract.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/subtract/subtract.cpp' object='subtract.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o subtract.lo `test -f 'mixer2/subtract/subtract.cpp' || echo '$(srcdir)/'`mixer2/subtract/subtract.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT subtract.lo -MD -MP -MF $(DEPDIR)/subtract.Tpo -c -o subtract.lo `test -f 'mixer2/subtract/subtract.cpp' || echo '$(srcdir)/'`mixer2/subtract/subtract.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/subtract.Tpo $(DEPDIR)/subtract.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/subtract/subtract.cpp' object='subtract.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o subtract.lo `test -f 'mixer2/subtract/subtract.cpp' || echo '$(srcdir)/'`mixer2/subtract/subtract.cpp threelay0r.lo: filter/threelay0r/threelay0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT threelay0r.lo -MD -MP -MF $(DEPDIR)/threelay0r.Tpo -c -o threelay0r.lo `test -f 'filter/threelay0r/threelay0r.cpp' || echo '$(srcdir)/'`filter/threelay0r/threelay0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/threelay0r.Tpo $(DEPDIR)/threelay0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/threelay0r/threelay0r.cpp' object='threelay0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o threelay0r.lo `test -f 'filter/threelay0r/threelay0r.cpp' || echo '$(srcdir)/'`filter/threelay0r/threelay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT threelay0r.lo -MD -MP -MF $(DEPDIR)/threelay0r.Tpo -c -o threelay0r.lo `test -f 'filter/threelay0r/threelay0r.cpp' || echo '$(srcdir)/'`filter/threelay0r/threelay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/threelay0r.Tpo $(DEPDIR)/threelay0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/threelay0r/threelay0r.cpp' object='threelay0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o threelay0r.lo `test -f 'filter/threelay0r/threelay0r.cpp' || echo '$(srcdir)/'`filter/threelay0r/threelay0r.cpp + +timeout.lo: filter/timeout/timeout.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT timeout.lo -MD -MP -MF $(DEPDIR)/timeout.Tpo -c -o timeout.lo `test -f 'filter/timeout/timeout.cpp' || echo '$(srcdir)/'`filter/timeout/timeout.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/timeout.Tpo $(DEPDIR)/timeout.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/timeout/timeout.cpp' object='timeout.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o timeout.lo `test -f 'filter/timeout/timeout.cpp' || echo '$(srcdir)/'`filter/timeout/timeout.cpp twolay0r.lo: filter/twolay0r/twolay0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT twolay0r.lo -MD -MP -MF $(DEPDIR)/twolay0r.Tpo -c -o twolay0r.lo `test -f 'filter/twolay0r/twolay0r.cpp' || echo '$(srcdir)/'`filter/twolay0r/twolay0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/twolay0r.Tpo $(DEPDIR)/twolay0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='filter/twolay0r/twolay0r.cpp' object='twolay0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o twolay0r.lo `test -f 'filter/twolay0r/twolay0r.cpp' || echo '$(srcdir)/'`filter/twolay0r/twolay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT twolay0r.lo -MD -MP -MF $(DEPDIR)/twolay0r.Tpo -c -o twolay0r.lo `test -f 'filter/twolay0r/twolay0r.cpp' || echo '$(srcdir)/'`filter/twolay0r/twolay0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/twolay0r.Tpo $(DEPDIR)/twolay0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/twolay0r/twolay0r.cpp' object='twolay0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o twolay0r.lo `test -f 'filter/twolay0r/twolay0r.cpp' || echo '$(srcdir)/'`filter/twolay0r/twolay0r.cpp value.lo: mixer2/value/value.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT value.lo -MD -MP -MF $(DEPDIR)/value.Tpo -c -o value.lo `test -f 'mixer2/value/value.cpp' || echo '$(srcdir)/'`mixer2/value/value.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/value.Tpo $(DEPDIR)/value.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/value/value.cpp' object='value.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o value.lo `test -f 'mixer2/value/value.cpp' || echo '$(srcdir)/'`mixer2/value/value.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT value.lo -MD -MP -MF $(DEPDIR)/value.Tpo -c -o value.lo `test -f 'mixer2/value/value.cpp' || echo '$(srcdir)/'`mixer2/value/value.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/value.Tpo $(DEPDIR)/value.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/value/value.cpp' object='value.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o value.lo `test -f 'mixer2/value/value.cpp' || echo '$(srcdir)/'`mixer2/value/value.cpp + +vignette.lo: filter/vignette/vignette.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vignette.lo -MD -MP -MF $(DEPDIR)/vignette.Tpo -c -o vignette.lo `test -f 'filter/vignette/vignette.cpp' || echo '$(srcdir)/'`filter/vignette/vignette.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vignette.Tpo $(DEPDIR)/vignette.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filter/vignette/vignette.cpp' object='vignette.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vignette.lo `test -f 'filter/vignette/vignette.cpp' || echo '$(srcdir)/'`filter/vignette/vignette.cpp xfade0r.lo: mixer2/xfade0r/xfade0r.cpp -@am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT xfade0r.lo -MD -MP -MF $(DEPDIR)/xfade0r.Tpo -c -o xfade0r.lo `test -f 'mixer2/xfade0r/xfade0r.cpp' || echo '$(srcdir)/'`mixer2/xfade0r/xfade0r.cpp -@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/xfade0r.Tpo $(DEPDIR)/xfade0r.Plo -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='mixer2/xfade0r/xfade0r.cpp' object='xfade0r.lo' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o xfade0r.lo `test -f 'mixer2/xfade0r/xfade0r.cpp' || echo '$(srcdir)/'`mixer2/xfade0r/xfade0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT xfade0r.lo -MD -MP -MF $(DEPDIR)/xfade0r.Tpo -c -o xfade0r.lo `test -f 'mixer2/xfade0r/xfade0r.cpp' || echo '$(srcdir)/'`mixer2/xfade0r/xfade0r.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/xfade0r.Tpo $(DEPDIR)/xfade0r.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mixer2/xfade0r/xfade0r.cpp' object='xfade0r.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o xfade0r.lo `test -f 'mixer2/xfade0r/xfade0r.cpp' || echo '$(srcdir)/'`mixer2/xfade0r/xfade0r.cpp mostlyclean-libtool: -rm -f *.lo @@ -2023,26 +2456,15 @@ clean-libtool: -rm -rf .libs _libs -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ - mkid -fID $$unique -tags: TAGS - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ + $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ @@ -2054,15 +2476,11 @@ $$unique; \ fi; \ fi -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in files) print i; }; }'`; \ +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique @@ -2071,6 +2489,21 @@ here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags @@ -2122,10 +2555,15 @@ installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi mostlyclean-generic: clean-generic: @@ -2210,19 +2648,20 @@ .MAKE: install-am install-strip -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libtool clean-pluginLTLIBRARIES ctags distclean \ - distclean-compile distclean-generic distclean-libtool \ - distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am install-dvi \ - install-dvi-am install-exec install-exec-am install-html \ - install-html-am install-info install-info-am install-man \ - install-pdf install-pdf-am install-pluginLTLIBRARIES \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-pluginLTLIBRARIES +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-libtool clean-pluginLTLIBRARIES cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-pluginLTLIBRARIES install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-pluginLTLIBRARIES install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) diff --git a/src/filter/3dflippo/3dflippo.c b/src/filter/3dflippo/3dflippo.c index 3a98027..2a1fbc8 100644 --- a/src/filter/3dflippo/3dflippo.c +++ b/src/filter/3dflippo/3dflippo.c @@ -77,7 +77,7 @@ flippoInfo->color_model=F0R_COLOR_MODEL_PACKED32; flippoInfo->frei0r_version=FREI0R_MAJOR_VERSION; flippoInfo->major_version=0; - flippoInfo->minor_version=0; + flippoInfo->minor_version=1; flippoInfo->num_params=11; flippoInfo->explanation="Frame rotation in 3d-space"; } @@ -442,4 +442,5 @@ inst->mask[pos]=ny*inst->width+nx; } } -} + matfree(mat); +} diff --git a/src/filter/3dflippo/Makefile b/src/filter/3dflippo/Makefile new file mode 100644 index 0000000..c895f7f --- /dev/null +++ b/src/filter/3dflippo/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/3dflippo/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/3dflippo/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/3dflippo/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/3dflippo/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/3dflippo/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/3dflippo/CMakeFiles/3dflippo.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/3dflippo/CMakeFiles/3dflippo.dir/rule +.PHONY : src/filter/3dflippo/CMakeFiles/3dflippo.dir/rule + +# Convenience name for target. +3dflippo: src/filter/3dflippo/CMakeFiles/3dflippo.dir/rule +.PHONY : 3dflippo + +# fast build rule for target. +3dflippo/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/3dflippo/CMakeFiles/3dflippo.dir/build.make src/filter/3dflippo/CMakeFiles/3dflippo.dir/build +.PHONY : 3dflippo/fast + +3dflippo.o: 3dflippo.c.o +.PHONY : 3dflippo.o + +# target to build an object file +3dflippo.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/3dflippo/CMakeFiles/3dflippo.dir/build.make src/filter/3dflippo/CMakeFiles/3dflippo.dir/3dflippo.c.o +.PHONY : 3dflippo.c.o + +3dflippo.i: 3dflippo.c.i +.PHONY : 3dflippo.i + +# target to preprocess a source file +3dflippo.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/3dflippo/CMakeFiles/3dflippo.dir/build.make src/filter/3dflippo/CMakeFiles/3dflippo.dir/3dflippo.c.i +.PHONY : 3dflippo.c.i + +3dflippo.s: 3dflippo.c.s +.PHONY : 3dflippo.s + +# target to generate assembly for a file +3dflippo.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/3dflippo/CMakeFiles/3dflippo.dir/build.make src/filter/3dflippo/CMakeFiles/3dflippo.dir/3dflippo.c.s +.PHONY : 3dflippo.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... 3dflippo" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... 3dflippo.o" + @echo "... 3dflippo.i" + @echo "... 3dflippo.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/CMakeLists.txt b/src/filter/CMakeLists.txt index ea0ddf4..31ad4b9 100644 --- a/src/filter/CMakeLists.txt +++ b/src/filter/CMakeLists.txt @@ -9,15 +9,27 @@ add_subdirectory (facedetect) endif (${OpenCV_FOUND}) +if (${Cairo_FOUND}) + add_subdirectory (cairoimagegrid) + add_subdirectory (cairogradient) +endif (${Cairo_FOUND}) + add_subdirectory (3dflippo) +add_subdirectory (alpha0ps) add_subdirectory (balanc0r) add_subdirectory (baltan) add_subdirectory (bluescreen0r) +add_subdirectory (blur) add_subdirectory (brightness) add_subdirectory (bw0r) add_subdirectory (cartoon) add_subdirectory (cluster) +add_subdirectory (colgate) +add_subdirectory (coloradj) add_subdirectory (colordistance) +add_subdirectory (colorize) +add_subdirectory (colorhalftone) +add_subdirectory (colortap) add_subdirectory (contrast0r) add_subdirectory (c0rners) add_subdirectory (curves) @@ -25,8 +37,11 @@ add_subdirectory (defish0r) add_subdirectory (delay0r) add_subdirectory (delaygrab) +add_subdirectory (denoise) add_subdirectory (distort0r) +add_subdirectory (dither) add_subdirectory (edgeglow) +add_subdirectory (emboss) add_subdirectory (equaliz0r) add_subdirectory (flippo) add_subdirectory (gamma) @@ -34,35 +49,44 @@ #add_subdirectory (host_param_test) add_subdirectory (hueshift0r) add_subdirectory (invert0r) +add_subdirectory (keyspillm0pup) add_subdirectory (lenscorrection) add_subdirectory (letterb0xed) add_subdirectory (levels) add_subdirectory (lightgraffiti) add_subdirectory (luminance) add_subdirectory (mask0mate) +add_subdirectory (medians) +if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + # clang 3.1 on OSX fails to compile this one + add_subdirectory (measure) +endif () add_subdirectory (nervous) add_subdirectory (nosync0r) add_subdirectory (perspective) add_subdirectory (pixeliz0r) +add_subdirectory (posterize) add_subdirectory (primaries) add_subdirectory (RGB) +add_subdirectory (rgbnoise) add_subdirectory (saturat0r) add_subdirectory (scanline0r) +add_subdirectory (select0r) +add_subdirectory (sharpness) +add_subdirectory (sigmoidaltransfer) add_subdirectory (sobel) +add_subdirectory (softglow) add_subdirectory (sopsat) +add_subdirectory (spillsupress) add_subdirectory (squareblur) add_subdirectory (tehroxx0r) add_subdirectory (three_point_balance) add_subdirectory (threelay0r) add_subdirectory (threshold0r) +add_subdirectory (timeout) add_subdirectory (tint0r) add_subdirectory (transparency) add_subdirectory (tutorial) add_subdirectory (twolay0r) add_subdirectory (vertigo) -add_subdirectory (coloradj) -add_subdirectory (alpha0ps) -add_subdirectory (measure) -add_subdirectory (select0r) -add_subdirectory (denoise) -add_subdirectory (sharpness) +add_subdirectory (vignette) diff --git a/src/filter/Makefile b/src/filter/Makefile new file mode 100644 index 0000000..06d6d2a --- /dev/null +++ b/src/filter/Makefile @@ -0,0 +1,170 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/RGB/Makefile b/src/filter/RGB/Makefile new file mode 100644 index 0000000..f51134c --- /dev/null +++ b/src/filter/RGB/Makefile @@ -0,0 +1,296 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/RGB/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/RGB/CMakeFiles/B.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/CMakeFiles/B.dir/rule +.PHONY : src/filter/RGB/CMakeFiles/B.dir/rule + +# Convenience name for target. +B : src/filter/RGB/CMakeFiles/B.dir/rule +.PHONY : B + +# fast build rule for target. +B/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/B.dir/build.make src/filter/RGB/CMakeFiles/B.dir/build +.PHONY : B/fast + +# Convenience name for target. +src/filter/RGB/CMakeFiles/G.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/CMakeFiles/G.dir/rule +.PHONY : src/filter/RGB/CMakeFiles/G.dir/rule + +# Convenience name for target. +G : src/filter/RGB/CMakeFiles/G.dir/rule +.PHONY : G + +# fast build rule for target. +G/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/G.dir/build.make src/filter/RGB/CMakeFiles/G.dir/build +.PHONY : G/fast + +# Convenience name for target. +src/filter/RGB/CMakeFiles/R.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/RGB/CMakeFiles/R.dir/rule +.PHONY : src/filter/RGB/CMakeFiles/R.dir/rule + +# Convenience name for target. +R : src/filter/RGB/CMakeFiles/R.dir/rule +.PHONY : R + +# fast build rule for target. +R/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/R.dir/build.make src/filter/RGB/CMakeFiles/R.dir/build +.PHONY : R/fast + +B.o: B.c.o +.PHONY : B.o + +# target to build an object file +B.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/B.dir/build.make src/filter/RGB/CMakeFiles/B.dir/B.c.o +.PHONY : B.c.o + +B.i: B.c.i +.PHONY : B.i + +# target to preprocess a source file +B.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/B.dir/build.make src/filter/RGB/CMakeFiles/B.dir/B.c.i +.PHONY : B.c.i + +B.s: B.c.s +.PHONY : B.s + +# target to generate assembly for a file +B.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/B.dir/build.make src/filter/RGB/CMakeFiles/B.dir/B.c.s +.PHONY : B.c.s + +G.o: G.c.o +.PHONY : G.o + +# target to build an object file +G.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/G.dir/build.make src/filter/RGB/CMakeFiles/G.dir/G.c.o +.PHONY : G.c.o + +G.i: G.c.i +.PHONY : G.i + +# target to preprocess a source file +G.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/G.dir/build.make src/filter/RGB/CMakeFiles/G.dir/G.c.i +.PHONY : G.c.i + +G.s: G.c.s +.PHONY : G.s + +# target to generate assembly for a file +G.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/G.dir/build.make src/filter/RGB/CMakeFiles/G.dir/G.c.s +.PHONY : G.c.s + +R.o: R.c.o +.PHONY : R.o + +# target to build an object file +R.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/R.dir/build.make src/filter/RGB/CMakeFiles/R.dir/R.c.o +.PHONY : R.c.o + +R.i: R.c.i +.PHONY : R.i + +# target to preprocess a source file +R.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/R.dir/build.make src/filter/RGB/CMakeFiles/R.dir/R.c.i +.PHONY : R.c.i + +R.s: R.c.s +.PHONY : R.s + +# target to generate assembly for a file +R.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/RGB/CMakeFiles/R.dir/build.make src/filter/RGB/CMakeFiles/R.dir/R.c.s +.PHONY : R.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... B" + @echo "... G" + @echo "... R" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... B.o" + @echo "... B.i" + @echo "... B.s" + @echo "... G.o" + @echo "... G.i" + @echo "... G.s" + @echo "... R.o" + @echo "... R.i" + @echo "... R.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/alpha0ps/CMakeLists.txt b/src/filter/alpha0ps/CMakeLists.txt index 40eb1cc..48de1a9 100644 --- a/src/filter/alpha0ps/CMakeLists.txt +++ b/src/filter/alpha0ps/CMakeLists.txt @@ -1,4 +1,4 @@ -set (O_SOURCES alpha0ps.c) +set (O_SOURCES alpha0ps.c fibe_f.h) set (G_SOURCES alphagrad.c) set (S_SOURCES alphaspot.c) diff --git a/src/filter/alpha0ps/Makefile b/src/filter/alpha0ps/Makefile new file mode 100644 index 0000000..b748528 --- /dev/null +++ b/src/filter/alpha0ps/Makefile @@ -0,0 +1,296 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/alpha0ps/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/rule +.PHONY : src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/rule + +# Convenience name for target. +alpha0ps: src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/rule +.PHONY : alpha0ps + +# fast build rule for target. +alpha0ps/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/build.make src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/build +.PHONY : alpha0ps/fast + +# Convenience name for target. +src/filter/alpha0ps/CMakeFiles/alphagrad.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/CMakeFiles/alphagrad.dir/rule +.PHONY : src/filter/alpha0ps/CMakeFiles/alphagrad.dir/rule + +# Convenience name for target. +alphagrad: src/filter/alpha0ps/CMakeFiles/alphagrad.dir/rule +.PHONY : alphagrad + +# fast build rule for target. +alphagrad/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphagrad.dir/build.make src/filter/alpha0ps/CMakeFiles/alphagrad.dir/build +.PHONY : alphagrad/fast + +# Convenience name for target. +src/filter/alpha0ps/CMakeFiles/alphaspot.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/alpha0ps/CMakeFiles/alphaspot.dir/rule +.PHONY : src/filter/alpha0ps/CMakeFiles/alphaspot.dir/rule + +# Convenience name for target. +alphaspot: src/filter/alpha0ps/CMakeFiles/alphaspot.dir/rule +.PHONY : alphaspot + +# fast build rule for target. +alphaspot/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphaspot.dir/build.make src/filter/alpha0ps/CMakeFiles/alphaspot.dir/build +.PHONY : alphaspot/fast + +alpha0ps.o: alpha0ps.c.o +.PHONY : alpha0ps.o + +# target to build an object file +alpha0ps.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/build.make src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/alpha0ps.c.o +.PHONY : alpha0ps.c.o + +alpha0ps.i: alpha0ps.c.i +.PHONY : alpha0ps.i + +# target to preprocess a source file +alpha0ps.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/build.make src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/alpha0ps.c.i +.PHONY : alpha0ps.c.i + +alpha0ps.s: alpha0ps.c.s +.PHONY : alpha0ps.s + +# target to generate assembly for a file +alpha0ps.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/build.make src/filter/alpha0ps/CMakeFiles/alpha0ps.dir/alpha0ps.c.s +.PHONY : alpha0ps.c.s + +alphagrad.o: alphagrad.c.o +.PHONY : alphagrad.o + +# target to build an object file +alphagrad.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphagrad.dir/build.make src/filter/alpha0ps/CMakeFiles/alphagrad.dir/alphagrad.c.o +.PHONY : alphagrad.c.o + +alphagrad.i: alphagrad.c.i +.PHONY : alphagrad.i + +# target to preprocess a source file +alphagrad.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphagrad.dir/build.make src/filter/alpha0ps/CMakeFiles/alphagrad.dir/alphagrad.c.i +.PHONY : alphagrad.c.i + +alphagrad.s: alphagrad.c.s +.PHONY : alphagrad.s + +# target to generate assembly for a file +alphagrad.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphagrad.dir/build.make src/filter/alpha0ps/CMakeFiles/alphagrad.dir/alphagrad.c.s +.PHONY : alphagrad.c.s + +alphaspot.o: alphaspot.c.o +.PHONY : alphaspot.o + +# target to build an object file +alphaspot.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphaspot.dir/build.make src/filter/alpha0ps/CMakeFiles/alphaspot.dir/alphaspot.c.o +.PHONY : alphaspot.c.o + +alphaspot.i: alphaspot.c.i +.PHONY : alphaspot.i + +# target to preprocess a source file +alphaspot.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphaspot.dir/build.make src/filter/alpha0ps/CMakeFiles/alphaspot.dir/alphaspot.c.i +.PHONY : alphaspot.c.i + +alphaspot.s: alphaspot.c.s +.PHONY : alphaspot.s + +# target to generate assembly for a file +alphaspot.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/alpha0ps/CMakeFiles/alphaspot.dir/build.make src/filter/alpha0ps/CMakeFiles/alphaspot.dir/alphaspot.c.s +.PHONY : alphaspot.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alpha0ps" + @echo "... alphagrad" + @echo "... alphaspot" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alpha0ps.o" + @echo "... alpha0ps.i" + @echo "... alpha0ps.s" + @echo "... alphagrad.o" + @echo "... alphagrad.i" + @echo "... alphagrad.s" + @echo "... alphaspot.o" + @echo "... alphaspot.i" + @echo "... alphaspot.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/alpha0ps/alpha0ps.c b/src/filter/alpha0ps/alpha0ps.c index 44407db..cda5535 100755 --- a/src/filter/alpha0ps/alpha0ps.c +++ b/src/filter/alpha0ps/alpha0ps.c @@ -20,6 +20,12 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + + + + 28 aug 2012 ver 0.2 endian proofing + + 03 sep 2012 ver 0.3 add alpha blur */ @@ -34,6 +40,8 @@ #include +#include "fibe_f.h" + //---------------------------------------- //struktura za instanco efekta @@ -42,83 +50,96 @@ int h; int w; +//parameters int disp; int din; int op; float thr; -int sga; +float sga; int inv; +//buffers & pointers float *falpha,*ab; +uint8_t *infr,*oufr; + +//auxilliary variables for fibe2o +float f,q,a0,a1,a2,b0,b1,b2,rd1,rd2,rs1,rs2,rc1,rc2; + } inst; //--------------------------------------------------- -//RGBA8888 little endian -void alphagray(inst *in, const uint32_t* inframe, uint32_t* outframe) -{ -uint32_t s; +void alphagray(inst *in) +{ +uint8_t s; int i; if (in->din==0) for (i=0;iw*in->h;i++) { - s=(outframe[i]&0xFF000000)>>24; - s=s+(s<<8)+(s<<16); - outframe[i]=(outframe[i]&0xFF000000)|s; + s=in->oufr[4*i+3]; + in->oufr[4*i]=s; + in->oufr[4*i+1]=s; + in->oufr[4*i+2]=s; + in->oufr[4*i+3]=0xFF; } else for (i=0;iw*in->h;i++) { - s=(inframe[i]&0xFF000000)>>24; - s=s+(s<<8)+(s<<16); - outframe[i]=(outframe[i]&0xFF000000)+s; + s=in->infr[4*i+3]; + in->oufr[4*i]=s; + in->oufr[4*i+1]=s; + in->oufr[4*i+2]=s; + in->oufr[4*i+3]=0xFF; } } //--------------------------------------------------- -//RGBA8888 little endian -void grayred(inst *in, const uint32_t* inframe, uint32_t* outframe) -{ -int i; -uint32_t r,g,b,a,y,s; +void grayred(inst *in) +{ +int i,rr; +uint8_t r,g,b,a,y; if (in->din==0) for (i=0;iw*in->h;i++) { - b=(inframe[i]&0x00FF0000)>>16; - g=(inframe[i]&0x0000FF00)>>8; - r=inframe[i]&0x000000FF; - a=(outframe[i]&0xFF000000)>>24; + b=in->infr[4*i+2]; + g=in->infr[4*i+1]; + r=in->infr[4*i]; + a=in->oufr[4*i+3]; y=(r>>2)+(g>>1)+(b>>2); //approx luma y=64+(y>>1); - r=y+(a>>1); - if (r>255) r=255; - s=r+(y<<8)+(y<<16); - outframe[i]=(inframe[i]&0xFF000000)+s; + rr=y+(a>>1); + if (rr>255) rr=255; + in->oufr[4*i]=rr; + in->oufr[4*i+1]=y; + in->oufr[4*i+2]=y; + in->oufr[4*i+3]=0xFF; } else for (i=0;iw*in->h;i++) { - b=(inframe[i]&0x00FF0000)>>16; - g=(inframe[i]&0x0000FF00)>>8; - r=inframe[i]&0x000000FF; - a=(inframe[i]&0xFF000000)>>24; - y=(r>>2)+(g>>1)+(b>>2); + b=in->infr[4*i+2]; + g=in->infr[4*i+1]; + r=in->infr[4*i]; + a=in->infr[4*i+3]; + y=(r>>2)+(g>>1)+(b>>2); //approx luma y=64+(y>>1); - r=y+(a<<1); - if (r>255) r=255; - s=r+(y<<8)+(y<<16); - outframe[i]=(inframe[i]&0xFF000000)+s; + rr=y+(a>>1); + if (rr>255) rr=255; + in->oufr[4*i]=rr; + in->oufr[4*i+1]=y; + in->oufr[4*i+2]=y; + in->oufr[4*i+3]=0xFF; } } //--------------------------------------------------- -void drawsel(inst *in, const uint32_t* inframe, uint32_t* outframe, int bg) +void drawsel(inst *in, int bg) { int i; uint32_t bk; -uint32_t r,g,b,a,s; +uint32_t r,g,b,a; switch (bg) { @@ -138,18 +159,17 @@ else bk=0x9B; } - b=(outframe[i]&0x00FF0000)>>16; - g=(outframe[i]&0x0000FF00)>>8; - r=outframe[i]&0x000000FF; - a=(outframe[i]&0xFF000000)>>24; - r=a*r+(255-a)*bk; - r=r>>8; - g=a*g+(255-a)*bk; - g=g>>8; - b=a*b+(255-a)*bk; - b=b>>8; - s=r+(g<<8)+(b<<16); - outframe[i]=(inframe[i]&0xFF000000)+s; + b=in->oufr[4*i+2]; + g=in->oufr[4*i+1]; + r=in->oufr[4*i]; + a=in->oufr[4*i+3]; + r=(a*r+(255-a)*bk)>>8; + g=(a*g+(255-a)*bk)>>8; + b=(a*b+(255-a)*bk)>>8; + in->oufr[4*i]=r; + in->oufr[4*i+1]=g; + in->oufr[4*i+2]=b; + in->oufr[4*i+3]=0xFF; } else for (i=0;iw*in->h;i++) @@ -161,18 +181,17 @@ else bk=0x9B; } - b=(inframe[i]&0x00FF0000)>>16; - g=(inframe[i]&0x0000FF00)>>8; - r=inframe[i]&0x000000FF; - a=(inframe[i]&0xFF000000)>>24; - r=a*r+(255-a)*bk; - r=r>>8; - g=a*g+(255-a)*bk; - g=g>>8; - b=a*b+(255-a)*bk; - b=b>>8; - s=r+(g<<8)+(b<<16); - outframe[i]=(inframe[i]&0xFF000000)+s; + b=in->infr[4*i+2]; + g=in->infr[4*i+1]; + r=in->infr[4*i]; + a=in->infr[4*i+3]; + r=(a*r+(255-a)*bk)>>8; + g=(a*g+(255-a)*bk)>>8; + b=(a*b+(255-a)*bk)>>8; + in->oufr[4*i]=r; + in->oufr[4*i+1]=g; + in->oufr[4*i+2]=b; + in->oufr[4*i+3]=0xFF; } } @@ -340,6 +359,53 @@ al[i] = (al[i]>thr) ? hi : lo; } +//---------------------------------------------------------- +void blur_alpha(inst *in) +{ +int i; + +for (i=0;iw*in->h;i++) in->falpha[i]*=0.0039215; + +fibe2o_f(in->falpha, in->w, in->h, in->a1, in->a2, in->rd1, in->rd2, in->rs1, in->rs2, in->rc1, in->rc2, 1); + +for (i=0;iw*in->h;i++) + { + in->falpha[i]*=255.0; + if (in->falpha[i]>255.0) in->falpha[i]=255.0; + if (in->falpha[i]<0.0) in->falpha[i]=0.0; + } +} + +//-------------------------------------------------------- +//Aitken-Neville interpolacija iz 4 tock (tretjega reda) +//t = stevilo tock v arrayu +//array xt naj bo v rastocem zaporedju, lahko neekvidistanten +float AitNev3(int t, float xt[], float yt[], float x) +{ +float p[10]; +int i,j,m; + +if ((xxt[t-1])) + { +// printf("\n\n x=%f je izven mej tabele!",x); + return 1.0/0.0; + } + +//poisce, katere tocke bo uporabil +m=0; while (x>xt[m++]); +m=m-4/2-1; if (m<0) m=0; if ((m+4)>(t-1)) m=t-4; + +for (i=0;i<4;i++) + p[i]=yt[i+m]; + +for (j=1;j<4;j++) + for (i=(4-1);i>=j;i--) + { + p[i]=p[i]+(x-xt[i+m])/(xt[i+m]-xt[i-j+m])*(p[i]-p[i-1]); + } +return p[4-1]; +} + //----------------------------------------------------- //stretch [0...1] to parameter range [min...max] linear float map_value_forward(double v, float min, float max) @@ -378,7 +444,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; +info->minor_version=3; info->num_params=6; info->explanation="Display and manipulation of the alpha channel"; } @@ -409,7 +475,7 @@ info->explanation = ""; break; case 4: - info->name = "Shrink/grow amount"; + info->name = "Shrink/Grow/Blur amount"; info->type = F0R_PARAM_DOUBLE; info->explanation = ""; break; @@ -434,11 +500,18 @@ in->din=0; in->op=0; in->thr=0.5; -in->sga=1; +in->sga=1.0; in->inv=0; in->falpha=(float*)calloc(in->w*in->h,sizeof(float)); in->ab=(float*)calloc(in->w*in->h,sizeof(float)); + +in->f=0.05; in->q=0.55; //blur +calcab_lp1(in->f, in->q, &in->a0, &in->a1, &in->a2, &in->b0, &in->b1, &in->b2); +in->a1=in->a1/in->a0; in->a2=in->a2/in->a0; +rep(-0.5, 0.5, 0.0, &in->rd1, &in->rd2, 256, in->a1, in->a2); +rep(1.0, 1.0, 0.0, &in->rs1, &in->rs2, 256, in->a1, in->a2); +rep(0.0, 0.0, 1.0, &in->rc1, &in->rc2, 256, in->a1, in->a2); return (f0r_instance_t)in; } @@ -464,35 +537,39 @@ p=(inst*)instance; +float am1[]={0.499999,0.7,1.0,1.5,2.0,3.0,4.0,5.0,7.0,10.0,15.0,20.0,30.0,40.0,50.0,70.0,100.0,150.0,200.00001}; +float iir2f[]={0.475,0.39,0.325,0.26,0.21,0.155,0.112,0.0905,0.065,0.0458,0.031,0.0234,0.01575,0.0118,0.0093,0.00725,0.00505,0.0033,0.0025}; +float iir2q[]={0.53,0.53,0.54,0.54,0.54,0.55,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6}; + chg=0; switch(param_index) { - case 0: + case 0: //Display tmpi=map_value_forward(*((double*)parm), 0.0, 6.9999); if (p->disp != tmpi) chg=1; p->disp=tmpi; break; - case 1: + case 1: //Display input alpha tmpi=map_value_forward(*((double*)parm), 0.0, 1.0); //BOOL!! if (p->din != tmpi) chg=1; p->din=tmpi; break; - case 2: - tmpi=map_value_forward(*((double*)parm), 0.0, 6.9999); + case 2: //Operation + tmpi=map_value_forward(*((double*)parm), 0.0, 7.9999); if (p->op != tmpi) chg=1; p->op=tmpi; break; - case 3: + case 3: //Threshold tmpf=*(double*)parm; if (tmpf!=p->thr) chg=1; p->thr=tmpf; break; - case 4: - tmpi=map_value_forward(*((double*)parm), 0.0, 2.9999); - if (p->sga != tmpi) chg=1; - p->sga=tmpi; - break; - case 5: + case 4: //Shrink/Grow/Blur amount + tmpf=map_value_forward(*((double*)parm), 0.0, 4.9999); + if (p->sga != tmpf) chg=1; + p->sga=tmpf; + break; + case 5: //Invert tmpi=map_value_forward(*((double*)parm), 0.0, 1.0); //BOOL!! if (p->inv != tmpi) chg=1; p->inv=tmpi; @@ -501,14 +578,23 @@ if (chg==0) return; +if (param_index==4) // blur amount changed + { + p->f=AitNev3(19, am1, iir2f, 0.5+3.0*p->sga); + p->q=AitNev3(19, am1, iir2q, 0.5+3.0*p->sga); + calcab_lp1(p->f, p->q, &p->a0, &p->a1, &p->a2, &p->b0, &p->b1, &p->b2); + p->a1=p->a1/p->a0; p->a2=p->a2/p->a0; + rep(-0.5, 0.5, 0.0, &p->rd1, &p->rd2, 256, p->a1, p->a2); + rep(1.0, 1.0, 0.0, &p->rs1, &p->rs2, 256, p->a1, p->a2); + rep(0.0, 0.0, 1.0, &p->rc1, &p->rc2, 256, p->a1, p->a2); + } + } //-------------------------------------------------- void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) { inst *p; -double tmpf; -int tmpi; p=(inst*)instance; @@ -536,7 +622,6 @@ } //------------------------------------------------- -//RGBA8888 little endian void f0r_update(f0r_instance_t instance, double time, const uint32_t* inframe, uint32_t* outframe) { inst *in; @@ -544,11 +629,11 @@ assert(instance); in=(inst*)instance; - -//printf("update, op=%d, inv=%d disp=%d\n",in->op,in->inv,in->disp); +in->infr=(uint8_t*)inframe; +in->oufr=(uint8_t*)outframe; for (i=0;iw*in->h;i++) - in->falpha[i]=(inframe[i]&0xFF000000)>>24; + in->falpha[i]=in->infr[4*i+3]; switch (in->op) { @@ -576,6 +661,9 @@ case 6: threshold_alpha(in->falpha, in->w, in->h, 255.0*in->thr, 255.0, 0.0); break; + case 7: + blur_alpha(in); + break; default: break; } @@ -585,29 +673,32 @@ in->falpha[i]=255.0-in->falpha[i]; for (i=0;iw*in->h;i++) - outframe[i] = (inframe[i]&0x00FFFFFF) | (((uint32_t)in->falpha[i])<<24); - + { + outframe[i] = inframe[i]; + in->oufr[4*i+3] = (uint8_t)in->falpha[i]; + } + switch (in->disp) { case 0: break; case 1: - alphagray(in, inframe, outframe); + alphagray(in); break; case 2: - grayred(in, inframe, outframe); + grayred(in); break; case 3: - drawsel(in, inframe, outframe, 0); + drawsel(in, 0); break; case 4: - drawsel(in, inframe, outframe, 1); + drawsel(in, 1); break; case 5: - drawsel(in, inframe, outframe, 2); + drawsel(in, 2); break; case 6: - drawsel(in, inframe, outframe, 3); + drawsel(in, 3); break; default: break; diff --git a/src/filter/alpha0ps/alphagrad.c b/src/filter/alpha0ps/alphagrad.c index d717744..160f479 100755 --- a/src/filter/alpha0ps/alphagrad.c +++ b/src/filter/alpha0ps/alphagrad.c @@ -126,7 +126,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; +info->minor_version=2; info->num_params=6; info->explanation="Fills alpha channel with a gradient"; } @@ -143,7 +143,7 @@ break; case 1: info->name = "Transition width"; - info->type = F0R_PARAM_BOOL; + info->type = F0R_PARAM_DOUBLE; info->explanation = ""; break; case 2: diff --git a/src/filter/alpha0ps/fibe_f.h b/src/filter/alpha0ps/fibe_f.h new file mode 100644 index 0000000..ecbb177 --- /dev/null +++ b/src/filter/alpha0ps/fibe_f.h @@ -0,0 +1,257 @@ +//fibe1_f.h + +//Skalarna (float) verzija + +// MC maj 2012 + + +#define EDGEAVG 8 + +double PI=3.14159265358979; + +//--------------------------------------------------------- +//koeficienti za biquad lowpass iz f in q +// f v Nyquistih 0.0 < f < 0.5 +void calcab_lp1(float f, float q, float *a0, float *a1, float *a2, float *b0, float *b1, float *b2) +{ +float a,b; + +a=sinf(PI*f)/2.0/q; +b=cosf(PI*f); +*b0=(1.0-b)/2.0; +*b1=1.0-b; +*b2=(1.0-b)/2.0; +*a0=1.0+a; +*a1=-2.0*b; +*a2=1.0-a; +//printf("a=%9.6f %9.6f %9.6f b=%9.6f %9.6f %9.6f\n",*a0,*a1,*a2,*b0,*b1,*b2); +} + +//--------------------------------------------------- +//kompenzacija na desni +//c=0.0 "odziv na zacetno stanje" (zunaj crno) +//gain ni kompenziran +void rep(float v1, float v2, float c, float *i1, float *i2, int n, float a1, float a2) +{ +int i; +float lb[8192]; + +lb[0]=v1;lb[1]=v2; +for (i=2;i=0;i--) + { + lb[i]=lb[i]-a1*lb[i+1]-a2*lb[i+2]; + } + +*i1=lb[0]; *i2=lb[1]; +} + +//------------------------------------------------------- +// 2-tap IIR v stirih smereh a only verzija, a0=1.0 +//desno kompenzacijo izracuna direktno (rdx,rsx,rcx) +//optimized for speed + +// rep za navzgor racuna iz ze procesiranih +// (fibe-2 ga racuna iz deviskih) + +void fibe2o_f(float s[], int w, int h, float a1, float a2, float rd1, float rd2, float rs1, float rs2, float rc1, float rc2, int ec) +{ +float cr,g,g4,avg,gavg,avgg,iavg; +float rep1,rep2; +int i,j; +int jw,jww,h1w,h2w,iw,i1w,i2w; + +g=1.0/(1.0+a1+a2); +g4=1.0/g/g/g/g; +avg=EDGEAVG; //koliko vzorcev za povprecje pri edge comp +gavg=g4/avg; +avgg=1.0/g/avg; +iavg=1.0/avg; + +for (j=0;j=0;i--) //nazaj + { + s[jw+i]=s[jw+i]-a1*s[jw+i+1]-a2*s[jw+i+2]; + } + } //prvih avg vrstic + +//printaj(s,w,h,1,1,0); + +//edge comp zgoraj za navzdol +for (j=0;j=0;i--) //po stolpcih + { //nazaj + s[jw+i]=s[jw+i]-a1*s[jw+i+1]-a2*s[jw+i+2]; +//dol + s[jw+i+2]=s[jw+i+2]-a1*s[jw-w+i+2]-a2*s[jw-w-w+i+2]; + } + +//se leva stolpca dol + s[jw+1]=s[jw+1]-a1*s[jw-w+1]-a2*s[jw-w-w+1]; + s[jw]=s[jw]-a1*s[jw-w]-a2*s[jw-w-w]; + + } //po vrsticah + +//printaj(s,w,h,1,1,0); +//printf("\n\n"); +//printaj(s,w,h,100,100,0); + +//pa se navzgor +//spodnji dve vrstici +h1w=(h-1)*w; h2w=(h-2)*w; +for (j=0;j=0;i--) //gor + { + iw=i*w; i1w=iw+w; i2w=i1w+w; + for (j=0;jcolor_model = F0R_COLOR_MODEL_RGBA8888; colordistance_info->frei0r_version = FREI0R_MAJOR_VERSION; colordistance_info->major_version = 0; - colordistance_info->minor_version = 2; + colordistance_info->minor_version = 3; colordistance_info->num_params = 2; colordistance_info->explanation = "Adjust the white balance / color temperature"; } @@ -655,6 +655,8 @@ case 1: { double g = *((double*)param); + // convert frei0r range to natural range [1.0, 2.5] + g = 1.0 + (2.5 - 1.0) * g; if (g != 1.2) { inst->green = g; setRGBmult(inst); @@ -675,7 +677,8 @@ *((f0r_param_color_t*)param) = inst->color; break; case 1: - *((double*)param) = inst->green; + // convert natural range [1.0, 2.5] to frei0r range [0,1] + *((double*)param) = (inst->green - 1.0) / (2.5 - 1.0); break; } diff --git a/src/filter/baltan/Makefile b/src/filter/baltan/Makefile new file mode 100644 index 0000000..ff893be --- /dev/null +++ b/src/filter/baltan/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/baltan/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/baltan/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/baltan/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/baltan/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/baltan/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/baltan/CMakeFiles/baltan.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/baltan/CMakeFiles/baltan.dir/rule +.PHONY : src/filter/baltan/CMakeFiles/baltan.dir/rule + +# Convenience name for target. +baltan: src/filter/baltan/CMakeFiles/baltan.dir/rule +.PHONY : baltan + +# fast build rule for target. +baltan/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/baltan/CMakeFiles/baltan.dir/build.make src/filter/baltan/CMakeFiles/baltan.dir/build +.PHONY : baltan/fast + +baltan.o: baltan.cpp.o +.PHONY : baltan.o + +# target to build an object file +baltan.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/baltan/CMakeFiles/baltan.dir/build.make src/filter/baltan/CMakeFiles/baltan.dir/baltan.cpp.o +.PHONY : baltan.cpp.o + +baltan.i: baltan.cpp.i +.PHONY : baltan.i + +# target to preprocess a source file +baltan.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/baltan/CMakeFiles/baltan.dir/build.make src/filter/baltan/CMakeFiles/baltan.dir/baltan.cpp.i +.PHONY : baltan.cpp.i + +baltan.s: baltan.cpp.s +.PHONY : baltan.s + +# target to generate assembly for a file +baltan.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/baltan/CMakeFiles/baltan.dir/build.make src/filter/baltan/CMakeFiles/baltan.dir/baltan.cpp.s +.PHONY : baltan.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... baltan" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... baltan.o" + @echo "... baltan.i" + @echo "... baltan.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/bluescreen0r/Makefile b/src/filter/bluescreen0r/Makefile new file mode 100644 index 0000000..2cec3bd --- /dev/null +++ b/src/filter/bluescreen0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/bluescreen0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bluescreen0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bluescreen0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bluescreen0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bluescreen0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/rule +.PHONY : src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/rule + +# Convenience name for target. +bluescreen0r: src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/rule +.PHONY : bluescreen0r + +# fast build rule for target. +bluescreen0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/build.make src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/build +.PHONY : bluescreen0r/fast + +bluescreen0r.o: bluescreen0r.cpp.o +.PHONY : bluescreen0r.o + +# target to build an object file +bluescreen0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/build.make src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/bluescreen0r.cpp.o +.PHONY : bluescreen0r.cpp.o + +bluescreen0r.i: bluescreen0r.cpp.i +.PHONY : bluescreen0r.i + +# target to preprocess a source file +bluescreen0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/build.make src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/bluescreen0r.cpp.i +.PHONY : bluescreen0r.cpp.i + +bluescreen0r.s: bluescreen0r.cpp.s +.PHONY : bluescreen0r.s + +# target to generate assembly for a file +bluescreen0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/build.make src/filter/bluescreen0r/CMakeFiles/bluescreen0r.dir/bluescreen0r.cpp.s +.PHONY : bluescreen0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... bluescreen0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... bluescreen0r.o" + @echo "... bluescreen0r.i" + @echo "... bluescreen0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/bluescreen0r/bluescreen0r.cpp b/src/filter/bluescreen0r/bluescreen0r.cpp index 7ab7982..4b28272 100644 --- a/src/filter/bluescreen0r/bluescreen0r.cpp +++ b/src/filter/bluescreen0r/bluescreen0r.cpp @@ -34,16 +34,17 @@ private: f0r_param_double dist; f0r_param_color color; + uint32_t r256,g256,b256; // returns the distance to 'color', but does not normalize inline uint32_t distance(uint32_t pixel) { uint32_t d = 0; int t; - t = ((pixel&0x00FF0000) >> 16) - color.b; + t = ((pixel&0x00FF0000) >> 16) - b256; d += t*t; - t = ((pixel&0x0000FF00) >> 8) - color.g; + t = ((pixel&0x0000FF00) >> 8) - g256; d += t*t; - t = ((pixel&0x000000FF) >> 0) - color.r; + t = ((pixel&0x000000FF) >> 0) - r256; d += t*t; return (uint32_t) d; // no sqrtf @@ -51,10 +52,10 @@ public: bluescreen0r(unsigned int width, unsigned int height) { - dist = 127; + dist = 0.288; color.r = 0; - color.g = 240; + color.g = 0.94; color.b = 0; register_param(color, "Color", "The color to make transparent (B G R)"); @@ -65,8 +66,12 @@ const uint32_t* pixel =in; uint32_t* outpixel= out; - uint32_t distInt = (uint32_t) (dist*dist); - uint32_t distInt2 = (uint32_t) (dist*dist)/2; + uint32_t distInt = (uint32_t) (dist*dist*195075); + uint32_t distInt2 = distInt/2; + + r256=255*color.r; + g256=255*color.g; + b256=255*color.b; while(pixel != in+size) { *outpixel= (*pixel & 0x00FFFFFF); // copy all except alpha @@ -88,5 +93,5 @@ }; -frei0r::construct plugin("bluescreen0r", "Color to alpha (blit SRCALPHA)", "Hedde Bosman",0,1); +frei0r::construct plugin("bluescreen0r", "Color to alpha (blit SRCALPHA)", "Hedde Bosman",0,2,F0R_COLOR_MODEL_RGBA8888); diff --git a/src/filter/blur/CMakeLists.txt b/src/filter/blur/CMakeLists.txt new file mode 100644 index 0000000..57d7b89 --- /dev/null +++ b/src/filter/blur/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES IIRblur.c fibe.h) +set (TARGET IIRblur) + +if (MSVC) + set_source_files_properties (IIRblur.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/blur/IIRblur.c b/src/filter/blur/IIRblur.c new file mode 100755 index 0000000..a119ad3 --- /dev/null +++ b/src/filter/blur/IIRblur.c @@ -0,0 +1,374 @@ +/* +IIRblur.c + +This Frei0r plugin implements fast IIR blurring of video + +Version 0.1 jul 2011 + +Copyright (C) 2011 Marko Cebokli http://lea.hamradio.si/~s57uuu + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + + +//compile: gcc -c -fPIC -Wall IIRblur.c -o IIRblur.o +//link: gcc -shared -o IIRblur.so IIRblur.o + +//stdio samo za debug izpise +//#include +#include +#include +#include +#include +#include + +double PI=3.14159265358979; + +typedef struct + { + float r; + float g; + float b; + float a; + } float_rgba; + +#include "fibe.h" + + +//---------------------------------------- +//struktura za instanco efekta +typedef struct +{ +//status +int h; +int w; + +//parameters +float am; //amount of blur +int ty; //type of blur [0..2] +int ec; //edge compensation (BOOL) + +//video buffers +float_rgba *img; + +//internal variables +float a1,a2,a3; +float rd1,rd2,rs1,rs2,rc1,rc2; + +} inst; + +//-------------------------------------------------------- +//Aitken-Neville interpolacija iz 4 tock (tretjega reda) +//t = stevilo tock v arrayu +//array xt naj bo v rastocem zaporedju, lahko neekvidistanten +float AitNev3(int t, float xt[], float yt[], float x) +{ +float p[10]; +int i,j,m; + +if ((xxt[t-1])) + { +// printf("\n\n x=%f je izven mej tabele!",x); + return 1.0/0.0; + } + +//poisce, katere tocke bo uporabil +m=0; while (x>xt[m++]); +m=m-4/2-1; if (m<0) m=0; if ((m+4)>(t-1)) m=t-4; + +for (i=0;i<4;i++) + p[i]=yt[i+m]; + +for (j=1;j<4;j++) + for (i=(4-1);i>=j;i--) + { + p[i]=p[i]+(x-xt[i+m])/(xt[i+m]-xt[i-j+m])*(p[i]-p[i-1]); + } +return p[4-1]; +} + + +//----------------------------------------------------- +//stretch [0...1] to parameter range [min...max] linear +float map_value_forward(double v, float min, float max) +{ +return min+(max-min)*v; +} + +//----------------------------------------------------- +//collapse from parameter range [min...max] to [0...1] linear +double map_value_backward(float v, float min, float max) +{ +return (v-min)/(max-min); +} + +//----------------------------------------------------- +//stretch [0...1] to parameter range [min...max] logarithmic +//min and max must be positive! +float map_value_forward_log(double v, float min, float max) +{ + float sr,k; + + sr=sqrtf(min*max); + k=2.0*log(max/sr); + return sr*expf(k*(v-0.5)); +} + +//----------------------------------------------------- +//collapse from parameter range [min...max] to [0...1] logarithmic +//min and max must be positive! +double map_value_backward_log(float v, float min, float max) +{ + float sr,k; + + sr=sqrtf(min*max); + k=2.0*log(max/sr); + return logf(v/sr)/k+0.5; +} + +//*********************************************** +// OBVEZNE FREI0R FUNKCIJE + +//----------------------------------------------- +int f0r_init() +{ +return 1; +} + +//------------------------------------------------ +void f0r_deinit() +{ +} + +//----------------------------------------------- +void f0r_get_plugin_info(f0r_plugin_info_t* info) +{ + +info->name="IIR blur"; +info->author="Marko Cebokli"; +info->plugin_type=F0R_PLUGIN_TYPE_FILTER; +info->color_model=F0R_COLOR_MODEL_RGBA8888; +info->frei0r_version=FREI0R_MAJOR_VERSION; +info->major_version=0; +info->minor_version=1; +info->num_params=3; +info->explanation="Three types of fast IIR blurring"; +} + +//-------------------------------------------------- +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ +switch(param_index) + { + case 0: + info->name = "Amount"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Amount of blur"; + break; + case 1: + info->name = "Type"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Blur type"; + break; + case 2: + info->name = "Edge"; + info->type = F0R_PARAM_BOOL; + info->explanation = "Edge compensation"; + break; + } +} + +//---------------------------------------------- +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ +inst *in; + +in=calloc(1,sizeof(inst)); +in->w=width; +in->h=height; + +in->img=calloc(width*height*4,sizeof(float)); + +in->am=map_value_forward_log(0.2, 0.5, 100.0); +in->a1=-0.796093; in->a2=0.186308; +in->ty=1; +in->ec=1; + +return (f0r_instance_t)in; +} + +//--------------------------------------------------- +void f0r_destruct(f0r_instance_t instance) +{ +inst *in; + +in=(inst*)instance; + +free(in->img); + +free(instance); +} + +//----------------------------------------------------- +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t parm, int param_index) +{ +inst *p; +double tmpf; +int chg,tmpi; +float a0,b0,b1,b2,f,q,s; + +float am1[]={0.499999,0.7,1.0,1.5,2.0,3.0,4.0,5.0,7.0,10.0, + 15.0,20.0,30.0,40.0,50.0,70.0,100.0,150.0,200.00001}; +//float iir2f[]={0.448,0.4,0.31,0.25,0.21,0.15,0.1,0.075, +// 0.055,0.039,0.026,0.02,0.013,0.01,0.008,0.006, +// 0.0042,0.0029,0.00205}; +//float iir2q[]={0.53,0.53,0.54,0.54,0.54,0.55,0.6,0.7,0.7, +// 0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7,0.7}; +float iir2q[]={0.53,0.53,0.54,0.54,0.54,0.55,0.6,0.6,0.6, + 0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6,0.6}; +//float iir1a1[]={0.167,0.3,0.5,0.65,0.7,0.8,0.88,0.92,0.95, +// 0.96,0.97,0.98,0.985,0.988,0.99,0.992,0.993,0.9955, +// 0.997}; + +float iir1a1[]={0.138,0.24,0.34,0.45,0.55, 0.65,0.728,0.775,0.834,0.88, +0.92,0.937,0.958,0.968,0.9745, +0.98,0.986,0.991,0.9931}; //po sigmi + +float iir2f[]={0.475,0.39,0.325,0.26,0.21, +0.155,0.112,0.0905,0.065,0.0458, +0.031,0.0234,0.01575,0.0118,0.0093, +0.00725,0.00505,0.0033,0.0025}; //po sigmi + +float iir3si[]={0.5,0.7,1.0,1.5,2.0, +3.0,4.0,5.0,7.0,10.0, +15.0,20.0,30.0,40.0,50.0, +70.0,100.0,150.0,186.5}; + + +p=(inst*)instance; + +chg=0; +switch(param_index) + { + case 0: +// tmpf=map_value_forward(*((double*)parm), 0.5, 100.0); + tmpf=map_value_forward_log(*((double*)parm), 0.5, 100.0); + if (tmpf!=p->am) chg=1; + p->am=tmpf; + break; + case 1: + tmpf=*((double*)parm); + if (tmpf>=1.0) + tmpi=(int)tmpf; + else + tmpi = map_value_forward(tmpf, 0.0, 2.9999); + if ((tmpi<0)||(tmpi>2.0)) break; + if (p->ty != tmpi) chg=1; + p->ty = tmpi; + break; + case 2: + p->ec=map_value_forward(*((double*)parm), 0.0, 1.0); //BOOL!! + break; + } + +if (chg==0) return; + +switch(p->ty) + { + case 0: //FIBE-1 + p->a1=AitNev3(19, am1, iir1a1, p->am); +//printf("Set parm FIBE-1 a1=%f (p->am=%f)\n",p->a1,p->am); + break; + case 1: //FIBE-2 + f=AitNev3(19, am1, iir2f, p->am); + q=AitNev3(19, am1, iir2q, p->am); + calcab_lp1(f, q, &a0, &p->a1, &p->a2, &b0, &b1, &b2); + p->a1=p->a1/a0; p->a2=p->a2/a0; + rep(-0.5, 0.5, 0.0, &p->rd1, &p->rd2, 256, p->a1, p->a2); + rep(1.0, 1.0, 0.0, &p->rs1, &p->rs2, 256, p->a1, p->a2); + rep(0.0, 0.0, 1.0, &p->rc1, &p->rc2, 256, p->a1, p->a2); +//printf("Set parm FIBE-2 a1=%f a2=%f\n",p->a1,p->a2); + break; + case 2: //FIBE-3 + s=AitNev3(19, am1, iir3si, p->am); + young_vliet(s, &a0, &p->a1, &p->a2, &p->a3); + p->a1=-p->a1/a0; + p->a2=-p->a2/a0; + p->a3=-p->a3/a0; +//printf("Set parm FIBE-3 a1=%f a2=%f a3=%f\n",p->a1,p->a2,p->a3); + break; + } +} + +//-------------------------------------------------- +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ +inst *p; + +p=(inst*)instance; + +switch(param_index) + { + case 0: +// *((double*)param)=map_value_backward(p->am, 0.5, 100.0); + *((double*)param)=map_value_backward_log(p->am, 0.5, 100.0); + break; + case 1: + *((double*)param)=map_value_backward(p->ty, 0.0, 2.9999); + break; + case 2: + *((double*)param)=map_value_backward(p->ec, 0.0, 1.0);//BOOL!! + break; + } +} + +//------------------------------------------------- +void f0r_update(f0r_instance_t instance, double time, const uint32_t* inframe, uint32_t* outframe) +{ +inst *in; +int i; + +assert(instance); +in=(inst*)instance; + + if (in->am==0.0) //zero blur, just copy and return + { + for (i=0;iw*in->h;i++) outframe[i]=inframe[i]; + return; + } + //do the blur + switch(in->ty) + { + case 0: + fibe1o_8(inframe, outframe, in->img, in->w, in->h, in->a1, in->ec); + break; + case 1: + fibe2o_8(inframe, outframe, in->img, in->w, in->h, in->a1, in->a2, in->rd1, in->rd2, in->rs1, in->rs2, in->rc1, in->rc2, in->ec); + break; + case 2: + fibe3_8(inframe, outframe, in->img, in->w, in->h, in->a1, in->a2, in->a3, in->ec); + break; + } + //copy alpha + for (i=0;iw*in->h;i++) + { + outframe[i]=(outframe[i]&0x00FFFFFF) | (inframe[i]&0xFF000000); + } + + +} + diff --git a/src/filter/blur/Makefile b/src/filter/blur/Makefile new file mode 100644 index 0000000..7dee9cb --- /dev/null +++ b/src/filter/blur/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/blur/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/blur/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/blur/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/blur/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/blur/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/blur/CMakeFiles/IIRblur.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/blur/CMakeFiles/IIRblur.dir/rule +.PHONY : src/filter/blur/CMakeFiles/IIRblur.dir/rule + +# Convenience name for target. +IIRblur: src/filter/blur/CMakeFiles/IIRblur.dir/rule +.PHONY : IIRblur + +# fast build rule for target. +IIRblur/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/blur/CMakeFiles/IIRblur.dir/build.make src/filter/blur/CMakeFiles/IIRblur.dir/build +.PHONY : IIRblur/fast + +IIRblur.o: IIRblur.c.o +.PHONY : IIRblur.o + +# target to build an object file +IIRblur.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/blur/CMakeFiles/IIRblur.dir/build.make src/filter/blur/CMakeFiles/IIRblur.dir/IIRblur.c.o +.PHONY : IIRblur.c.o + +IIRblur.i: IIRblur.c.i +.PHONY : IIRblur.i + +# target to preprocess a source file +IIRblur.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/blur/CMakeFiles/IIRblur.dir/build.make src/filter/blur/CMakeFiles/IIRblur.dir/IIRblur.c.i +.PHONY : IIRblur.c.i + +IIRblur.s: IIRblur.c.s +.PHONY : IIRblur.s + +# target to generate assembly for a file +IIRblur.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/blur/CMakeFiles/IIRblur.dir/build.make src/filter/blur/CMakeFiles/IIRblur.dir/IIRblur.c.s +.PHONY : IIRblur.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... IIRblur" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... IIRblur.o" + @echo "... IIRblur.i" + @echo "... IIRblur.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/blur/README b/src/filter/blur/README new file mode 100755 index 0000000..284d008 --- /dev/null +++ b/src/filter/blur/README @@ -0,0 +1,116 @@ +IIRblur does three different types of blur: Exponential Decay, +Resonant Lowpass and Gaussian. +They are all implemented as fast IIR filters, so the +computation time does not depend on the blur size. + + +Written by Marko Cebokli, jul 2011 and released under GNU GPL + + +RELEASE NOTES + +** jul 2011 +Version 0.1 +"pre-alpha" (throw it out and see what happens... :-) + + + + + +Description of the parameters: + +"Amount" +Just that. Controls the effective size of the blur kernel, the +bigger it is, the more the image is blurred. + +"Type" +Selects among the three types of blur: Exponential Decay, +Resonant Lowpass and Gaussian. +- Exponential Decay is the fastest. It's equivalent kernel has +a peak in the center, making the effect a little similar to +those "soft focus" lens attachments. +- Resonant Lowpass has a smoothness very similar to a +Gaussian, and is the default choice. +-Gaussian is the slowest of the three, and is included mostly +for completeness sake. It is visually very similar to the +resonant lowpass, so its main use would be in some scientific +application, where a "measurement quality Gaussian" is +required. + +"Edge" +Enables edge compensation ("anti vignette"). At the +edges of the image, the convolution kernel "hangs over", +causing some vignetting, which is visible especially with +larger blurs. +This option uses an average of the edge pixels to eliminate +that vignetting. + + + + + +A short explanation of blur techniques + +Image blur is a 2D convolution, which is a rather slow process. +When done directly, the computation time is proportional to the +square of the kernel size. Therefore, people have invented +several techniques to speed it up. + +The most popular is the use of a Gaussian kernel, which can be +separated into two 1D kernels. This way, the computation time +is only proportional to the kernel size, not it's square. The +"bokeh" of a Gaussian is very smooth. + +The fastest possible blur is a convolution with a flat +rectangular kernel ("Box blur"). Using the "running average" +algorithm, it runs at just four additions per pixel per color, +regardless of kernel size. However, it's anisotropic sinc type +frequency response produces a very ugly "bokeh". + +Last but not least are IIR ("recursive") techniques, as used +in this plugin. Somewhat more computation is needed than for +box blur, but the amount is still independent of kernel size, +and "bokeh" quality is way beyond box blur. Already with only +two taps, a very nice "bokeh" can be achieved. + + + + +A note about the functions in the "fibe.h" file + +FIBE stands for "Fast IIR Blur Engine". The functions +implement quadrilateral IIR filters (the same IIR filter +is run in four directions). + +FIBE-1 uses single delay IIR cells. Their exponential decay +type response gives it a distinctive non-isotropic look, +whose "diamond bokeh" might not be to everybody's liking. +However, it is very fast, consuming only cca five MACs per +pixel per channel (color), regardless of blur size. + +FIBE-2 uses two delays IIR cells, which can give a better +circular symmetry. It runs at slightly more than nine MACs +pppc, which is comparable to a 3x3 direct 2D convolution, and +faster than all, except the tiniest size, separable FIR Gaussian +blurs. It can give a very nice, soft and symmetric blur. I +judged it's quality good enough, to merit being the default +choice. + +FIBE-3 uses three delays IIR cells, which is enough for the +Young-van Vliet [1] approximation of a Gaussian kernel to +within 0.17% (9 bits). It runs at something more than 13 +MACs pppc. + +The algorithms are very simple, but the code is a bit bloated, +because I did some optimizations for speed. +The algorithms are so simple, that using SSE didn't bring +much speedup - the limiting factor is memory bandwidth, not +arithmetics. Therefore I decided not to include the SSE versions. + + + +[1] Ian T. Young, Lucas J. van Vliet: + Recursive implementation of the Gaussian filter + Signal Processing 44 (1995) 139-151 + + diff --git a/src/filter/blur/fibe.h b/src/filter/blur/fibe.h new file mode 100755 index 0000000..0cf7824 --- /dev/null +++ b/src/filter/blur/fibe.h @@ -0,0 +1,1054 @@ +//fibe.h FAST IIR BLUR ENGINE + +/* +Copyright (C) 2011 Marko Cebokli http://lea.hamradio.si/~s57uuu + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +/* + NOTE: float_rgba must be declared externally as + + typedef struct + { + float r; + float g; + float b; + float a; + } float_rgba; + + -------------------------------- + CONTENTS OF FIBE.H FILE: + -------------------------------- + +calcab_lp1() auxilliary function to calculate lowpass + tap coefficients for FIBE-2 + +young_vliet() auxilliary function to calculate tap coefs + for Gauss approximation with FIBE-3 + +rep() auxilliary function to calculate wraparound + values for FIBE-2 + +fibe1o_8() one tap quadrilateral IIR filter + speed optimized C function + includes 8bit/float conversions + +fibe2o_8() two tap quadrilateral IIR filter + speed optimized C function + includes 8bit/float conversions + +fibe3_8() three tap quadrilateral IIR filter + includes 8bit/float conversions + +The functions work internally with floats. I have included +the 8bit/float conversion into the first and last +processing loops, to avoid two additional cache polluting +and therefore time consuming "walks" through memory. + +*/ + + + +//edge compensation average size +#define EDGEAVG 8 + +#include + + +//--------------------------------------------------------- +//koeficienti za biquad lowpass iz f in q +// f v Nyquistih 0.0 < f < 0.5 +void calcab_lp1(float f, float q, float *a0, float *a1, float *a2, float *b0, float *b1, float *b2) +{ +float a,b; + +a=sinf(PI*f)/2.0/q; +b=cosf(PI*f); +*b0=(1.0-b)/2.0; +*b1=1.0-b; +*b2=(1.0-b)/2.0; +*a0=1.0+a; +*a1=-2.0*b; +*a2=1.0-a; +} + +//--------------------------------------------------------- +//3tap iir coefficients for Gauss approximation according to: +//Ian T. Young, Lucas J. van Vliet: +//Recursive implementation of the Gaussian filter +//Signal Processing 44 (1995) 139-151 +// s=sigma 0.5 < s < 200.0 +void young_vliet(float s, float *a0, float *a1, float *a2, float *a3) +{ +float q; + +q=0.0; +if (s>2.5) + { + q = 0.98711*s - 0.96330; + } +else + { //to velja za s>0.5 !!!! + q = 3.97156 - 4.14554*sqrtf(1.0-0.26891*s); + } + +*a0 = 1.57825 + 2.44413*q + 1.4281*q*q + 0.422205*q*q*q; +*a1 = 2.44413*q + 2.85619*q*q + 1.26661*q*q*q; +*a2 = -1.4281*q*q - 1.26661*q*q*q; +*a3 = 0.422205*q*q*q; +} + +//--------------------------------------------------- +//kompenzacija na desni +//c=0.0 "odziv na zacetno stanje" (zunaj crno) +//gain ni kompenziran +void rep(float v1, float v2, float c, float *i1, float *i2, int n, float a1, float a2) +{ +int i; +float lb[8192]; + +lb[0]=v1;lb[1]=v2; +for (i=2;i=0;i--) + { + lb[i]=lb[i]-a1*lb[i+1]-a2*lb[i+2]; + } + +*i1=lb[0]; *i2=lb[1]; +} + +//--------------------------------------------------------- +// 1-tap IIR v 4 smereh +//optimized for speed +//loops rearanged for more locality (better cache hit ratio) +//outer (vertical) loop 2x unroll to break dependency chain +//simplified indexes +void fibe1o_8(const uint32_t* inframe, uint32_t* outframe, float_rgba *s, int w, int h, float a, int ec) +{ +int i,j; +float b,g,g4,avg,avg1,cr,cg,cb,g4a,g4b; +int p,pw,pj,pwj,pww,pmw; + +avg=EDGEAVG; //koliko vzorcev za povprecje pri edge comp +avg1=1.0/avg; + +g=1.0/(1.0-a); +g4=1.0/g/g/g/g; + +//predpostavimo, da je "zunaj" crnina (nicle) +b=1.0/(1.0-a)/(1.0+a); + +//prvih avg vrstic +for (i=0;i>8); + s[p+j].b=(float)((inframe[p+j]&0xFF0000)>>16); + cr=cr+s[p+j].r; + cg=cg+s[p+j].g; + cb=cb+s[p+j].b; + } + cr=cr*avg1; cg=cg*avg1; cb=cb*avg1; + s[p].r=cr*g+b*(s[p].r-cr); + s[p].g=cg*g+b*(s[p].g-cg); + s[p].b=cb*g+b*(s[p].b-cb); + } + else + for (j=0;j>8); + s[p+j].b=(float)((inframe[p+j]&0xFF0000)>>16); + } + + for (j=1;j>8); + s[p+j].b=(float)((inframe[p+j]&0xFF0000)>>16); + s[p+j].r=s[p+j].r+a*s[p+j-1].r; + s[p+j].g=s[p+j].g+a*s[p+j-1].g; + s[p+j].b=s[p+j].b+a*s[p+j-1].b; + } + + if (ec!=0) + { + cr=0.0;cg=0.0;cb=0.0; + for (j=w-avg;j=0;j--) //nazaj + { + s[p+j].r=a*s[p+j+1].r+s[p+j].r; + s[p+j].g=a*s[p+j+1].g+s[p+j].g; + s[p+j].b=a*s[p+j+1].b+s[p+j].b; + } + } + +//prvih avg vrstic samo navzdol (nazaj so ze) +for (i=0;i>8); + s[p+j].b=(float)((inframe[p+j]&0xFF0000)>>16); + cr=cr+s[p+j].r; + cg=cg+s[p+j].g; + cb=cb+s[p+j].b; + } + cr=cr*avg1; cg=cg*avg1; cb=cb*avg1; + s[p].r=cr*g+b*(s[p].r-cr); + s[p].g=cg*g+b*(s[p].g-cg); + s[p].b=cb*g+b*(s[p].b-cb); + cr=0.0;cg=0.0;cb=0.0; + for (j=0;j>8); + s[pw+j].b=(float)((inframe[pw+j]&0xFF0000)>>16); + cr=cr+s[pw+j].r; + cg=cg+s[pw+j].g; + cb=cb+s[pw+j].b; + } + cr=cr*avg1; cg=cg*avg1; cb=cb*avg1; + s[pw].r=cr*g+b*(s[pw].r-cr); + s[pw].g=cg*g+b*(s[pw].g-cg); + s[pw].b=cb*g+b*(s[pw].b-cb); + } + else + { + for (j=0;j>8); + s[p+j].b=(float)((inframe[p+j]&0xFF0000)>>16); + } + for (j=0;j>8); + s[pw+j].b=(float)((inframe[pw+j]&0xFF0000)>>16); + } + } + for (j=1;j>8); + s[pj].b=(float)((inframe[pj]&0xFF0000)>>16); + s[pj].r=s[pj].r+a*s[pj-1].r; + s[pj].g=s[pj].g+a*s[pj-1].g; + s[pj].b=s[pj].b+a*s[pj-1].b; + s[pwj].r=(float)(inframe[pwj]&0xFF); + s[pwj].g=(float)((inframe[pwj]&0xFF00)>>8); + s[pwj].b=(float)((inframe[pwj]&0xFF0000)>>16); + s[pwj].r=s[pwj].r+a*s[pwj-1].r; + s[pwj].g=s[pwj].g+a*s[pwj-1].g; + s[pwj].b=s[pwj].b+a*s[pwj-1].b; + } + + if (ec!=0) + { + cr=0.0;cg=0.0;cb=0.0; + for (j=w-avg;j=1;j--) //nazaj + { + pj=p+j;pwj=pw+j; + s[pj-1].r=a*s[pj].r+s[pj-1].r; + s[pj-1].g=a*s[pj].g+s[pj-1].g; + s[pj-1].b=a*s[pj].b+s[pj-1].b; + s[pwj].r=a*s[pwj+1].r+s[pwj].r; + s[pwj].g=a*s[pwj+1].g+s[pwj].g; + s[pwj].b=a*s[pwj+1].b+s[pwj].b; +//zdaj naredi se en piksel vertikalno dol, za vse stolpce +//dva nazaj, da ne vpliva na H nazaj + s[pj].r=s[pj].r+a*s[pmw+j].r; + s[pj].g=s[pj].g+a*s[pmw+j].g; + s[pj].b=s[pj].b+a*s[pmw+j].b; + s[pwj+1].r=s[pwj+1].r+a*s[pj+1].r; + s[pwj+1].g=s[pwj+1].g+a*s[pj+1].g; + s[pwj+1].b=s[pwj+1].b+a*s[pj+1].b; + } +//konec levo + s[pw].r=s[pw].r+a*s[pw+1].r; //nazaj + s[pw].g=s[pw].g+a*s[pw+1].g; + s[pw].b=s[pw].b+a*s[pw+1].b; + s[p].r=s[p].r+a*s[pmw].r; //dol + s[p].g=s[p].g+a*s[pmw].g; + s[p].b=s[p].b+a*s[pmw].b; + s[pw+1].r=s[pw+1].r+a*s[p+1].r; //dol + s[pw+1].g=s[pw+1].g+a*s[p+1].g; + s[pw+1].b=s[pw+1].b+a*s[p+1].b; + s[pw].r=s[pw].r+a*s[p].r; //dol + s[pw].g=s[pw].g+a*s[p].g; + s[pw].b=s[pw].b+a*s[p].b; + } + +//ce je sodo stevilo vrstic, moras zadnjo posebej +if (i!=h) + { + p=i*w; pw=p+w; + for (j=1;j=0;j--) //nazaj in dol + { + s[p+j].r=a*s[p+j+1].r+s[p+j].r; + s[p+j].g=a*s[p+j+1].g+s[p+j].g; + s[p+j].b=a*s[p+j+1].b+s[p+j].b; + +//zdaj naredi se en piksel vertikalno dol, za vse stolpce +//dva nazaj, da ne vpliva na H nazaj + s[p+j+1].r=s[p+j+1].r+a*s[p-w+j+1].r; + s[p+j+1].g=s[p+j+1].g+a*s[p-w+j+1].g; + s[p+j+1].b=s[p+j+1].b+a*s[p-w+j+1].b; + } +//levi piksel vert + s[p].r=s[p].r+a*s[p-w].r; + s[p].g=s[p].g+a*s[p-w].g; + s[p].b=s[p].b+a*s[p-w].b; + } + +//zadnja vrstica (h-1) +g4b=g4*b; +g4a=g4/(1.0-a); +p=(h-1)*w; +if (ec!=0) + { + for (i=0;i=0;i--) //po vrsticah navzgor + { + p=i*w; pw=p+w; + for (j=0;j>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + cr=cr+s[jw+i].r; + cg=cg+s[jw+i].g; + cb=cb+s[jw+i].b; + } + cr=cr*gavg; cg=cg*gavg; cb=cb*gavg; + } + else + for (i=0;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + } + + s[jw].r=g4*s[jw].r-(a1+a2)*g*cr; + s[jw].g=g4*s[jw].g-(a1+a2)*g*cg; + s[jw].b=g4*s[jw].b-(a1+a2)*g*cb; + s[jw+1].r=g4*s[jw+1].r-a1*s[jw].r-a2*g*cr; + s[jw+1].g=g4*s[jw+1].g-a1*s[jw].g-a2*g*cg; + s[jw+1].b=g4*s[jw+1].b-a1*s[jw].b-a2*g*cb; + + if (ec!=0) + { //edge comp za nazaj + cr=0.0;cg=0.0;cb=0.0; + for (i=w-avg;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + cr=cr+s[jw+i].r; + cg=cg+s[jw+i].g; + cb=cb+s[jw+i].b; + } + cr=cr*gavg; cg=cg*gavg; cb=cb*gavg; + } + else + for (i=w-avg;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + } + + for (i=2;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + s[jw+i].r=g4*s[jw+i].r-a1*s[jw+i-1].r-a2*s[jw+i-2].r; + s[jw+i].g=g4*s[jw+i].g-a1*s[jw+i-1].g-a2*s[jw+i-2].g; + s[jw+i].b=g4*s[jw+i].b-a1*s[jw+i-1].b-a2*s[jw+i-2].b; + } + + for (i=w-avg;i=0;i--) //nazaj + { + s[jw+i].r=s[jw+i].r-a1*s[jw+i+1].r-a2*s[jw+i+2].r; + s[jw+i].g=s[jw+i].g-a1*s[jw+i+1].g-a2*s[jw+i+2].g; + s[jw+i].b=s[jw+i].b-a1*s[jw+i+1].b-a2*s[jw+i+2].b; + } + } //prvih avg vrstic + +//edge comp zgoraj za navzdol +for (j=0;j>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + cr=cr+s[jw+i].r; + cg=cg+s[jw+i].g; + cb=cb+s[jw+i].b; + } + cr=cr*gavg; cg=cg*gavg; cb=cb*gavg; + } + else + for (i=0;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + } + s[jw].r=g4*s[jw].r-(a1+a2)*g*cr; + s[jw].g=g4*s[jw].g-(a1+a2)*g*cg; + s[jw].b=g4*s[jw].b-(a1+a2)*g*cb; + s[jw+1].r=g4*s[jw+1].r-a1*s[jw].r-a2*g*cr; + s[jw+1].g=g4*s[jw+1].g-a1*s[jw].g-a2*g*cg; + s[jw+1].b=g4*s[jw+1].b-a1*s[jw].b-a2*g*cb; + + if (ec!=0) + { //edge comp za nazaj + cr=0.0;cg=0.0;cb=0.0; + for (i=w-avg;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + cr=cr+s[jw+i].r; + cg=cg+s[jw+i].g; + cb=cb+s[jw+i].b; + } + cr=cr*gavg; cg=cg*gavg; cb=cb*gavg; + } + else + for (i=w-avg;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + } + + for (i=2;i>8); + s[jw+i].b=(float)((inframe[jw+i]&0xFF0000)>>16); + s[jw+i].r=g4*s[jw+i].r-a1*s[jw+i-1].r-a2*s[jw+i-2].r; + s[jw+i].g=g4*s[jw+i].g-a1*s[jw+i-1].g-a2*s[jw+i-2].g; + s[jw+i].b=g4*s[jw+i].b-a1*s[jw+i-1].b-a2*s[jw+i-2].b; + } + + for (i=w-avg;i=0;i--) //po stolpcih + { //nazaj + s[jw+i].r=s[jw+i].r-a1*s[jw+i+1].r-a2*s[jw+i+2].r; + s[jw+i].g=s[jw+i].g-a1*s[jw+i+1].g-a2*s[jw+i+2].g; + s[jw+i].b=s[jw+i].b-a1*s[jw+i+1].b-a2*s[jw+i+2].b; +//dol + s[jw+i+2].r=s[jw+i+2].r-a1*s[jw-w+i+2].r-a2*s[jw-w-w+i+2].r; + s[jw+i+2].g=s[jw+i+2].g-a1*s[jw-w+i+2].g-a2*s[jw-w-w+i+2].g; + s[jw+i+2].b=s[jw+i+2].b-a1*s[jw-w+i+2].b-a2*s[jw-w-w+i+2].b; + } + +//se leva stolpca dol + s[jw+1].r=s[jw+1].r-a1*s[jw-w+1].r-a2*s[jw-w-w+1].r; + s[jw+1].g=s[jw+1].g-a1*s[jw-w+1].g-a2*s[jw-w-w+1].g; + s[jw+1].b=s[jw+1].b-a1*s[jw-w+1].b-a2*s[jw-w-w+1].b; + s[jw].r=s[jw].r-a1*s[jw-w].r-a2*s[jw-w-w].r; + s[jw].g=s[jw].g-a1*s[jw-w].g-a2*s[jw-w-w].g; + s[jw].b=s[jw].b-a1*s[jw-w].b-a2*s[jw-w-w].b; + + } //po vrsticah + +//pa se navzgor +//spodnji dve vrstici +h1w=(h-1)*w; h2w=(h-2)*w; +for (j=0;j255) s[j+h1w].r=255.0; + if (s[j+h1w].r<0.0) s[j+h1w].r=0.0; + if (s[j+h1w].g>255) s[j+h1w].g=255.0; + if (s[j+h1w].g<0.0) s[j+h1w].g=0.0; + if (s[j+h1w].b>255) s[j+h1w].b=255.0; + if (s[j+h1w].b<0.0) s[j+h1w].b=0.0; + outframe[j+h1w]=((uint32_t)s[j+h1w].r&0xFF) + (((uint32_t)s[j+h1w].g&0xFF)<<8) + (((uint32_t)s[j+h1w].b&0xFF)<<16); + s[j+h2w].r=s[j+h2w].r-a1*s[j+h1w].r-a2*rep1.r; + s[j+h2w].g=s[j+h2w].g-a1*s[j+h1w].g-a2*rep1.g; + s[j+h2w].b=s[j+h2w].b-a1*s[j+h1w].b-a2*rep1.b; + if (s[j+h2w].r>255) s[j+h2w].r=255.0; + if (s[j+h2w].r<0.0) s[j+h2w].r=0.0; + if (s[j+h2w].g>255) s[j+h2w].g=255.0; + if (s[j+h2w].g<0.0) s[j+h2w].g=0.0; + if (s[j+h2w].b>255) s[j+h2w].b=255.0; + if (s[j+h2w].b<0.0) s[j+h2w].b=0.0; + outframe[j+h2w]=((uint32_t)s[j+h2w].r&0xFF) + (((uint32_t)s[j+h2w].g&0xFF)<<8) + (((uint32_t)s[j+h2w].b&0xFF)<<16); + } + +//ostale vrstice +for (i=h-3;i>=0;i--) //gor + { + iw=i*w; i1w=iw+w; i2w=i1w+w; + for (j=0;j255) s[j+iw].r=255.0; + if (s[j+iw].r<0.0) s[j+iw].r=0.0; + if (s[j+iw].g>255) s[j+iw].g=255.0; + if (s[j+iw].g<0.0) s[j+iw].g=0.0; + if (s[j+iw].b>255) s[j+iw].b=255.0; + if (s[j+iw].b<0.0) s[j+iw].b=0.0; + outframe[j+iw]=((uint32_t)s[j+iw].r&0xFF) + (((uint32_t)s[j+iw].g&0xFF)<<8) + (((uint32_t)s[j+iw].b&0xFF)<<16); + } + } + +} + +//------------------------------------------------------- +// 3-tap IIR v stirih smereh +//a only verzija, a0=1.0 +//edge efekt na desni kompenzira tako, da racuna 256 vzorcev +//cez rob in in gre potem nazaj +void fibe3_8(const uint32_t* inframe, uint32_t* outframe, float_rgba s[], int w, int h, float a1, float a2, float a3, int ec) +{ +float cr,cg,cb,g,g4,avg; +int i,j; +float_rgba lb[4096]; +int cez; + +g=1.0/(1.0+a1+a2+a3); g4=1.0/g/g/g/g; + +avg=EDGEAVG; //koliko vzorcev za povprecje pri edge comp +cez=256; //koliko vzorcev gre cez na desni + +for (j=0;j>8); + s[j*w+i].b=(float)((inframe[j*w+i]&0xFF0000)>>16); + cr=cr+s[j*w+i].r; + cg=cg+s[j*w+i].g; + cb=cb+s[j*w+i].b; + } + cr=g4*cr/avg; cg=g4*cg/avg; cb=g4*cb/avg; + } + else + for (i=0;i>8); + s[j*w+i].b=(float)((inframe[j*w+i]&0xFF0000)>>16); + } + lb[0].r=g4*s[j*w].r-(a1+a2+a3)*g*cr; + lb[0].g=g4*s[j*w].g-(a1+a2+a3)*g*cg; + lb[0].b=g4*s[j*w].b-(a1+a2+a3)*g*cb; + lb[1].r=g4*s[j*w+1].r-a1*lb[0].r-(a2+a3)*g*cr; + lb[1].g=g4*s[j*w+1].g-a1*lb[0].g-(a2+a3)*g*cg; + lb[1].b=g4*s[j*w+1].b-a1*lb[0].b-(a2+a3)*g*cb; + lb[2].r=g4*s[j*w+2].r-a1*lb[1].r-a2*lb[0].r-a3*g*cr; + lb[2].g=g4*s[j*w+2].g-a1*lb[1].g-a2*lb[0].g-a3*g*cg; + lb[2].b=g4*s[j*w+2].b-a1*lb[1].b-a2*lb[0].b-a3*g*cb; + + for (i=3;i>8); + s[j*w+i].b=(float)((inframe[j*w+i]&0xFF0000)>>16); + lb[i].r=g4*s[j*w+i].r-a1*lb[i-1].r-a2*lb[i-2].r-a3*lb[i-3].r; + lb[i].g=g4*s[j*w+i].g-a1*lb[i-1].g-a2*lb[i-2].g-a3*lb[i-3].g; + lb[i].b=g4*s[j*w+i].b-a1*lb[i-1].b-a2*lb[i-2].b-a3*lb[i-3].b; + } + + cr=0.0;cg=0.0;cb=0.0; + if (ec!=0) + { //edge comp + for (i=w-avg;i=w;i--) + { + lb[i].r=lb[i].r-a1*lb[i+1].r-a2*lb[i+2].r-a3*lb[i+3].r; + lb[i].g=lb[i].g-a1*lb[i+1].g-a2*lb[i+2].g-a3*lb[i+3].g; + lb[i].b=lb[i].b-a1*lb[i+1].b-a2*lb[i+2].b-a3*lb[i+3].b; + } + + s[j*w+w-1].r=lb[w-1].r-a1*lb[w].r-a2*lb[w+1].r-a3*lb[w+2].r; + s[j*w+w-1].g=lb[w-1].g-a1*lb[w].g-a2*lb[w+1].g-a3*lb[w+2].g; + s[j*w+w-1].b=lb[w-1].b-a1*lb[w].b-a2*lb[w+1].b-a3*lb[w+2].b; + s[j*w+w-2].r=lb[w-2].r-a1*s[j*w+w-1].r-a2*lb[w].r-a3*lb[w+1].r; + s[j*w+w-2].g=lb[w-2].g-a1*s[j*w+w-1].g-a2*lb[w].g-a3*lb[w+1].g; + s[j*w+w-2].b=lb[w-2].b-a1*s[j*w+w-1].b-a2*lb[w].b-a3*lb[w+1].b; + s[j*w+w-3].r=lb[w-3].r-a1*s[j*w+w-2].r-a2*s[j*w+w-1].r-a3*lb[w].r; + s[j*w+w-3].g=lb[w-3].g-a1*s[j*w+w-2].g-a2*s[j*w+w-1].g-a3*lb[w].g; + s[j*w+w-3].b=lb[w-3].b-a1*s[j*w+w-2].b-a2*s[j*w+w-1].b-a3*lb[w].b; + + for (i=w-4;i>=0;i--) //nazaj + { + s[j*w+i].r=lb[i].r-a1*s[j*w+i+1].r-a2*s[j*w+i+2].r-a3*s[j*w+i+3].r; + s[j*w+i].g=lb[i].g-a1*s[j*w+i+1].g-a2*s[j*w+i+2].g-a3*s[j*w+i+3].g; + s[j*w+i].b=lb[i].b-a1*s[j*w+i+1].b-a2*s[j*w+i+2].b-a3*s[j*w+i+3].b; + } + } //po vrsticah + +for (j=0;j=h;i--) + { + lb[i].r=lb[i].r-a1*lb[i+1].r-a2*lb[i+2].r-a3*lb[i+3].r; + lb[i].g=lb[i].g-a1*lb[i+1].g-a2*lb[i+2].g-a3*lb[i+3].g; + lb[i].b=lb[i].b-a1*lb[i+1].b-a2*lb[i+2].b-a3*lb[i+3].b; + } + + s[j+(h-1)*w].r=lb[h-1].r-a1*lb[h].r-a2*lb[h+1].r-a3*lb[h+2].r; + s[j+(h-1)*w].g=lb[h-1].g-a1*lb[h].g-a2*lb[h+1].g-a3*lb[h+2].g; + s[j+(h-1)*w].b=lb[h-1].b-a1*lb[h].b-a2*lb[h+1].b-a3*lb[h+2].b; + s[j+(h-2)*w].r=lb[h-2].r-a1*s[j+(h-1)*w].r-a2*lb[h].r-a3*lb[h+1].r; + s[j+(h-2)*w].g=lb[h-2].g-a1*s[j+(h-1)*w].g-a2*lb[h].g-a3*lb[h+1].g; + s[j+(h-2)*w].b=lb[h-2].b-a1*s[j+(h-1)*w].b-a2*lb[h].b-a3*lb[h+1].b; + s[j+(h-3)*w].r=lb[h-3].r-a1*s[j+(h-2)*w].r-a2*s[j+(h-1)*w].r-a3*lb[h].r; + s[j+(h-3)*w].g=lb[h-3].g-a1*s[j+(h-2)*w].g-a2*s[j+(h-1)*w].g-a3*lb[h].g; + s[j+(h-3)*w].b=lb[h-3].b-a1*s[j+(h-2)*w].b-a2*s[j+(h-1)*w].b-a3*lb[h].b; + + for (i=h-4;i>=0;i--) //gor + { + s[j+w*i].r=lb[i].r-a1*s[j+w*(i+1)].r-a2*s[j+w*(i+2)].r-a3*s[j+w*(i+3)].r; + s[j+w*i].g=lb[i].g-a1*s[j+w*(i+1)].g-a2*s[j+w*(i+2)].g-a3*s[j+w*(i+3)].g; + s[j+w*i].b=lb[i].b-a1*s[j+w*(i+1)].b-a2*s[j+w*(i+2)].b-a3*s[j+w*(i+3)].b; + outframe[j+w*i]=((uint32_t)s[j+w*i].r&0xFF) + (((uint32_t)s[j+w*i].g&0xFF)<<8) + (((uint32_t)s[j+w*i].b&0xFF)<<16); + } + } //po stolpcih + +} + + diff --git a/src/filter/brightness/Makefile b/src/filter/brightness/Makefile new file mode 100644 index 0000000..32c0367 --- /dev/null +++ b/src/filter/brightness/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/brightness/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/brightness/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/brightness/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/brightness/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/brightness/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/brightness/CMakeFiles/brightness.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/brightness/CMakeFiles/brightness.dir/rule +.PHONY : src/filter/brightness/CMakeFiles/brightness.dir/rule + +# Convenience name for target. +brightness: src/filter/brightness/CMakeFiles/brightness.dir/rule +.PHONY : brightness + +# fast build rule for target. +brightness/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/brightness/CMakeFiles/brightness.dir/build.make src/filter/brightness/CMakeFiles/brightness.dir/build +.PHONY : brightness/fast + +brightness.o: brightness.c.o +.PHONY : brightness.o + +# target to build an object file +brightness.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/brightness/CMakeFiles/brightness.dir/build.make src/filter/brightness/CMakeFiles/brightness.dir/brightness.c.o +.PHONY : brightness.c.o + +brightness.i: brightness.c.i +.PHONY : brightness.i + +# target to preprocess a source file +brightness.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/brightness/CMakeFiles/brightness.dir/build.make src/filter/brightness/CMakeFiles/brightness.dir/brightness.c.i +.PHONY : brightness.c.i + +brightness.s: brightness.c.s +.PHONY : brightness.s + +# target to generate assembly for a file +brightness.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/brightness/CMakeFiles/brightness.dir/build.make src/filter/brightness/CMakeFiles/brightness.dir/brightness.c.s +.PHONY : brightness.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... brightness" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... brightness.o" + @echo "... brightness.i" + @echo "... brightness.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/bw0r/Makefile b/src/filter/bw0r/Makefile new file mode 100644 index 0000000..e1111b4 --- /dev/null +++ b/src/filter/bw0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/bw0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bw0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bw0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bw0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bw0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/bw0r/CMakeFiles/bw0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/bw0r/CMakeFiles/bw0r.dir/rule +.PHONY : src/filter/bw0r/CMakeFiles/bw0r.dir/rule + +# Convenience name for target. +bw0r: src/filter/bw0r/CMakeFiles/bw0r.dir/rule +.PHONY : bw0r + +# fast build rule for target. +bw0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bw0r/CMakeFiles/bw0r.dir/build.make src/filter/bw0r/CMakeFiles/bw0r.dir/build +.PHONY : bw0r/fast + +bw0r.o: bw0r.c.o +.PHONY : bw0r.o + +# target to build an object file +bw0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bw0r/CMakeFiles/bw0r.dir/build.make src/filter/bw0r/CMakeFiles/bw0r.dir/bw0r.c.o +.PHONY : bw0r.c.o + +bw0r.i: bw0r.c.i +.PHONY : bw0r.i + +# target to preprocess a source file +bw0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bw0r/CMakeFiles/bw0r.dir/build.make src/filter/bw0r/CMakeFiles/bw0r.dir/bw0r.c.i +.PHONY : bw0r.c.i + +bw0r.s: bw0r.c.s +.PHONY : bw0r.s + +# target to generate assembly for a file +bw0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/bw0r/CMakeFiles/bw0r.dir/build.make src/filter/bw0r/CMakeFiles/bw0r.dir/bw0r.c.s +.PHONY : bw0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... bw0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... bw0r.o" + @echo "... bw0r.i" + @echo "... bw0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/c0rners/Makefile b/src/filter/c0rners/Makefile new file mode 100644 index 0000000..94a0ba8 --- /dev/null +++ b/src/filter/c0rners/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/c0rners/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/c0rners/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/c0rners/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/c0rners/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/c0rners/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/c0rners/CMakeFiles/c0rners.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/c0rners/CMakeFiles/c0rners.dir/rule +.PHONY : src/filter/c0rners/CMakeFiles/c0rners.dir/rule + +# Convenience name for target. +c0rners: src/filter/c0rners/CMakeFiles/c0rners.dir/rule +.PHONY : c0rners + +# fast build rule for target. +c0rners/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/c0rners/CMakeFiles/c0rners.dir/build.make src/filter/c0rners/CMakeFiles/c0rners.dir/build +.PHONY : c0rners/fast + +c0rners.o: c0rners.c.o +.PHONY : c0rners.o + +# target to build an object file +c0rners.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/c0rners/CMakeFiles/c0rners.dir/build.make src/filter/c0rners/CMakeFiles/c0rners.dir/c0rners.c.o +.PHONY : c0rners.c.o + +c0rners.i: c0rners.c.i +.PHONY : c0rners.i + +# target to preprocess a source file +c0rners.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/c0rners/CMakeFiles/c0rners.dir/build.make src/filter/c0rners/CMakeFiles/c0rners.dir/c0rners.c.i +.PHONY : c0rners.c.i + +c0rners.s: c0rners.c.s +.PHONY : c0rners.s + +# target to generate assembly for a file +c0rners.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/c0rners/CMakeFiles/c0rners.dir/build.make src/filter/c0rners/CMakeFiles/c0rners.dir/c0rners.c.s +.PHONY : c0rners.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... c0rners" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... c0rners.o" + @echo "... c0rners.i" + @echo "... c0rners.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/c0rners/c0rners.c b/src/filter/c0rners/c0rners.c index c6f85bb..5274622 100644 --- a/src/filter/c0rners/c0rners.c +++ b/src/filter/c0rners/c0rners.c @@ -679,7 +679,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; - info->minor_version=1; + info->minor_version=2; info->num_params=15; info->explanation="Four corners geometry engine"; } @@ -895,7 +895,6 @@ break; case 14: //Alpha operation p->op=map_value_forward(*((double*)parm), 0.0, 4.9999); - printf("setting p->op: %i\n", p->op); break; } diff --git a/src/filter/c0rners/interp.h b/src/filter/c0rners/interp.h index 42905ec..7db495b 100644 --- a/src/filter/c0rners/interp.h +++ b/src/filter/c0rners/interp.h @@ -722,10 +722,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wy[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wy[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } //se po x @@ -733,10 +733,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wx[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wx[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } @@ -781,10 +781,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wy[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wy[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } //se po x @@ -792,10 +792,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wx[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wx[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } diff --git a/src/filter/cairogradient/CMakeLists.txt b/src/filter/cairogradient/CMakeLists.txt new file mode 100644 index 0000000..119ef17 --- /dev/null +++ b/src/filter/cairogradient/CMakeLists.txt @@ -0,0 +1,16 @@ +set (SOURCES cairogradient.c) +set (TARGET cairogradient) + +include_directories(${Cairo_INCLUDE_DIR}) +set(LIBS ${LIBS} ${Cairo_LIBRARY}) + +if (MSVC) + set_source_files_properties (cairogradient.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") +target_link_libraries(cairogradient ${LIBS}) + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/cairogradient/Makefile b/src/filter/cairogradient/Makefile new file mode 100644 index 0000000..fdf7581 --- /dev/null +++ b/src/filter/cairogradient/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/cairogradient/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairogradient/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairogradient/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairogradient/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairogradient/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/cairogradient/CMakeFiles/cairogradient.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairogradient/CMakeFiles/cairogradient.dir/rule +.PHONY : src/filter/cairogradient/CMakeFiles/cairogradient.dir/rule + +# Convenience name for target. +cairogradient: src/filter/cairogradient/CMakeFiles/cairogradient.dir/rule +.PHONY : cairogradient + +# fast build rule for target. +cairogradient/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairogradient/CMakeFiles/cairogradient.dir/build.make src/filter/cairogradient/CMakeFiles/cairogradient.dir/build +.PHONY : cairogradient/fast + +cairogradient.o: cairogradient.c.o +.PHONY : cairogradient.o + +# target to build an object file +cairogradient.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairogradient/CMakeFiles/cairogradient.dir/build.make src/filter/cairogradient/CMakeFiles/cairogradient.dir/cairogradient.c.o +.PHONY : cairogradient.c.o + +cairogradient.i: cairogradient.c.i +.PHONY : cairogradient.i + +# target to preprocess a source file +cairogradient.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairogradient/CMakeFiles/cairogradient.dir/build.make src/filter/cairogradient/CMakeFiles/cairogradient.dir/cairogradient.c.i +.PHONY : cairogradient.c.i + +cairogradient.s: cairogradient.c.s +.PHONY : cairogradient.s + +# target to generate assembly for a file +cairogradient.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairogradient/CMakeFiles/cairogradient.dir/build.make src/filter/cairogradient/CMakeFiles/cairogradient.dir/cairogradient.c.s +.PHONY : cairogradient.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cairogradient" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cairogradient.o" + @echo "... cairogradient.i" + @echo "... cairogradient.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/cairogradient/cairogradient.c b/src/filter/cairogradient/cairogradient.c new file mode 100644 index 0000000..968c3e0 --- /dev/null +++ b/src/filter/cairogradient/cairogradient.c @@ -0,0 +1,336 @@ +/* + * cairogradient.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_cairo.h" + +typedef struct cairo_gradient_instance +{ + unsigned int width; + unsigned int height; + char *pattern; + f0r_param_color_t start_color; + double start_opacity; + f0r_param_color_t end_color; + double end_opacity; + double start_x; + double start_y; + double end_x; + double end_y; + char *end_point; + double offset; + char *blend_mode; +} cairo_gradient_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ + +} + +void f0r_get_plugin_info(f0r_plugin_info_t* info) +{ + info->name = "cairogradient"; + info->author = "Janne Liljeblad"; + info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + info->color_model = F0R_COLOR_MODEL_RGBA8888; + info->frei0r_version = FREI0R_MAJOR_VERSION; + info->major_version = 0; + info->minor_version = 9; + info->num_params = 11; + info->explanation = "Draws a gradient on top of image. Filter is given gradient start and end points, colors and opacities."; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) { + case 0: + info->name = "pattern"; + info->type = F0R_PARAM_STRING; + info->explanation = "Linear or radial gradient";// Accepted values: 'gradient_linear' and 'gradient_radial + break; + case 1: + info->name = "start color"; + info->type = F0R_PARAM_COLOR; + info->explanation = "First color of the gradient"; + break; + case 2: + info->name = "start opacity"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Opacity of the first color of the gradient"; + break; + case 3: + info->name = "end color"; + info->type = F0R_PARAM_COLOR; + info->explanation = "Second color of the gradient"; + break; + case 4: + info->name = "end opacity"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Opacity of the second color of the gradient"; + break; + case 5: + info->name = "start x"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "X position of the start point of the gradient"; + break; + case 6: + info->name = "start y"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Y position of the start point of the gradient"; + break; + case 7: + info->name = "end x"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "X position of the end point of the gradient"; + break; + case 8: + info->name = "end y"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Y position of the end point of the gradient"; + break; + case 9: + info->name = "offset"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Position of first color in the line connecting gradient ends, really useful only for radial gradient"; + break; + case 10: + info->name = "blend mode"; + info->type = F0R_PARAM_STRING; + info->explanation = "Blend mode used to compose gradient on image. Accepted values: 'normal', 'add', 'saturate', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'colordodge', 'colorburn', 'hardlight', 'softlight', 'difference', 'exclusion', 'hslhue', 'hslsaturation', 'hslcolor', 'hslluminosity'"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + cairo_gradient_instance_t* inst = (cairo_gradient_instance_t*) calloc (1, sizeof(*inst)); + inst->width = width; + inst->height = height; + + const char* pattern_val = GRADIENT_LINEAR; + inst->pattern = (char*) malloc (strlen(pattern_val) + 1); + strcpy (inst->pattern, pattern_val); + + inst->start_color.r = 0.0; + inst->start_color.g = 0.0; + inst->start_color.b = 0.0; + inst->start_opacity = 0.5; + inst->end_color.r = 1.0; + inst->end_color.g = 1.0; + inst->end_color.b = 1.0; + inst->end_opacity = 0.5; + inst->start_x = 0.5; + inst->start_y = 0.0; + inst->end_x = 0.5; + inst->end_y = 1.0; + inst->offset = 0.0; + + const char* blend_val = NORMAL; + inst->blend_mode = (char*) malloc (strlen(blend_val) + 1 ); + strcpy (inst->blend_mode, blend_val); + + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + cairo_gradient_instance_t* inst = (cairo_gradient_instance_t*)instance; + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_gradient_instance_t* inst = (cairo_gradient_instance_t*)instance; + char* sval; + switch(param_index) { + case 0: + sval = (*(char**)param); + inst->pattern = (char*)realloc (inst->pattern, strlen(sval) + 1); + strcpy( inst->pattern, sval ); + break; + case 1: + inst->start_color = *((f0r_param_color_t*)param); + break; + case 2: + inst->start_opacity = *((double*)param); + break; + case 3: + inst->end_color = *((f0r_param_color_t*)param); + break; + case 4: + inst->end_opacity = *((double*)param); + break; + case 5: + inst->start_x = *((double*)param); + break; + case 6: + inst->start_y = *((double*)param); + break; + case 7: + inst->end_x = *((double*)param); + break; + case 8: + inst->end_y = *((double*)param); + break; + case 9: + inst->offset = *((double*)param); + break; + case 10: + sval = (*(char**)param); + inst->blend_mode = (char*) realloc (inst->blend_mode, strlen(sval) + 1); + strcpy (inst->blend_mode, sval); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_gradient_instance_t* inst = (cairo_gradient_instance_t*)instance; + + switch(param_index) { + case 0: + *((f0r_param_string *)param) = inst->pattern; + break; + case 1: + *((f0r_param_color_t*)param) = inst->start_color; + break; + case 2: + *((double*)param) = inst->start_opacity; + break; + case 3: + *((f0r_param_color_t*)param) = inst->end_color; + break; + case 4: + *((double*)param) = inst->end_opacity; + break; + case 5: + *((double*)param) = inst->start_x; + break; + case 6: + *((double*)param) = inst->start_y; + break; + case 7: + *((double*)param) = inst->end_x; + break; + case 8: + *((double*)param) = inst->end_y; + break; + case 9: + *((double*)param) = inst->offset; + break; + case 10: + *((f0r_param_string *)param) = inst->blend_mode; + break; + } +} + +void draw_gradient(cairo_gradient_instance_t* inst, unsigned char* dst, const unsigned char* src, double time) +{ + int stride = cairo_format_stride_for_width (CAIRO_FORMAT_ARGB32, inst->width); + cairo_surface_t *surface = cairo_image_surface_create_for_data (dst, CAIRO_FORMAT_ARGB32, inst->width, inst->height, stride); + cairo_t *cr = cairo_create (surface); + + cairo_surface_t* src_image = cairo_image_surface_create_for_data ((unsigned char*)src, + CAIRO_FORMAT_ARGB32, inst->width, inst->height, stride); + + cairo_set_source_surface (cr, src_image, 0, 0); + cairo_paint (cr); + + cairo_pattern_t *pat; + double sx = inst->start_x; + double sy = inst->start_y; + double ex = inst->end_x; + double ey = inst->end_y; + if (strcmp(inst->pattern, GRADIENT_RADIAL) == 0) + { + + + double distance_x = (sx - ex) * inst->width; + double distance_y = (sy - ey) * inst->height; + double distance = sqrt( (distance_x * distance_x) + (distance_y * distance_y)); + pat = cairo_pattern_create_radial (sx * inst->width, + sy * inst->height, + 0.0, + sx * inst->width, + sy * inst->height, + distance); + } + else + { + pat = cairo_pattern_create_linear ( sx * inst->width, + sy * inst->height, + ex * inst->width, + ey * inst->height); + } + + freior_cairo_set_color_stop_rgba_LITLLE_ENDIAN (pat, + 1.0, + inst->start_color.b, + inst->start_color.g, + inst->start_color.r, + inst->start_opacity); + + freior_cairo_set_color_stop_rgba_LITLLE_ENDIAN (pat, + inst->offset, + inst->end_color.b, + inst->end_color.g, + inst->end_color.r, + inst->end_opacity); + + + cairo_set_source (cr, pat); + frei0r_cairo_set_operator(cr, inst->blend_mode); + cairo_rectangle (cr, 0, 0, inst->width, inst->height); + + cairo_fill (cr); + + cairo_pattern_destroy (pat); + cairo_destroy (cr); + cairo_surface_destroy (surface); + cairo_surface_destroy (src_image); +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + cairo_gradient_instance_t* inst = (cairo_gradient_instance_t*)instance; + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + + draw_gradient(inst, dst, src, time); +} + diff --git a/src/filter/cairoimagegrid/CMakeLists.txt b/src/filter/cairoimagegrid/CMakeLists.txt new file mode 100644 index 0000000..6e6b729 --- /dev/null +++ b/src/filter/cairoimagegrid/CMakeLists.txt @@ -0,0 +1,16 @@ +set (SOURCES cairoimagegrid.c) +set (TARGET cairoimagegrid) + +include_directories(${Cairo_INCLUDE_DIR}) +set(LIBS ${LIBS} ${Cairo_LIBRARY}) + +if (MSVC) + set_source_files_properties (cairoimagegrid.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") +target_link_libraries(cairoimagegrid ${LIBS}) + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/cairoimagegrid/Makefile b/src/filter/cairoimagegrid/Makefile new file mode 100644 index 0000000..d10737c --- /dev/null +++ b/src/filter/cairoimagegrid/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/cairoimagegrid/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairoimagegrid/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairoimagegrid/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairoimagegrid/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairoimagegrid/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/rule +.PHONY : src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/rule + +# Convenience name for target. +cairoimagegrid: src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/rule +.PHONY : cairoimagegrid + +# fast build rule for target. +cairoimagegrid/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/build.make src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/build +.PHONY : cairoimagegrid/fast + +cairoimagegrid.o: cairoimagegrid.c.o +.PHONY : cairoimagegrid.o + +# target to build an object file +cairoimagegrid.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/build.make src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/cairoimagegrid.c.o +.PHONY : cairoimagegrid.c.o + +cairoimagegrid.i: cairoimagegrid.c.i +.PHONY : cairoimagegrid.i + +# target to preprocess a source file +cairoimagegrid.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/build.make src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/cairoimagegrid.c.i +.PHONY : cairoimagegrid.c.i + +cairoimagegrid.s: cairoimagegrid.c.s +.PHONY : cairoimagegrid.s + +# target to generate assembly for a file +cairoimagegrid.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/build.make src/filter/cairoimagegrid/CMakeFiles/cairoimagegrid.dir/cairoimagegrid.c.s +.PHONY : cairoimagegrid.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cairoimagegrid" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cairoimagegrid.o" + @echo "... cairoimagegrid.i" + @echo "... cairoimagegrid.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/cairoimagegrid/cairoimagegrid.c b/src/filter/cairoimagegrid/cairoimagegrid.c new file mode 100644 index 0000000..680eb59 --- /dev/null +++ b/src/filter/cairoimagegrid/cairoimagegrid.c @@ -0,0 +1,175 @@ +/* + * cairoimagegrid.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_cairo.h" + +#define MAX_ROWS 20 +#define MAX_COLUMNS 20 + +typedef struct cairo_imagegrid_instance +{ + unsigned int width; + unsigned int height; + double rows; + double columns; +} cairo_imagegrid_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ + +} + +void f0r_get_plugin_info(f0r_plugin_info_t* cairo_gradient_info) +{ + cairo_gradient_info->name = "cairoimagegrid"; + cairo_gradient_info->author = "Janne Liljeblad"; + cairo_gradient_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + cairo_gradient_info->color_model = F0R_COLOR_MODEL_RGBA8888; + cairo_gradient_info->frei0r_version = FREI0R_MAJOR_VERSION; + cairo_gradient_info->major_version = 0; + cairo_gradient_info->minor_version = 9; + cairo_gradient_info->num_params = 2; + cairo_gradient_info->explanation = "Draws a grid of input images."; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) { + case 0: + info->name = "rows"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Number of rows in the image grid. Input range 0 - 1 is interpreted as range 1 - 20"; + break; + case 1: + info->name = "columns"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Number of columns in the image grid. Input range 0 - 1 is interpreted as range 1 - 20"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + cairo_imagegrid_instance_t* inst = (cairo_imagegrid_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->rows = 2.0 / (MAX_ROWS - 1); + inst->columns = 2.0 / (MAX_COLUMNS - 1); + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + cairo_imagegrid_instance_t* inst = (cairo_imagegrid_instance_t*)instance; + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_imagegrid_instance_t* inst = (cairo_imagegrid_instance_t*)instance; + + switch(param_index) { + case 0: + inst->rows = *((double*)param); + break; + case 1: + inst->columns = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_imagegrid_instance_t* inst = (cairo_imagegrid_instance_t*)instance; + + switch(param_index) { + case 0: + *((double*)param) = inst->rows; + break; + case 1: + *((double*)param) = inst->columns; + break; + } +} + +void draw_grid(cairo_imagegrid_instance_t* inst, unsigned char* dst, const unsigned char* src) +{ + int w = inst->width; + int h = inst->height; + int stride = cairo_format_stride_for_width (CAIRO_FORMAT_ARGB32, w); + + cairo_surface_t* dest_image = cairo_image_surface_create_for_data ((unsigned char*)dst, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + cairo_t *cr = cairo_create (dest_image); + + cairo_surface_t *image = cairo_image_surface_create_for_data ((unsigned char*)src, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + + cairo_pattern_t *pattern = cairo_pattern_create_for_surface (image); + cairo_pattern_set_extend (pattern, CAIRO_EXTEND_REPEAT); + + double rows = 1 + (MAX_ROWS - 1) * inst->rows; + double columns = 1 + (MAX_ROWS - 1) * inst->columns; + + cairo_matrix_t matrix; + cairo_matrix_init_scale (&matrix, columns, rows); + cairo_pattern_set_matrix (pattern, &matrix); + + cairo_set_source (cr, pattern); + + cairo_rectangle (cr, 0, 0, w, h); + cairo_fill (cr); + + cairo_pattern_destroy (pattern); + cairo_surface_destroy (image); + cairo_surface_destroy (dest_image); + cairo_destroy (cr); +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + cairo_imagegrid_instance_t* inst = (cairo_imagegrid_instance_t*) instance; + const unsigned char* src = (unsigned char*)inframe; + unsigned char* dst = (unsigned char*)outframe; + + draw_grid(inst, dst, src); +} + diff --git a/src/filter/cartoon/Makefile b/src/filter/cartoon/Makefile new file mode 100644 index 0000000..2d4d21d --- /dev/null +++ b/src/filter/cartoon/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/cartoon/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cartoon/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cartoon/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cartoon/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cartoon/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/cartoon/CMakeFiles/cartoon.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cartoon/CMakeFiles/cartoon.dir/rule +.PHONY : src/filter/cartoon/CMakeFiles/cartoon.dir/rule + +# Convenience name for target. +cartoon: src/filter/cartoon/CMakeFiles/cartoon.dir/rule +.PHONY : cartoon + +# fast build rule for target. +cartoon/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cartoon/CMakeFiles/cartoon.dir/build.make src/filter/cartoon/CMakeFiles/cartoon.dir/build +.PHONY : cartoon/fast + +cartoon.o: cartoon.cpp.o +.PHONY : cartoon.o + +# target to build an object file +cartoon.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cartoon/CMakeFiles/cartoon.dir/build.make src/filter/cartoon/CMakeFiles/cartoon.dir/cartoon.cpp.o +.PHONY : cartoon.cpp.o + +cartoon.i: cartoon.cpp.i +.PHONY : cartoon.i + +# target to preprocess a source file +cartoon.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cartoon/CMakeFiles/cartoon.dir/build.make src/filter/cartoon/CMakeFiles/cartoon.dir/cartoon.cpp.i +.PHONY : cartoon.cpp.i + +cartoon.s: cartoon.cpp.s +.PHONY : cartoon.s + +# target to generate assembly for a file +cartoon.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cartoon/CMakeFiles/cartoon.dir/build.make src/filter/cartoon/CMakeFiles/cartoon.dir/cartoon.cpp.s +.PHONY : cartoon.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cartoon" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cartoon.o" + @echo "... cartoon.i" + @echo "... cartoon.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/cartoon/cartoon.cpp b/src/filter/cartoon/cartoon.cpp index 45297e8..be9b20f 100644 --- a/src/filter/cartoon/cartoon.cpp +++ b/src/filter/cartoon/cartoon.cpp @@ -59,8 +59,8 @@ Cartoon(unsigned int width, unsigned int height) { int c; - register_param(triplevel, "triplevel", "level of trip: use high numbers, incremented by 100"); - register_param(diffspace, "diffspace", "difference space: a value from 0 to 256"); + register_param(triplevel, "triplevel", "level of trip: mapped to [0,1] asymptotical"); + register_param(diffspace, "diffspace", "difference space: a value from 0 to 256 (mapped to [0,1])"); geo = new ScreenGeometry(); geo->w = width; @@ -79,8 +79,8 @@ powprecal[c] = c*c; black = 0xFF000000; - triplevel = 1000; - diffspace = 1; + triplevel = 1 - 1 / (1000 + 1); + diffspace = 1 / 256.; } @@ -97,13 +97,14 @@ // Cartoonify picture, do a form of edge detect int x, y, t; + m_diffspace = diffspace * 256; - for (x=(int)diffspace;xw-(1+(int)diffspace);x++) { + for (x=m_diffspace;xw-(1+m_diffspace);x++) { - for (y=(int)diffspace;yh-(1+(int)diffspace);y++) { + for (y=m_diffspace;yh-(1+m_diffspace);y++) { t = GetMaxContrast((int32_t*)in,x,y); - if (t > triplevel) { + if (t > 1 / (1 - triplevel) - 1) { // Make a border pixel *(out+x+yprecal[y]) = black; @@ -129,6 +130,7 @@ int *yprecal; uint16_t powprecal[256]; int32_t black; + int m_diffspace; void FlattenColor(int32_t *c); long GetMaxContrast(int32_t *src,int x,int y); @@ -163,23 +165,23 @@ long error,max=0; /* Assumes PrePixelModify has been run */ - c1 = *PIXELAT(x-(int)diffspace,y,src); - c2 = *PIXELAT(x+(int)diffspace,y,src); + c1 = *PIXELAT(x-m_diffspace,y,src); + c2 = *PIXELAT(x+m_diffspace,y,src); error = GMERROR(c1,c2); if (error>max) max = error; - c1 = *PIXELAT(x,y-(int)diffspace,src); - c2 = *PIXELAT(x,y+(int)diffspace,src); + c1 = *PIXELAT(x,y-m_diffspace,src); + c2 = *PIXELAT(x,y+m_diffspace,src); error = GMERROR(c1,c2); if (error>max) max = error; - c1 = *PIXELAT(x-(int)diffspace,y-(int)diffspace,src); - c2 = *PIXELAT(x+(int)diffspace,y+(int)diffspace,src); + c1 = *PIXELAT(x-m_diffspace,y-m_diffspace,src); + c2 = *PIXELAT(x+m_diffspace,y+m_diffspace,src); error = GMERROR(c1,c2); if (error>max) max = error; - c1 = *PIXELAT(x+(int)diffspace,y-(int)diffspace,src); - c2 = *PIXELAT(x-(int)diffspace,y+(int)diffspace,src); + c1 = *PIXELAT(x+m_diffspace,y-m_diffspace,src); + c2 = *PIXELAT(x-m_diffspace,y+m_diffspace,src); error = GMERROR(c1,c2); if (error>max) max = error; @@ -189,6 +191,4 @@ frei0r::construct plugin("Cartoon", "Cartoonify video, do a form of edge detect", "Dries Pruimboom, Jaromil", - 2,0); - - + 2,1); diff --git a/src/filter/cluster/Makefile b/src/filter/cluster/Makefile new file mode 100644 index 0000000..dd29cb4 --- /dev/null +++ b/src/filter/cluster/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/cluster/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cluster/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cluster/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cluster/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cluster/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/cluster/CMakeFiles/cluster.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/cluster/CMakeFiles/cluster.dir/rule +.PHONY : src/filter/cluster/CMakeFiles/cluster.dir/rule + +# Convenience name for target. +cluster: src/filter/cluster/CMakeFiles/cluster.dir/rule +.PHONY : cluster + +# fast build rule for target. +cluster/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cluster/CMakeFiles/cluster.dir/build.make src/filter/cluster/CMakeFiles/cluster.dir/build +.PHONY : cluster/fast + +cluster.o: cluster.c.o +.PHONY : cluster.o + +# target to build an object file +cluster.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cluster/CMakeFiles/cluster.dir/build.make src/filter/cluster/CMakeFiles/cluster.dir/cluster.c.o +.PHONY : cluster.c.o + +cluster.i: cluster.c.i +.PHONY : cluster.i + +# target to preprocess a source file +cluster.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cluster/CMakeFiles/cluster.dir/build.make src/filter/cluster/CMakeFiles/cluster.dir/cluster.c.i +.PHONY : cluster.c.i + +cluster.s: cluster.c.s +.PHONY : cluster.s + +# target to generate assembly for a file +cluster.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/cluster/CMakeFiles/cluster.dir/build.make src/filter/cluster/CMakeFiles/cluster.dir/cluster.c.s +.PHONY : cluster.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cluster" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cluster.o" + @echo "... cluster.i" + @echo "... cluster.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/cluster/cluster.c b/src/filter/cluster/cluster.c index e6a1b61..e77b133 100644 --- a/src/filter/cluster/cluster.c +++ b/src/filter/cluster/cluster.c @@ -311,6 +311,7 @@ dst2[0] = cc->r; dst2[1] = cc->g; dst2[2] = cc->b; + dst2[3] = src2[3]; diff --git a/src/filter/colgate/CMakeLists.txt b/src/filter/colgate/CMakeLists.txt new file mode 100644 index 0000000..f7b0183 --- /dev/null +++ b/src/filter/colgate/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES colgate.c) +set (TARGET colgate) + +if (MSVC) + set_source_files_properties (colgate.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/colgate/Makefile b/src/filter/colgate/Makefile new file mode 100644 index 0000000..22192f0 --- /dev/null +++ b/src/filter/colgate/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/colgate/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colgate/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colgate/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colgate/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colgate/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/colgate/CMakeFiles/colgate.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colgate/CMakeFiles/colgate.dir/rule +.PHONY : src/filter/colgate/CMakeFiles/colgate.dir/rule + +# Convenience name for target. +colgate: src/filter/colgate/CMakeFiles/colgate.dir/rule +.PHONY : colgate + +# fast build rule for target. +colgate/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colgate/CMakeFiles/colgate.dir/build.make src/filter/colgate/CMakeFiles/colgate.dir/build +.PHONY : colgate/fast + +colgate.o: colgate.c.o +.PHONY : colgate.o + +# target to build an object file +colgate.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colgate/CMakeFiles/colgate.dir/build.make src/filter/colgate/CMakeFiles/colgate.dir/colgate.c.o +.PHONY : colgate.c.o + +colgate.i: colgate.c.i +.PHONY : colgate.i + +# target to preprocess a source file +colgate.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colgate/CMakeFiles/colgate.dir/build.make src/filter/colgate/CMakeFiles/colgate.dir/colgate.c.i +.PHONY : colgate.c.i + +colgate.s: colgate.c.s +.PHONY : colgate.s + +# target to generate assembly for a file +colgate.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colgate/CMakeFiles/colgate.dir/build.make src/filter/colgate/CMakeFiles/colgate.dir/colgate.c.s +.PHONY : colgate.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... colgate" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... colgate.o" + @echo "... colgate.i" + @echo "... colgate.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/colgate/colgate.c b/src/filter/colgate/colgate.c new file mode 100644 index 0000000..4414d4d --- /dev/null +++ b/src/filter/colgate/colgate.c @@ -0,0 +1,561 @@ +/* colgate.c + * Copyright (C) 2012 Steinar H. Gunderson + * + * Color correction in LMS color space. + * + * This plugin is intended for the same uses as the balanc0r plugin, + * but differs from balanc0r in two important aspects: + * + * 1. It operates in the LMS color space, which is a better approximation + * to the human color sensation than RGB is. This allows for more + * natural color changes. (Note that this inevitably requires that we + * we work in linear color space, not the nonlinear space pixels are + * typically stored in.) + * + * 2. Its choice of neutral color is not limited by the Planckian locus + * (typically expressed in Kelvins) like balanc0r is; you can choose + * any color, even those that are not typically regarded as “white”. + * If you want a color cast (e.g. a warmer scene), this can be + * adjusted with a separate control for color temperature. + * + * Color is a very complex topic, and this plugin makes no claims to + * being 100% correct in any way; however, the results appear visually + * much more meaningful to me than the balanc0r plugin does, although it + * also uses significantly more CPU time. + * + * frei0r plugins are not given any meaningful information about input or + * output color space. We assume sRGB, since that typically matches people's + * viewing devices pretty well. sRGB in turn very closely matches ITU-R Rec. + * BT.709, the standard color space for HDTV; they share the same RGB + * primaries, and have a similar gamma (2.35 or 2.4, versus sRGB's curve that + * is approximately a gamma curve at 2.2). SDTV uses a different color space, + * ITU-R Rec. BT.601, which has somewhat different primaries and a gamma of + * 2.2, but in practice, sRGB should be an okay approximation for this as well. + * + * The color matrices used are typically from Wikipedia, and the inverses + * are computed by Octave if nothing else is mentioned. + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/* + * We use fixed point, since conversion back and forth to floating-point is + * slow. (This also enables us to use LUTs in an efficient way for lookup + * to and from sRGB, as opposed to a pow()-based solution, which is very slow.) + * + * We need to think a bit about the range and precision of the different + * elements to get the best results here, since linear RGB can span quite + * some range. So: + * + * - Input pixels (which are in linear RGB, always 0..1) are stored as 1.15. + * - Matrix elements are s4.10. + * + * Matrix elements up to +/- 16 should give us some headroom; extreme color + * adjustments typically have elements of 5-6. + * + * Our standard operation is input_pixel * matrix_element, which becomes s5.25. + * We add three of them, which would seem to be able to overflow, but doesn't, + * since the largest pixel is 1.0 (represented as 2^15): + * + * 3 * 2^15 * (2^14 - 1) ~= 3 * 2^29 < 2^31. + * + * It _is_ larger than 2^30, though, so we don't have any bits to spare here. + */ +#define INPUT_PIXEL_BITS 15 +#define MATRIX_ELEMENT_FRAC_BITS 10 +#define MATRIX_ELEMENT_BITS (4 + MATRIX_ELEMENT_FRAC_BITS) + +#include +#include +#include +#include + +#ifdef __SSE2__ +#include +#endif + +#include "frei0r.h" +#include "frei0r_math.h" + +enum ParamIndex { + NEUTRAL_COLOR, + COLOR_TEMPERATURE, +}; + +// Row major (opposite of OpenGL). +typedef float Matrix3x3[9]; + +typedef struct colgate_instance +{ + unsigned width; + unsigned height; + f0r_param_color_t neutral_color; + double color_temperature; + +#ifdef __SSE2__ + __m128i premult_r[256]; + __m128i premult_g[256]; + __m128i premult_b[256]; +#else + int premult_r[256][3]; + int premult_g[256][3]; + int premult_b[256][3]; +#endif +} colgate_instance_t; + +// Assumes input value in [0..255]; output value is normalized. +static float convert_srgb_to_linear_rgb(float x) +{ + if (x < 255.0f * 0.04045f) { + return x * (1.0f / (255.0f * 12.92f)); + } else { + return pow((x + 255.0f * 0.055) * (1.0 / (255.0f * 1.055f)), 2.4); + } +} + +// Assumes normalized input value; output value in [0..255]. +static float convert_linear_rgb_to_srgb(float x) +{ + if (x < 0.0031308f) { + return (255.0f * 12.92f) * x; + } else { + return ((255.0f * 1.055f) * pow(x, 1.0f / 2.4f)) - (0.055 * 255.0f); + } +} + +/* + * For linear -> sRGB, we need at least 13 bits to be able to distinguish all + * input values; we go for 14 to get some extra accuracy. This results in an 16 + * kB LUT, but we generally don't need the L1 cache for a lot of other things + * anyway, so hopefully the LUT can mostly stay in L1 cache. + */ +#define REVERSE_LUT_BITS 14 +#define REVERSE_LUT_SIZE (1 << REVERSE_LUT_BITS) + +static uint8_t linear_rgb_to_srgb_lut[REVERSE_LUT_SIZE]; + +static void fill_srgb_lut() +{ + int i; + for (i = 0; i < REVERSE_LUT_SIZE; ++i) { + // Subtract 0.5 to compensate for the fact that we don't round + // (which, for our purposes, would entail _adding_ 0.5) at lookup time. + float x = (i - 0.5) / (float)(REVERSE_LUT_SIZE); + int srgb = lrintf(convert_linear_rgb_to_srgb(x)); + assert(srgb >= 0 && srgb <= 255); + linear_rgb_to_srgb_lut[i] = srgb; + } +} + +// Multiply two 3x3 matrices. +static void multiply_3x3_matrices(const Matrix3x3 a, const Matrix3x3 b, Matrix3x3 result) +{ + result[0] = a[0] * b[0] + a[1] * b[3] + a[2] * b[6]; + result[3] = a[3] * b[0] + a[4] * b[3] + a[5] * b[6]; + result[6] = a[6] * b[0] + a[7] * b[3] + a[8] * b[6]; + + result[1] = a[0] * b[1] + a[1] * b[4] + a[2] * b[7]; + result[4] = a[3] * b[1] + a[4] * b[4] + a[5] * b[7]; + result[7] = a[6] * b[1] + a[7] * b[4] + a[8] * b[7]; + + result[2] = a[0] * b[2] + a[1] * b[5] + a[2] * b[8]; + result[5] = a[3] * b[2] + a[4] * b[5] + a[5] * b[8]; + result[8] = a[6] * b[2] + a[7] * b[5] + a[8] * b[8]; +} + +// Multiply a 3x3 matrix with a three-element float vector. +static void multiply_3x3_matrix_float3(const Matrix3x3 M, float x0, float x1, float x2, float *y0, float *y1, float *y2) +{ + *y0 = M[0] * x0 + M[1] * x1 + M[2] * x2; + *y1 = M[3] * x0 + M[4] * x1 + M[5] * x2; + *y2 = M[6] * x0 + M[7] * x1 + M[8] * x2; +} + +// Convert a linear RGB value in s6.25 fixed-point to sRGB (between 0 to 255, inclusive). +static inline uint8_t convert_linear_rgb_to_srgb_fp(int x) +{ + if (x < 0) { + return 0; + } + if (x >= (REVERSE_LUT_SIZE << (INPUT_PIXEL_BITS + MATRIX_ELEMENT_FRAC_BITS - REVERSE_LUT_BITS))) { + return 255; + } + return linear_rgb_to_srgb_lut[((unsigned)x) >> (INPUT_PIXEL_BITS + MATRIX_ELEMENT_FRAC_BITS - REVERSE_LUT_BITS)]; +} + +// Temperature is in Kelvin. Formula from http://en.wikipedia.org/wiki/Planckian_locus#Approximation . +void convert_color_temperature_to_xyz(float T, float *x, float *y, float *z) +{ + double invT = 1.0 / T; + double xc, yc; + + if (T <= 4000.0f) { + xc = ((-0.2661239e9 * invT - 0.2343580e6) * invT + 0.8776956e3) * invT + 0.179910; + } else { + xc = ((-3.0258469e9 * invT + 2.1070379e6) * invT + 0.2226347e3) * invT + 0.240390; + } + + if (T <= 2222.0f) { + yc = ((-1.1063814 * xc - 1.34811020) * xc + 2.18555832) * xc - 0.20219683; + } else if (T <= 4000.0f) { + yc = ((-0.9549476 * xc - 1.37418593) * xc + 2.09137015) * xc - 0.16748867; + } else { + yc = (( 3.0817580 * xc - 5.87338670) * xc + 3.75112997) * xc - 0.37001483; + } + + *x = xc; + *y = yc; + *z = 1.0 - xc - yc; +} + +// sRGB primaries. +static const Matrix3x3 rgb_to_xyz_matrix = { + 0.4124, 0.3576, 0.1805, + 0.2126, 0.7152, 0.0722, + 0.0193, 0.1192, 0.9505, +}; +static const Matrix3x3 xyz_to_rgb_matrix = { + 3.240625, -1.537208, -0.498629, + -0.968931, 1.875756, 0.041518, + 0.055710, -0.204021, 1.056996, +}; + +static void convert_linear_rgb_to_linear_xyz(float r, float g, float b, float *x, float *y, float *z) +{ + multiply_3x3_matrix_float3(rgb_to_xyz_matrix, r, g, b, x, y, z); +} + +static void convert_linear_xyz_to_linear_rgb(float x, float y, float z, float *r, float *g, float *b) +{ + multiply_3x3_matrix_float3(xyz_to_rgb_matrix, x, y, z, r, g, b); +} + +/* + * There are several different LMS spaces, at least according to Wikipedia. + * Through practical testing, I've found most of them (like the CIECAM02 model) + * to yield a result that is too reddish in practice. This is the RLAB space, + * normalized to D65, which means that the standard D65 illuminant + * (x=0.31271, y=0.32902, z=1-y-x) gives L=M=S under this transformation. + * This makes sense because sRGB (which is used to derive those XYZ values + * in the first place) assumes the D65 illuminant, and so the D65 illuminant + * also gives R=G=B in sRGB. + */ +static const Matrix3x3 xyz_to_lms_matrix = { + 0.4002, 0.7076, -0.0808, + -0.2263, 1.1653, 0.0457, + 0.0, 0.0, 0.9182, +}; +static const Matrix3x3 lms_to_xyz_matrix = { + 1.86007, -1.12948, 0.21990, + 0.36122, 0.63880, -0.00001, + 0.00000, 0.00000, 1.08909, +}; + +static void convert_linear_xyz_to_linear_lms(float x, float y, float z, float *l, float *m, float *s) +{ + multiply_3x3_matrix_float3(xyz_to_lms_matrix, x, y, z, l, m, s); +} + +static void convert_linear_lms_to_linear_xyz(float l, float m, float s, float *x, float *y, float *z) +{ + multiply_3x3_matrix_float3(lms_to_xyz_matrix, l, m, s, x, y, z); +} + +/* + * For a given reference color (given in XYZ space), + * compute scaling factors for L, M and S. What we want at the output is equal L, M and S + * for the reference color (making it a neutral illuminant), or sL ref_L = sM ref_M = sS ref_S. + * This removes two degrees of freedom for our system, and we only need to find fL. + * + * A reasonable last constraint would be to preserve Y, approximately the brightness, + * for the reference color. Since L'=M'=S' and the Y row of the LMS-to-XYZ matrix + * sums to unity, we know that Y'=L', and it's easy to find the fL that sets Y'=Y. + */ +static void compute_lms_scaling_factors(float x, float y, float z, float *scale_l, float *scale_m, float *scale_s) +{ + float l, m, s; + convert_linear_xyz_to_linear_lms(x, y, z, &l, &m, &s); + + *scale_l = y / l; + *scale_m = *scale_l * (l / m); + *scale_s = *scale_l * (l / s); +} + +static void compute_correction_matrix(colgate_instance_t *o) +{ + int i; + + /* + * Find out what the given neutral color would be in LMS space, + * and use that value to build a correction factor for each component + * so that the neutral color really becomes gray (in LMS). + */ + float ref_r = o->neutral_color.r * 255.0f; + float ref_g = o->neutral_color.g * 255.0f; + float ref_b = o->neutral_color.b * 255.0f; + + float linear_r = convert_srgb_to_linear_rgb(ref_r); + float linear_g = convert_srgb_to_linear_rgb(ref_g); + float linear_b = convert_srgb_to_linear_rgb(ref_b); + + float x, y, z; + convert_linear_rgb_to_linear_xyz(linear_r, linear_g, linear_b, &x, &y, &z); + + float l, m, s; + convert_linear_xyz_to_linear_lms(x, y, z, &l, &m, &s); + + float l_scale, m_scale, s_scale; + compute_lms_scaling_factors(x, y, z, &l_scale, &m_scale, &s_scale); + + /* + * Now apply the color balance. Simply put, we find the chromacity point + * for the desired white temperature, see what LMS scaling factors they + * would have given us, and then reverse that transform. For T=6500K, + * the default, this gives us nearly an identity transform (but only nearly, + * since the D65 illuminant does not exactly match the results of T=6500K); + * we normalize so that T=6500K really is a no-op. + */ + float white_x, white_y, white_z, l_scale_white, m_scale_white, s_scale_white; + convert_color_temperature_to_xyz(o->color_temperature, &white_x, &white_y, &white_z); + compute_lms_scaling_factors(white_x, white_y, white_z, &l_scale_white, &m_scale_white, &s_scale_white); + + float ref_x, ref_y, ref_z, l_scale_ref, m_scale_ref, s_scale_ref; + convert_color_temperature_to_xyz(6500.0f, &ref_x, &ref_y, &ref_z); + compute_lms_scaling_factors(ref_x, ref_y, ref_z, &l_scale_ref, &m_scale_ref, &s_scale_ref); + + l_scale *= l_scale_ref / l_scale_white; + m_scale *= m_scale_ref / m_scale_white; + s_scale *= s_scale_ref / s_scale_white; + + /* + * Concatenate all the different linear operations into a single 3x3 matrix. + * Note that since we postmultiply our vectors, the order of the matrices + * has to be the opposite of the execution order. + */ + Matrix3x3 temp, temp2, corr_matrix; + Matrix3x3 lms_scale_matrix = { + l_scale, 0.0f, 0.0f, + 0.0f, m_scale, 0.0f, + 0.0f, 0.0f, s_scale, + }; + multiply_3x3_matrices(xyz_to_rgb_matrix, lms_to_xyz_matrix, temp); + multiply_3x3_matrices(temp, lms_scale_matrix, temp2); + multiply_3x3_matrices(temp2, xyz_to_lms_matrix, temp); + multiply_3x3_matrices(temp, rgb_to_xyz_matrix, corr_matrix); + + // Scale for fixed-point, and clamp. We clamp the matrix elements + // instead of the actual fixed-point numbers below, to make sure + // we get consistent results over the entire range. + for (i = 0; i < 9; ++i) { + corr_matrix[i] *= (float)(1 << MATRIX_ELEMENT_FRAC_BITS); + if (corr_matrix[i] < -(1 << MATRIX_ELEMENT_BITS)) { + corr_matrix[i] = -(1 << MATRIX_ELEMENT_BITS); + } + if (corr_matrix[i] > (1 << MATRIX_ELEMENT_BITS) - 1) { + corr_matrix[i] = (1 << MATRIX_ELEMENT_BITS) - 1; + } + } + + // Precompute some of the multiplications (after conversion from sRGB) + // to save some time per-pixel later. Each of these contain the given color + // converted to linear space and then multiplied by three different factors, + // given by the matrix. + for (i = 0; i < 256; ++i) { + int x = convert_srgb_to_linear_rgb(i) * (float)(1 << INPUT_PIXEL_BITS); + + int r0 = lrintf(x * corr_matrix[0]); + int r1 = lrintf(x * corr_matrix[3]); + int r2 = lrintf(x * corr_matrix[6]); + + int g0 = lrintf(x * corr_matrix[1]); + int g1 = lrintf(x * corr_matrix[4]); + int g2 = lrintf(x * corr_matrix[7]); + + int b0 = lrintf(x * corr_matrix[2]); + int b1 = lrintf(x * corr_matrix[5]); + int b2 = lrintf(x * corr_matrix[8]); + +#if __SSE2__ + o->premult_r[i] = _mm_setr_epi32(r0, r1, r2, 0); + o->premult_g[i] = _mm_setr_epi32(g0, g1, g2, 0); + o->premult_b[i] = _mm_setr_epi32(b0, b1, b2, 0); +#else + o->premult_r[i][0] = r0; + o->premult_r[i][1] = r1; + o->premult_r[i][2] = r2; + + o->premult_g[i][0] = g0; + o->premult_g[i][1] = g1; + o->premult_g[i][2] = g2; + + o->premult_b[i][0] = b0; + o->premult_b[i][1] = b1; + o->premult_b[i][2] = b2; +#endif + } +} + +int f0r_init() +{ + fill_srgb_lut(); + return 1; +} + +void f0r_deinit() +{ +} + +void f0r_get_plugin_info(f0r_plugin_info_t *colordistance_info) +{ + colordistance_info->name = "White Balance (LMS space)"; + colordistance_info->author = "Steinar H. Gunderson"; + colordistance_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + colordistance_info->color_model = F0R_COLOR_MODEL_RGBA8888; + colordistance_info->frei0r_version = FREI0R_MAJOR_VERSION; + colordistance_info->major_version = 0; + colordistance_info->minor_version = 1; + colordistance_info->num_params = 2; + colordistance_info->explanation = "Do simple color correction, in a physically meaningful way"; +} + +void f0r_get_param_info(f0r_param_info_t *info, int param_index) +{ + switch (param_index) { + case NEUTRAL_COLOR: + info->name = "Neutral Color"; + info->type = F0R_PARAM_COLOR; + info->explanation = "Choose a color from the source image that should be white."; + break; + + case COLOR_TEMPERATURE: + info->name = "Color Temperature"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Choose an output color temperature, if different from 6500 K."; + break; + } + +} + +f0r_instance_t f0r_construct(unsigned width, unsigned height) +{ + colgate_instance_t *inst = (colgate_instance_t *)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->neutral_color.r = 0.5; + inst->neutral_color.g = 0.5; + inst->neutral_color.b = 0.5; + inst->color_temperature = 6500.0; + compute_correction_matrix(inst); + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + colgate_instance_t *inst = (colgate_instance_t *)instance; + + switch (param_index) { + case NEUTRAL_COLOR: + inst->neutral_color = *((f0r_param_color_t *)param); + compute_correction_matrix(inst); + break; + + case COLOR_TEMPERATURE: + // Map frei0r range [0, 1] to temperature range [0, 15000]. + inst->color_temperature = *((double *)param) * 15000.0; + if (inst->color_temperature < 1000.0 || inst->color_temperature > 15000.0) { + inst->color_temperature = 6500.0; + } + compute_correction_matrix(inst); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + colgate_instance_t *inst = (colgate_instance_t*)instance; + + switch (param_index) { + case NEUTRAL_COLOR: + *((f0r_param_color_t *)param) = inst->neutral_color; + break; + + case COLOR_TEMPERATURE: + // Map temperature range [0, 15000] to frei0r range [0, 1]. + *((double *)param) = inst->color_temperature / 15000.0; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, const uint32_t *inframe, uint32_t *outframe) +{ + assert(instance); + colgate_instance_t *inst = (colgate_instance_t *)instance; + unsigned len = inst->width * inst->height; + unsigned char *dst = (unsigned char *)outframe; + const unsigned char *src = (unsigned char *)inframe; + unsigned i; + +#ifdef __SSE2__ + __m128i zero = _mm_setzero_si128(); + __m128i max = _mm_set1_epi16(REVERSE_LUT_SIZE - 1); + for (i = 0; i < len; ++i) { + __m128i l1 = inst->premult_r[*src++]; + __m128i l2 = inst->premult_g[*src++]; + __m128i l3 = inst->premult_b[*src++]; + __m128i result = _mm_add_epi32(l3, _mm_add_epi32(l1, l2)); + + // Shift into the right range, and then clamp to [min, max]. + // We convert to 16-bit values since we have min/max instructions + // there (without needing SSE4), and because it allows us + // to extract the values with one less SSE shift/move. + result = _mm_srai_epi32(result, INPUT_PIXEL_BITS + MATRIX_ELEMENT_FRAC_BITS - REVERSE_LUT_BITS); + result = _mm_packs_epi32(result, result); + result = _mm_max_epi16(result, zero); + result = _mm_min_epi16(result, max); + + unsigned new_rg = _mm_cvtsi128_si32(result); + result = _mm_srli_si128(result, 4); + unsigned new_b = _mm_cvtsi128_si32(result); + + *dst++ = linear_rgb_to_srgb_lut[new_rg & 0xffff]; + *dst++ = linear_rgb_to_srgb_lut[new_rg >> 16]; + *dst++ = linear_rgb_to_srgb_lut[new_b]; + *dst++ = *src++; // Copy alpha. + } +#else + for (i = 0; i < len; ++i) { + unsigned old_r = *src++; + unsigned old_g = *src++; + unsigned old_b = *src++; + + int new_r = inst->premult_r[old_r][0] + inst->premult_g[old_g][0] + inst->premult_b[old_b][0]; + int new_g = inst->premult_r[old_r][1] + inst->premult_g[old_g][1] + inst->premult_b[old_b][1]; + int new_b = inst->premult_r[old_r][2] + inst->premult_g[old_g][2] + inst->premult_b[old_b][2]; + + *dst++ = convert_linear_rgb_to_srgb_fp(new_r); + *dst++ = convert_linear_rgb_to_srgb_fp(new_g); + *dst++ = convert_linear_rgb_to_srgb_fp(new_b); + *dst++ = *src++; // Copy alpha. + } +#endif +} diff --git a/src/filter/coloradj/Makefile b/src/filter/coloradj/Makefile new file mode 100644 index 0000000..a144342 --- /dev/null +++ b/src/filter/coloradj/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/coloradj/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/coloradj/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/coloradj/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/coloradj/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/coloradj/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/rule +.PHONY : src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/rule + +# Convenience name for target. +coloradj_RGB: src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/rule +.PHONY : coloradj_RGB + +# fast build rule for target. +coloradj_RGB/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/build.make src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/build +.PHONY : coloradj_RGB/fast + +coloradj_RGB.o: coloradj_RGB.c.o +.PHONY : coloradj_RGB.o + +# target to build an object file +coloradj_RGB.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/build.make src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/coloradj_RGB.c.o +.PHONY : coloradj_RGB.c.o + +coloradj_RGB.i: coloradj_RGB.c.i +.PHONY : coloradj_RGB.i + +# target to preprocess a source file +coloradj_RGB.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/build.make src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/coloradj_RGB.c.i +.PHONY : coloradj_RGB.c.i + +coloradj_RGB.s: coloradj_RGB.c.s +.PHONY : coloradj_RGB.s + +# target to generate assembly for a file +coloradj_RGB.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/build.make src/filter/coloradj/CMakeFiles/coloradj_RGB.dir/coloradj_RGB.c.s +.PHONY : coloradj_RGB.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... coloradj_RGB" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... coloradj_RGB.o" + @echo "... coloradj_RGB.i" + @echo "... coloradj_RGB.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/coloradj/coloradj_RGB.c b/src/filter/coloradj/coloradj_RGB.c index d3ef7d9..e043518 100755 --- a/src/filter/coloradj/coloradj_RGB.c +++ b/src/filter/coloradj/coloradj_RGB.c @@ -84,7 +84,7 @@ { case 0: //rec 601 { - l = 0.299*rr + 0.587*rr + 0.114*bb; + l = 0.299*rr + 0.587*gg + 0.114*bb; break; } case 1: //rec 709 @@ -315,7 +315,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; +info->minor_version=2; info->num_params=7; info->explanation="Simple color adjustment"; } diff --git a/src/filter/coloradj/readme b/src/filter/coloradj/readme index 76f80f5..d60dd80 100755 --- a/src/filter/coloradj/readme +++ b/src/filter/coloradj/readme @@ -1,7 +1,7 @@ coloradj* These plugins are for manual color adjustment. -For (semi)automatic color correction, use "balanc0r" and/or +For (semi)automatic color correction, use "balanc0r", "colgate" and/or "three_point_balance" plugins. diff --git a/src/filter/colordistance/Makefile b/src/filter/colordistance/Makefile new file mode 100644 index 0000000..5a044ef --- /dev/null +++ b/src/filter/colordistance/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/colordistance/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colordistance/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colordistance/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colordistance/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colordistance/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/colordistance/CMakeFiles/colordistance.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colordistance/CMakeFiles/colordistance.dir/rule +.PHONY : src/filter/colordistance/CMakeFiles/colordistance.dir/rule + +# Convenience name for target. +colordistance: src/filter/colordistance/CMakeFiles/colordistance.dir/rule +.PHONY : colordistance + +# fast build rule for target. +colordistance/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colordistance/CMakeFiles/colordistance.dir/build.make src/filter/colordistance/CMakeFiles/colordistance.dir/build +.PHONY : colordistance/fast + +colordistance.o: colordistance.c.o +.PHONY : colordistance.o + +# target to build an object file +colordistance.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colordistance/CMakeFiles/colordistance.dir/build.make src/filter/colordistance/CMakeFiles/colordistance.dir/colordistance.c.o +.PHONY : colordistance.c.o + +colordistance.i: colordistance.c.i +.PHONY : colordistance.i + +# target to preprocess a source file +colordistance.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colordistance/CMakeFiles/colordistance.dir/build.make src/filter/colordistance/CMakeFiles/colordistance.dir/colordistance.c.i +.PHONY : colordistance.c.i + +colordistance.s: colordistance.c.s +.PHONY : colordistance.s + +# target to generate assembly for a file +colordistance.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colordistance/CMakeFiles/colordistance.dir/build.make src/filter/colordistance/CMakeFiles/colordistance.dir/colordistance.c.s +.PHONY : colordistance.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... colordistance" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... colordistance.o" + @echo "... colordistance.i" + @echo "... colordistance.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/colorhalftone/CMakeLists.txt b/src/filter/colorhalftone/CMakeLists.txt new file mode 100644 index 0000000..0d1d84f --- /dev/null +++ b/src/filter/colorhalftone/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES colorhalftone.c) +set (TARGET colorhalftone) + +if (MSVC) + set_source_files_properties (colorhalftone.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/colorhalftone/Makefile b/src/filter/colorhalftone/Makefile new file mode 100644 index 0000000..d6de961 --- /dev/null +++ b/src/filter/colorhalftone/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/colorhalftone/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorhalftone/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorhalftone/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorhalftone/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorhalftone/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/rule +.PHONY : src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/rule + +# Convenience name for target. +colorhalftone: src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/rule +.PHONY : colorhalftone + +# fast build rule for target. +colorhalftone/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/build.make src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/build +.PHONY : colorhalftone/fast + +colorhalftone.o: colorhalftone.c.o +.PHONY : colorhalftone.o + +# target to build an object file +colorhalftone.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/build.make src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/colorhalftone.c.o +.PHONY : colorhalftone.c.o + +colorhalftone.i: colorhalftone.c.i +.PHONY : colorhalftone.i + +# target to preprocess a source file +colorhalftone.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/build.make src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/colorhalftone.c.i +.PHONY : colorhalftone.c.i + +colorhalftone.s: colorhalftone.c.s +.PHONY : colorhalftone.s + +# target to generate assembly for a file +colorhalftone.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/build.make src/filter/colorhalftone/CMakeFiles/colorhalftone.dir/colorhalftone.c.s +.PHONY : colorhalftone.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... colorhalftone" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... colorhalftone.o" + @echo "... colorhalftone.i" + @echo "... colorhalftone.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/colorhalftone/colorhalftone.c b/src/filter/colorhalftone/colorhalftone.c new file mode 100644 index 0000000..faa40eb --- /dev/null +++ b/src/filter/colorhalftone/colorhalftone.c @@ -0,0 +1,271 @@ +/* + * This file is a port of com.jhlabs.image.ColorHalftoneFilter.java + * Copyright 2006 Jerry Huxtable + * + * colorhalftone.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include "frei0r.h" +#include "frei0r_math.h" + +double PI=3.14159265358979; + +typedef struct colorhalftone_instance +{ + unsigned int width; + unsigned int height; + double dot_radius; + double cyan_angle; + double magenta_angle; + double yellow_angle; +} colorhalftone_instance_t; + +static inline double degreeToRadian(double degree) +{ + double radian = degree * (PI/180); + return radian; +} + +static inline double modjhlabs(double a, double b) +{ + int n = (int)(a/b); + + a -= n*b; + if (a < 0) + return a + b; + return a; +} + +static inline double smoothStep(double a, double b, double x) +{ + if (x < a) + return 0; + if (x >= b) + return 1; + x = (x - a) / (b - a); + return x*x * (3 - 2*x); +} +void color_halftone(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + colorhalftone_instance_t* inst = (colorhalftone_instance_t*)instance; + + int width = inst->width; + int height = inst->height; + + double dotRadius = inst->dot_radius * 9.99; + dotRadius = ceil(dotRadius); + double cyanScreenAngle = degreeToRadian(inst->cyan_angle * 360.0); + double magentaScreenAngle = degreeToRadian(inst->magenta_angle * 360.0); + double yellowScreenAngle = degreeToRadian(inst->yellow_angle * 360.0); + + double gridSize = 2 * dotRadius * 1.414f; + double angles[] = {cyanScreenAngle, magentaScreenAngle, yellowScreenAngle}; + double mx[] = {0, -1, 1, 0, 0}; + double my[] = {0, 0, 0, -1, 1}; + double halfGridSize = (double)gridSize / 2; + + const uint32_t* inPixels = (const uint32_t*)inframe; + uint32_t* dst = outframe; + int x, y, ix, channel, v, nr, shift, mask, i, nx, argb, ny; + + double angle, sin_val, cos_val, tx, ty , ttx, tty, ntx, nty, l, dx , dy , dx2 , dy2 , R , f, f2; + + for (y = 0; y < height; y++) + { + + for (channel = 0; channel < 3; channel++ ) + { + shift = 16-8*channel; + mask = 0x000000ff << shift; + angle = angles[channel]; + sin_val = sin(angle); + cos_val = cos(angle); + + for (x = 0; x < width; x++) + { + // Transform x,y into halftone screen coordinate space + tx = x*cos_val + y*sin_val; + ty = -x*sin_val + y*cos_val; + + // Find the nearest grid point + tx = tx - modjhlabs(tx-halfGridSize, gridSize) + halfGridSize; + ty = ty - modjhlabs(ty-halfGridSize, gridSize) + halfGridSize; + + f = 1; + + // TODO: Efficiency warning: Because the dots overlap, we need to check neighbouring grid squares. + // We check all four neighbours, but in practice only one can ever overlap any given point. + for (i = 0; i < 5; i++) + { + // Find neigbouring grid point + ttx = tx + mx[i]*gridSize; + tty = ty + my[i]*gridSize; + // Transform back into image space + ntx = ttx*cos_val - tty*sin_val; + nty = ttx*sin_val + tty*cos_val; + // Clamp to the image + nx = CLAMP( (int)ntx, 0, width - 1); + ny = CLAMP( (int)nty, 0, height - 1); + argb = inPixels[ny*width+nx]; + nr = (argb >> shift) & 0xff; + l = nr/255.0f; + l = 1-l*l; + l *= halfGridSize * 1.414; + dx = x - ntx; + dy = y - nty; + dx2 = dx * dx; + dy2 = dy * dy; + R = sqrt(dx2 + dy2); + f2 = 1 - smoothStep(R, R+1, l); + f = MIN(f, f2); + } + + v = (int)(255 * f); + v <<= shift; + v ^= ~mask; + v |= 0xff000000; + *dst++ &= v; + } + if (channel != 2) + dst = dst - width;// we're starting row again for next channel, unless this was last channel + } + + } +} + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* colorhalftoneInfo) +{ + colorhalftoneInfo->name = "colorhalftone"; + colorhalftoneInfo->author = "Janne Liljeblad"; + colorhalftoneInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER; + colorhalftoneInfo->color_model = F0R_COLOR_MODEL_RGBA8888; + colorhalftoneInfo->frei0r_version = FREI0R_MAJOR_VERSION; + colorhalftoneInfo->major_version = 0; + colorhalftoneInfo->minor_version = 9; + colorhalftoneInfo->num_params = 4; + colorhalftoneInfo->explanation = "Filters image to resemble a halftone print in which tones are represented as variable sized dots"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch ( param_index ) { + case 0: + info->name = "dot radius"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Halftone pattern dot size"; + break; + case 1: + info->name = "cyan angle"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Cyan dots angle"; + break; + case 2: + info->name = "magenta angle"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Magenta dots angle"; + break; + case 3: + info->name = "yellow angle"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Yellow dots angle"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + colorhalftone_instance_t* inst = (colorhalftone_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->dot_radius = 0.4;// interpreted as range 1 - 10 + inst->cyan_angle = 108.0/360.0; // in degrees + inst->magenta_angle = 162.0/360.0; // in degrees + inst->yellow_angle = 90.0/360.0; // in degrees + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + colorhalftone_instance_t* inst = (colorhalftone_instance_t*)instance; + + switch (param_index) + { + case 0: + inst->dot_radius = *((double*)param); + break; + case 1: + inst->cyan_angle = *((double*)param); + break; + case 2: + inst->magenta_angle = *((double*)param); + break; + case 3: + inst->yellow_angle = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + colorhalftone_instance_t* inst = (colorhalftone_instance_t*)instance; + switch (param_index) + { + case 0: + *((double*)param) = inst->dot_radius; + break; + case 1: + *((double*)param) = inst->cyan_angle; + break; + case 2: + *((double*)param) = inst->magenta_angle; + break; + case 3: + *((double*)param) = inst->yellow_angle; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + color_halftone(instance, time, inframe, outframe); +} + diff --git a/src/filter/colorize/CMakeLists.txt b/src/filter/colorize/CMakeLists.txt new file mode 100644 index 0000000..11115e0 --- /dev/null +++ b/src/filter/colorize/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES colorize.c) +set (TARGET colorize) + +if (MSVC) + set_source_files_properties (colorize.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/colorize/Makefile b/src/filter/colorize/Makefile new file mode 100644 index 0000000..1b5eb59 --- /dev/null +++ b/src/filter/colorize/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/colorize/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorize/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorize/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorize/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorize/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/colorize/CMakeFiles/colorize.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colorize/CMakeFiles/colorize.dir/rule +.PHONY : src/filter/colorize/CMakeFiles/colorize.dir/rule + +# Convenience name for target. +colorize: src/filter/colorize/CMakeFiles/colorize.dir/rule +.PHONY : colorize + +# fast build rule for target. +colorize/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorize/CMakeFiles/colorize.dir/build.make src/filter/colorize/CMakeFiles/colorize.dir/build +.PHONY : colorize/fast + +colorize.o: colorize.c.o +.PHONY : colorize.o + +# target to build an object file +colorize.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorize/CMakeFiles/colorize.dir/build.make src/filter/colorize/CMakeFiles/colorize.dir/colorize.c.o +.PHONY : colorize.c.o + +colorize.i: colorize.c.i +.PHONY : colorize.i + +# target to preprocess a source file +colorize.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorize/CMakeFiles/colorize.dir/build.make src/filter/colorize/CMakeFiles/colorize.dir/colorize.c.i +.PHONY : colorize.c.i + +colorize.s: colorize.c.s +.PHONY : colorize.s + +# target to generate assembly for a file +colorize.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colorize/CMakeFiles/colorize.dir/build.make src/filter/colorize/CMakeFiles/colorize.dir/colorize.c.s +.PHONY : colorize.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... colorize" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... colorize.o" + @echo "... colorize.i" + @echo "... colorize.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/colorize/colorize.c b/src/filter/colorize/colorize.c new file mode 100644 index 0000000..2341531 --- /dev/null +++ b/src/filter/colorize/colorize.c @@ -0,0 +1,266 @@ +/* + * This file is a port of Colorize plug-in from Gimp. + * It contains code from files listed below: + * gimpoperationcolorize.c + * gimpcolortypes.h + * gimpcolorspace.c + * gimprgb.h + * Copyright (C) 1995 Spencer Kimball and Peter Mattis + * Copyright (C) 2007 Michael Natterer + * + * This file, colorize.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include + +#include "frei0r.h" +#include "frei0r_math.h" + +#define GIMP_RGB_LUMINANCE_RED (0.2126) +#define GIMP_RGB_LUMINANCE_GREEN (0.7152) +#define GIMP_RGB_LUMINANCE_BLUE (0.0722) + +#define GIMP_RGB_LUMINANCE(r,g,b) ((r) * GIMP_RGB_LUMINANCE_RED + \ + (g) * GIMP_RGB_LUMINANCE_GREEN + \ + (b) * GIMP_RGB_LUMINANCE_BLUE) + +typedef struct colorize_instance +{ + unsigned int width; + unsigned int height; + double hue; + double saturation; + double lightness; +} colorize_instance_t; + +typedef struct _GimpRGB GimpRGB; +typedef struct _GimpHSL GimpHSL; + +struct _GimpRGB +{ + double r, g, b, a; +}; + +struct _GimpHSL +{ + double h, s, l, a; +}; + +static inline double +gimp_hsl_value (double n1, + double n2, + double hue) +{ + double val; + + if (hue > 6.0) + hue -= 6.0; + else if (hue < 0.0) + hue += 6.0; + + if (hue < 1.0) + val = n1 + (n2 - n1) * hue; + else if (hue < 3.0) + val = n2; + else if (hue < 4.0) + val = n1 + (n2 - n1) * (4.0 - hue); + else + val = n1; + + return val; +} + +static inline void +gimp_hsl_to_rgb (const GimpHSL *hsl, + GimpRGB *rgb) +{ + if (hsl->s == 0) + { + /* achromatic case */ + rgb->r = hsl->l; + rgb->g = hsl->l; + rgb->b = hsl->l; + } + else + { + double m1, m2; + + if (hsl->l <= 0.5) + m2 = hsl->l * (1.0 + hsl->s); + else + m2 = hsl->l + hsl->s - hsl->l * hsl->s; + + m1 = 2.0 * hsl->l - m2; + + rgb->r = gimp_hsl_value (m1, m2, hsl->h * 6.0 + 2.0); + rgb->g = gimp_hsl_value (m1, m2, hsl->h * 6.0); + rgb->b = gimp_hsl_value (m1, m2, hsl->h * 6.0 - 2.0); + } + + rgb->a = hsl->a; +} + + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* colorize_info) +{ + colorize_info->name = "colorize"; + colorize_info->author = "Janne Liljeblad"; + colorize_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + colorize_info->color_model = F0R_COLOR_MODEL_RGBA8888; + colorize_info->frei0r_version = FREI0R_MAJOR_VERSION; + colorize_info->major_version = 0; + colorize_info->minor_version = 1; + colorize_info->num_params = 3; + colorize_info->explanation = "Colorizes image to selected hue, saturation and lightness"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "hue"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Color shade of the colorized image"; + break; + case 1: + info->name = "saturation"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Amount of color in the colorized image"; + break; + case 2: + info->name = "lightness"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Lightness of the colorized image"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + colorize_instance_t* inst = (colorize_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->hue = 0.5; + inst->saturation = 0.5; + inst->lightness = 0.5; + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + colorize_instance_t* inst = (colorize_instance_t*)instance; + + switch(param_index) + { + case 0: + inst->hue = *((double*)param); + break; + case 1: + inst->saturation = *((double*)param); + break; + case 2: + inst->lightness = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + colorize_instance_t* inst = (colorize_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->hue; + break; + case 1: + *((double*)param) = inst->saturation; + break; + case 2: + *((double*)param) = inst->lightness; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + colorize_instance_t* inst = (colorize_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + GimpHSL hsl; + GimpRGB rgb; + + hsl.h = inst->hue; + hsl.s = inst->saturation; + + double lightness = inst->lightness - 0.5; + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + double lum, r, g, b = 0; + while (len--) + { + r = *src++ / 255.0; + g = *src++ / 255.0; + b = *src++ / 255.0; + + lum = GIMP_RGB_LUMINANCE (r, g, b); + + if (lightness > 0) + { + lum = lum * (1.0 - lightness); + lum += 1.0 - (1.0 - lightness); + } + else if (lightness < 0) + { + lum = lum * (lightness + 1.0); + } + + hsl.l = lum; + gimp_hsl_to_rgb (&hsl, &rgb); + + *dst++ = (unsigned char) (rgb.r * 255.0); + *dst++ = (unsigned char) (rgb.g * 255.0); + *dst++ = (unsigned char) (rgb.b * 255.0); + *dst++ = *src++;//copy alpha + } +} + diff --git a/src/filter/colortap/CMakeLists.txt b/src/filter/colortap/CMakeLists.txt new file mode 100644 index 0000000..dad252c --- /dev/null +++ b/src/filter/colortap/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES colortap.c) +set (TARGET colortap) + +if (MSVC) + set_source_files_properties (colortap.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/colortap/Makefile b/src/filter/colortap/Makefile new file mode 100644 index 0000000..9d6ec5b --- /dev/null +++ b/src/filter/colortap/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/colortap/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colortap/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colortap/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colortap/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colortap/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/colortap/CMakeFiles/colortap.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/colortap/CMakeFiles/colortap.dir/rule +.PHONY : src/filter/colortap/CMakeFiles/colortap.dir/rule + +# Convenience name for target. +colortap: src/filter/colortap/CMakeFiles/colortap.dir/rule +.PHONY : colortap + +# fast build rule for target. +colortap/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colortap/CMakeFiles/colortap.dir/build.make src/filter/colortap/CMakeFiles/colortap.dir/build +.PHONY : colortap/fast + +colortap.o: colortap.c.o +.PHONY : colortap.o + +# target to build an object file +colortap.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colortap/CMakeFiles/colortap.dir/build.make src/filter/colortap/CMakeFiles/colortap.dir/colortap.c.o +.PHONY : colortap.c.o + +colortap.i: colortap.c.i +.PHONY : colortap.i + +# target to preprocess a source file +colortap.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colortap/CMakeFiles/colortap.dir/build.make src/filter/colortap/CMakeFiles/colortap.dir/colortap.c.i +.PHONY : colortap.c.i + +colortap.s: colortap.c.s +.PHONY : colortap.s + +# target to generate assembly for a file +colortap.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/colortap/CMakeFiles/colortap.dir/build.make src/filter/colortap/CMakeFiles/colortap.dir/colortap.c.s +.PHONY : colortap.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... colortap" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... colortap.o" + @echo "... colortap.i" + @echo "... colortap.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/colortap/colortap.c b/src/filter/colortap/colortap.c new file mode 100644 index 0000000..41e70d1 --- /dev/null +++ b/src/filter/colortap/colortap.c @@ -0,0 +1,443 @@ +/* + * This file is a port of GStremer gstcoloreffects.c. + * + * colortap.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include "frei0r.h" + + +/* + * Tables were produced roughly this way: + * - take a sample image + * - open with the gimp and play with the Curves tool until you find the desired effect + * - save the curve + * - create a new 256x1 rgb image and paint a black to white gradient on it + * - apply the curve + * - save as "C source" + * - the array in the saved file is the lookup table + */ +static const uint8_t sepia_table[768] = + "\0\0\0\0\0\0\0\0\0\0\1\0\1\1\0\1\1\0\1\1\1\2\1\1\2\2\1\3\2\1\3\2\1\3\2\1" + "\4\3\2\4\3\2\4\3\2\6\4\2\6\4\2\6\4\2\7\5\2\7\5\3\11\6\3\11\6\3\12\7\3\13" + "\10\3\15\10\4\16\11\4\17\11\4\21\12\4\22\13\4\22\13\5\23\14\5\24\15\5\26" + "\16\6\31\20\6\31\21\6\32\22\7\34\22\7\35\23\7\40\24\10\40\26\10!\26\11#\30" + "\11&\31\12&\32\12'\34\13)\34\13*\37\13,\37\13-\40\14.\"\15" "0\"\15" + "2#\17" "" "3&\17" "4&\17" "5'\20" "8(\21" + "9)\21:*\23<,\23=-\23A.\24A0\25B0\25C2\26D3" + "\30H4\30H7\31K7\32K8\32L9\33M:\34P<\34Q=\35S>\37T?\37UA\40VB!XC!ZD#\\F#^" + "G#^J$`J&bK'bM'eM(fO)gP)iQ*kS,mT-mU-nV.oX/rY0sZ2u]2v]3w^3x`4za5{c7|c8~e8\177" + "f9\200i:\203i<\204j<\206k=\207m>\210n?\211o?\213qA\214rC\215sC\217uD\220" + "vD\221wF\223xG\224zH\225{J\227|K\230~K\231\177L\232\200M\234\202O\235\203" + "P\236\204Q\240\206Q\241\207S\242\210T\243\211U\245\213V\246\214X\247\215" + "Y\250\217Y\252\220Z\253\221\\\254\223]\254\224^\255\225`\257\227a\260\230" + "b\261\231c\262\232e\264\234e\265\235f\266\236g\267\240i\267\241i\272\242" + "k\273\243m\274\245n\274\246o\276\247q\277\250r\300\252s\301\253u\302\254" + "v\304\255w\305\257x\306\257z\306\261{\307\262|\310\264~\310\265\177\313\266" + "\200\314\267\202\315\267\203\316\272\204\317\273\206\317\274\207\320\276" + "\210\322\277\211\323\277\213\324\301\214\325\302\215\326\304\217\326\305" + "\220\327\306\221\327\307\223\331\310\224\333\311\225\334\311\227\334\313" + "\227\335\315\231\335\316\231\337\317\234\340\320\235\341\320\235\341\323" + "\240\342\324\241\343\324\242\343\326\243\345\327\245\345\330\245\346\331" + "\250\346\333\252\347\334\253\351\335\254\351\335\255\351\337\257\352\340" + "\260\353\341\260\354\342\262\355\343\264\355\344\265\355\345\266\356\346" + "\266\356\347\272\357\350\273\360\351\274\360\351\276\361\352\277\361\353" + "\300\362\353\301\362\354\302\362\355\304\362\356\305\364\357\305\364\357" + "\310\364\360\311\365\361\313\365\361\314\366\362\315\366\362\316\366\363" + "\316\367\364\320\367\364\320\367\365\324\367\365\324\370\366\326\370\366" + "\327\371\366\330\371\367\331\371\367\333\371\370\333\372\370\336\372\370" + "\336\372\371\340\373\371\341\373\372\342\373\372\343\374\372\344\374\373" + "\344\374\373\347\374\374\350\375\374\351\375\374\351\375\374\352\375\375" + "\352\376\375\353\376\376\355\376\376\356\376\376\357\377\377\357"; + +static const uint8_t heat_table[768] = + "\0\0\0\0\0\0\0\1\0\0\1\0\0\1\1\0\2\1\0\2\1\1\2\1\1\2\2\1\2\2\1\3\2\1\3\3" + "\1\3\3\1\4\3\1\4\4\1\5\4\1\5\5\2\5\6\2\6\6\2\6\7\2\6\7\2\7\7\2\7\11\2\10" + "\11\2\10\12\3\11\13\3\11\13\3\11\14\3\12\15\3\12\17\3\13\17\3\14\20\3\14" + "\22\4\15\23\4\16\24\4\16\26\4\16\27\4\17\31\4\20\34\4\21\34\5\21\40\5\22" + "\40\5\22$\5\23$\5\25&\6\25(\6\26-\6\26-\6\27" "0\6\31" "2\7\31" + "5\7\32;\7\34" + ";\7\34?\10\35C\10\36G\10\37L\10\40V\11!V\11\"[\11$a\11&l\12&l\12'r\12(~\13" + "*~\13,\204\14,\213\14.\221\14/\227\14" "1\236\15" "2\244\15" "4\252\15" + "5\260" "\16" "7\267\16" + "8\275\17:\302\17;\310\17=\323\20?\323\21@\330\21D\335\21D" + "\342\22E\346\22I\353\23I\356\23K\362\24M\365\24N\370\25P\372\26R\374\26T" + "\376\26V\377\27X\377\27Z\377\30\\\376\31`\376\31`\375\32b\373\32d\371\33" + "f\366\34j\363\34j\360\35l\354\36n\350\36r\344\37r\337\40t\333\40w\326!y\321" + "\"|\314#~\307$\201\301$\204\267%\207\267&\212\261'\214\254(\217\247(\222" + "\241)\226\234*\231\227+\234\222,\237\216-\242\211.\245\205/\251\2010\254" + "}1\257z2\262w3\266t4\271p5\274m6\277j7\302f8\305c9\310`:\314\\;\317Y<\321" + "V>\324S?\327P@\332LA\335IB\337FC\342CE\344@F\347=G\351;I\3538I\3558M\357" + "3P\3610S\363.V\365+Y\366)\\\370'`\371%d\372#g\373\"l\374\40p\374\37t\374" + "\35t\375\34}\376\33\202\376\32\202\375\31\213\375\30\220\375\27\225\375\27" + "\232\373\26\237\372\25\244\371\24\251\370\23\256\367\23\262\367\22\267\364" + "\21\274\362\20\300\361\20\305\357\17\311\355\16\311\353\16\322\351\15\326" + "\346\15\332\346\14\336\344\14\341\337\13\341\335\13\350\332\12\353\330\11" + "\356\330\11\360\322\10\362\320\10\364\320\10\364\312\7\366\307\7\366\304" + "\7\367\302\6\367\277\6\370\274\5\367\271\5\367\271\5\367\263\4\365\260\4" + "\364\255\4\363\253\3\362\250\3\361\245\3\360\242\3\357\240\3\357\235\2\355" + "\232\2\355\227\2\354\225\2\353\221\1\353\216\1\353\216\1\353\213\1\353\204" + "\1\353\201\1\354}\1\354y\0\354v\0\355r\0\355n\0\355j\0\356f\0\356b\0\357" + "_\0\357[\0\357W\0\357S\0\360O\0\360O\0\361K\0\361C\0\362@\0\363<\0\3638\0" + "\3648\0\3641\0\365.\0\366+\0\366'\0\367'\0\370!\0\370\36\0\370\33\0\371\30" + "\0\371\26\0\373\26\0\373\23\0\374\15\0\374\13\0\375\10\0\375\5\0\376\3\0"; + +static const uint8_t red_green_table[768] = + "\13\0\2\17\0\2\23\0\3\27\0\3\33\1\4\37\1\5\"\1\5&\1\5&\1\6-\1\7""1\2\7""4" + "\2\10""8\2\10;\2\11>\2\12A\3\12D\3\13G\3\13G\3\14L\4\14O\4\14Q\4\16Q\4\16" + "V\5\17V\5\17Y\5\17[\5\20]\6\21^\6\22_\6\22`\7\22`\7\23a\7\23b\10\24b\10\24" + "b\10\25c\11\26c\11\26d\11\27e\12\27e\12\30e\13\31e\13\31f\14\32f\15\32g\15" + "\34g\15\34g\16\34g\17\35g\17\35h\20\36h\20\37h\21\37h\22!i\22!i\23!i\24\"" + "i\25\"i\25#i\26$j\27$j\30%j\31&j\31&j\32'j\33(j\34(j\35)j\36)j\37*j\40+j" + "!+j\",j#,j$-j&.j'/j(/j)0j)0j,1i-2i-2i/4i14i15i45i47i77i97h;8h=9h?:hA:hC<" + "hEgO?gQ?fQ@fVAfXBfXBf[Ce^DecFefFefFekGdnHdqIdqJdsKdvKc|Lc|Mc\177" + "Nc\202Oc\204Pb\212Pb\215Qb\215Ra\220Sa\223Ta\225Ua\230Va\233Va\236W`\240" + "W`\243X`\246Z`\250[_\253[_\256\\_\260]_\263__\265_^\270a^\272b^\274c^\277" + "d^\301d^\303e^\305e]\307f]\311g]\313i]\315i]\317k]\321l]\322m]\324n]\325" + "o\\\327p\\\330q\\\331r\\\333s\\\333t\\\335u\\\336x\\\337x\\\340y\\\341z\\" + "\342{\\\343|\\\343}\\\345\177\\\345\200\\\347\201\\\347\202\\\350\204\\\352" + "\205]\353\206]\354\207]\354\211]\355\212]\356\212]\356\215]\357\216^\357" + "\217^\361\221^\361\222^\362\223^\363\223_\363\225_\363\227_\364\231_\365" + "\232`\365\232`\365\235a\366\236a\366\240a\367\241a\367\243b\370\243b\370" + "\244b\371\246c\371\250c\372\252d\372\253d\372\253e\373\255e\373\256f\373" + "\261f\373\261g\374\263h\374\264h\374\266i\375\267j\375\271j\375\273k\375" + "\274k\375\276l\376\301m\376\301o\376\302p\376\304r\376\305s\376\307u\377" + "\311x\377\312z\377\314|\377\315\177\377\317\202\377\320\202\377\322\205\377" + "\324\213\377\325\216\377\327\222\377\330\225\377\332\231\377\334\235\377" + "\335\241\377\337\241\377\337\251\377\342\251\377\344\262\377\345\266\377" + "\347\272\377\351\277\377\352\304\377\354\310\377\356\315\377\356\322\377" + "\361\327\377\362\334\377\364\341\377\366\341\377\367\352\377\367\357\377" + "\371\364\377\374\364\377\376\371\377\377"; + +static const uint8_t old_photo_table[768] = + "&\3@'\4@(\5A)\6A*\7A*\10A+\11A,\12A,\13B.\13B/\15B0\16B0\17B1\20C2\21C3\22" + "C4\23C5\24C5\25C6\26D7\27D8\30D8\31D:\32D:\33E<\34E<\35E=\36E>\37E?\40F@" + "!F@!FA\"FB$FC$FC%GE&GE'GF(GG*GG*HH+HI,HK-HK/HM0IM0IM1IO2IO3JQ4JQ5JR6JR8K" + "S8KT9KU:KW;KWLY?LZ@M[AM[BM\\CM]DN^EN_FN`GO`HOaIObJOcKOdLPdMPeNPfO" + "PgPQhPQhRQiSRjSRjUSkVSlVSmXSnXToZTo[Tp\\Up]Uq^Vr_Vs`VsaVubWucWvcWveXwfXy" + "fXyhYyiYziZ{jZ|kZ}m[}n[~n\\\177p\\\200q\\\201r]\201r]\202s^\202t^\203v_\203" + "v_\204w_\205x`\205y`\206{a\207|a\207|b\211}b\212~c\212\177c\212\200d\213" + "\201d\214\202d\214\203d\215\204e\216\205f\216\206g\217\207g\220\210g\221" + "\211h\221\212i\222\213i\223\214j\223\215j\224\216k\225\217k\225\220k\226" + "\221l\227\222m\227\223m\230\224n\231\225o\231\226o\232\227o\232\230p\233" + "\231q\234\232q\235\233r\235\234s\236\235s\237\236t\237\237t\240\237u\241" + "\241v\241\242w\242\243w\242\244x\243\245x\244\246y\244\247z\244\247z\246" + "\251{\246\251|\247\253|\250\253}\250\254~\251\256~\252\257\177\252\260\200" + "\253\260\200\253\262\201\254\263\201\255\263\203\255\265\203\256\265\204" + "\257\267\205\257\267\205\260\271\206\260\272\206\261\273\207\262\273\210" + "\262\275\211\262\276\212\264\277\212\264\277\213\265\300\214\265\301\215" + "\266\303\216\266\303\216\267\304\216\267\305\217\270\306\220\271\307\221" + "\271\311\222\272\311\223\272\312\223\273\313\224\274\314\225\274\315\226" + "\275\316\226\275\317\227\276\320\230\277\321\230\277\322\231\300\323\232" + "\301\324\233\301\325\234\302\326\234\302\327\236\303\331\236\304\331\237" + "\304\332\240\305\333\240\305\334\241\306\335\242\307\336\243\307\337\244" + "\310\340\244\310\341\245\311\341\246\311\343\247\312\344\250\313\345\251" + "\313\346\251\314\347\252\315\347\253\315\351\254\316\352\255\316\353\256" + "\316\353\256\320\354\257\320\356\260\321\356\261\321\360\262\322\360\262" + "\323\362\263\323\362\264\324\363\265\324\365\265\325\366\267\326\367\267" + "\326\370\270\327\371\271\327\371\272\330\372\272\330\374\273\331\374\275" + "\331\375\275\332\377\276"; + +static const uint8_t xray_table[768] = + "\377\377\377\377\377\377\376\376\376\375\375\376\374\375\375\373\374\375" + "\372\374\374\371\374\374\370\373\373\366\373\372\366\372\372\365\372\371" + "\363\371\371\363\371\370\362\370\370\360\370\367\360\367\366\357\367\365" + "\356\366\365\355\366\364\353\365\363\353\365\363\352\364\362\351\363\362" + "\347\363\361\346\362\361\345\362\361\344\362\360\343\361\357\343\361\356" + "\342\360\356\341\360\356\340\357\355\336\356\354\336\356\354\335\355\353" + "\334\355\353\333\355\352\331\354\351\331\353\351\330\353\350\327\353\350" + "\325\352\347\325\351\347\324\350\346\323\350\345\322\347\344\321\347\344" + "\320\347\344\317\346\343\316\346\342\315\345\341\314\344\341\313\344\340" + "\312\344\340\311\343\337\310\342\337\307\342\335\306\341\335\305\341\335" + "\303\340\334\303\337\333\302\337\333\301\337\332\300\336\331\276\335\331" + "\276\334\330\274\334\330\274\334\327\273\333\327\272\333\326\271\332\325" + "\270\332\325\267\331\324\266\330\323\265\330\323\264\327\322\263\327\321" + "\262\326\320\261\325\320\257\325\317\257\324\317\256\324\316\254\323\315" + "\254\322\315\253\322\314\252\321\313\251\321\313\250\320\312\246\317\311" + "\245\317\311\245\316\310\244\316\307\243\315\307\242\314\306\241\314\305" + "\240\312\305\237\312\304\236\312\303\235\311\303\234\311\302\233\307\301" + "\232\307\300\231\307\300\230\306\277\227\305\276\226\305\276\225\304\275" + "\224\303\274\223\303\273\222\302\273\221\301\272\220\301\271\217\300\270" + "\216\277\270\215\277\267\214\276\266\213\275\265\212\275\265\211\274\264" + "\210\273\263\207\273\262\206\272\262\205\271\261\204\270\260\203\270\257" + "\202\267\257\201\266\256\200\266\255\177\265\254~\264\253}\263\253|\263\252" + "{\262\251z\261\250y\260\247x\260\247w\257\246v\256\245u\255\244t\255\243" + "s\254\243r\253\242q\252\241p\252\240o\251\237n\250\236m\247\235l\246\235" + "l\246\235j\245\233i\244\232h\243\231g\242\230f\242\227e\241\226d\240\226" + "c\237\225b\236\224a\235\223`\234\222_\234\221_\233\220]\232\217\\\231\216" + "\\\230\215Z\227\214Y\226\214X\226\213W\225\212V\224\211U\223\210T\222\207" + "S\221\206R\221\205Q\217\204P\216\203O\215\202N\215\201M\214\200M\213\177" + "K\212~J\211}I\211|H\210|G\206zG\205zE\204xD\203vC\203vB\201tA\200s@\200q" + "@~p>}o>|o<{l5\31<2\31<0\27" + ":.\27" "5,\26" "3*\24" + "1*\23.&\22.&\22*\"\21'\40\17%\36\16\"\34\15\"\32\14" + "\36\32\13\33\26\13\31\24\11\26\22\11\24\20\7\24\16\6\21\16\5\14\14\4\12\10" + "\3\7\6\3\5\4\1\2\2"; + +static const uint8_t xpro_table[768] = + "\0\0\37\0\0\37\0\1\40\0\2!\0\2\"\0\3\"\1\4%\1\4%\1\5%\1\5'\1\7'\1\7(\1\7" + "(\1\10*\1\11+\1\11,\1\12,\1\13/\1\14/\1\14" "1\2\15" "1\2\15" "1\2\16" + "4\2\17" "" "4\3\17" "5\3\22" "7\3\22" "7\3\23" "8\3\24" + "9\3\25;\3\26;\3\27<\3\27=\4\31" + "=\4\33?\4\34@\5\34B\5\35C\5\36D\5\40D\5\40G\5!G\6\"H\6$H\7&J\7&K\7*M\7*M" + "\10+N\10-P\11-P\11/R\11" "3R\11" "3T\12" "4U\12" "5U\13" "7W\14" "8Y\14" + "9Y\14" + ">\301>>\300@@\300@A\276" + "AB\275BC\274CD\273DE\272EE\272FF\270HH\270HI\266IJ\265KK\264KL\263MM\262" + "NN\262NN\261OO\257QP\256RQ\256RR\254TT\253UU\253VU\251VW\250XX\247XY\246" + "YZ\245[[\245[[\243]]\243^^\242^_\240_`\237`a\236aa\235bb\235dc\233de\233" + "ff\232gf\231hg\230hi\227ji\226kj\225lk\223lm\223nm\222nn\221op\217qq\216" + "rr\215ss\214st\213uu\213uu\211wv\210ww\207xx\207yz\205z{\205{{\204||\203" + "}}\202\177~\201\177\200\177\200\201\177\202\202~\203\202|\204\203|\204\204" + "{\205\206z\207\206x\207\207w\211\210w\211\211v\212\212u\213\214s\214\214" + "r\215\215r\216\217q\217\217p\221\220o\221\222n\223\222l\224\223k\224\224" + "k\225\225j\226\226i\227\227h\230\231f\231\231f\233\232e\233\233c\234\234" + "c\235\235b\236\236a\237\237`\241\240_\242\241^\242\242]\243\244\\\244\244" + "[\245\245Y\246\246Y\250\247X\250\250W\251\251V\252\252T\253\253T\254\255" + "S\256\255R\257\256Q\257\260P\260\261O\261\261N\262\262M\263\263L\264\265" + "K\265\265J\266\266I\267\270H\270\270G\271\271F\272\272E\273\273C\274\274" + "B\275\275B\276\276A\277\277@\300\300?\301\301>\302\302=\303\303<\304\304" + ";\305\305:\306\3069\307\3078\310\3107\311\3116\312\3125\313\3134\314\314" + "3\315\3152\316\3161\317\3170\320\320/\321\321.\322\322-\323\323,\323\324" + "+\325\325*\326\326)\327\327(\330\330'\331\331&\332\331%\333\332$\334\334" + "#\334\335\"\336\336!\337\337\40\340\340\37\341\341\36\342\342\35\343\343" + "\34\344\344\33\345\345\32\345\346\31\347\347\30\350\350\27\351\351\26\352" + "\352\25\353\353\24\354\354\23\354\355\22\356\356\21\357\357\20\360\360\17" + "\361\361\16\362\362\15\363\362\14\364\364\13\365\365\12\365\366\11\367\367" + "\11\370\370\7\371\371\6\372\371\5\373\373\4\374\374\4\375\375\3\375\376\1"; + +static const uint8_t esses_table[768] = + "\252\252\245\245\245\240\240\240\233\233\233\226\226\226\220\220\220\213" + "\213\213\213\206\206\206\206\202}}\202xxxsssnnnjjjeeeaaaa\\\\XXXTXTPPPLL" + "LLHHDHDAAA=A=::::66333000---++++++(((&$$\"\"$\"\"\"\40\36\40\36\36\36\34" + "\34\34\32\32\32\32\32\32\31\31\31\30\30\30\30\27\30\27\27\27\27\27\27\30" + "\27\27\30\30\30\30\31\30\31\31\31\31\31\31\31\31\31\32\32\32\33\33\33\34" + "\33\33\34\34\34\35\35\35\35\36\35\36\37\36\37\37\37\40!\40!!!\"\"\"###$$" + "$%%%&&&'''((()))***,,,---....001112224444557757888:::;:;;=????@?BBBBDBEE" + "EGGGGIIIIKKKLNNNNPPRPRRTTTVVVWVWWYYY[[][]]___aaaacecegegiikikkkkmoooqqqs" + "ssusuwuwwwy{{{{{}}}\177\177\177\201\201\201\203\203\205\205\205\210\210\210" + "\210\212\214\212\214\216\214\216\220\216\220\220\220\222\222\222\222\224" + "\224\224\226\226\226\230\230\230\232\232\234\234\234\236\236\236\236\240" + "\240\240\242\242\242\244\244\246\246\246\246\252\250\252\252\252\254\254" + "\254\256\256\256\260\260\260\260\261\261\261\263\263\263\265\265\265\267" + "\267\267\271\271\273\273\273\273\274\274\274\274\276\276\300\300\300\302" + "\302\302\303\303\303\305\305\305\307\307\307\311\311\311\312\312\312\314" + "\312\314\315\315\315\317\317\320\320\320\320\322\322\322\323\323\323\325" + "\325\325\326\326\326\326\326\330\331\331\331\332\331\332\334\334\334\335" + "\334\335\336\335\336\337\337\337\341\341\341\341\342\342\343\342\343\344" + "\344\344\345\345\344\346\345\346\347\347\347\350\347\350\351\351\351\351" + "\351\352\352\352\352\352\353\352\354\354\353\355\354\355\355\355\355\355" + "\355\355\356\356\355\356\356\356\356\356\356\356\356\355\354\354\354\354" + "\354\353\353\353\353\351\351\351\347\347\347\345\345\342\342\340\340\340" + "\340\335\335\335\335\332\332\332\327\327\327\323\323\320\320\320\320\314" + "\314\314\310\310\310\305\305\305\301\301\301\275\275\275\271\271\271\265" + "\265\265\261\261\261\255\255\251\251\245\251\245\245\245\241\241\241\235" + "\235\235\231\231\231\226\226\226\222\222\222\217\217\217\214\214\214\211" + "\211\211\206\211\206\206\202\202\202\200\200~~~|||yyywywuuusssqqqqqqnonn" + "lljljhhhghgeeececbcb``b___]]]\\\\\\ZZZZZYWYYVVWTVTTTSSQQ"; + +typedef struct colortap_instance +{ + unsigned int width; + unsigned int height; + char *table;//accepted values: "xpro","sepia","heat","red_green","old_photo","xray","esses","yellow_blue", default "xpro" +} colortap_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* colortapInfo) +{ + colortapInfo->name = "colortap"; + colortapInfo->author = "Janne Liljeblad"; + colortapInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER; + colortapInfo->color_model = F0R_COLOR_MODEL_RGBA8888; + colortapInfo->frei0r_version = FREI0R_MAJOR_VERSION; + colortapInfo->major_version = 0; + colortapInfo->minor_version = 9; + colortapInfo->num_params = 1; + colortapInfo->explanation = "Applies a pre-made color effect to image"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "table"; + info->type = F0R_PARAM_STRING; + info->explanation = "Lookup table used to filter colors. One of: xpro, sepia, heat, red_green, old_photo, xray, esses, yellow_blue"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + colortap_instance_t* inst = (colortap_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + const char* sval = "esses"; + inst->table = (char*)malloc( strlen(sval) + 1 ); + strcpy( inst->table, sval ); + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + colortap_instance_t* inst = (colortap_instance_t*)instance; + switch (param_index) + { + case 0: + { + char* sval = (*(char**)param); + inst->table = (char*)realloc( inst->table, strlen(sval) + 1 ); + strcpy( inst->table, sval ); + break; + } + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + colortap_instance_t* inst = (colortap_instance_t*)instance; + + switch(param_index) + { + case 0: + *((f0r_param_string *)param) = inst->table; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + // Check and cast instance + assert(instance); + colortap_instance_t* inst = (colortap_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + const uint8_t* table; + if (strcmp(inst->table, "sepia")==0) + { + table = sepia_table; + } + else if (strcmp(inst->table, "heat")==0) + { + table = heat_table; + } + else if (strcmp(inst->table, "red_green")==0) + { + table = red_green_table; + } + else if (strcmp(inst->table, "old_photo")==0) + { + table = old_photo_table; + } + else if (strcmp(inst->table, "xray")==0) + { + table = xray_table; + } + else if (strcmp(inst->table, "esses")==0) + { + table = esses_table; + } + else if (strcmp(inst->table, "yellow_blue")==0) + { + table = yellowblue_table; + } + else + { + table = xpro_table; + } + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + unsigned char r,g, b = 0; + + while (len--) + { + r = *src++; + g = *src++; + b = *src++; + + *dst++ = table[r * 3]; + *dst++ = table[g * 3 + 1]; + *dst++ = table[b * 3 + 2]; + *dst++ = *src++; + } +} + + diff --git a/src/filter/contrast0r/Makefile b/src/filter/contrast0r/Makefile new file mode 100644 index 0000000..649c85c --- /dev/null +++ b/src/filter/contrast0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/contrast0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/contrast0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/contrast0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/contrast0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/contrast0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/contrast0r/CMakeFiles/contrast0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/contrast0r/CMakeFiles/contrast0r.dir/rule +.PHONY : src/filter/contrast0r/CMakeFiles/contrast0r.dir/rule + +# Convenience name for target. +contrast0r: src/filter/contrast0r/CMakeFiles/contrast0r.dir/rule +.PHONY : contrast0r + +# fast build rule for target. +contrast0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/contrast0r/CMakeFiles/contrast0r.dir/build.make src/filter/contrast0r/CMakeFiles/contrast0r.dir/build +.PHONY : contrast0r/fast + +contrast0r.o: contrast0r.c.o +.PHONY : contrast0r.o + +# target to build an object file +contrast0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/contrast0r/CMakeFiles/contrast0r.dir/build.make src/filter/contrast0r/CMakeFiles/contrast0r.dir/contrast0r.c.o +.PHONY : contrast0r.c.o + +contrast0r.i: contrast0r.c.i +.PHONY : contrast0r.i + +# target to preprocess a source file +contrast0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/contrast0r/CMakeFiles/contrast0r.dir/build.make src/filter/contrast0r/CMakeFiles/contrast0r.dir/contrast0r.c.i +.PHONY : contrast0r.c.i + +contrast0r.s: contrast0r.c.s +.PHONY : contrast0r.s + +# target to generate assembly for a file +contrast0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/contrast0r/CMakeFiles/contrast0r.dir/build.make src/filter/contrast0r/CMakeFiles/contrast0r.dir/contrast0r.c.s +.PHONY : contrast0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... contrast0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... contrast0r.o" + @echo "... contrast0r.i" + @echo "... contrast0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/curves/Makefile b/src/filter/curves/Makefile new file mode 100644 index 0000000..9ffe402 --- /dev/null +++ b/src/filter/curves/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/curves/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/curves/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/curves/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/curves/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/curves/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/curves/CMakeFiles/curves.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/curves/CMakeFiles/curves.dir/rule +.PHONY : src/filter/curves/CMakeFiles/curves.dir/rule + +# Convenience name for target. +curves: src/filter/curves/CMakeFiles/curves.dir/rule +.PHONY : curves + +# fast build rule for target. +curves/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/curves/CMakeFiles/curves.dir/build.make src/filter/curves/CMakeFiles/curves.dir/build +.PHONY : curves/fast + +curves.o: curves.c.o +.PHONY : curves.o + +# target to build an object file +curves.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/curves/CMakeFiles/curves.dir/build.make src/filter/curves/CMakeFiles/curves.dir/curves.c.o +.PHONY : curves.c.o + +curves.i: curves.c.i +.PHONY : curves.i + +# target to preprocess a source file +curves.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/curves/CMakeFiles/curves.dir/build.make src/filter/curves/CMakeFiles/curves.dir/curves.c.i +.PHONY : curves.c.i + +curves.s: curves.c.s +.PHONY : curves.s + +# target to generate assembly for a file +curves.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/curves/CMakeFiles/curves.dir/build.make src/filter/curves/CMakeFiles/curves.dir/curves.c.s +.PHONY : curves.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... curves" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... curves.o" + @echo "... curves.i" + @echo "... curves.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/curves/curves.c b/src/filter/curves/curves.c index 96c68d1..f2fa96f 100644 --- a/src/filter/curves/curves.c +++ b/src/filter/curves/curves.c @@ -190,7 +190,7 @@ curves_info->color_model = F0R_COLOR_MODEL_RGBA8888; curves_info->frei0r_version = FREI0R_MAJOR_VERSION; curves_info->major_version = 0; - curves_info->minor_version = 2; + curves_info->minor_version = 3; curves_info->num_params = 16; curves_info->explanation = "Adjust luminance or color channel intensity with curve level mapping"; } @@ -216,12 +216,12 @@ case 2: info->name = "Graph position"; info->type = F0R_PARAM_DOUBLE; - info->explanation = "Output image corner where curve graph will be drawn (1 = TOP,LEFT; 2 = TOP,RIGHT; 3 = BOTTOM,LEFT; 4 = BOTTOM, RIGHT)"; + info->explanation = "Output image corner where curve graph will be drawn (0.1 = TOP,LEFT; 0.2 = TOP,RIGHT; 0.3 = BOTTOM,LEFT; 0.4 = BOTTOM, RIGHT)"; break; case 3: info->name = "Curve point number"; info->type = F0R_PARAM_DOUBLE; - info->explanation = "Number of points to use to build curve"; + info->explanation = "Number of points to use to build curve (/10 to fit [0,1] parameter range). Minimum 2 (0.2), Maximum 5 (0.5). Not relevant for Bézier spline."; break; case 4: info->name = "Luma formula"; @@ -268,7 +268,8 @@ void f0r_destruct(f0r_instance_t instance) { - free(((curves_instance_t*)instance)->bspline); + if (((curves_instance_t*)instance)->bspline) + free(((curves_instance_t*)instance)->bspline); free(((curves_instance_t*)instance)->bsplineMap); free(instance); } @@ -313,10 +314,10 @@ inst->drawCurves = *((f0r_param_double *)param); break; case 2: - inst->curvesPosition = *((f0r_param_double *)param); + inst->curvesPosition = floor(*((f0r_param_double *)param) * 10); break; case 3: - inst->pointNumber = *((f0r_param_double *)param); + inst->pointNumber = floor(*((f0r_param_double *)param) * 10); break; case 4: inst->formula = *((f0r_param_double *)param); @@ -351,10 +352,10 @@ *((f0r_param_double *)param) = inst->drawCurves; break; case 2: - *((f0r_param_double *)param) = inst->curvesPosition; + *((f0r_param_double *)param) = inst->curvesPosition / 10.; break; case 3: - *((f0r_param_double *)param) = inst->pointNumber; + *((f0r_param_double *)param) = inst->pointNumber / 10.; break; case 4: *((f0r_param_double *)param) = inst->formula; @@ -503,6 +504,8 @@ double dx = x - coeffs[offset]; return ((coeffs[offset + 4] * dx / 6. + coeffs[offset + 3] / 2.) * dx + coeffs[offset + 2]) * dx + coeffs[offset + 1]; } + /* This should never be reached, statement passifies the compiler*/ + return -1.0; } void swap(double *points, int i, int j) { @@ -703,7 +706,7 @@ points = (double*)calloc(inst->pointNumber * 2, sizeof(double)); i = inst->pointNumber * 2; //copy point values - while(--i) + while(--i > 0) points[i] = inst->points[i]; //sort point values by X component for(i = 1; i < inst->pointNumber; i++) @@ -874,9 +877,12 @@ for(int j = 0; j < scale; j++) { if (j % cellSize > lineWidth) { //point doesn't aly on the grid int offset = ((maxYvalue - i + graphYOffset) * stride + j + graphXOffset) * 4; - dst[offset] = (dst[offset++] >> 1) + 0x7F; - dst[offset] = (dst[offset++] >> 1) + 0x7F; - dst[offset] = (dst[offset++] >> 1) + 0x7F; + dst[offset] = (dst[offset] >> 1) + 0x7F; + offset++; + dst[offset] = (dst[offset] >> 1) + 0x7F; + offset++; + dst[offset] = (dst[offset] >> 1) + 0x7F; + offset++; } } } diff --git a/src/filter/d90stairsteppingfix/Makefile b/src/filter/d90stairsteppingfix/Makefile new file mode 100644 index 0000000..054e2cb --- /dev/null +++ b/src/filter/d90stairsteppingfix/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/d90stairsteppingfix/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/d90stairsteppingfix/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/d90stairsteppingfix/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/d90stairsteppingfix/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/d90stairsteppingfix/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/rule +.PHONY : src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/rule + +# Convenience name for target. +d90stairsteppingfix: src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/rule +.PHONY : d90stairsteppingfix + +# fast build rule for target. +d90stairsteppingfix/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/build.make src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/build +.PHONY : d90stairsteppingfix/fast + +d90stairsteppingfix.o: d90stairsteppingfix.cpp.o +.PHONY : d90stairsteppingfix.o + +# target to build an object file +d90stairsteppingfix.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/build.make src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/d90stairsteppingfix.cpp.o +.PHONY : d90stairsteppingfix.cpp.o + +d90stairsteppingfix.i: d90stairsteppingfix.cpp.i +.PHONY : d90stairsteppingfix.i + +# target to preprocess a source file +d90stairsteppingfix.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/build.make src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/d90stairsteppingfix.cpp.i +.PHONY : d90stairsteppingfix.cpp.i + +d90stairsteppingfix.s: d90stairsteppingfix.cpp.s +.PHONY : d90stairsteppingfix.s + +# target to generate assembly for a file +d90stairsteppingfix.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/build.make src/filter/d90stairsteppingfix/CMakeFiles/d90stairsteppingfix.dir/d90stairsteppingfix.cpp.s +.PHONY : d90stairsteppingfix.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... d90stairsteppingfix" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... d90stairsteppingfix.o" + @echo "... d90stairsteppingfix.i" + @echo "... d90stairsteppingfix.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/defish0r/Makefile b/src/filter/defish0r/Makefile new file mode 100644 index 0000000..038534d --- /dev/null +++ b/src/filter/defish0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/defish0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/defish0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/defish0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/defish0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/defish0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/defish0r/CMakeFiles/defish0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/defish0r/CMakeFiles/defish0r.dir/rule +.PHONY : src/filter/defish0r/CMakeFiles/defish0r.dir/rule + +# Convenience name for target. +defish0r: src/filter/defish0r/CMakeFiles/defish0r.dir/rule +.PHONY : defish0r + +# fast build rule for target. +defish0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/defish0r/CMakeFiles/defish0r.dir/build.make src/filter/defish0r/CMakeFiles/defish0r.dir/build +.PHONY : defish0r/fast + +defish0r.o: defish0r.c.o +.PHONY : defish0r.o + +# target to build an object file +defish0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/defish0r/CMakeFiles/defish0r.dir/build.make src/filter/defish0r/CMakeFiles/defish0r.dir/defish0r.c.o +.PHONY : defish0r.c.o + +defish0r.i: defish0r.c.i +.PHONY : defish0r.i + +# target to preprocess a source file +defish0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/defish0r/CMakeFiles/defish0r.dir/build.make src/filter/defish0r/CMakeFiles/defish0r.dir/defish0r.c.i +.PHONY : defish0r.c.i + +defish0r.s: defish0r.c.s +.PHONY : defish0r.s + +# target to generate assembly for a file +defish0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/defish0r/CMakeFiles/defish0r.dir/build.make src/filter/defish0r/CMakeFiles/defish0r.dir/defish0r.c.s +.PHONY : defish0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... defish0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... defish0r.o" + @echo "... defish0r.i" + @echo "... defish0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/defish0r/defish0r.c b/src/filter/defish0r/defish0r.c index e98ff69..bfd4919 100644 --- a/src/filter/defish0r/defish0r.c +++ b/src/filter/defish0r/defish0r.c @@ -344,7 +344,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; - info->minor_version=2; + info->minor_version=3; info->num_params=8; info->explanation="Non rectilinear lens mappings"; } diff --git a/src/filter/defish0r/interp.h b/src/filter/defish0r/interp.h index 2470fe7..6a44cce 100644 --- a/src/filter/defish0r/interp.h +++ b/src/filter/defish0r/interp.h @@ -722,10 +722,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wy[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wy[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } //se po x @@ -733,10 +733,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wx[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wx[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } @@ -781,10 +781,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wy[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wy[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wy[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } //se po x @@ -792,10 +792,10 @@ for (i=7;i>=0;i--) { x1=xx*PI; - wx[7-i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[7-i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xxx=(float)(2*i+1)-xx; x1=xxx*PI; - wx[8+i]=(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)); + wx[8+i]=(x1!=0)?(sin(x1)/(x1))*(sin(x1*0.125)/(x1*0.125)):1.0; xx=xx-1.0; } diff --git a/src/filter/delay0r/Makefile b/src/filter/delay0r/Makefile new file mode 100644 index 0000000..06b013a --- /dev/null +++ b/src/filter/delay0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/delay0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delay0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delay0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delay0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delay0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/delay0r/CMakeFiles/delay0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delay0r/CMakeFiles/delay0r.dir/rule +.PHONY : src/filter/delay0r/CMakeFiles/delay0r.dir/rule + +# Convenience name for target. +delay0r: src/filter/delay0r/CMakeFiles/delay0r.dir/rule +.PHONY : delay0r + +# fast build rule for target. +delay0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delay0r/CMakeFiles/delay0r.dir/build.make src/filter/delay0r/CMakeFiles/delay0r.dir/build +.PHONY : delay0r/fast + +delay0r.o: delay0r.cpp.o +.PHONY : delay0r.o + +# target to build an object file +delay0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delay0r/CMakeFiles/delay0r.dir/build.make src/filter/delay0r/CMakeFiles/delay0r.dir/delay0r.cpp.o +.PHONY : delay0r.cpp.o + +delay0r.i: delay0r.cpp.i +.PHONY : delay0r.i + +# target to preprocess a source file +delay0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delay0r/CMakeFiles/delay0r.dir/build.make src/filter/delay0r/CMakeFiles/delay0r.dir/delay0r.cpp.i +.PHONY : delay0r.cpp.i + +delay0r.s: delay0r.cpp.s +.PHONY : delay0r.s + +# target to generate assembly for a file +delay0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delay0r/CMakeFiles/delay0r.dir/build.make src/filter/delay0r/CMakeFiles/delay0r.dir/delay0r.cpp.s +.PHONY : delay0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... delay0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... delay0r.o" + @echo "... delay0r.i" + @echo "... delay0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/delay0r/delay0r.cpp b/src/filter/delay0r/delay0r.cpp index f635ad4..40a1dd1 100644 --- a/src/filter/delay0r/delay0r.cpp +++ b/src/filter/delay0r/delay0r.cpp @@ -12,6 +12,15 @@ { delay = 0.0; register_param(delay,"DelayTime","the delay time"); + } + + ~delay0r() + { + for (std::list< std::pair< double, unsigned int* > >::iterator i=buffer.begin(); i != buffer.end(); ++i) + { + delete[] i->second; + i=buffer.erase(i); + } } virtual void update() diff --git a/src/filter/delaygrab/Makefile b/src/filter/delaygrab/Makefile new file mode 100644 index 0000000..da378b0 --- /dev/null +++ b/src/filter/delaygrab/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/delaygrab/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delaygrab/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delaygrab/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delaygrab/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delaygrab/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/delaygrab/CMakeFiles/delaygrab.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/delaygrab/CMakeFiles/delaygrab.dir/rule +.PHONY : src/filter/delaygrab/CMakeFiles/delaygrab.dir/rule + +# Convenience name for target. +delaygrab: src/filter/delaygrab/CMakeFiles/delaygrab.dir/rule +.PHONY : delaygrab + +# fast build rule for target. +delaygrab/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delaygrab/CMakeFiles/delaygrab.dir/build.make src/filter/delaygrab/CMakeFiles/delaygrab.dir/build +.PHONY : delaygrab/fast + +delaygrab.o: delaygrab.cpp.o +.PHONY : delaygrab.o + +# target to build an object file +delaygrab.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delaygrab/CMakeFiles/delaygrab.dir/build.make src/filter/delaygrab/CMakeFiles/delaygrab.dir/delaygrab.cpp.o +.PHONY : delaygrab.cpp.o + +delaygrab.i: delaygrab.cpp.i +.PHONY : delaygrab.i + +# target to preprocess a source file +delaygrab.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delaygrab/CMakeFiles/delaygrab.dir/build.make src/filter/delaygrab/CMakeFiles/delaygrab.dir/delaygrab.cpp.i +.PHONY : delaygrab.cpp.i + +delaygrab.s: delaygrab.cpp.s +.PHONY : delaygrab.s + +# target to generate assembly for a file +delaygrab.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/delaygrab/CMakeFiles/delaygrab.dir/build.make src/filter/delaygrab/CMakeFiles/delaygrab.dir/delaygrab.cpp.s +.PHONY : delaygrab.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... delaygrab" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... delaygrab.o" + @echo "... delaygrab.i" + @echo "... delaygrab.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/delaygrab/delaygrab.cpp b/src/filter/delaygrab/delaygrab.cpp index 9410d8e..8a32a04 100644 --- a/src/filter/delaygrab/delaygrab.cpp +++ b/src/filter/delaygrab/delaygrab.cpp @@ -245,7 +245,7 @@ break; } // switch /* Clip values */ - if (*curdelaymap<0) { + if ((int)(*curdelaymap)<0) { *curdelaymap=0; } else if (*curdelaymap>(QUEUEDEPTH-1)) { *curdelaymap=(QUEUEDEPTH-1); diff --git a/src/filter/denoise/Makefile b/src/filter/denoise/Makefile new file mode 100644 index 0000000..31ada45 --- /dev/null +++ b/src/filter/denoise/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/denoise/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/denoise/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/denoise/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/denoise/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/denoise/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/denoise/CMakeFiles/hqdn3d.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/denoise/CMakeFiles/hqdn3d.dir/rule +.PHONY : src/filter/denoise/CMakeFiles/hqdn3d.dir/rule + +# Convenience name for target. +hqdn3d: src/filter/denoise/CMakeFiles/hqdn3d.dir/rule +.PHONY : hqdn3d + +# fast build rule for target. +hqdn3d/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/denoise/CMakeFiles/hqdn3d.dir/build.make src/filter/denoise/CMakeFiles/hqdn3d.dir/build +.PHONY : hqdn3d/fast + +hqdn3d.o: hqdn3d.c.o +.PHONY : hqdn3d.o + +# target to build an object file +hqdn3d.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/denoise/CMakeFiles/hqdn3d.dir/build.make src/filter/denoise/CMakeFiles/hqdn3d.dir/hqdn3d.c.o +.PHONY : hqdn3d.c.o + +hqdn3d.i: hqdn3d.c.i +.PHONY : hqdn3d.i + +# target to preprocess a source file +hqdn3d.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/denoise/CMakeFiles/hqdn3d.dir/build.make src/filter/denoise/CMakeFiles/hqdn3d.dir/hqdn3d.c.i +.PHONY : hqdn3d.c.i + +hqdn3d.s: hqdn3d.c.s +.PHONY : hqdn3d.s + +# target to generate assembly for a file +hqdn3d.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/denoise/CMakeFiles/hqdn3d.dir/build.make src/filter/denoise/CMakeFiles/hqdn3d.dir/hqdn3d.c.s +.PHONY : hqdn3d.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... hqdn3d" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... hqdn3d.o" + @echo "... hqdn3d.i" + @echo "... hqdn3d.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/denoise/hqdn3d.c b/src/filter/denoise/hqdn3d.c index c588b1a..7a91044 100755 --- a/src/filter/denoise/hqdn3d.c +++ b/src/filter/denoise/hqdn3d.c @@ -66,7 +66,7 @@ //deNoise and PrecalaCoefs are from Mplayer "hqdn3d" filter //by Daniel Moreno -inline unsigned int LowPassMul(unsigned int PrevMul, unsigned int CurrMul, int* Coef){ +static inline unsigned int LowPassMul(unsigned int PrevMul, unsigned int CurrMul, int* Coef){ // int dMul= (PrevMul&0xFFFFFF)-(CurrMul&0xFFFFFF); int dMul= PrevMul-CurrMul; unsigned int d=((dMul+0x10007FF)>>12); diff --git a/src/filter/distort0r/Makefile b/src/filter/distort0r/Makefile new file mode 100644 index 0000000..9c000d3 --- /dev/null +++ b/src/filter/distort0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/distort0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/distort0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/distort0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/distort0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/distort0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/distort0r/CMakeFiles/distort0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/distort0r/CMakeFiles/distort0r.dir/rule +.PHONY : src/filter/distort0r/CMakeFiles/distort0r.dir/rule + +# Convenience name for target. +distort0r: src/filter/distort0r/CMakeFiles/distort0r.dir/rule +.PHONY : distort0r + +# fast build rule for target. +distort0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/distort0r/CMakeFiles/distort0r.dir/build.make src/filter/distort0r/CMakeFiles/distort0r.dir/build +.PHONY : distort0r/fast + +distort0r.o: distort0r.c.o +.PHONY : distort0r.o + +# target to build an object file +distort0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/distort0r/CMakeFiles/distort0r.dir/build.make src/filter/distort0r/CMakeFiles/distort0r.dir/distort0r.c.o +.PHONY : distort0r.c.o + +distort0r.i: distort0r.c.i +.PHONY : distort0r.i + +# target to preprocess a source file +distort0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/distort0r/CMakeFiles/distort0r.dir/build.make src/filter/distort0r/CMakeFiles/distort0r.dir/distort0r.c.i +.PHONY : distort0r.c.i + +distort0r.s: distort0r.c.s +.PHONY : distort0r.s + +# target to generate assembly for a file +distort0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/distort0r/CMakeFiles/distort0r.dir/build.make src/filter/distort0r/CMakeFiles/distort0r.dir/distort0r.c.s +.PHONY : distort0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... distort0r" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... distort0r.o" + @echo "... distort0r.i" + @echo "... distort0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/dither/CMakeLists.txt b/src/filter/dither/CMakeLists.txt new file mode 100644 index 0000000..6cbb21b --- /dev/null +++ b/src/filter/dither/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES dither.c) +set (TARGET dither) + +if (MSVC) + set_source_files_properties (dither.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/dither/Makefile b/src/filter/dither/Makefile new file mode 100644 index 0000000..7afe100 --- /dev/null +++ b/src/filter/dither/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/dither/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/dither/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/dither/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/dither/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/dither/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/dither/CMakeFiles/dither.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/dither/CMakeFiles/dither.dir/rule +.PHONY : src/filter/dither/CMakeFiles/dither.dir/rule + +# Convenience name for target. +dither: src/filter/dither/CMakeFiles/dither.dir/rule +.PHONY : dither + +# fast build rule for target. +dither/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/dither/CMakeFiles/dither.dir/build.make src/filter/dither/CMakeFiles/dither.dir/build +.PHONY : dither/fast + +dither.o: dither.c.o +.PHONY : dither.o + +# target to build an object file +dither.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/dither/CMakeFiles/dither.dir/build.make src/filter/dither/CMakeFiles/dither.dir/dither.c.o +.PHONY : dither.c.o + +dither.i: dither.c.i +.PHONY : dither.i + +# target to preprocess a source file +dither.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/dither/CMakeFiles/dither.dir/build.make src/filter/dither/CMakeFiles/dither.dir/dither.c.i +.PHONY : dither.c.i + +dither.s: dither.c.s +.PHONY : dither.s + +# target to generate assembly for a file +dither.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/dither/CMakeFiles/dither.dir/build.make src/filter/dither/CMakeFiles/dither.dir/dither.c.s +.PHONY : dither.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... dither" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... dither.o" + @echo "... dither.i" + @echo "... dither.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/dither/dither.c b/src/filter/dither/dither.c new file mode 100644 index 0000000..13fac58 --- /dev/null +++ b/src/filter/dither/dither.c @@ -0,0 +1,302 @@ +/* + * This file is a port of com.jhlabs.image.DitherFilter.java + * Copyright 2006 Jerry Huxtable + * + * dither.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_math.h" + +int ditherMagic2x2Matrix[] = { + 0, 2, + 3, 1 + }; + +int ditherMagic4x4Matrix[] = { + 0, 14, 3, 13, + 11, 5, 8, 6, + 12, 2, 15, 1, + 7, 9, 4, 10 + }; + +int ditherOrdered4x4Matrix[] = { + 0, 8, 2, 10, + 12, 4, 14, 6, + 3, 11, 1, 9, + 15, 7, 13, 5 + }; + +int ditherLines4x4Matrix[] = { + 0, 1, 2, 3, + 4, 5, 6, 7, + 8, 9, 10, 11, + 12, 13, 14, 15 + }; + +int dither90Halftone6x6Matrix[] = { + 29, 18, 12, 19, 30, 34, + 17, 7, 4, 8, 20, 28, + 11, 3, 0, 1, 9, 27, + 16, 6, 2, 5, 13, 26, + 25, 15, 10, 14, 21, 31, + 33, 25, 24, 23, 33, 36 + }; + +int ditherOrdered6x6Matrix[] = { + 1, 59, 15, 55, 2, 56, 12, 52, + 33, 17, 47, 31, 34, 18, 44, 28, + 9, 49, 5, 63, 10, 50, 6, 60, + 41, 25, 37, 21, 42, 26, 38, 22, + 3, 57, 13, 53, 0, 58, 14, 54, + 35, 19, 45, 29, 32, 16, 46, 30, + 11, 51, 7, 61, 8, 48, 4, 62, + 43, 27, 39, 23, 40, 24, 36, 20 + }; + +int ditherOrdered8x8Matrix[] = { + 1,235, 59,219, 15,231, 55,215, 2,232, 56,216, 12,228, 52,212, + 129, 65,187,123,143, 79,183,119,130, 66,184,120,140, 76,180,116, + 33,193, 17,251, 47,207, 31,247, 34,194, 18,248, 44,204, 28,244, + 161, 97,145, 81,175,111,159, 95,162, 98,146, 82,172,108,156, 92, + 9,225, 49,209, 5,239, 63,223, 10,226, 50,210, 6,236, 60,220, + 137, 73,177,113,133, 69,191,127,138, 74,178,114,134, 70,188,124, + 41,201, 25,241, 37,197, 21,255, 42,202, 26,242, 38,198, 22,252, + 169,105,153, 89,165,101,149, 85,170,106,154, 90,166,102,150, 86, + 3,233, 57,217, 13,229, 53,213, 0,234, 58,218, 14,230, 54,214, + 131, 67,185,121,141, 77,181,117,128, 64,186,122,142, 78,182,118, + 35,195, 19,249, 45,205, 29,245, 32,192, 16,250, 46,206, 30,246, + 163, 99,147, 83,173,109,157, 93,160, 96,144, 80,174,110,158, 94, + 11,227, 51,211, 7,237, 61,221, 8,224, 48,208, 4,238, 62,222, + 139, 75,179,115,135, 71,189,125,136, 72,176,112,132, 68,190,126, + 43,203, 27,243, 39,199, 23,253, 40,200, 24,240, 36,196, 20,254, + 171,107,155, 91,167,103,151, 87,168,104,152, 88,164,100,148, 84 }; + +int ditherCluster3Matrix[] = { + 9,11,10, 8, 6, 7, + 12,17,16, 5, 0, 1, + 13,14,15, 4, 3, 2, + 8, 6, 7, 9,11,10, + 5, 0, 1,12,17,16, + 4, 3, 2,13,14,15 }; + +int ditherCluster4Matrix[] = { + 18,20,19,16,13,11,12,15, + 27,28,29,22, 4, 3, 2, 9, + 26,31,30,21, 5, 0, 1,10, + 23,25,24,17, 8, 6, 7,14, + 13,11,12,15,18,20,19,16, + 4, 3, 2, 9,27,28,29,22, + 5, 0, 1,10,26,31,30,21, + 8, 6, 7,14,23,25,24,17 }; + +int ditherCluster8Matrix[] = { + 64, 69, 77, 87, 86, 76, 68, 67, 63, 58, 50, 40, 41, 51, 59, 60, + 70, 94,100,109,108, 99, 93, 75, 57, 33, 27, 18, 19, 28, 34, 52, + 78,101,114,116,115,112, 98, 83, 49, 26, 13, 11, 12, 15, 29, 44, + 88,110,123,124,125,118,107, 85, 39, 17, 4, 3, 2, 9, 20, 42, + 89,111,122,127,126,117,106, 84, 38, 16, 5, 0, 1, 10, 21, 43, + 79,102,119,121,120,113, 97, 82, 48, 25, 8, 6, 7, 14, 30, 45, + 71, 95,103,104,105, 96, 92, 74, 56, 32, 24, 23, 22, 31, 35, 53, + 65, 72, 80, 90, 91, 81, 73, 66, 62, 55, 47, 37, 36, 46, 54, 61, + 63, 58, 50, 40, 41, 51, 59, 60, 64, 69, 77, 87, 86, 76, 68, 67, + 57, 33, 27, 18, 19, 28, 34, 52, 70, 94,100,109,108, 99, 93, 75, + 49, 26, 13, 11, 12, 15, 29, 44, 78,101,114,116,115,112, 98, 83, + 39, 17, 4, 3, 2, 9, 20, 42, 88,110,123,124,125,118,107, 85, + 38, 16, 5, 0, 1, 10, 21, 43, 89,111,122,127,126,117,106, 84, + 48, 25, 8, 6, 7, 14, 30, 45, 79,102,119,121,120,113, 97, 82, + 56, 32, 24, 23, 22, 31, 35, 53, 71, 95,103,104,105, 96, 92, 74, + 62, 55, 47, 37, 36, 46, 54, 61, 65, 72, 80, 90, 91, 81, 73, 66 }; + +int matrixSizes[] = {4, 16, 16, 16, 36, 64, 256, 36, 64, 256}; +int* matrixes[] = {ditherMagic2x2Matrix, ditherMagic4x4Matrix, ditherOrdered4x4Matrix, + ditherLines4x4Matrix, dither90Halftone6x6Matrix, ditherOrdered6x6Matrix, + ditherOrdered8x8Matrix, ditherCluster3Matrix, ditherCluster4Matrix, ditherCluster8Matrix}; + +typedef struct dither_instance +{ + unsigned int width; + unsigned int height; + double levels; + double matrixid; +} dither_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* dither_info) +{ + dither_info->name = "dither"; + dither_info->author = "Janne Liljeblad"; + dither_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + dither_info->color_model = F0R_COLOR_MODEL_RGBA8888; + dither_info->frei0r_version = FREI0R_MAJOR_VERSION; + dither_info->major_version = 0; + dither_info->minor_version = 1; + dither_info->num_params = 2; + dither_info->explanation = "Dithers the image and reduces the number of available colors"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "levels"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Number of values per channel"; + break; + case 1: + info->name = "matrixid"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Id of matrix used for dithering"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + dither_instance_t* inst = (dither_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->levels = 5.0 / 48.0;// input range 0.0 - 1.0 will be interpreted as levels range 2 - 50 + inst->matrixid = 1.0; // input range 0.0 - 1.0 will be interpreted as matrixid 0 - 9 + // e.g. values 0.0, 0.12, 0.23, 0.34, 0.45, 0.56, 0.67, 0.78, 0.89, 1.0 + // will select matrixes 0 to 9 + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + dither_instance_t* inst = (dither_instance_t*)instance; + + switch(param_index) + { + case 0: + inst->levels = *((double*)param); + break; + case 1: + inst->matrixid = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + dither_instance_t* inst = (dither_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->levels; + break; + case 1: + *((double*)param) = inst->matrixid; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + //init and get params + assert(instance); + dither_instance_t* inst = (dither_instance_t*)instance; + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + + double levelsInput = inst->levels * 48.0; + levelsInput = CLAMP(levelsInput, 0.0, 48.0) + 2.0; + int levels = (int)levelsInput; + + double matrixIdInput = inst->matrixid * 9.0; + matrixIdInput = CLAMP(matrixIdInput, 0.0, 9.0); + int matrixid = (int)matrixIdInput; + int* matrix = matrixes[matrixid]; + int matrixLength = matrixSizes[matrixid]; + + // init look-ups + int rows, cols; + rows = cols = (int)sqrt(matrixLength); + int map[levels]; + int i,v; + for (i = 0; i < levels; i++) + { + v = 255 * i / (levels-1); + map[i] = v; + } + + int div[256]; + int mod[256]; + int rc = (rows * cols + 1); + for (i = 0; i < 256; i++) + { + div[i] = (levels-1) * i / 256; + mod[i] = i * rc /256; + } + + // filter image + unsigned int width = inst->width; + unsigned int height = inst->height; + unsigned int x,y,col,row; + unsigned char r, g, b; + for (y = 0; y < height; ++y) + { + for (x=0; x < width; ++x) + { + r = *src++; + g = *src++; + b = *src++; + + col = x % cols; + row = y % rows; + + v = matrix[ row * cols + col]; + r = map[mod[r] > v ? div[r] + 1 : div[r]]; + g = map[mod[g] > v ? div[g] + 1 : div[g]]; + b = map[mod[b] > v ? div[b] + 1 : div[b]]; + + *dst++ = r; + *dst++ = g; + *dst++ = b; + *dst++ = *src++;//copy alpha + } + } +} + + diff --git a/src/filter/edgeglow/Makefile b/src/filter/edgeglow/Makefile new file mode 100644 index 0000000..d3cea82 --- /dev/null +++ b/src/filter/edgeglow/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/edgeglow/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/edgeglow/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/edgeglow/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/edgeglow/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/edgeglow/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/edgeglow/CMakeFiles/edgeglow.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/edgeglow/CMakeFiles/edgeglow.dir/rule +.PHONY : src/filter/edgeglow/CMakeFiles/edgeglow.dir/rule + +# Convenience name for target. +edgeglow: src/filter/edgeglow/CMakeFiles/edgeglow.dir/rule +.PHONY : edgeglow + +# fast build rule for target. +edgeglow/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/edgeglow/CMakeFiles/edgeglow.dir/build.make src/filter/edgeglow/CMakeFiles/edgeglow.dir/build +.PHONY : edgeglow/fast + +edgeglow.o: edgeglow.cpp.o +.PHONY : edgeglow.o + +# target to build an object file +edgeglow.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/edgeglow/CMakeFiles/edgeglow.dir/build.make src/filter/edgeglow/CMakeFiles/edgeglow.dir/edgeglow.cpp.o +.PHONY : edgeglow.cpp.o + +edgeglow.i: edgeglow.cpp.i +.PHONY : edgeglow.i + +# target to preprocess a source file +edgeglow.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/edgeglow/CMakeFiles/edgeglow.dir/build.make src/filter/edgeglow/CMakeFiles/edgeglow.dir/edgeglow.cpp.i +.PHONY : edgeglow.cpp.i + +edgeglow.s: edgeglow.cpp.s +.PHONY : edgeglow.s + +# target to generate assembly for a file +edgeglow.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/edgeglow/CMakeFiles/edgeglow.dir/build.make src/filter/edgeglow/CMakeFiles/edgeglow.dir/edgeglow.cpp.s +.PHONY : edgeglow.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edgeglow" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... edgeglow.o" + @echo "... edgeglow.i" + @echo "... edgeglow.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/emboss/CMakeLists.txt b/src/filter/emboss/CMakeLists.txt new file mode 100644 index 0000000..5b64b31 --- /dev/null +++ b/src/filter/emboss/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES emboss.c) +set (TARGET emboss) + +if (MSVC) + set_source_files_properties (emboss.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/emboss/Makefile b/src/filter/emboss/Makefile new file mode 100644 index 0000000..997a879 --- /dev/null +++ b/src/filter/emboss/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/emboss/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/emboss/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/emboss/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/emboss/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/emboss/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/emboss/CMakeFiles/emboss.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/emboss/CMakeFiles/emboss.dir/rule +.PHONY : src/filter/emboss/CMakeFiles/emboss.dir/rule + +# Convenience name for target. +emboss: src/filter/emboss/CMakeFiles/emboss.dir/rule +.PHONY : emboss + +# fast build rule for target. +emboss/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/emboss/CMakeFiles/emboss.dir/build.make src/filter/emboss/CMakeFiles/emboss.dir/build +.PHONY : emboss/fast + +emboss.o: emboss.c.o +.PHONY : emboss.o + +# target to build an object file +emboss.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/emboss/CMakeFiles/emboss.dir/build.make src/filter/emboss/CMakeFiles/emboss.dir/emboss.c.o +.PHONY : emboss.c.o + +emboss.i: emboss.c.i +.PHONY : emboss.i + +# target to preprocess a source file +emboss.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/emboss/CMakeFiles/emboss.dir/build.make src/filter/emboss/CMakeFiles/emboss.dir/emboss.c.i +.PHONY : emboss.c.i + +emboss.s: emboss.c.s +.PHONY : emboss.s + +# target to generate assembly for a file +emboss.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/emboss/CMakeFiles/emboss.dir/build.make src/filter/emboss/CMakeFiles/emboss.dir/emboss.c.s +.PHONY : emboss.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... emboss" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... emboss.o" + @echo "... emboss.i" + @echo "... emboss.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/emboss/emboss.c b/src/filter/emboss/emboss.c new file mode 100644 index 0000000..fd1d65e --- /dev/null +++ b/src/filter/emboss/emboss.c @@ -0,0 +1,232 @@ +/* + * This file is a port of com.jhlabs.image.EmbossFilter.java + * Copyright 2006 Jerry Huxtable + * + * emboss.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_math.h" + +double PI = 3.14159; +double pixelScale = 255.9; + +typedef struct emboss_instance +{ + unsigned int width; + unsigned int height; + double azimuth; + double elevation; + double width45; +} emboss_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* emposs_info) +{ + emposs_info->name = "emboss"; + emposs_info->author = "Janne Liljeblad"; + emposs_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + emposs_info->color_model = F0R_COLOR_MODEL_RGBA8888; + emposs_info->frei0r_version = FREI0R_MAJOR_VERSION; + emposs_info->major_version = 0; + emposs_info->minor_version = 1; + emposs_info->num_params = 3; + emposs_info->explanation = "Creates embossed relief image of source image"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "azimuth"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Light direction"; + break; + case 1: + info->name = "elevation"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Background lightness"; + break; + case 2: + info->name = "width45"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Bump height"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + emboss_instance_t* inst = (emboss_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->azimuth = 135.0 / 360.0; //input range 0 - 1 will be interpreted as angle 0 - 360 + inst->elevation = 30.0 / 90.0;//input range 0 - 1 will be interpreted as lighness value 0 - 90 + inst->width45 = 10.0 / 40.0;//input range 0 - 1 will be interpreted as bump height value 1 - 40 + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + emboss_instance_t* inst = (emboss_instance_t*)instance; + + switch(param_index) + { + case 0: + inst->azimuth = *((double*)param); + break; + case 1: + inst->elevation = *((double*)param); + break; + case 2: + inst->width45 = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + emboss_instance_t* inst = (emboss_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->azimuth; + break; + case 1: + *((double*)param) = inst->elevation; + break; + case 2: + *((double*)param) = inst->width45; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + // Check and cast instance + assert(instance); + emboss_instance_t* inst = (emboss_instance_t*)instance; + + // Get render params values 0.0-1.0 in range used by filter + double azimuthInput = inst->azimuth * 360.0; + double elevationInput = inst->elevation * 90.0; + double widthInput = inst->width45 * 40.0; + + // Force correct ranges on input + azimuthInput = CLAMP(azimuthInput, 0.0, 360.0); + elevationInput = CLAMP(elevationInput, 0.0, 90.0); + widthInput = CLAMP(widthInput, 1.0, 40.0); + + // Convert to filter input values + double azimuth = azimuthInput * PI / 180.0; + double elevation = elevationInput * PI / 180.0; + double width45 = widthInput; + + // Create brightness image + unsigned int len = inst->width * inst->height; + unsigned char bumpPixels[len]; + unsigned char alphaVals[len]; + unsigned int index, r, g, b, a = 0; + const unsigned char* src = (unsigned char*)inframe; + while (len--) + { + r = *src++; + g = *src++; + b = *src++; + a = *src++; + + bumpPixels[index++] = (r + g + b)/3; + alphaVals[index - 1] = a; + } + + // Create embossed image from brightness image + unsigned char* dst = (unsigned char*)outframe; + unsigned char shade, background = 0; + int Nx, Ny, Nz, Lx, Ly, Lz, Nz2, NzLz, NdotL; + + Lx = (int)(cos(azimuth) * cos(elevation) * pixelScale); + Ly = (int)(sin(azimuth) * cos(elevation) * pixelScale); + Lz = (int)(sin(elevation) * pixelScale); + + Nz = (int)(6 * 255 / width45); + Nz2 = Nz * Nz; + NzLz = Nz * Lz; + + background = Lz; + int bumpIndex = 0; + int width = inst->width; + int height = inst->height; + int s1, s2, s3 = 0; + int x, y = 0; + for (y = 0; y < height; y++, bumpIndex += width) + { + s1 = bumpIndex; + s2 = s1 + width; + s3 = s2 + width; + for (x = 0; x < width; x++, s1++, s2++, s3++) + { + if (y != 0 && y < height-2 && x != 0 && x < width-2) + { + Nx = bumpPixels[s1-1] + bumpPixels[s2-1] + bumpPixels[s3-1] - bumpPixels[s1+1] - bumpPixels[s2+1] - bumpPixels[s3+1]; + Ny = bumpPixels[s3-1] + bumpPixels[s3] + bumpPixels[s3+1] - bumpPixels[s1-1] - bumpPixels[s1] - bumpPixels[s1+1]; + if (Nx == 0 && Ny == 0) + shade = background; + else if ((NdotL = Nx*Lx + Ny*Ly + NzLz) < 0) + shade = 0; + else + shade = (int)(NdotL / sqrt(Nx*Nx + Ny*Ny + Nz2)); + } + else + { + shade = background; + } + + // Write value + *dst++ = shade; + *dst++ = shade; + *dst++ = shade; + *dst++ = alphaVals[s1]; //copy alpha + } + } +} + diff --git a/src/filter/equaliz0r/Makefile b/src/filter/equaliz0r/Makefile new file mode 100644 index 0000000..966cbd7 --- /dev/null +++ b/src/filter/equaliz0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/equaliz0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/equaliz0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/equaliz0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/equaliz0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/equaliz0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/rule +.PHONY : src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/rule + +# Convenience name for target. +equaliz0r: src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/rule +.PHONY : equaliz0r + +# fast build rule for target. +equaliz0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/build.make src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/build +.PHONY : equaliz0r/fast + +equaliz0r.o: equaliz0r.cpp.o +.PHONY : equaliz0r.o + +# target to build an object file +equaliz0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/build.make src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/equaliz0r.cpp.o +.PHONY : equaliz0r.cpp.o + +equaliz0r.i: equaliz0r.cpp.i +.PHONY : equaliz0r.i + +# target to preprocess a source file +equaliz0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/build.make src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/equaliz0r.cpp.i +.PHONY : equaliz0r.cpp.i + +equaliz0r.s: equaliz0r.cpp.s +.PHONY : equaliz0r.s + +# target to generate assembly for a file +equaliz0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/build.make src/filter/equaliz0r/CMakeFiles/equaliz0r.dir/equaliz0r.cpp.s +.PHONY : equaliz0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... equaliz0r" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... equaliz0r.o" + @echo "... equaliz0r.i" + @echo "... equaliz0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/facebl0r/facebl0r.cpp b/src/filter/facebl0r/facebl0r.cpp index 4d4100c..99b2d8a 100644 --- a/src/filter/facebl0r/facebl0r.cpp +++ b/src/filter/facebl0r/facebl0r.cpp @@ -21,6 +21,7 @@ #include #include +#include typedef struct { IplImage* hsv; //input image converted to HSV @@ -133,7 +134,7 @@ if (!cascade) { cvSetNumThreads(cvRound(threads * 100)); get_param_value(&classifier, FACEBL0R_PARAM_CLASSIFIER); - if (classifier) { + if (classifier && strcmp(classifier, "")) { if ( strcmp(classifier, old_classifier) == 0) { // same as before, avoid repeating error messages memcpy(out, in, size * 4); // of course assuming we are RGBA only @@ -154,6 +155,12 @@ return; } } + + // sanitize parameters + recheck = CLAMP(recheck, 0.001, 1.0); + search_scale = CLAMP(search_scale, 0.11, 1.0); + neighbors = CLAMP(neighbors, 0.01, 1.0); + if( !image ) image = cvCreateImage( cvSize(width,height), IPL_DEPTH_8U, 4 ); diff --git a/src/filter/facedetect/facedetect.cpp b/src/filter/facedetect/facedetect.cpp index c39d318..5831167 100644 --- a/src/filter/facedetect/facedetect.cpp +++ b/src/filter/facedetect/facedetect.cpp @@ -27,6 +27,7 @@ #include #include #include "frei0r.hpp" +#include "frei0r_math.h" #define USE_ROI #define PAD (40) @@ -89,7 +90,7 @@ register_param(smallest, "Smallest", "Minimum window size in pixels, divided by 1000"); scale = 1.0 / 1.5; register_param(scale, "Scale", "Down scale the image prior detection"); - stroke = CV_FILLED; + stroke = 0.0; register_param(stroke, "Stroke", "Line width, divided by 100, or fill if 0"); antialias = false; register_param(antialias, "Antialias", "Draw with antialiasing"); @@ -100,16 +101,16 @@ register_param(color[0], "Color 1", "The color of the first object"); f0r_param_color color1 = {0.0, 0.5, 1.0}; color[1] = color1; - register_param(color[0], "Color 2", "The color of the second object"); + register_param(color[1], "Color 2", "The color of the second object"); f0r_param_color color2 = {0.0, 1.0, 1.0}; color[2] = color2; - register_param(color[0], "Color 3", "The color of the third object"); + register_param(color[2], "Color 3", "The color of the third object"); f0r_param_color color3 = {0.0, 1.0, 0.0}; color[3] = color3; - register_param(color[0], "Color 4", "The color of the fourth object"); + register_param(color[3], "Color 4", "The color of the fourth object"); f0r_param_color color4 = {1.0, 0.5, 0.0}; color[4] = color4; - register_param(color[0], "Color 5", "The color of the fifth object"); + register_param(color[4], "Color 5", "The color of the fifth object"); srand(::time(NULL)); } @@ -125,7 +126,7 @@ cvSetNumThreads(cvRound(threads * 100)); f0r_param_string classifier; get_param_value(&classifier, FACEBL0R_PARAM_CLASSIFIER); - if (classifier) { + if (classifier && strcmp(classifier, "")) { cascade = (CvHaarClassifierCascade*) cvLoad(classifier, 0, 0, 0 ); if (!cascade) fprintf(stderr, "ERROR: Could not load classifier cascade %s\n", classifier); @@ -136,7 +137,11 @@ return; } } - + + // sanitize parameters + search_scale = CLAMP(search_scale, 0.11, 1.0); + neighbors = CLAMP(neighbors, 0.01, 1.0); + // copy input image to OpenCV if( !image ) image = cvCreateImage(cvSize(width, height), IPL_DEPTH_8U, 4); diff --git a/src/filter/flippo/Makefile b/src/filter/flippo/Makefile new file mode 100644 index 0000000..f60b821 --- /dev/null +++ b/src/filter/flippo/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/flippo/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/flippo/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/flippo/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/flippo/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/flippo/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/flippo/CMakeFiles/flippo.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/flippo/CMakeFiles/flippo.dir/rule +.PHONY : src/filter/flippo/CMakeFiles/flippo.dir/rule + +# Convenience name for target. +flippo: src/filter/flippo/CMakeFiles/flippo.dir/rule +.PHONY : flippo + +# fast build rule for target. +flippo/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/flippo/CMakeFiles/flippo.dir/build.make src/filter/flippo/CMakeFiles/flippo.dir/build +.PHONY : flippo/fast + +flippo.o: flippo.c.o +.PHONY : flippo.o + +# target to build an object file +flippo.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/flippo/CMakeFiles/flippo.dir/build.make src/filter/flippo/CMakeFiles/flippo.dir/flippo.c.o +.PHONY : flippo.c.o + +flippo.i: flippo.c.i +.PHONY : flippo.i + +# target to preprocess a source file +flippo.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/flippo/CMakeFiles/flippo.dir/build.make src/filter/flippo/CMakeFiles/flippo.dir/flippo.c.i +.PHONY : flippo.c.i + +flippo.s: flippo.c.s +.PHONY : flippo.s + +# target to generate assembly for a file +flippo.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/flippo/CMakeFiles/flippo.dir/build.make src/filter/flippo/CMakeFiles/flippo.dir/flippo.c.s +.PHONY : flippo.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... flippo" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... flippo.o" + @echo "... flippo.i" + @echo "... flippo.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/gamma/Makefile b/src/filter/gamma/Makefile new file mode 100644 index 0000000..1b8400c --- /dev/null +++ b/src/filter/gamma/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/gamma/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/gamma/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/gamma/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/gamma/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/gamma/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/gamma/CMakeFiles/gamma.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/gamma/CMakeFiles/gamma.dir/rule +.PHONY : src/filter/gamma/CMakeFiles/gamma.dir/rule + +# Convenience name for target. +gamma: src/filter/gamma/CMakeFiles/gamma.dir/rule +.PHONY : gamma + +# fast build rule for target. +gamma/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/gamma/CMakeFiles/gamma.dir/build.make src/filter/gamma/CMakeFiles/gamma.dir/build +.PHONY : gamma/fast + +gamma.o: gamma.c.o +.PHONY : gamma.o + +# target to build an object file +gamma.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/gamma/CMakeFiles/gamma.dir/build.make src/filter/gamma/CMakeFiles/gamma.dir/gamma.c.o +.PHONY : gamma.c.o + +gamma.i: gamma.c.i +.PHONY : gamma.i + +# target to preprocess a source file +gamma.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/gamma/CMakeFiles/gamma.dir/build.make src/filter/gamma/CMakeFiles/gamma.dir/gamma.c.i +.PHONY : gamma.c.i + +gamma.s: gamma.c.s +.PHONY : gamma.s + +# target to generate assembly for a file +gamma.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/gamma/CMakeFiles/gamma.dir/build.make src/filter/gamma/CMakeFiles/gamma.dir/gamma.c.s +.PHONY : gamma.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... gamma" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... gamma.o" + @echo "... gamma.i" + @echo "... gamma.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/glow/CMakeLists.txt b/src/filter/glow/CMakeLists.txt index 088c7dd..a1c0350 100644 --- a/src/filter/glow/CMakeLists.txt +++ b/src/filter/glow/CMakeLists.txt @@ -1,4 +1,4 @@ -set (SOURCES glow.c blur.h) +set (SOURCES glow.c) set (TARGET glow) if (MSVC) diff --git a/src/filter/glow/Makefile b/src/filter/glow/Makefile new file mode 100644 index 0000000..6aeb26f --- /dev/null +++ b/src/filter/glow/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/glow/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/glow/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/glow/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/glow/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/glow/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/glow/CMakeFiles/glow.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/glow/CMakeFiles/glow.dir/rule +.PHONY : src/filter/glow/CMakeFiles/glow.dir/rule + +# Convenience name for target. +glow: src/filter/glow/CMakeFiles/glow.dir/rule +.PHONY : glow + +# fast build rule for target. +glow/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/glow/CMakeFiles/glow.dir/build.make src/filter/glow/CMakeFiles/glow.dir/build +.PHONY : glow/fast + +glow.o: glow.c.o +.PHONY : glow.o + +# target to build an object file +glow.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/glow/CMakeFiles/glow.dir/build.make src/filter/glow/CMakeFiles/glow.dir/glow.c.o +.PHONY : glow.c.o + +glow.i: glow.c.i +.PHONY : glow.i + +# target to preprocess a source file +glow.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/glow/CMakeFiles/glow.dir/build.make src/filter/glow/CMakeFiles/glow.dir/glow.c.i +.PHONY : glow.c.i + +glow.s: glow.c.s +.PHONY : glow.s + +# target to generate assembly for a file +glow.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/glow/CMakeFiles/glow.dir/build.make src/filter/glow/CMakeFiles/glow.dir/glow.c.s +.PHONY : glow.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... glow" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... glow.o" + @echo "... glow.i" + @echo "... glow.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/glow/blur.h b/src/filter/glow/blur.h deleted file mode 100644 index 0c6e990..0000000 --- a/src/filter/glow/blur.h +++ /dev/null @@ -1,292 +0,0 @@ -/* squareblur.c - * Copyright (C) 2004--2005 Mathieu Guindon - * Julien Keable - * Jean-Sebastien Senecal (js@drone.ws) - * This file is a Frei0r plugin. - * - * Modified by Richard Spindler (richard.spindler AT gmail.com) for blurring in - * the mask0mate Frei0r plugin. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -#include "frei0r.h" - -#define SIZE_RGBA 4 - -static inline int MAX(int a, int b) -{ - return (a > b ? a : b); -} - -static inline int MIN(int a, int b) -{ - return (a < b ? a : b); -} - -static inline void subtract_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ -= *src++; -} - -static inline void add_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ += *src++; -} - -static inline void divide(unsigned char *dst, const uint32_t *src, const unsigned int val) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ = *src++ / val; -} - -typedef struct squareblur_instance -{ - unsigned int width; - unsigned int height; - double kernel; /* the kernel size, as a percentage of the biggest of width and height */ - uint32_t *mem; /* memory accumulation matrix of uint32_t (size = acc_width*acc_height*SIZE_RGBA) */ - uint32_t **acc; /* accumulation matrix of pointers to SIZE_RGBA consecutive uint32_t in mem (size = acc_width*acc_height) */ -} squareblur_instance_t; - -/* Updates the summed area table. */ -void update_summed_area_table(squareblur_instance_t *inst, const uint32_t *src) -{ - register unsigned char *iter_data; - register uint32_t *iter_mem; - register unsigned int i, x, y; - - uint32_t acc_buffer[SIZE_RGBA]; /* accumulation buffer */ - - unsigned int row_width; - unsigned int width, height; - unsigned int cell_size; - - /* Compute basic params. */ - width = inst->width+1; - height = inst->height+1; - row_width = SIZE_RGBA * width; - cell_size = SIZE_RGBA * sizeof(uint32_t); - - /* Init iterators. */ - iter_data = (unsigned char*) src; - iter_mem = inst->mem; - - /* Process first row (all zeros). */ - memset(iter_mem, 0, row_width * cell_size); - iter_mem += row_width; - - if (height >= 1) - { - /* Process second row. */ - memset(acc_buffer, 0, cell_size); - memset(iter_mem, 0, cell_size); /* first column is void */ - iter_mem += SIZE_RGBA; - for (x=1; xname = "Squareblur"; - squareblur_info->author = "Drone"; - squareblur_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; - squareblur_info->color_model = F0R_COLOR_MODEL_RGBA8888; - squareblur_info->frei0r_version = FREI0R_MAJOR_VERSION; - squareblur_info->major_version = 0; - squareblur_info->minor_version = 1; - squareblur_info->num_params = 1; - squareblur_info->explanation = "Variable-size square blur"; -} - -void blur_get_param_info(f0r_param_info_t* info, int param_index) -{ - switch(param_index) - { - case 0: - info->name = "Kernel size"; - info->type = F0R_PARAM_DOUBLE; - info->explanation = "The size of the kernel, as a proportion to its coverage of the image"; - break; - } -} - -f0r_instance_t blur_construct(unsigned int width, unsigned int height) -{ - squareblur_instance_t* inst = - (squareblur_instance_t*)malloc(sizeof(squareblur_instance_t)); - unsigned int i; - unsigned int acc_width, acc_height = height+1; - uint32_t* iter_mem; - uint32_t** iter_acc; - /* set params */ - inst->width = width; inst->height = height; - acc_width = width+1; acc_height = height+1; - inst->kernel = 0.0; - /* allocate memory for the summed-area-table */ - inst->mem = (uint32_t*) malloc(acc_width*acc_height*SIZE_RGBA*sizeof(uint32_t)); - inst->acc = (uint32_t**) malloc(acc_width*acc_height*sizeof(uint32_t*)); - /* point at the right place */ - iter_mem = inst->mem; - iter_acc = inst->acc; - for (i=0; iacc); - free(inst->mem); - free(instance); -} - -void blur_set_param_value(f0r_instance_t instance, - f0r_param_t param, int param_index) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - /* kernel size */ - inst->kernel = *((double*)param); - break; - } -} - -void blur_get_param_value(f0r_instance_t instance, - f0r_param_t param, int param_index) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - *((double*)param) = inst->kernel; - break; - } -} - -void blur_update(f0r_instance_t instance, double time, - const uint32_t* inframe, uint32_t* outframe) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - unsigned int width = inst->width; - unsigned int height = inst->height; - unsigned int acc_width = width+1; /* width of the summed area table */ - - unsigned int kernel_size = (unsigned int) (inst->kernel * (MAX(width, height) / 2.0)); - - unsigned int x, y; - unsigned int x0, x1, y0, y1; - unsigned int area; - - if (kernel_size <= 0) - { - /* No blur, just copy image. */ - memcpy(outframe, inframe, width*height*sizeof(uint32_t)); - } - else - { - assert(inst->acc); - unsigned char* dst = (unsigned char*)outframe; - uint32_t** acc = inst->acc; - uint32_t sum[SIZE_RGBA]; - unsigned int y0_offset, y1_offset; - - /* Compute the summed area table. */ - update_summed_area_table(inst, inframe); - - /* Loop through the image's pixels. */ - for (y=0;ysvalue = (char*)realloc( inst->svalue, strlen(sval) + 1 ); strcpy( inst->svalue, sval ); break; diff --git a/src/filter/hueshift0r/Makefile b/src/filter/hueshift0r/Makefile new file mode 100644 index 0000000..c9274d2 --- /dev/null +++ b/src/filter/hueshift0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/hueshift0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/hueshift0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/hueshift0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/hueshift0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/hueshift0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/rule +.PHONY : src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/rule + +# Convenience name for target. +hueshift0r: src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/rule +.PHONY : hueshift0r + +# fast build rule for target. +hueshift0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/build.make src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/build +.PHONY : hueshift0r/fast + +hueshift0r.o: hueshift0r.c.o +.PHONY : hueshift0r.o + +# target to build an object file +hueshift0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/build.make src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/hueshift0r.c.o +.PHONY : hueshift0r.c.o + +hueshift0r.i: hueshift0r.c.i +.PHONY : hueshift0r.i + +# target to preprocess a source file +hueshift0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/build.make src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/hueshift0r.c.i +.PHONY : hueshift0r.c.i + +hueshift0r.s: hueshift0r.c.s +.PHONY : hueshift0r.s + +# target to generate assembly for a file +hueshift0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/build.make src/filter/hueshift0r/CMakeFiles/hueshift0r.dir/hueshift0r.c.s +.PHONY : hueshift0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... hueshift0r" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... hueshift0r.o" + @echo "... hueshift0r.i" + @echo "... hueshift0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/hueshift0r/hueshift0r.c b/src/filter/hueshift0r/hueshift0r.c index fed3944..e3a88ba 100644 --- a/src/filter/hueshift0r/hueshift0r.c +++ b/src/filter/hueshift0r/hueshift0r.c @@ -59,7 +59,7 @@ info->color_model = F0R_COLOR_MODEL_RGBA8888; info->frei0r_version = FREI0R_MAJOR_VERSION; info->major_version = 0; - info->minor_version = 2; + info->minor_version = 3; info->num_params = 1; info->explanation = "Shifts the hue of a source image"; } diff --git a/src/filter/hueshift0r/matrix.h b/src/filter/hueshift0r/matrix.h index 892d0f9..10092aa 100644 --- a/src/filter/hueshift0r/matrix.h +++ b/src/filter/hueshift0r/matrix.h @@ -10,9 +10,17 @@ #include #include +/* +//Adobe ?? luma coeffs #define RLUM (0.3086) #define GLUM (0.6094) #define BLUM (0.0820) +*/ + +//ITU_R BT 709 luma coeffs +#define RLUM (0.2126) +#define GLUM (0.7152) +#define BLUM (0.0722) #define OFFSET_R 0 #define OFFSET_G 1 diff --git a/src/filter/invert0r/Makefile b/src/filter/invert0r/Makefile new file mode 100644 index 0000000..8170108 --- /dev/null +++ b/src/filter/invert0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/invert0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/invert0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/invert0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/invert0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/invert0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/invert0r/CMakeFiles/invert0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/invert0r/CMakeFiles/invert0r.dir/rule +.PHONY : src/filter/invert0r/CMakeFiles/invert0r.dir/rule + +# Convenience name for target. +invert0r: src/filter/invert0r/CMakeFiles/invert0r.dir/rule +.PHONY : invert0r + +# fast build rule for target. +invert0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/invert0r/CMakeFiles/invert0r.dir/build.make src/filter/invert0r/CMakeFiles/invert0r.dir/build +.PHONY : invert0r/fast + +invert0r.o: invert0r.c.o +.PHONY : invert0r.o + +# target to build an object file +invert0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/invert0r/CMakeFiles/invert0r.dir/build.make src/filter/invert0r/CMakeFiles/invert0r.dir/invert0r.c.o +.PHONY : invert0r.c.o + +invert0r.i: invert0r.c.i +.PHONY : invert0r.i + +# target to preprocess a source file +invert0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/invert0r/CMakeFiles/invert0r.dir/build.make src/filter/invert0r/CMakeFiles/invert0r.dir/invert0r.c.i +.PHONY : invert0r.c.i + +invert0r.s: invert0r.c.s +.PHONY : invert0r.s + +# target to generate assembly for a file +invert0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/invert0r/CMakeFiles/invert0r.dir/build.make src/filter/invert0r/CMakeFiles/invert0r.dir/invert0r.c.s +.PHONY : invert0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... invert0r" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... invert0r.o" + @echo "... invert0r.i" + @echo "... invert0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/keyspillm0pup/CMakeLists.txt b/src/filter/keyspillm0pup/CMakeLists.txt new file mode 100644 index 0000000..5e5bc80 --- /dev/null +++ b/src/filter/keyspillm0pup/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES keyspillm0pup.c) +set (TARGET keyspillm0pup) + +if (MSVC) + set_source_files_properties (keyspillm0pup.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/keyspillm0pup/Makefile b/src/filter/keyspillm0pup/Makefile new file mode 100644 index 0000000..e185f82 --- /dev/null +++ b/src/filter/keyspillm0pup/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/keyspillm0pup/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/keyspillm0pup/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/keyspillm0pup/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/keyspillm0pup/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/keyspillm0pup/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/rule +.PHONY : src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/rule + +# Convenience name for target. +keyspillm0pup: src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/rule +.PHONY : keyspillm0pup + +# fast build rule for target. +keyspillm0pup/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/build.make src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/build +.PHONY : keyspillm0pup/fast + +keyspillm0pup.o: keyspillm0pup.c.o +.PHONY : keyspillm0pup.o + +# target to build an object file +keyspillm0pup.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/build.make src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/keyspillm0pup.c.o +.PHONY : keyspillm0pup.c.o + +keyspillm0pup.i: keyspillm0pup.c.i +.PHONY : keyspillm0pup.i + +# target to preprocess a source file +keyspillm0pup.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/build.make src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/keyspillm0pup.c.i +.PHONY : keyspillm0pup.c.i + +keyspillm0pup.s: keyspillm0pup.c.s +.PHONY : keyspillm0pup.s + +# target to generate assembly for a file +keyspillm0pup.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/build.make src/filter/keyspillm0pup/CMakeFiles/keyspillm0pup.dir/keyspillm0pup.c.s +.PHONY : keyspillm0pup.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... keyspillm0pup" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... keyspillm0pup.o" + @echo "... keyspillm0pup.i" + @echo "... keyspillm0pup.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/keyspillm0pup/keyspillm0pup.c b/src/filter/keyspillm0pup/keyspillm0pup.c new file mode 100644 index 0000000..c1b02f9 --- /dev/null +++ b/src/filter/keyspillm0pup/keyspillm0pup.c @@ -0,0 +1,1125 @@ +/* +keyspillm0pup.c + +This Frei0r plugin cleans key color residue from composited video + +Version 0.1 mar 2012 + +Copyright (C) 2012 Marko Cebokli http://lea.hamradio.si/~s57uuu + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +//Version 0.2 + +//compile: gcc -c -fPIC -Wall keyspillm0pup.c -o keyspillm0pup.o +//link: gcc -shared -o keyspillm0pup.so keyspillm0pup.o + +//******************************************************************* + +#include +#include +#include +#include +#include +#include +#include + +double PI=3.14159265358979; + +typedef struct + { + float r; + float g; + float b; + float a; + } float_rgba; + +//---------------------------------------------------- +void RGBA8888_2_float(const uint32_t* in, float_rgba *out, int w, int h) +{ +uint8_t *cin; +int i; +float f1; + +cin=(uint8_t *)in; +f1=1.0/255.0; +for (i=0;i1.0) s[i].r=1.0; + if (s[i].g>1.0) s[i].g=1.0; + if (s[i].b>1.0) s[i].b=1.0; + } +} + +//------------------------------------------------- +//premakne barvo proti target +//sorazmerno maski +//*mask=float maska [0...1] +//k=key +//am=amount [0...1] +void clean_tgt_m(float_rgba *s, int w, int h, float_rgba k, float *mask, float am, float_rgba tgt) +{ +int i; +float a,aa,min; + +min=0.5; //min aa = max color change + +for (i=0;i1.0) s[i].r=1.0; + if (s[i].g>1.0) s[i].g=1.0; + if (s[i].b>1.0) s[i].b=1.0; + } +} + +//---------------------------------------------------------- +//desaturate colors according to mask +void desat_m(float_rgba *s, int w, int h, float *mask, float des, int cm) +{ +float a,y,cr,cb,kr,kg,kb,ikg; +int i; +float ds; + +cocos(cm,&kr,&kg,&kb); +ikg=1.0/kg; + +for (i=0;i1.0) s[i].r=1.0; + if (s[i].g>1.0) s[i].g=1.0; + if (s[i].b>1.0) s[i].b=1.0; + } +} + +//---------------------------------------------------------- +//adjust luma according to mask +void luma_m(float_rgba *s, int w, int h, float *mask, float lad, int cm) +{ +float a,m,mm,y,cr,cb,kr,kg,kb,ikg; +int i; + +cocos(cm,&kr,&kg,&kb); +ikg=1.0/kg; +m=2.0*lad; + +for (i=0;i=1.0) y=mm-1.0+y*(2.0-mm); else y=mm*y; +//back to RGB + s[i].r=cr+y; + s[i].b=cb+y; + s[i].g=(y-kr*s[i].r-kb*s[i].b)*ikg; + + if (s[i].r<0.0) s[i].r=0.0; + if (s[i].g<0.0) s[i].g=0.0; + if (s[i].b<0.0) s[i].b=0.0; + if (s[i].r>1.0) s[i].r=1.0; + if (s[i].g>1.0) s[i].g=1.0; + if (s[i].b>1.0) s[i].b=1.0; + } +} + +//--------------------------------------------------------- +//do the blur for edge mask +//This is the fibe1o_8 function from the IIRblur plugin +//converted to scalar float (for planar color) +// 1-tap IIR v 4 smereh +//optimized for speed +//loops rearanged for more locality (better cache hit ratio) +//outer (vertical) loop 2x unroll to break dependency chain +//simplified indexes +void fibe1o_f(float *s, int w, int h, float a, int ec) +{ +int i,j; +float b,g,g4,avg,avg1,cr,g4a,g4b; +int p,pw,pj,pwj,pww,pmw; + +avg=8; //koliko vzorcev za povprecje pri edge comp +avg1=1.0/avg; + +g=1.0/(1.0-a); +g4=1.0/g/g/g/g; + +//predpostavimo, da je "zunaj" crnina (nicle) +b=1.0/(1.0-a)/(1.0+a); + +//prvih avg vrstic +for (i=0;i=0;j--) //nazaj + s[p+j]=a*s[p+j+1]+s[p+j]; + } + +//prvih avg vrstic samo navzdol (nazaj so ze) +for (i=0;i=1;j--) //nazaj + { + pj=p+j;pwj=pw+j; + s[pj-1]=a*s[pj]+s[pj-1]; + s[pwj]=a*s[pwj+1]+s[pwj]; +//zdaj naredi se en piksel vertikalno dol, za vse stolpce +//dva nazaj, da ne vpliva na H nazaj + s[pj]=s[pj]+a*s[pmw+j]; + s[pwj+1]=s[pwj+1]+a*s[pj+1]; + } +//konec levo + s[pw]=s[pw]+a*s[pw+1]; //nazaj + s[p]=s[p]+a*s[pmw]; //dol + s[pw+1]=s[pw+1]+a*s[p+1]; //dol + s[pw]=s[pw]+a*s[p]; //dol + } + +//ce je sodo stevilo vrstic, moras zadnjo posebej +if (i!=h) + { + p=i*w; pw=p+w; + for (j=1;j=0;j--) //nazaj in dol + { + s[p+j]=a*s[p+j+1]+s[p+j]; +//zdaj naredi se en piksel vertikalno dol, za vse stolpce +//dva nazaj, da ne vpliva na H nazaj + s[p+j+1]=s[p+j+1]+a*s[p-w+j+1]; + } +//levi piksel vert + s[p]=s[p]+a*s[p-w]; + } + +//zadnja vrstica (h-1) +g4b=g4*b; +g4a=g4/(1.0-a); +p=(h-1)*w; +if (ec!=0) + { + for (i=0;i=0;i--) //po vrsticah navzgor + { + p=i*w; pw=p+w; + for (j=0;j0.005) +void rgb_mask(float_rgba *s, int w, int h, float *mask, float_rgba k, float t, float p, int fo) +{ +int i; +float dr,dg,db,d,ip,tr,a,de; + +ip = (p>0.000001) ? 1.0/p : 1000000.0; +tr=1.0/3.0; +for (i=0;i(t+p)) + a=1.0; //notranjost (alfa=1) + else + a=(d-t)*ip; + if (d0.005) +void hue_mask(float_rgba *s, int w, int h, float *mask, float_rgba k, float t, float p, int fo) +{ +int i; +float d,ip,tr,a; +float ka,k32,kh,kbb,ipi,b,hh; +float sa; + +k32=sqrtf(3.0)/2.0; +ipi=1.0/PI; +ka=k.r-0.5*k.g-0.5*k.b; +kbb=k32*(k.g-k.b); +kh=atan2f(kbb,ka)*ipi; // [-1...+1] +sa=0.0; //da compiler ne jamra +//printf("color mask, key hue = %6.3f\n",kh); +//printf("color mask, key = %6.3f %6.3f %6.3f\n",k.r, k.g, k.b); +//printf("color mask, key a.b = %6.3f %6.3f\n",ka,kbb); + +ip = (p>0.000001) ? 1.0/p : 1000000.0; +tr=1.0/3.0; +for (i=0;ikh) ? hh-kh : kh-hh; // [0...2] + d = (d>1.0) ? 2.0-d : d; // [0...1] cir +// sa=hypotf(b,a)/(s[i].r+s[i].g+s[i].b+1.0E-6)*3.0; + + if (d>(t+p)) + a=1.0; //notranjost (alfa=1) + else + a=(d-t)*ip; + if (d0.996) mask[i]=1.0; else mask[i]=0.0; + +//blur mask +a=expf(logf(lim)/wd); +fibe1o_f(mask, w, h, a, 1); + +//select edge +if (io==-1) //inside + for (i=0;i0.5) mask[i]=2.0*(1.0-mask[i]); else mask[i]=0.0; //inside only + if (mask[i]0.004)) + mask[i]=1.0-ia*s[i].a; + else + mask[i]=0.0; +} + +//------------------------------------------------ +//gate the mask based on similarity of hue to key +void hue_gate(float_rgba *s, int w, int h, float *mask, float_rgba k, float t, float p) +{ +float k32,ka,kb,kh,ipi2,a,b,hh,d,aa,ip; +int i; + +k32=sqrtf(3.0)/2.0; +ipi2=0.5/PI; +ip = (p>0.000001) ? 1.0/p : 1000000.0; + +ka=k.r-0.5*k.g-0.5*k.b; +kb=k32*(k.g-k.b); +kh=atan2f(kb,ka)*ipi2; // +- 1.0 + +for (i=0;ikh) ? hh-kh : kh-hh; // [0...2] + d = (d>1.0) ? 2.0-d : d; + + if (d>(t+p)) {mask[i]=0.0; continue;} + if (d0.000001) ? 1.0/p : 1000000.0; + +for (i=0;it2) continue; + if (saname="keyspillm0pup"; +info->author="Marko Cebokli"; +info->plugin_type=F0R_PLUGIN_TYPE_FILTER; +info->color_model=F0R_COLOR_MODEL_RGBA8888; +info->frei0r_version=FREI0R_MAJOR_VERSION; +info->major_version=0; +info->minor_version=2; +info->num_params=13; +info->explanation="Reduces the visibility of key color spill in chroma keying"; +} + +//-------------------------------------------------- +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ +switch(param_index) + { + case 0: + info->name = "Key color"; + info->type = F0R_PARAM_COLOR; + info->explanation = "Key color that was used for chroma keying"; + break; + case 1: + info->name = "Target color"; + info->type = F0R_PARAM_COLOR; + info->explanation = "Desired color to replace key residue with"; + break; + case 2: + info->name = "Mask type"; + info->type = F0R_PARAM_STRING; + info->explanation = "Which mask to apply [0,1,2,3]"; + break; + case 3: + info->name = "Tolerance"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Range of colors around the key, where effect is full strength"; + break; + case 4: + info->name = "Slope"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Range of colors around the key where effect gradually decreases"; + break; + case 5: + info->name = "Hue gate"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Restrict mask to hues close to key"; + break; + case 6: + info->name = "Saturation threshold"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Restrict mask to saturated colors"; + break; + case 7: + info->name = "Operation 1"; + info->type = F0R_PARAM_STRING; + info->explanation = "First operation 1 [0,1,2]"; + break; + case 8: + info->name = "Amount 1"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = ""; + break; + case 9: + info->name = "Operation 2"; + info->type = F0R_PARAM_STRING; + info->explanation = "Second operation 2 [0,1,2]"; + break; + case 10: + info->name = "Amount 2"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = ""; + break; + case 11: + info->name = "Show mask"; + info->type = F0R_PARAM_BOOL; + info->explanation = "Replace image with the mask"; + break; + case 12: + info->name = "Mask to Alpha"; + info->type = F0R_PARAM_BOOL; + info->explanation = "Replace alpha channel with the mask"; + break; + } +} + +//---------------------------------------------- +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ +inst *in; + +in=calloc(1,sizeof(inst)); +in->w=width; +in->h=height; + +in->sl=calloc(in->w*in->h,sizeof(float_rgba)); +in->mask=calloc(in->w*in->h,sizeof(float)); + +//defaults +in->key.r = 0.1; +in->key.g = 0.8; +in->key.b = 0.1; +in->tgt.r = 0.78; +in->tgt.g = 0.5; +in->tgt.b = 0.4; +in->maskType=0; +in->tol=0.12; +in->slope=0.2; +in->Hgate=0.25; +in->Sthresh=0.15; +in->op1=1; +in->am1=0.55; +in->op2=0; +in->am2=0.0; +in->showmask=0; +in->m2a=0; +in->fo=1; +in->cm=1; + +const char* sval = "0"; +in->liststr = (char*)malloc( strlen(sval) + 1 ); +strcpy( in->liststr, sval ); + +return (f0r_instance_t)in; +} + +//--------------------------------------------------- +void f0r_destruct(f0r_instance_t instance) +{ +inst *in; + +in=(inst*)instance; + +free(in->sl); +free(in->mask); +free(in->liststr); +free(instance); +} + +//----------------------------------------------------- +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t parm, int param_index) +{ +inst *p; +double tmpf; +int chg,tmpi,nc; +f0r_param_color_t tmpc; +char *tmpch; + +p=(inst*)instance; + +chg=0; +switch(param_index) + { + case 0: //key color + tmpc=*(f0r_param_color_t*)parm; + if ((tmpc.r!=p->key.r) || (tmpc.g!=p->key.g) || (tmpc.b!=p->key.b)) + chg=1; + p->key=tmpc; + p->krgb.r=p->key.r; + p->krgb.g=p->key.g; + p->krgb.b=p->key.b; + break; + case 1: //target color + tmpc=*(f0r_param_color_t*)parm; + if ((tmpc.r!=p->tgt.r) || (tmpc.g!=p->tgt.g) || (tmpc.b!=p->tgt.b)) + chg=1; + p->tgt=tmpc; + p->trgb.r=p->tgt.r; + p->trgb.g=p->tgt.g; + p->trgb.b=p->tgt.b; + break; + case 2: //Mask type (list) + tmpch = (*(char**)parm); + p->liststr = (char*)realloc( p->liststr, strlen(tmpch) + 1 ); + strcpy( p->liststr, tmpch ); + nc=sscanf(p->liststr,"%d",&tmpi); +// if ((nc<=0)||(tmpi<0)||(tmpi>3)) tmpi=1; + if ((nc<=0)||(tmpi<0)||(tmpi>3)) break; + if (p->maskType != tmpi) chg=1; + p->maskType = tmpi; + break; + case 3: //tolerance + tmpf=map_value_forward(*((double*)parm), 0.0, 0.5); + if (p->tol != tmpf) chg=1; + p->tol = tmpf; + break; + case 4: //slope + tmpf=map_value_forward(*((double*)parm), 0.0, 0.5); + if (p->slope != tmpf) chg=1; + p->slope = tmpf; + break; + case 5: //Hue gate + tmpf=*(double*)parm; + if (tmpf!=p->Hgate) chg=1; + p->Hgate=tmpf; + break; + case 6: //Saturation threshold + tmpf=*(double*)parm; + if (tmpf!=p->Sthresh) chg=1; + p->Sthresh=tmpf; + break; + case 7: //Operation 1 (list) + tmpch = (*(char**)parm); + p->liststr = (char*)realloc( p->liststr, strlen(tmpch) + 1 ); + strcpy( p->liststr, tmpch ); + nc=sscanf(p->liststr,"%d",&tmpi); +// if ((nc<=0)||(tmpi<0)||(tmpi>4)) tmpi=0; + if ((nc<=0)||(tmpi<0)||(tmpi>4)) break; + if (p->op1 != tmpi) chg=1; + p->op1 = tmpi; + break; + case 8: //Amount 1 + tmpf=*(double*)parm; + if (tmpf!=p->am1) chg=1; + p->am1=tmpf; + break; + case 9: //Operation 2 (list) + tmpch = (*(char**)parm); + p->liststr = (char*)realloc( p->liststr, strlen(tmpch) + 1 ); + strcpy( p->liststr, tmpch ); + nc=sscanf(p->liststr,"%d",&tmpi); +// if ((nc<=0)||(tmpi<0)||(tmpi>4)) tmpi=0; + if ((nc<=0)||(tmpi<0)||(tmpi>4)) break; + if (p->op2 != tmpi) chg=1; + p->op2 = tmpi; + break; + case 10: //Amount 2 + tmpf=*(double*)parm; + if (p->am2 != tmpf) chg=1; + p->am2 = tmpf; + break; + case 11: //Show mask (bool) + tmpf=*(double*)parm; + tmpi=roundf(tmpf); + if (tmpi!=p->showmask) chg=1; + p->showmask=tmpi; + break; + case 12: //Mask to Alpha (bool) + tmpf=*(double*)parm; + tmpi=roundf(tmpf); + if (tmpi!=p->m2a) chg=1; + p->m2a=tmpi; + break; + } + +if (chg==0) return; + +} + +//-------------------------------------------------- +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ +inst *p; + +p=(inst*)instance; + +switch(param_index) + { + case 0: //key color + *((f0r_param_color_t*)param)=p->key; + break; + case 1: //target color + *((f0r_param_color_t*)param)=p->tgt; + break; + case 2: //Mask type (list) + p->liststr=realloc(p->liststr,16); + sprintf(p->liststr,"%d",p->maskType); + *((char**)param) = p->liststr; + break; + case 3: //tolerance + *((double*)param)=map_value_backward(p->tol, 0.0, 0.5); + break; + case 4: //slope + *((double*)param)=map_value_backward(p->slope, 0.0, 0.5); + break; + case 5: //Hue gate + *((double*)param)=p->Hgate; + break; + case 6: //Saturation threshold + *((double*)param)=p->Sthresh; + break; + case 7: //Operation 1 (list) + p->liststr=realloc(p->liststr,16); + sprintf(p->liststr,"%d",p->op1); + *((char**)param) = p->liststr; + break; + case 8: //Amount 1 + *((double*)param)=p->am1; + break; + case 9: //Operation 2 (list) + p->liststr=realloc(p->liststr,16); + sprintf(p->liststr,"%d",p->op2); + *((char**)param) = p->liststr; + break; + case 10: //Amount 2 + *((double*)param)=p->am2; + break; + case 11: //Show mask (bool) + *((double*)param)=(double)p->showmask; + break; + case 12: //Mask 2 Alpha (bool) + *((double*)param)=(double)p->m2a; + break; + } +} + +//============================================================== +void f0r_update(f0r_instance_t instance, double time, const uint32_t* inframe, uint32_t* outframe) +{ +inst *in; + +assert(instance); +in=(inst*)instance; + +RGBA8888_2_float(inframe, in->sl, in->w, in->h); + +switch(in->maskType) //GENERATE MASK + { + case 0: //Color distance based mask + { + rgb_mask(in->sl, in->w, in->h, in->mask, in->krgb, in->tol, in->slope, in->fo); + break; + } + case 1: //Transparency based mask + { + trans_mask(in->sl, in->w, in->h, in->mask, in->tol); + break; + } + case 2: //Edge based mask inwards + { + edge_mask(in->sl, in->w, in->h, in->mask, in->tol*200.0, -1); + break; + } + case 3: //Edge based mask outwards + { + edge_mask(in->sl, in->w, in->h, in->mask, in->tol*200.0, 1); + break; + } + } + +hue_gate(in->sl, in->w, in->h, in->mask, in->krgb, in->Hgate, 0.5*in->Hgate); +sat_thres(in->sl, in->w, in->h, in->mask, in->Sthresh); + +switch(in->op1) //OPERATION 1 + { + case 0: break; + case 1: //De-Key + { + clean_rad_m(in->sl, in->w, in->h, in->krgb, in->mask, in->am1); + break; + } + case 2: //Target + { + clean_tgt_m(in->sl, in->w, in->h, in->krgb, in->mask, in->am1, in->trgb); + break; + } + case 3: //Desaturate + { + desat_m(in->sl, in->w, in->h, in->mask, in->am1, in->cm); + break; + } + case 4: //Luma adjust + { + luma_m(in->sl, in->w, in->h, in->mask, in->am1, in->cm); + break; + } + } + +switch(in->op2) //OPERATION 2 + { + case 0: break; + case 1: //De-Key + { + clean_rad_m(in->sl, in->w, in->h, in->krgb, in->mask, in->am2); + break; + } + case 2: //Target + { + clean_tgt_m(in->sl, in->w, in->h, in->krgb, in->mask, in->am2, in->trgb); + break; + } + case 3: //Desaturate + { + desat_m(in->sl, in->w, in->h, in->mask, in->am2, in->cm); + break; + } + case 4: //Luma adjust + { + luma_m(in->sl, in->w, in->h, in->mask, in->am2, in->cm); + break; + } + } + +if (in->showmask) //REPLACE IMAGE WITH THE MASK + { + copy_mask_i(in->sl, in->w, in->h, in->mask); + } + +if (in->m2a) //REPLACE ALPHA WITH THE MASK + { + copy_mask_a(in->sl, in->w, in->h, in->mask); + } + + +float_2_RGBA8888(in->sl, outframe, in->w, in->h); +} \ No newline at end of file diff --git a/src/filter/keyspillm0pup/readme b/src/filter/keyspillm0pup/readme new file mode 100755 index 0000000..8ac3ea2 --- /dev/null +++ b/src/filter/keyspillm0pup/readme @@ -0,0 +1,131 @@ +keyspillm0pup + +This plugin removes the residual key color fringing, which can +remain after chroma key compositing. + + +Written by Marko Cebokli, apr 2012, and released under GNU GPL + + +RELEASE NOTES + +** apr 2012 +Version 0.1 +"pre-alpha" (throw it out and see what happens... :-) + + + +DESCRIPTION + +After some experimentation with chroma keying, it looked to me that +there is no single method of key cleaning, that works in all +situations, like keyspill on bright, keyspill on dark, etc. +So I included several cleaning options, which can be used alone +or in combination. +In short, it offers three ways of pixel selection (masking), that +can be combined with four types of color changing operations. +The three selection / masking modes are based on +- similarity to key color +- transparency +- closeness to the edge +and the four things that can be done to the selected pixels are +- move away from the key color (De-Key) +- move towards an target color (Target) +- desaturate +- luma (brightness) adjust. + + +MASKS + +Color difference masks are based on the color of the image, and do +not depend on the alpha from the preceding keying, except for +ignoring the 100% transparent areas, to increase speed. + +Transparency and Edge masks are based on the alpha channel from the +preceding keying operation. +Transparency masks will affect only the parts that are neither 100% +opaque nor 100% transparent, based on the alpha values from the +preceding keying operation. The effect will be proportional to the +transparency. +NOTE: if a "hard key" was used in the preceding keying, there will be +no areas that T operations could affect. +Edge maskss will affect only pixels close to the edge, with the effect +diminishing away from the edge. The outer edge is the edge of the +fully opaque part, where the alpha from the preceding keying +is 1.0 (255). +NOTE: the edge masking algorithm is not yet what I would like it +to be. I will have to look some more into this, and improve it, so +consider it a "temporary solution" that will change in the future. + +All masks can be further pruned with two parameters: an "hue gate", +which will limit the mask to hues close to the key hue, and an +"saturation threshold", which will limit the mask to areas with +color saturation above a threshold. + + +CASCADING + +This plugin can be cascaded, but it is not possible to get the same +color based mask in the second instance, because the colors will be +changed by the first instance. To enable two operations with the +same mask, each plugin instance can do two opertions. +With transparency and edge masks, cascading is a bit easier. +If the hue gate and saturation threshold are not used, transparency +and edge masks can be exactly the same in cascaded plugins. + + +PARAMETERS: + +Key color: +This should be the same or similar to the key color used for the +preceding keying operation. + +Target color: +This is only used when "Target" operation is used with one of the +masks. The colors in the affected areas will be moved towards this +color, according to the "Amount" parameter. + +Mask type: +Selects the type of mask that will determine where the color +altering operations will occur. + +Tolerance: +For the color difference mask, the range of colors around the key, +that will be 100% affected. +For the transparency mask, the "amplification". +For the edge mask, the width of the affected area. + +Slope: +For the color difference mask, the range of colors outside of +"Tolerance", that will be gradually less affected. +No function for the transparency and edge masks. + +Hue gate: +Reduces the mask according to difference from key hue, to prevent +change to pixels that are within the mask, but not polluted by key. + +Saturation threshold: +Reduces the mask according to color saturation, to avoid affecting +the neutral areas. + +Operation 1: +Selects which of the four possible operations will be done on the +mask-selected pixels. Apart from no operation, there are four +possibilities: De-key, Target, De-saturate and Luma adjust. + +Amount 1: +The amount of the selected operation 1, how much the colors will +change. + +Operation 2, Amount 2: +Enable a second operation to be performed with the same mask. + +Show mask: +This will show the selected mask as a greyscale image, to help with +fine tuning of the masks. Shoud be OFF for the final render. + +Mask to Alpha: +Copies the active mask to the alpha channel. +For all normal spill cleaning operations, this should be OFF. +By seting it ON, the keyspillm0pup itself can be used as a keyer, +or to generate some special effects. diff --git a/src/filter/lenscorrection/Makefile b/src/filter/lenscorrection/Makefile new file mode 100644 index 0000000..f0ab920 --- /dev/null +++ b/src/filter/lenscorrection/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/lenscorrection/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lenscorrection/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lenscorrection/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lenscorrection/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lenscorrection/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/rule +.PHONY : src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/rule + +# Convenience name for target. +lenscorrection: src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/rule +.PHONY : lenscorrection + +# fast build rule for target. +lenscorrection/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/build.make src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/build +.PHONY : lenscorrection/fast + +lenscorrection.o: lenscorrection.c.o +.PHONY : lenscorrection.o + +# target to build an object file +lenscorrection.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/build.make src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/lenscorrection.c.o +.PHONY : lenscorrection.c.o + +lenscorrection.i: lenscorrection.c.i +.PHONY : lenscorrection.i + +# target to preprocess a source file +lenscorrection.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/build.make src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/lenscorrection.c.i +.PHONY : lenscorrection.c.i + +lenscorrection.s: lenscorrection.c.s +.PHONY : lenscorrection.s + +# target to generate assembly for a file +lenscorrection.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/build.make src/filter/lenscorrection/CMakeFiles/lenscorrection.dir/lenscorrection.c.s +.PHONY : lenscorrection.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... lenscorrection" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... lenscorrection.o" + @echo "... lenscorrection.i" + @echo "... lenscorrection.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/letterb0xed/Makefile b/src/filter/letterb0xed/Makefile new file mode 100644 index 0000000..e676e3a --- /dev/null +++ b/src/filter/letterb0xed/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/letterb0xed/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/letterb0xed/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/letterb0xed/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/letterb0xed/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/letterb0xed/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/rule +.PHONY : src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/rule + +# Convenience name for target. +letterb0xed: src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/rule +.PHONY : letterb0xed + +# fast build rule for target. +letterb0xed/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/build.make src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/build +.PHONY : letterb0xed/fast + +letterb0xed.o: letterb0xed.c.o +.PHONY : letterb0xed.o + +# target to build an object file +letterb0xed.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/build.make src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/letterb0xed.c.o +.PHONY : letterb0xed.c.o + +letterb0xed.i: letterb0xed.c.i +.PHONY : letterb0xed.i + +# target to preprocess a source file +letterb0xed.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/build.make src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/letterb0xed.c.i +.PHONY : letterb0xed.c.i + +letterb0xed.s: letterb0xed.c.s +.PHONY : letterb0xed.s + +# target to generate assembly for a file +letterb0xed.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/build.make src/filter/letterb0xed/CMakeFiles/letterb0xed.dir/letterb0xed.c.s +.PHONY : letterb0xed.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... letterb0xed" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... letterb0xed.o" + @echo "... letterb0xed.i" + @echo "... letterb0xed.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/levels/Makefile b/src/filter/levels/Makefile new file mode 100644 index 0000000..c0029e6 --- /dev/null +++ b/src/filter/levels/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/levels/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/levels/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/levels/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/levels/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/levels/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/levels/CMakeFiles/levels.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/levels/CMakeFiles/levels.dir/rule +.PHONY : src/filter/levels/CMakeFiles/levels.dir/rule + +# Convenience name for target. +levels: src/filter/levels/CMakeFiles/levels.dir/rule +.PHONY : levels + +# fast build rule for target. +levels/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/levels/CMakeFiles/levels.dir/build.make src/filter/levels/CMakeFiles/levels.dir/build +.PHONY : levels/fast + +levels.o: levels.c.o +.PHONY : levels.o + +# target to build an object file +levels.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/levels/CMakeFiles/levels.dir/build.make src/filter/levels/CMakeFiles/levels.dir/levels.c.o +.PHONY : levels.c.o + +levels.i: levels.c.i +.PHONY : levels.i + +# target to preprocess a source file +levels.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/levels/CMakeFiles/levels.dir/build.make src/filter/levels/CMakeFiles/levels.dir/levels.c.i +.PHONY : levels.c.i + +levels.s: levels.c.s +.PHONY : levels.s + +# target to generate assembly for a file +levels.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/levels/CMakeFiles/levels.dir/build.make src/filter/levels/CMakeFiles/levels.dir/levels.c.s +.PHONY : levels.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... levels" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... levels.o" + @echo "... levels.i" + @echo "... levels.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/levels/levels.c b/src/filter/levels/levels.c index 5bfc83e..f5d93dc 100644 --- a/src/filter/levels/levels.c +++ b/src/filter/levels/levels.c @@ -64,7 +64,7 @@ levels_instance_t->color_model = F0R_COLOR_MODEL_RGBA8888; levels_instance_t->frei0r_version = FREI0R_MAJOR_VERSION; levels_instance_t->major_version = 0; - levels_instance_t->minor_version = 1; + levels_instance_t->minor_version = 3; levels_instance_t->num_params = 8; levels_instance_t->explanation = "Adjust luminance or color channel intensity"; } @@ -104,7 +104,7 @@ info->explanation = "White output"; break; case 6: - info->name = "Show histogram"; + info->name = "Show histogram"; info->type = F0R_PARAM_BOOL; info->explanation = "Show histogram"; break; @@ -145,7 +145,7 @@ switch(param_index) { case 0: - inst->channel = *((f0r_param_double *)param); + inst->channel = floor(*((f0r_param_double *)param) * 10); break; case 1: inst->inputMin = *((f0r_param_double *)param); @@ -166,7 +166,7 @@ inst->showHistogram = *((f0r_param_bool *)param); break; case 7: - inst->histogramPosition = *((f0r_param_double *)param); + inst->histogramPosition = floor(*((f0r_param_double *)param) * 10); break; } } @@ -180,7 +180,7 @@ switch(param_index) { case 0: - *((f0r_param_double *)param) = inst->channel; + *((f0r_param_double *)param) = inst->channel / 10.; break; case 1: *((f0r_param_double *)param) = inst->inputMin; @@ -201,7 +201,7 @@ *((f0r_param_bool *)param) = inst->showHistogram; break; case 7: - *((f0r_param_double *)param) = inst->histogramPosition; + *((f0r_param_double *)param) = inst->histogramPosition / 10.; break; } } @@ -216,22 +216,22 @@ unsigned char* dst = (unsigned char*)outframe; const unsigned char* src = (unsigned char*)inframe; - int b, g, r; - int luma; + int r, g, b; double levels[256]; - int map[256]; - double mapLuma[256]; + unsigned int map[256]; double inScale = inst->inputMax != inst->inputMin?inst->inputMax - inst->inputMin:1; double exp = inst->gamma == 0?1:1/inst->gamma; double outScale = inst->outputMax - inst->outputMin; for(int i = 0; i < 256; i++) { - double v = i / 255.; - double w = pow((v - inst->inputMin) / inScale, exp) * outScale + inst->outputMin; - map[i] = CLAMP(w,0,1) * 255; - mapLuma[i] = i == 0?w:w / v; + double v = i / 255. - inst->inputMin; + if (v < 0.0) { + v = 0.0; + } + double w = pow(v / inScale, exp) * outScale + inst->outputMin; + map[i] = CLAMP0255(lrintf(w * 255.0)); } if (inst->showHistogram) @@ -244,15 +244,13 @@ g = *src++; b = *src++; - if (inst->channel == CHANNEL_LUMA) - luma = CLAMP0255((unsigned int)(b * .114 + g * .587 + r * .299)); if (inst->showHistogram) { - int intencity = + int intensity = inst->channel == CHANNEL_RED?r: inst->channel == CHANNEL_GREEN?g: inst->channel == CHANNEL_BLUE?b: - luma; - int index = CLAMP0255(intencity); + CLAMP0255(b * .114 + g * .587 + r * .299); + int index = CLAMP0255(intensity); levels[index]++; if (levels[index] > maxHisto) maxHisto = levels[index]; @@ -275,15 +273,9 @@ *dst++ = map[b]; break; case CHANNEL_LUMA: - if (luma == 0) { - *dst++ = mapLuma[luma]; - *dst++ = mapLuma[luma]; - *dst++ = mapLuma[luma]; - } else { - *dst++ = CLAMP0255((unsigned int)(r * mapLuma[luma])); - *dst++ = CLAMP0255((unsigned int)(g * mapLuma[luma])); - *dst++ = CLAMP0255((unsigned int)(b * mapLuma[luma])); - } + *dst++ = map[r]; + *dst++ = map[g]; + *dst++ = map[b]; break; } @@ -392,4 +384,3 @@ } } } - diff --git a/src/filter/lightgraffiti/Makefile b/src/filter/lightgraffiti/Makefile new file mode 100644 index 0000000..f418293 --- /dev/null +++ b/src/filter/lightgraffiti/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/lightgraffiti/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lightgraffiti/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lightgraffiti/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lightgraffiti/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lightgraffiti/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/rule +.PHONY : src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/rule + +# Convenience name for target. +lightgraffiti: src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/rule +.PHONY : lightgraffiti + +# fast build rule for target. +lightgraffiti/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/build.make src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/build +.PHONY : lightgraffiti/fast + +lightgraffiti.o: lightgraffiti.cpp.o +.PHONY : lightgraffiti.o + +# target to build an object file +lightgraffiti.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/build.make src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/lightgraffiti.cpp.o +.PHONY : lightgraffiti.cpp.o + +lightgraffiti.i: lightgraffiti.cpp.i +.PHONY : lightgraffiti.i + +# target to preprocess a source file +lightgraffiti.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/build.make src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/lightgraffiti.cpp.i +.PHONY : lightgraffiti.cpp.i + +lightgraffiti.s: lightgraffiti.cpp.s +.PHONY : lightgraffiti.s + +# target to generate assembly for a file +lightgraffiti.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/build.make src/filter/lightgraffiti/CMakeFiles/lightgraffiti.dir/lightgraffiti.cpp.s +.PHONY : lightgraffiti.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... lightgraffiti" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... lightgraffiti.o" + @echo "... lightgraffiti.i" + @echo "... lightgraffiti.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/lightgraffiti/lightgraffiti.cpp b/src/filter/lightgraffiti/lightgraffiti.cpp index 2bebad7..a84932d 100644 --- a/src/filter/lightgraffiti/lightgraffiti.cpp +++ b/src/filter/lightgraffiti/lightgraffiti.cpp @@ -147,14 +147,14 @@ m_prevMask = std::vector(width*height, rgb0); #endif - register_param(m_pSensitivity, "sensitivity", "Sensitivity of the effect for light (higher sensitivity will lead to brighter lights)"); // [0,5] - register_param(m_pBackgroundWeight, "backgroundWeight", "Describes how strong the (accumulated) background should shine through"); // [0,1] - register_param(m_pThresholdBrightness, "thresholdBrightness", "Brightness threshold to distinguish between foreground and background"); // {0...765} - register_param(m_pThresholdDifference, "thresholdDifference", "Threshold: Difference to background to distinguish between fore- and background"); // {0...255} - register_param(m_pThresholdDiffSum, "thresholdDiffSum", "Threshold for sum of differences. Can in most cases be ignored (set to 0)."); // {0...765} - register_param(m_pDim, "dim", "Dimming of the light mask"); // [0,1] - register_param(m_pSaturation, "saturation", "Saturation of lights"); // [0,4] (higher values hardly meaningful) - register_param(m_pLowerOverexposure, "lowerOverexposure", "Prevents some overexposure if the light source stays steady too long (varying speed)"); // {0...5} + register_param(m_pSensitivity, "sensitivity", "Sensitivity of the effect for light (higher sensitivity will lead to brighter lights)"); + register_param(m_pBackgroundWeight, "backgroundWeight", "Describes how strong the (accumulated) background should shine through"); + register_param(m_pThresholdBrightness, "thresholdBrightness", "Brightness threshold to distinguish between foreground and background"); + register_param(m_pThresholdDifference, "thresholdDifference", "Threshold: Difference to background to distinguish between fore- and background"); + register_param(m_pThresholdDiffSum, "thresholdDiffSum", "Threshold for sum of differences. Can in most cases be ignored (set to 0)."); + register_param(m_pDim, "dim", "Dimming of the light mask"); + register_param(m_pSaturation, "saturation", "Saturation of lights"); + register_param(m_pLowerOverexposure, "lowerOverexposure", "Prevents some overexposure if the light source stays steady too long (varying speed)"); register_param(m_pStatsBrightness, "statsBrightness", "Display the brightness and threshold, for adjusting the brightness threshold parameter"); register_param(m_pStatsDiff, "statsDifference", "Display the background difference and threshold"); register_param(m_pStatsDiffSum, "statsDiffSum", "Display the sum of the background difference and the threshold"); @@ -164,13 +164,22 @@ register_param(m_pLongAlpha, "longAlpha", "Alpha value for moving average"); register_param(m_pNonlinearDim, "nonlinearDim", "Nonlinear dimming (may look more natural)"); m_pLongAlpha = 1/128.0; - m_pSensitivity = 1; + m_pSensitivity = 1 / 5.; m_pBackgroundWeight = 0; - m_pThresholdBrightness = 450; + m_pThresholdBrightness = 450 / 765.; + m_pThresholdDifference = 0; m_pThresholdDiffSum = 0; m_pDim = 0; - m_pSaturation = 1; + m_pSaturation = 1 / 4.; + m_pLowerOverexposure = 0; + m_pStatsBrightness = false; + m_pStatsDiff = false; + m_pStatsDiffSum = false; + m_pReset = false; + m_pTransparentBackground = false; m_pBlackReference = false; + m_pLongAlpha = 0; + m_pNonlinearDim = 0; } @@ -194,6 +203,13 @@ virtual void update() { + double sensitivity = m_pSensitivity * 5; + double thresholdBrightness = m_pThresholdBrightness * 765; + double thresholdDifference = m_pThresholdDifference * 255; + double thresholdDiffSum = m_pThresholdDiffSum * 765; + double saturation = m_pSaturation * 4; + double lowerOverexposure = m_pLowerOverexposure * 10; + // Copy everything to the output image. // Most of the image will very likely not change at all. std::copy(in, in + width*height, out); @@ -748,9 +764,9 @@ sum = GETR(out[pixel]) + GETG(out[pixel]) + GETB(out[pixel]); if ( - maxDiff > m_pThresholdDifference - && temp > m_pThresholdDiffSum - && sum > m_pThresholdBrightness + maxDiff > thresholdDifference + && temp > thresholdDiffSum + && sum > thresholdBrightness // If all requirements are met, then this should be a light source. ) { @@ -760,7 +776,7 @@ fg = CLAMP(g)/255.0; fb = CLAMP(b)/255.0; - f = (fr + fg + fb) / 3 * m_pSensitivity; + f = (fr + fg + fb) / 3 * sensitivity; fr *= f; fg *= f; fb *= f; @@ -790,7 +806,7 @@ // Add the brightness of the light source to the brightness map (alpha map) y = REC709Y(CLAMP(r), CLAMP(g), CLAMP(b)) / 255.0; - y = y * m_pSensitivity; + y = y * sensitivity; m_alphaMap[4*pixel] += y; #endif } else { @@ -819,7 +835,7 @@ */ #ifdef LG_ADV if ( - m_rgbLightMask[pixel].r != 0 || m_rgbLightMask[pixel].g != 0 || m_rgbLightMask[pixel].b != 0 + (m_rgbLightMask[pixel].r != 0 || m_rgbLightMask[pixel].g != 0 || m_rgbLightMask[pixel].b != 0) && !m_pStatsBrightness && !m_pStatsDiff && !m_pStatsDiffSum ) { @@ -828,12 +844,12 @@ fg = m_rgbLightMask[pixel].g; fb = m_rgbLightMask[pixel].b; - if (m_pLowerOverexposure > 0) { + if (lowerOverexposure > 0) { // Comparisation of plots with octave: // clf;hold on;plot([0 1],[0 1],'k');plot(range,ones(length(range),1),'k');plot(range,sqrt(range));plot(range,log(1+range),'k');plot(range,log(1+range),'g');plot(range,(log(1+range)/3).^.5,'r');axis equal - fr = pow( log(1+fr)/m_pLowerOverexposure, .5 ); - fg = pow( log(1+fg)/m_pLowerOverexposure, .5 ); - fb = pow( log(1+fb)/m_pLowerOverexposure, .5 ); + fr = pow( log(1+fr)/lowerOverexposure, .5 ); + fg = pow( log(1+fg)/lowerOverexposure, .5 ); + fb = pow( log(1+fb)/lowerOverexposure, .5 ); } @@ -867,8 +883,8 @@ // Increase the saturation if the average brightness is below a certain level // Do not use Rec709 Luma since we want to consider all colours to equal parts. fy = (fr + fg + fb) / 3; - if (fy < 1 && m_pSaturation > 0) { - fsat = 1 + m_pSaturation*(1-fy); + if (fy < 1 && saturation > 0) { + fsat = 1 + saturation*(1-fy); fr = fy + fsat * (fr-fy); fg = fy + fsat * (fg-fy); @@ -965,7 +981,7 @@ r = .8*sum/3; g = .8*sum/3; b = .8*sum/3; - if (sum > m_pThresholdBrightness) { + if (sum > thresholdBrightness) { b = 255; } out[pixel] = RGBA(r,g,b,0xFF); @@ -979,7 +995,7 @@ b = r; } - if (maxDiff > m_pThresholdDifference) { + if (maxDiff > thresholdDifference) { g = 255; } out[pixel] = RGBA(r,g,b,0xFF); @@ -994,12 +1010,14 @@ if (!m_pStatsBrightness) { b = r; } - if (temp > m_pThresholdDiffSum) { + if (temp > thresholdDiffSum) { r = 255; } out[pixel] = RGBA(r,g,b,0xFF); } } + break; + default: break; } } @@ -1043,5 +1061,5 @@ frei0r::construct plugin("Light Graffiti", "Creates light graffitis from a video by keeping the brightest spots.", "Simon A. Eugster (Granjow)", - 0,1, + 0,2, F0R_COLOR_MODEL_RGBA8888); diff --git a/src/filter/luminance/Makefile b/src/filter/luminance/Makefile new file mode 100644 index 0000000..c393f5a --- /dev/null +++ b/src/filter/luminance/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/luminance/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/luminance/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/luminance/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/luminance/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/luminance/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/luminance/CMakeFiles/luminance.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/luminance/CMakeFiles/luminance.dir/rule +.PHONY : src/filter/luminance/CMakeFiles/luminance.dir/rule + +# Convenience name for target. +luminance: src/filter/luminance/CMakeFiles/luminance.dir/rule +.PHONY : luminance + +# fast build rule for target. +luminance/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/luminance/CMakeFiles/luminance.dir/build.make src/filter/luminance/CMakeFiles/luminance.dir/build +.PHONY : luminance/fast + +luminance.o: luminance.c.o +.PHONY : luminance.o + +# target to build an object file +luminance.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/luminance/CMakeFiles/luminance.dir/build.make src/filter/luminance/CMakeFiles/luminance.dir/luminance.c.o +.PHONY : luminance.c.o + +luminance.i: luminance.c.i +.PHONY : luminance.i + +# target to preprocess a source file +luminance.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/luminance/CMakeFiles/luminance.dir/build.make src/filter/luminance/CMakeFiles/luminance.dir/luminance.c.i +.PHONY : luminance.c.i + +luminance.s: luminance.c.s +.PHONY : luminance.s + +# target to generate assembly for a file +luminance.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/luminance/CMakeFiles/luminance.dir/build.make src/filter/luminance/CMakeFiles/luminance.dir/luminance.c.s +.PHONY : luminance.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... luminance" + @echo "... rebuild_cache" + @echo "... luminance.o" + @echo "... luminance.i" + @echo "... luminance.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/mask0mate/CMakeLists.txt b/src/filter/mask0mate/CMakeLists.txt index 7e2d7bc..a4ae9db 100644 --- a/src/filter/mask0mate/CMakeLists.txt +++ b/src/filter/mask0mate/CMakeLists.txt @@ -1,4 +1,4 @@ -set (SOURCES mask0mate.c blur.h) +set (SOURCES mask0mate.c) set (TARGET mask0mate) if (MSVC) diff --git a/src/filter/mask0mate/Makefile b/src/filter/mask0mate/Makefile new file mode 100644 index 0000000..ad76088 --- /dev/null +++ b/src/filter/mask0mate/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/mask0mate/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/mask0mate/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/mask0mate/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/mask0mate/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/mask0mate/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/mask0mate/CMakeFiles/mask0mate.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/mask0mate/CMakeFiles/mask0mate.dir/rule +.PHONY : src/filter/mask0mate/CMakeFiles/mask0mate.dir/rule + +# Convenience name for target. +mask0mate: src/filter/mask0mate/CMakeFiles/mask0mate.dir/rule +.PHONY : mask0mate + +# fast build rule for target. +mask0mate/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/mask0mate/CMakeFiles/mask0mate.dir/build.make src/filter/mask0mate/CMakeFiles/mask0mate.dir/build +.PHONY : mask0mate/fast + +mask0mate.o: mask0mate.c.o +.PHONY : mask0mate.o + +# target to build an object file +mask0mate.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/mask0mate/CMakeFiles/mask0mate.dir/build.make src/filter/mask0mate/CMakeFiles/mask0mate.dir/mask0mate.c.o +.PHONY : mask0mate.c.o + +mask0mate.i: mask0mate.c.i +.PHONY : mask0mate.i + +# target to preprocess a source file +mask0mate.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/mask0mate/CMakeFiles/mask0mate.dir/build.make src/filter/mask0mate/CMakeFiles/mask0mate.dir/mask0mate.c.i +.PHONY : mask0mate.c.i + +mask0mate.s: mask0mate.c.s +.PHONY : mask0mate.s + +# target to generate assembly for a file +mask0mate.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/mask0mate/CMakeFiles/mask0mate.dir/build.make src/filter/mask0mate/CMakeFiles/mask0mate.dir/mask0mate.c.s +.PHONY : mask0mate.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... mask0mate" + @echo "... rebuild_cache" + @echo "... mask0mate.o" + @echo "... mask0mate.i" + @echo "... mask0mate.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/mask0mate/blur.h b/src/filter/mask0mate/blur.h deleted file mode 100644 index 0c6e990..0000000 --- a/src/filter/mask0mate/blur.h +++ /dev/null @@ -1,292 +0,0 @@ -/* squareblur.c - * Copyright (C) 2004--2005 Mathieu Guindon - * Julien Keable - * Jean-Sebastien Senecal (js@drone.ws) - * This file is a Frei0r plugin. - * - * Modified by Richard Spindler (richard.spindler AT gmail.com) for blurring in - * the mask0mate Frei0r plugin. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - -#include -#include -#include - -#include "frei0r.h" - -#define SIZE_RGBA 4 - -static inline int MAX(int a, int b) -{ - return (a > b ? a : b); -} - -static inline int MIN(int a, int b) -{ - return (a < b ? a : b); -} - -static inline void subtract_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ -= *src++; -} - -static inline void add_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ += *src++; -} - -static inline void divide(unsigned char *dst, const uint32_t *src, const unsigned int val) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ = *src++ / val; -} - -typedef struct squareblur_instance -{ - unsigned int width; - unsigned int height; - double kernel; /* the kernel size, as a percentage of the biggest of width and height */ - uint32_t *mem; /* memory accumulation matrix of uint32_t (size = acc_width*acc_height*SIZE_RGBA) */ - uint32_t **acc; /* accumulation matrix of pointers to SIZE_RGBA consecutive uint32_t in mem (size = acc_width*acc_height) */ -} squareblur_instance_t; - -/* Updates the summed area table. */ -void update_summed_area_table(squareblur_instance_t *inst, const uint32_t *src) -{ - register unsigned char *iter_data; - register uint32_t *iter_mem; - register unsigned int i, x, y; - - uint32_t acc_buffer[SIZE_RGBA]; /* accumulation buffer */ - - unsigned int row_width; - unsigned int width, height; - unsigned int cell_size; - - /* Compute basic params. */ - width = inst->width+1; - height = inst->height+1; - row_width = SIZE_RGBA * width; - cell_size = SIZE_RGBA * sizeof(uint32_t); - - /* Init iterators. */ - iter_data = (unsigned char*) src; - iter_mem = inst->mem; - - /* Process first row (all zeros). */ - memset(iter_mem, 0, row_width * cell_size); - iter_mem += row_width; - - if (height >= 1) - { - /* Process second row. */ - memset(acc_buffer, 0, cell_size); - memset(iter_mem, 0, cell_size); /* first column is void */ - iter_mem += SIZE_RGBA; - for (x=1; xname = "Squareblur"; - squareblur_info->author = "Drone"; - squareblur_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; - squareblur_info->color_model = F0R_COLOR_MODEL_RGBA8888; - squareblur_info->frei0r_version = FREI0R_MAJOR_VERSION; - squareblur_info->major_version = 0; - squareblur_info->minor_version = 1; - squareblur_info->num_params = 1; - squareblur_info->explanation = "Variable-size square blur"; -} - -void blur_get_param_info(f0r_param_info_t* info, int param_index) -{ - switch(param_index) - { - case 0: - info->name = "Kernel size"; - info->type = F0R_PARAM_DOUBLE; - info->explanation = "The size of the kernel, as a proportion to its coverage of the image"; - break; - } -} - -f0r_instance_t blur_construct(unsigned int width, unsigned int height) -{ - squareblur_instance_t* inst = - (squareblur_instance_t*)malloc(sizeof(squareblur_instance_t)); - unsigned int i; - unsigned int acc_width, acc_height = height+1; - uint32_t* iter_mem; - uint32_t** iter_acc; - /* set params */ - inst->width = width; inst->height = height; - acc_width = width+1; acc_height = height+1; - inst->kernel = 0.0; - /* allocate memory for the summed-area-table */ - inst->mem = (uint32_t*) malloc(acc_width*acc_height*SIZE_RGBA*sizeof(uint32_t)); - inst->acc = (uint32_t**) malloc(acc_width*acc_height*sizeof(uint32_t*)); - /* point at the right place */ - iter_mem = inst->mem; - iter_acc = inst->acc; - for (i=0; iacc); - free(inst->mem); - free(instance); -} - -void blur_set_param_value(f0r_instance_t instance, - f0r_param_t param, int param_index) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - /* kernel size */ - inst->kernel = *((double*)param); - break; - } -} - -void blur_get_param_value(f0r_instance_t instance, - f0r_param_t param, int param_index) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - *((double*)param) = inst->kernel; - break; - } -} - -void blur_update(f0r_instance_t instance, double time, - const uint32_t* inframe, uint32_t* outframe) -{ - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - unsigned int width = inst->width; - unsigned int height = inst->height; - unsigned int acc_width = width+1; /* width of the summed area table */ - - unsigned int kernel_size = (unsigned int) (inst->kernel * (MAX(width, height) / 2.0)); - - unsigned int x, y; - unsigned int x0, x1, y0, y1; - unsigned int area; - - if (kernel_size <= 0) - { - /* No blur, just copy image. */ - memcpy(outframe, inframe, width*height*sizeof(uint32_t)); - } - else - { - assert(inst->acc); - unsigned char* dst = (unsigned char*)outframe; - uint32_t** acc = inst->acc; - uint32_t sum[SIZE_RGBA]; - unsigned int y0_offset, y1_offset; - - /* Compute the summed area table. */ - update_summed_area_table(inst, inframe); - - /* Loop through the image's pixels. */ - for (y=0;y=0) + if (m1>0) { forstr(data[0],1-u,0,frs); sprintf(fs,"%%s Mk1=%s", frs); @@ -328,7 +328,7 @@ } if ((dit&0x00000004)!=0) //marker 2 value { - if (m2>=0) + if (m2>0) { forstr(data[1],1-u,0,frs); sprintf(fs,"%%s Mk2=%s", frs); @@ -339,7 +339,7 @@ } if ((dit&0x00000010)!=0) //difference marker2-marker1 { - if ((m2>=0)&&(m1>=0)) + if ((m2>0)&&(m1>0)) { forstr(data[2],1-u,0,frs); sprintf(fs,"%%s D=%s", frs); @@ -631,7 +631,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; +info->minor_version=2; info->num_params=21; info->explanation="2D video oscilloscope"; } @@ -764,8 +764,8 @@ in->tilt=0.0; in->len=3*width/4; in->chn=3; -in->m1=-1; -in->m2=-1; +in->m1=0; +in->m2=0; in->rt=1; in->gt=1; in->bt=1; diff --git a/src/filter/medians/CMakeLists.txt b/src/filter/medians/CMakeLists.txt new file mode 100644 index 0000000..c953d43 --- /dev/null +++ b/src/filter/medians/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES medians.c ctmf.h small_medians.h) +set (TARGET medians) + +if (MSVC) + set_source_files_properties (medians.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/medians/Makefile b/src/filter/medians/Makefile new file mode 100644 index 0000000..6bcf534 --- /dev/null +++ b/src/filter/medians/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/medians/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/medians/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/medians/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/medians/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/medians/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/medians/CMakeFiles/medians.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/medians/CMakeFiles/medians.dir/rule +.PHONY : src/filter/medians/CMakeFiles/medians.dir/rule + +# Convenience name for target. +medians: src/filter/medians/CMakeFiles/medians.dir/rule +.PHONY : medians + +# fast build rule for target. +medians/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/medians/CMakeFiles/medians.dir/build.make src/filter/medians/CMakeFiles/medians.dir/build +.PHONY : medians/fast + +medians.o: medians.c.o +.PHONY : medians.o + +# target to build an object file +medians.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/medians/CMakeFiles/medians.dir/build.make src/filter/medians/CMakeFiles/medians.dir/medians.c.o +.PHONY : medians.c.o + +medians.i: medians.c.i +.PHONY : medians.i + +# target to preprocess a source file +medians.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/medians/CMakeFiles/medians.dir/build.make src/filter/medians/CMakeFiles/medians.dir/medians.c.i +.PHONY : medians.c.i + +medians.s: medians.c.s +.PHONY : medians.s + +# target to generate assembly for a file +medians.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/medians/CMakeFiles/medians.dir/build.make src/filter/medians/CMakeFiles/medians.dir/medians.c.s +.PHONY : medians.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... medians" + @echo "... rebuild_cache" + @echo "... medians.o" + @echo "... medians.i" + @echo "... medians.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/medians/ctmf.h b/src/filter/medians/ctmf.h new file mode 100644 index 0000000..2722e1b --- /dev/null +++ b/src/filter/medians/ctmf.h @@ -0,0 +1,433 @@ +/* + * ctmf.c - Constant-time median filtering + * Copyright (C) 2006 Simon Perreault + * + * Reference: S. Perreault and P. Hébert, "Median Filtering in Constant Time", + * IEEE Transactions on Image Processing, September 2007. + * + * This program has been obtained from http://nomis80.org/ctmf.html. No patent + * covers this program, although it is subject to the following license: + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * Contact: + * Laboratoire de vision et systèmes numériques + * Pavillon Adrien-Pouliot + * Université Laval + * Sainte-Foy, Québec, Canada + * G1K 7P4 + * + * perreaul@gel.ulaval.ca + */ + +/* Standard C includes */ +#include +#include +#include +#include + +/* Type declarations */ +#ifdef _MSC_VER +#include +typedef UINT8 uint8_t; +typedef UINT16 uint16_t; +typedef UINT32 uint32_t; +#pragma warning( disable: 4799 ) +#else +#include +#endif + +/* Intrinsic declarations */ +#if defined(__SSE2__) || defined(__MMX__) +#if defined(__SSE2__) +#include +#elif defined(__MMX__) +#include +#endif +#if defined(__GNUC__) +#include +#elif defined(_MSC_VER) +#include +#endif +#elif defined(__ALTIVEC__) +#include +#endif + +/* Compiler peculiarities */ +#if defined(__GNUC__) +#include +#define inline __inline__ +#define align(x) __attribute__ ((aligned (x))) +#elif defined(_MSC_VER) +#define inline __inline +#define align(x) __declspec(align(x)) +#else +#define inline +#define align(x) +#endif + +#ifndef MIN +#define MIN(a,b) ((a) > (b) ? (b) : (a)) +#endif + +#ifndef MAX +#define MAX(a,b) ((a) < (b) ? (b) : (a)) +#endif + +/** + * This structure represents a two-tier histogram. The first tier (known as the + * "coarse" level) is 4 bit wide and the second tier (known as the "fine" level) + * is 8 bit wide. Pixels inserted in the fine level also get inserted into the + * coarse bucket designated by the 4 MSBs of the fine bucket value. + * + * The structure is aligned on 16 bytes, which is a prerequisite for SIMD + * instructions. Each bucket is 16 bit wide, which means that extra care must be + * taken to prevent overflow. + */ +typedef struct align(16) +{ + uint16_t coarse[16]; + uint16_t fine[16][16]; +} Histogram; + +/** + * HOP is short for Histogram OPeration. This macro makes an operation \a op on + * histogram \a h for pixel value \a x. It takes care of handling both levels. + */ +#define HOP(h,x,op) \ + h.coarse[x>>4] op; \ + *((uint16_t*) h.fine + x) op; + +#define COP(c,j,x,op) \ + h_coarse[ 16*(n*c+j) + (x>>4) ] op; \ + h_fine[ 16 * (n*(16*c+(x>>4)) + j) + (x & 0xF) ] op; + +/** + * Adds histograms \a x and \a y and stores the result in \a y. Makes use of + * SSE2, MMX or Altivec, if available. + */ +#if defined(__SSE2__) +static inline void histogram_add( const uint16_t x[16], uint16_t y[16] ) +{ + *(__m128i*) &y[0] = _mm_add_epi16( *(__m128i*) &y[0], *(__m128i*) &x[0] ); + *(__m128i*) &y[8] = _mm_add_epi16( *(__m128i*) &y[8], *(__m128i*) &x[8] ); +} +#elif defined(__MMX__) +static inline void histogram_add( const uint16_t x[16], uint16_t y[16] ) +{ + *(__m64*) &y[0] = _mm_add_pi16( *(__m64*) &y[0], *(__m64*) &x[0] ); + *(__m64*) &y[4] = _mm_add_pi16( *(__m64*) &y[4], *(__m64*) &x[4] ); + *(__m64*) &y[8] = _mm_add_pi16( *(__m64*) &y[8], *(__m64*) &x[8] ); + *(__m64*) &y[12] = _mm_add_pi16( *(__m64*) &y[12], *(__m64*) &x[12] ); +} +#elif defined(__ALTIVEC__) +static inline void histogram_add( const uint16_t x[16], uint16_t y[16] ) +{ + *(vector unsigned short*) &y[0] = vec_add( *(vector unsigned short*) &y[0], *(vector unsigned short*) &x[0] ); + *(vector unsigned short*) &y[8] = vec_add( *(vector unsigned short*) &y[8], *(vector unsigned short*) &x[8] ); +} +#else +static inline void histogram_add( const uint16_t x[16], uint16_t y[16] ) +{ + int i; + for ( i = 0; i < 16; ++i ) { + y[i] += x[i]; + } +} +#endif + +/** + * Subtracts histogram \a x from \a y and stores the result in \a y. Makes use + * of SSE2, MMX or Altivec, if available. + */ +#if defined(__SSE2__) +static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] ) +{ + *(__m128i*) &y[0] = _mm_sub_epi16( *(__m128i*) &y[0], *(__m128i*) &x[0] ); + *(__m128i*) &y[8] = _mm_sub_epi16( *(__m128i*) &y[8], *(__m128i*) &x[8] ); +} +#elif defined(__MMX__) +static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] ) +{ + *(__m64*) &y[0] = _mm_sub_pi16( *(__m64*) &y[0], *(__m64*) &x[0] ); + *(__m64*) &y[4] = _mm_sub_pi16( *(__m64*) &y[4], *(__m64*) &x[4] ); + *(__m64*) &y[8] = _mm_sub_pi16( *(__m64*) &y[8], *(__m64*) &x[8] ); + *(__m64*) &y[12] = _mm_sub_pi16( *(__m64*) &y[12], *(__m64*) &x[12] ); +} +#elif defined(__ALTIVEC__) +static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] ) +{ + *(vector unsigned short*) &y[0] = vec_sub( *(vector unsigned short*) &y[0], *(vector unsigned short*) &x[0] ); + *(vector unsigned short*) &y[8] = vec_sub( *(vector unsigned short*) &y[8], *(vector unsigned short*) &x[8] ); +} +#else +static inline void histogram_sub( const uint16_t x[16], uint16_t y[16] ) +{ + int i; + for ( i = 0; i < 16; ++i ) { + y[i] -= x[i]; + } +} +#endif + +static inline void histogram_muladd( const uint16_t a, const uint16_t x[16], + uint16_t y[16] ) +{ + int i; + for ( i = 0; i < 16; ++i ) { + y[i] += a * x[i]; + } +} + +static void ctmf_helper( + const unsigned char* const src, unsigned char* const dst, + const int width, const int height, + const int src_step, const int dst_step, + const int r, const int cn, + const int pad_left, const int pad_right + ) +{ + const int m = height, n = width; + int i, j, k, c; + const unsigned char *p, *q; + + Histogram H[4]; + uint16_t *h_coarse, *h_fine, luc[4][16]; + + assert( src ); + assert( dst ); + assert( r >= 0 ); + assert( width >= 2*r+1 ); + assert( height >= 2*r+1 ); + assert( src_step != 0 ); + assert( dst_step != 0 ); + + /* SSE2 and MMX need aligned memory, provided by _mm_malloc(). */ +#if defined(__SSE2__) || defined(__MMX__) + h_coarse = (uint16_t*) _mm_malloc( 1 * 16 * n * cn * sizeof(uint16_t), 16 ); + h_fine = (uint16_t*) _mm_malloc( 16 * 16 * n * cn * sizeof(uint16_t), 16 ); + memset( h_coarse, 0, 1 * 16 * n * cn * sizeof(uint16_t) ); + memset( h_fine, 0, 16 * 16 * n * cn * sizeof(uint16_t) ); +#else + h_coarse = (uint16_t*) calloc( 1 * 16 * n * cn, sizeof(uint16_t) ); + h_fine = (uint16_t*) calloc( 16 * 16 * n * cn, sizeof(uint16_t) ); +#endif + + /* First row initialization */ + for ( j = 0; j < n; ++j ) { + for ( c = 0; c < cn; ++c ) { + COP( c, j, src[cn*j+c], += r+1 ); + } + } + for ( i = 0; i < r; ++i ) { + for ( j = 0; j < n; ++j ) { + for ( c = 0; c < cn; ++c ) { + COP( c, j, src[src_step*i+cn*j+c], ++ ); + } + } + } + + for ( i = 0; i < m; ++i ) { + + /* Update column histograms for entire row. */ + p = src + src_step * MAX( 0, i-r-1 ); + q = p + cn * n; + for ( j = 0; p != q; ++j ) { + for ( c = 0; c < cn; ++c, ++p ) { + COP( c, j, *p, -- ); + } + } + + p = src + src_step * MIN( m-1, i+r ); + q = p + cn * n; + for ( j = 0; p != q; ++j ) { + for ( c = 0; c < cn; ++c, ++p ) { + COP( c, j, *p, ++ ); + } + } + + /* First column initialization */ + memset( H, 0, cn*sizeof(H[0]) ); + memset( luc, 0, cn*sizeof(luc[0]) ); + if ( pad_left ) { + for ( c = 0; c < cn; ++c ) { + histogram_muladd( r, &h_coarse[16*n*c], H[c].coarse ); + } + } + for ( j = 0; j < (pad_left ? r : 2*r); ++j ) { + for ( c = 0; c < cn; ++c ) { + histogram_add( &h_coarse[16*(n*c+j)], H[c].coarse ); + } + } + for ( c = 0; c < cn; ++c ) { + for ( k = 0; k < 16; ++k ) { + histogram_muladd( 2*r+1, &h_fine[16*n*(16*c+k)], &H[c].fine[k][0] ); + } + } + + for ( j = pad_left ? 0 : r; j < (pad_right ? n : n-r); ++j ) { + for ( c = 0; c < cn; ++c ) { + const uint16_t t = 2*r*r + 2*r; + uint16_t sum = 0, *segment; + int b; + + histogram_add( &h_coarse[16*(n*c + MIN(j+r,n-1))], H[c].coarse ); + + /* Find median at coarse level */ + for ( k = 0; k < 16 ; ++k ) { + sum += H[c].coarse[k]; + if ( sum > t ) { + sum -= H[c].coarse[k]; + break; + } + } + assert( k < 16 ); + + /* Update corresponding histogram segment */ + if ( luc[c][k] <= j-r ) { + memset( &H[c].fine[k], 0, 16 * sizeof(uint16_t) ); + for ( luc[c][k] = j-r; luc[c][k] < MIN(j+r+1,n); ++luc[c][k] ) { + histogram_add( &h_fine[16*(n*(16*c+k)+luc[c][k])], H[c].fine[k] ); + } + if ( luc[c][k] < j+r+1 ) { + histogram_muladd( j+r+1 - n, &h_fine[16*(n*(16*c+k)+(n-1))], &H[c].fine[k][0] ); + luc[c][k] = j+r+1; + } + } + else { + for ( ; luc[c][k] < j+r+1; ++luc[c][k] ) { + histogram_sub( &h_fine[16*(n*(16*c+k)+MAX(luc[c][k]-2*r-1,0))], H[c].fine[k] ); + histogram_add( &h_fine[16*(n*(16*c+k)+MIN(luc[c][k],n-1))], H[c].fine[k] ); + } + } + + histogram_sub( &h_coarse[16*(n*c+MAX(j-r,0))], H[c].coarse ); + + /* Find median in segment */ + segment = H[c].fine[k]; + for ( b = 0; b < 16 ; ++b ) { + sum += segment[b]; + if ( sum > t ) { + dst[dst_step*i+cn*j+c] = 16*k + b; + break; + } + } + assert( b < 16 ); + } + } + } + +#if defined(__SSE2__) || defined(__MMX__) + _mm_empty(); + _mm_free(h_coarse); + _mm_free(h_fine); +#else + free(h_coarse); + free(h_fine); +#endif +} + +/** + * \brief Constant-time median filtering + * + * This function does a median filtering of an 8-bit image. The source image is + * processed as if it was padded with zeros. The median kernel is square with + * odd dimensions. Images of arbitrary size may be processed. + * + * To process multi-channel images, you must call this function multiple times, + * changing the source and destination adresses and steps such that each channel + * is processed as an independent single-channel image. + * + * Processing images of arbitrary bit depth is not supported. + * + * The computing time is O(1) per pixel, independent of the radius of the + * filter. The algorithm's initialization is O(r*width), but it is negligible. + * Memory usage is simple: it will be as big as the cache size, or smaller if + * the image is small. For efficiency, the histograms' bins are 16-bit wide. + * This may become too small and lead to overflow as \a r increases. + * + * \param src Source image data. + * \param dst Destination image data. Must be preallocated. + * \param width Image width, in pixels. + * \param height Image height, in pixels. + * \param src_step Distance between adjacent pixels on the same column in + * the source image, in bytes. + * \param dst_step Distance between adjacent pixels on the same column in + * the destination image, in bytes. + * \param r Median filter radius. The kernel will be a 2*r+1 by + * 2*r+1 square. + * \param cn Number of channels. For example, a grayscale image would + * have cn=1 while an RGB image would have cn=3. + * \param memsize Maximum amount of memory to use, in bytes. Set this to + * the size of the L2 cache, then vary it slightly and + * measure the processing time to find the optimal value. + * For example, a 512 kB L2 cache would have + * memsize=512*1024 initially. + */ +void ctmf( + const unsigned char* const src, unsigned char* const dst, + const int width, const int height, + const int src_step, const int dst_step, + const int r, const int cn, const long unsigned int memsize + ) +{ + /* + * Processing the image in vertical stripes is an optimization made + * necessary by the limited size of the CPU cache. Each histogram is 544 + * bytes big and therefore I can fit a limited number of them in the cache. + * That number may sometimes be smaller than the image width, which would be + * the number of histograms I would need without stripes. + * + * I need to keep histograms in the cache so that they are available + * quickly when processing a new row. Each row needs access to the previous + * row's histograms. If there are too many histograms to fit in the cache, + * thrashing to RAM happens. + * + * To solve this problem, I figure out the maximum number of histograms + * that can fit in cache. From this is determined the number of stripes in + * an image. The formulas below make the stripes all the same size and use + * as few stripes as possible. + * + * Note that each stripe causes an overlap on the neighboring stripes, as + * when mowing the lawn. That overlap is proportional to r. When the overlap + * is a significant size in comparison with the stripe size, then we are not + * O(1) anymore, but O(r). In fact, we have been O(r) all along, but the + * initialization term was neglected, as it has been (and rightly so) in B. + * Weiss, "Fast Median and Bilateral Filtering", SIGGRAPH, 2006. Processing + * by stripes only makes that initialization term bigger. + * + * Also, note that the leftmost and rightmost stripes don't need overlap. + * A flag is passed to ctmf_helper() so that it treats these cases as if the + * image was zero-padded. + */ + int stripes = (int) ceil( (double) (width - 2*r) / (memsize / sizeof(Histogram) - 2*r) ); + int stripe_size = (int) ceil( (double) ( width + stripes*2*r - 2*r ) / stripes ); + + int i; + + for ( i = 0; i < width; i += stripe_size - 2*r ) { + int stripe = stripe_size; + /* Make sure that the filter kernel fits into one stripe. */ + if ( i + stripe_size - 2*r >= width || width - (i + stripe_size - 2*r) < 2*r+1 ) { + stripe = width - i; + } + + ctmf_helper( src + cn*i, dst + cn*i, stripe, height, src_step, dst_step, r, cn, + i == 0, stripe == width - i ); + + if ( stripe == width - i ) { + break; + } + } +} diff --git a/src/filter/medians/medians.c b/src/filter/medians/medians.c new file mode 100755 index 0000000..48293c4 --- /dev/null +++ b/src/filter/medians/medians.c @@ -0,0 +1,603 @@ +/* +medians.c implements several median-type filters + +This frei0r plugin implements several median-type filters + +Version 0.1 jan 2013 + +Copyright (C) 2013 Marko Cebokli http://lea.hamradio.si/~s57uuu + + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + + +//compile: gcc -c -fPIC -Wall medians.c -o medians.o +//link: gcc -shared -o medians.so medians.o + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "small_medians.h" +#include "ctmf.h" + + +/* ****************************************** +//The following functions implement these median type filters: + + X +cross5: XXX + X + + XXX +square3x3: XXX + XXX + + +Bilevel: + + X + XXX +dia3x3: XXXXX + XXX + X + +Arce BI: multilevel spatio-temporal, see [1] + +Arp ML3D: multilevel spatio-temporal, see [1] + +ML3DEX: multilevel spatio-temporal, see [1] + + +[1] Anil Christopher Kokaram: Motion Picure Restoration + phd disertation + +****************************************** */ + +//------------------------------------------------------------ +//cross5 packed char RGB image (uint32_t) +//vs = input image +//is = output image +void cross5(const uint32_t *vs, int w, int h, uint32_t *is) +{ +int i,j,p; +uint32_t m[8]; + +for (i=1;imm[1]) mm[1]=mm[4]; + if (mm[5]>mm[1]) mm[1]=mm[5]; + if (mm[6]>mm[1]) mm[1]=mm[6]; +//min + mm[2]=mm[3]; if (mm[4]name="Medians"; +info->author="Marko Cebokli"; +info->plugin_type=F0R_PLUGIN_TYPE_FILTER; +info->color_model=F0R_COLOR_MODEL_RGBA8888; +info->frei0r_version=FREI0R_MAJOR_VERSION; +info->major_version=0; +info->minor_version=1; +info->num_params=2; +info->explanation="Implements several median-type filters"; +} + +//-------------------------------------------------- +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ +switch(param_index) + { + case 0: + info->name = "Type"; + info->type = F0R_PARAM_STRING; + info->explanation = "Choose type of median: Cross5, Square3x3, Bilevel, Diamond3x3, Square5x5, Temp3, Temp5, ArceBI, ML3D, ML3dEX, VarSize"; + break; + case 1: + info->name = "Size"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Size for 'var size' type filter"; + break; + case 2: + info->name = ""; + info->type = F0R_PARAM_BOOL; + info->explanation = ""; + break; + } +} + +//---------------------------------------------- +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ +inst *in; + +in=calloc(1,sizeof(inst)); +in->w=width; +in->h=height; + +in->type=1; +in->liststr=calloc(1,strlen("Square3x3")+1); +strcpy(in->liststr,"Square3x3"); +in->size=5; + +in->f1=calloc(in->w*in->h,sizeof(uint32_t)); +in->f2=calloc(in->w*in->h,sizeof(uint32_t)); +in->f3=calloc(in->w*in->h,sizeof(uint32_t)); +in->f4=calloc(in->w*in->h,sizeof(uint32_t)); +in->f5=calloc(in->w*in->h,sizeof(uint32_t)); + +in->ppf=in->f1; +in->pf=in->f2; +in->cf=in->f3; +in->nf=in->f4; +in->nnf=in->f5; + +return (f0r_instance_t)in; +} + +//--------------------------------------------------- +void f0r_destruct(f0r_instance_t instance) +{ +inst *in; + +in=(inst*)instance; + +free(in->f1); +free(in->f2); +free(in->f3); +free(in->f4); +free(in->f5); + +free(in->liststr); +free(instance); +} + +//----------------------------------------------------- +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t parm, int param_index) +{ +inst *p; +double tmpf; +int chg; +char *tmpch; +char list1[][11]={"Cross5", "Square3x3", "Bilevel", "Diamond3x3", "Square5x5", "Temp3", "Temp5", "ArceBI", "ML3D", "ML3dEX", "VarSize"}; + +p=(inst*)instance; + +chg=0; +switch(param_index) + { + case 0: //(string based list) + tmpch = (*(char**)parm); + p->liststr = (char*)realloc( p->liststr, strlen(tmpch) + 1 ); + strcpy( p->liststr, tmpch ); + p->type=0; + while ((strcmp(p->liststr,list1[p->type])!=0)&&(p->type<10)) p->type++; + break; + case 1: + tmpf=map_value_forward(*((double*)parm), 0.0, 50); + if (tmpf!=p->size) chg=1; + p->size=tmpf; + break; + } + +if (chg==0) return; + +} + +//-------------------------------------------------- +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ +inst *p; + +p=(inst*)instance; + +switch(param_index) + { + case 0: //(string based list) + *((char**)param) = p->liststr; + break; + case 1: + *((double*)param)=map_value_backward(p->size, 0.0, 50); + break; + } +} + +//------------------------------------------------- +void f0r_update(f0r_instance_t instance, double time, const uint32_t* inframe, uint32_t* outframe) +{ +inst *in; + +assert(instance); +in=(inst*)instance; +uint32_t *tmpp; +uint8_t *cin,*cout; +int step,i; + +memcpy(in->ppf, inframe, 4*in->w*in->h); +tmpp=in->nnf; +in->nnf=in->ppf; +in->ppf=in->pf; +in->pf=in->cf; +in->cf=in->nf; +in->nf=tmpp; + +cin=(uint8_t*)inframe; +cout=(uint8_t*)outframe; + +switch (in->type) + { + case 0: + cross5(inframe, in->w, in->h, outframe); + break; + case 1: + sq3x3(inframe, in->w, in->h, outframe); + break; + case 2: + bilevel(inframe, in->w, in->h, outframe); + break; + case 3: + dia3x3(inframe, in->w, in->h, outframe); + break; + case 4: + sq5x5(inframe, in->w, in->h, outframe); + break; + case 5: + temp3(in->cf, in->nf, in->nnf, in->w, in->h, outframe); + break; + case 6: + temp5(in->ppf, in->pf, in->cf, in->nf, in->nnf, in->w, in->h, outframe); + break; + case 7: + ArceBI(in->cf, in->nf, in->nnf, in->w, in->h, outframe); + break; + case 8: + ml3d(in->cf, in->nf, in->nnf, in->w, in->h, outframe); + break; + case 9: + ml3dex(in->cf, in->nf, in->nnf, in->w, in->h, outframe); + break; + case 10: + //varsize + step=in->w*4; + ctmf(cin,cout,in->w,in->h,step,step,in->size,4,512*1024); + break; + default: + break; + } +//COPY ALPHA +for (i = 3; i < 4 * in->w * in->h; i += 4) + cout[i]=cin[i]; + +} + diff --git a/src/filter/medians/readme b/src/filter/medians/readme new file mode 100755 index 0000000..64a434b --- /dev/null +++ b/src/filter/medians/readme @@ -0,0 +1,118 @@ +medians + +This plugin implements several median-type filters + + + +Written by Marko Cebokli, jan 2013, and released under GNU GPL + + + +RELEASE NOTES + +** feb 2013 +Version 0.1 +"pre-alpha" (throw it out and see what happens... :-) + + + +INTRODUCTION + +Median is a quite popular non-linear filter in image processing. +Most often it is used to remove impulsive noise, like +"salt & pepper" noise, "dead" and "hot" pixels, dirt on film, etc. +This is because it behaves kind of "inversely" compared to +linear denoisers. The more a bad pixel stands out from the +surrounding area, the bigger residual it will leave with a linear +filter - but the more probably it will be eliminated by the median. + +The down side is that the median operation is quite slow. As an +order-statistic filter, it is similar to sorting, that must be +done for each pixel. +So, I searched the web for fast median algorithms. For the small +medians, I use [1], with some small modifications for a further +slight improvement in speed. +For the "Variable size" median I use [2]. +I have implemented the compound filters (ArceBI, ML3D, ML3dEX) +according to the formulas given in [3]. +For more info on median filtering see +http://en.wikipedia.org/wiki/Median_filter + + + +IMPLEMENTED ALGORITHMS + +Cross5: +Median of the pixel with its top, bottom, left and right neighbor. + +Square3x3: +Median of the pixel with the surrounding 8 pixels. (3x3 box) + +Bilevel: +First, make cross5 median, then make median of the pixel with its +four diagonal neighbors, and finally take the median of the pixel +and the two previously calculated medians. +Slightly better preserves detail than the simple medians above. + +Diamond3x3: +Takes median of the pixel with 12 neighboring pixels arranged in a +diamond pattern. + +Square5x5: +Median of the pixel with the 5x5 surrounding box. + +Temp3: +Temporal only median of three frames. Can be used to reduce +single frame time-impulsive noise like photoflash. +Delays the video by 1 frame. + +Temp5: +Temporal only median of five frames. Can be used to reduce +double frame time-impulsive noise, but the artifacts on fast moving +objects are stronger than with temp3. +Delays the video by 2 frames. + +ArceBI: +Spatio-temporal multilevel median, as described by Arce. See [3]. +Delays the video by 1 frame. + +ML3D: +Spatio-temporal multilevel median, as described by Alp. See [3]. +Delays the video by 1 frame. + +ML3dEX: +Spatio-temporal multilevel median. Further development of ML3D +by Kokaram, see [3]. +Delays the video by 1 frame. + +VarSize: +Simple spatial only median in a user selected size square box +around each pixel. +The effect could be described as "quasi edge preserving, corner +rounding, small stuff eliminator". +Or maybe just an "artsy blur". + + + +PARAMETERS: + +Type: +selects one of the eleven algorithms + +Size: +Only active when "VarSize" type is selected. Determines the +size of the square area over which the median is taken. + + + +REFERENCES + +[1] http://ndevilla.free.fr/median/median/src/optmed.c + +[2] Simon Perreault, Patrick Hebert: Median filtering in + constant time + http://nomis80.org/ctmf.pdf + http://nomis80.org/ctmf.html + +[3] Anil Christopher Kokaram: Motion Picure Restoration + phd disertation diff --git a/src/filter/medians/small_medians.h b/src/filter/medians/small_medians.h new file mode 100644 index 0000000..bd26d0a --- /dev/null +++ b/src/filter/medians/small_medians.h @@ -0,0 +1,292 @@ + +//---------------------------------------------------------- +typedef uint8_t pixelvalue; +#define P_SO(a,b) { if ((a)>(b)) P_SWAP((a),(b)); } +#define P_SWAP(a,b) { pixelvalue temp=(a);(a)=(b);(b)=temp; } +#define P_MA(a,b) { if ((a)>(b)) (b)=(a); } +#define P_MI(a,b) { if ((a)>(b)) (a)=(b); } + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median3(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[0],m[4]); P_SO(m[1],m[5]); P_SO(m[2],m[6]); +P_MI(m[4],m[8]); P_MI(m[5],m[9]); P_MI(m[6],m[10]); +P_MA(m[0],m[4]); P_MA(m[1],m[5]); P_MA(m[2],m[6]); +return mm[1]; +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median5(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[0],m[4]); P_SO(m[1],m[5]); P_SO(m[2],m[6]); +P_SO(m[12],m[16]); P_SO(m[13],m[17]); P_SO(m[14],m[18]); +P_MI(m[4],m[16]); P_MI(m[5],m[17]); P_MI(m[6],m[18]); +P_MA(m[0],m[12]); P_MA(m[1],m[13]); P_MA(m[2],m[14]); +P_SO(m[4],m[8]); P_SO(m[5],m[9]); P_SO(m[6],m[10]); +P_MI(m[8],m[12]); P_MI(m[9],m[13]); P_MI(m[10],m[14]); +P_MA(m[4],m[8]); P_MA(m[5],m[9]); P_MA(m[6],m[10]); +return mm[2]; +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median7(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[0],m[20]); P_SO(m[1],m[21]); P_SO(m[2],m[22]); +P_SO(m[8],m[16]); P_SO(m[9],m[17]); P_SO(m[10],m[18]); +P_SO(m[0],m[12]); P_SO(m[1],m[13]); P_SO(m[2],m[14]); +P_SO(m[4],m[24]); P_SO(m[5],m[25]); P_SO(m[6],m[26]); +P_SO(m[12],m[20]); P_SO(m[13],m[21]); P_SO(m[14],m[22]); +P_MA(m[0],m[4]); P_MA(m[1],m[5]); P_MA(m[2],m[6]); +P_SO(m[8],m[24]); P_SO(m[9],m[25]); P_SO(m[10],m[26]); +P_MA(m[8],m[12]); P_MA(m[9],m[13]); P_MA(m[10],m[14]); +P_MI(m[16],m[20]); P_MI(m[17],m[21]); P_MI(m[18],m[22]); +P_MI(m[12],m[24]); P_MI(m[13],m[25]); P_MI(m[14],m[26]); +P_SO(m[4],m[16]); P_SO(m[5],m[17]); P_SO(m[6],m[18]); +P_MA(m[4],m[12]); P_MA(m[5],m[13]); P_MA(m[6],m[14]); +P_MI(m[12],m[16]); P_MI(m[13],m[17]); P_MI(m[14],m[18]); +return mm[3]; +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median9(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[4],m[8]); P_SO(m[5],m[9]); P_SO(m[6],m[10]); +P_SO(m[16],m[20]); P_SO(m[17],m[21]); P_SO(m[18],m[22]); +P_SO(m[28],m[32]); P_SO(m[29],m[33]); P_SO(m[30],m[34]); +P_SO(m[0],m[4]); P_SO(m[1],m[5]); P_SO(m[2],m[6]); +P_SO(m[12],m[16]); P_SO(m[13],m[17]); P_SO(m[14],m[18]); +P_SO(m[24],m[28]); P_SO(m[25],m[29]); P_SO(m[26],m[30]); +P_SO(m[4],m[8]); P_SO(m[5],m[9]); P_SO(m[6],m[10]); +P_SO(m[16],m[20]); P_SO(m[17],m[21]); P_SO(m[18],m[22]); +P_SO(m[28],m[32]); P_SO(m[29],m[33]); P_SO(m[30],m[34]); +P_MA(m[0],m[12]); P_MA(m[1],m[13]); P_MA(m[2],m[14]); +P_MI(m[20],m[32]); P_MI(m[21],m[33]); P_MI(m[22],m[34]); +P_SO(m[16],m[28]); P_SO(m[17],m[29]); P_SO(m[18],m[30]); +P_MA(m[12],m[24]); P_MA(m[13],m[25]); P_MA(m[14],m[26]); +P_MA(m[4],m[16]); P_MA(m[5],m[17]); P_MA(m[6],m[18]); +P_MI(m[8],m[20]); P_MI(m[9],m[21]); P_MI(m[10],m[22]); +P_MI(m[16],m[28]); P_MI(m[17],m[29]); P_MI(m[18],m[30]); +P_SO(m[16],m[8]); P_SO(m[17],m[9]); P_SO(m[18],m[10]); +P_MA(m[24],m[16]); P_MA(m[25],m[17]); P_MA(m[26],m[18]); +P_MI(m[16],m[8]); P_MI(m[17],m[9]); P_MI(m[18],m[10]); +return(mm[4]); +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median11(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[12],m[28]); P_SO(m[13],m[29]); P_SO(m[14],m[30]); +P_SO(m[0],m[40]); P_SO(m[1],m[41]); P_SO(m[2],m[42]); +P_SO(m[28],m[40]); P_SO(m[29],m[41]); P_SO(m[30],m[42]); +P_SO(m[16],m[36]); P_SO(m[17],m[37]); P_SO(m[18],m[38]); +P_SO(m[0],m[12]); P_SO(m[1],m[13]); P_SO(m[2],m[14]); +P_SO(m[32],m[12]); P_SO(m[33],m[13]); P_SO(m[34],m[14]); +P_SO(m[4],m[24]); P_SO(m[5],m[25]); P_SO(m[6],m[26]); +P_SO(m[12],m[36]); P_SO(m[13],m[37]); P_SO(m[14],m[38]); +P_SO(m[20],m[24]); P_SO(m[21],m[25]); P_SO(m[22],m[26]); +P_MI(m[24],m[40]); P_MI(m[25],m[41]); P_MI(m[26],m[42]); +P_SO(m[8],m[24]); P_SO(m[9],m[25]); P_SO(m[10],m[26]); +P_SO(m[4],m[20]); P_SO(m[5],m[21]); P_SO(m[6],m[22]); +P_MA(m[0],m[4]); P_MA(m[1],m[5]); P_MA(m[2],m[6]); +P_SO(m[32],m[16]); P_SO(m[33],m[17]); P_SO(m[34],m[18]); +P_SO(m[16],m[4]); P_SO(m[17],m[5]); P_SO(m[18],m[6]); +P_MA(m[16],m[32]); P_MA(m[17],m[33]); P_MA(m[18],m[34]); +P_MI(m[24],m[4]); P_MI(m[25],m[5]); P_MI(m[26],m[6]); +P_MI(m[20],m[36]); P_MI(m[21],m[37]); P_MI(m[22],m[38]); +P_MA(m[8],m[32]); P_MA(m[9],m[33]); P_MA(m[10],m[34]); +P_SO(m[32],m[12]); P_SO(m[33],m[13]); P_SO(m[34],m[14]); +P_SO(m[28],m[20]); P_SO(m[29],m[21]); P_SO(m[30],m[22]); +P_MI(m[20],m[12]); P_MI(m[21],m[13]); P_MI(m[22],m[14]); +P_MA(m[28],m[32]); P_MA(m[29],m[33]); P_MA(m[30],m[34]); +P_SO(m[32],m[24]); P_SO(m[33],m[25]); P_SO(m[34],m[26]); +P_MA(m[32],m[20]); P_MA(m[33],m[21]); P_MA(m[34],m[22]); +P_MI(m[20],m[24]); P_MI(m[21],m[25]); P_MI(m[22],m[26]); +return mm[5]; +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median13(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- + P_SO(m[10],m[3]); P_SO(m[11],m[4]); P_SO(m[12],m[5]); + P_SO(m[6],m[10]); P_SO(m[7],m[11]); P_SO(m[8],m[12]); + P_SO(m[11],m[1]); P_SO(m[12],m[2]); P_SO(m[13],m[3]); + P_SO(m[5],m[4]); P_SO(m[6],m[5]); P_SO(m[7],m[6]); + P_SO(m[0],m[8]); P_SO(m[1],m[9]); P_SO(m[2],m[10]); + P_SO(m[1],m[3]); P_SO(m[2],m[4]); P_SO(m[3],m[5]); + P_SO(m[5],m[0]); P_SO(m[6],m[1]); P_SO(m[7],m[2]); + P_SO(m[7],m[1]); P_SO(m[8],m[2]); P_SO(m[9],m[3]); + P_SO(m[8],m[10]); P_SO(m[9],m[11]); P_SO(m[10],m[12]); + P_SO(m[8],m[12]); P_SO(m[9],m[13]); P_SO(m[10],m[14]); + P_SO(m[4],m[12]); P_SO(m[5],m[13]); P_SO(m[6],m[14]); + P_SO(m[3],m[12]); P_SO(m[4],m[13]); P_SO(m[5],m[14]); + P_SO(m[7],m[11]); P_SO(m[8],m[12]); P_SO(m[9],m[13]); + P_SO(m[9],m[2]); P_SO(m[10],m[3]); P_SO(m[11],m[4]); + P_SO(m[0],m[2]); P_SO(m[1],m[3]); P_SO(m[2],m[4]); + P_SO(m[4],m[1]); P_SO(m[5],m[2]); P_SO(m[6],m[3]); + P_SO(m[11],m[0]); P_SO(m[12],m[1]); P_SO(m[13],m[2]); + P_SO(m[4],m[9]); P_SO(m[5],m[10]); P_SO(m[6],m[11]); + P_MA(m[7],m[5]); P_MA(m[8],m[6]); P_MA(m[9],m[7]); + P_MI(m[2],m[1]); P_MI(m[3],m[2]); P_MI(m[4],m[3]); + P_MA(m[4],m[6]); P_MA(m[5],m[7]); P_MA(m[6],m[8]); + P_SO(m[5],m[9]); P_SO(m[6],m[10]); P_SO(m[7],m[11]); + P_SO(m[9],m[0]); P_SO(m[10],m[1]); P_SO(m[11],m[2]); + P_MI(m[3],m[0]); P_MI(m[4],m[1]); P_MI(m[5],m[2]); + P_MA(m[5],m[6]); P_MA(m[6],m[7]); P_MA(m[7],m[8]); + P_SO(m[2],m[3]); P_SO(m[3],m[4]); P_SO(m[4],m[5]); + P_MA(m[11],m[6]); P_MA(m[12],m[7]); P_MA(m[13],m[8]); + P_SO(m[9],m[2]); P_SO(m[10],m[3]); P_SO(m[11],m[4]); + P_MA(m[8],m[9]); P_MA(m[9],m[10]); P_MA(m[10],m[11]); + P_MI(m[10],m[2]); P_MI(m[11],m[3]); P_MI(m[12],m[4]); + P_SO(m[9],m[10]); P_SO(m[10],m[11]);P_SO(m[11],m[12]); + P_MA(m[9],m[6]); P_MA(m[10],m[7]); P_MA(m[11],m[8]); + P_MI(m[10],m[3]); P_MI(m[11],m[4]); P_MI(m[12],m[5]); + P_MI(m[6],m[10]); P_MI(m[7],m[11]); P_MI(m[8],m[12]); +return mm[6]; +} + +//------------------------------------------------------------ +//packed char RGB image (uint32_t) +//does separate medians on R,G,B +//scrambles the input array! +static inline uint32_t median25(uint32_t *mm) +{ +uint8_t *m=(uint8_t*)mm; +// -R- -G- -B- +P_SO(m[0],m[4]); P_SO(m[1],m[5]); P_SO(m[2],m[6]); +P_SO(m[12],m[16]); P_SO(m[13],m[17]); P_SO(m[14],m[18]); +P_SO(m[8],m[16]); P_SO(m[9],m[17]); P_SO(m[10],m[18]); +P_SO(m[8],m[12]); P_SO(m[9],m[13]); P_SO(m[10],m[14]); +P_SO(m[24],m[28]); P_SO(m[25],m[29]); P_SO(m[26],m[30]); +P_SO(m[20],m[28]); P_SO(m[21],m[29]); P_SO(m[22],m[30]); +P_SO(m[20],m[24]); P_SO(m[21],m[25]); P_SO(m[22],m[26]); +P_SO(m[36],m[40]); P_SO(m[37],m[41]); P_SO(m[38],m[42]); +P_SO(m[32],m[40]); P_SO(m[33],m[41]); P_SO(m[34],m[42]); +P_SO(m[32],m[36]); P_SO(m[33],m[37]); P_SO(m[34],m[38]); +P_SO(m[48],m[52]); P_SO(m[49],m[53]); P_SO(m[50],m[54]); +P_SO(m[44],m[52]); P_SO(m[45],m[53]); P_SO(m[46],m[54]); +P_SO(m[44],m[48]); P_SO(m[45],m[49]); P_SO(m[46],m[50]); +P_SO(m[60],m[64]); P_SO(m[61],m[65]); P_SO(m[62],m[66]); +P_SO(m[56],m[64]); P_SO(m[57],m[65]); P_SO(m[58],m[66]); +P_SO(m[56],m[60]); P_SO(m[57],m[61]); P_SO(m[58],m[62]); +P_SO(m[72],m[76]); P_SO(m[73],m[77]); P_SO(m[74],m[78]); +P_SO(m[68],m[76]); P_SO(m[69],m[77]); P_SO(m[70],m[78]); +P_SO(m[68],m[72]); P_SO(m[69],m[73]); P_SO(m[70],m[74]); +P_SO(m[84],m[88]); P_SO(m[85],m[89]); P_SO(m[86],m[90]); +P_SO(m[80],m[88]); P_SO(m[81],m[89]); P_SO(m[82],m[90]); +P_SO(m[80],m[84]); P_SO(m[81],m[85]); P_SO(m[82],m[86]); +P_SO(m[92],m[96]); P_SO(m[93],m[97]); P_SO(m[94],m[98]); +P_SO(m[8],m[20]); P_SO(m[9],m[21]); P_SO(m[10],m[22]); +P_SO(m[12],m[24]); P_SO(m[13],m[25]); P_SO(m[14],m[26]); +P_SO(m[0],m[24]); P_SO(m[1],m[25]); P_SO(m[2],m[26]); +P_SO(m[0],m[12]); P_SO(m[1],m[13]); P_SO(m[2],m[14]); +P_SO(m[16],m[28]); P_SO(m[17],m[29]); P_SO(m[18],m[30]); +P_SO(m[4],m[28]); P_SO(m[5],m[29]); P_SO(m[6],m[30]); +P_SO(m[4],m[16]); P_SO(m[5],m[17]); P_SO(m[6],m[18]); +P_SO(m[44],m[56]); P_SO(m[45],m[57]); P_SO(m[46],m[58]); +P_SO(m[32],m[56]); P_SO(m[33],m[57]); P_SO(m[34],m[58]); +P_SO(m[32],m[44]); P_SO(m[33],m[45]); P_SO(m[34],m[46]); +P_SO(m[48],m[60]); P_SO(m[49],m[61]); P_SO(m[50],m[62]); +P_SO(m[36],m[60]); P_SO(m[37],m[61]); P_SO(m[38],m[62]); +P_SO(m[36],m[48]); P_SO(m[37],m[49]); P_SO(m[38],m[50]); +P_SO(m[52],m[64]); P_SO(m[53],m[65]); P_SO(m[54],m[66]); +P_SO(m[40],m[64]); P_SO(m[41],m[65]); P_SO(m[42],m[66]); +P_SO(m[40],m[52]); P_SO(m[41],m[53]); P_SO(m[42],m[54]); +P_SO(m[80],m[92]); P_SO(m[81],m[93]); P_SO(m[82],m[94]); +P_SO(m[68],m[92]); P_SO(m[69],m[93]); P_SO(m[70],m[94]); +P_SO(m[68],m[80]); P_SO(m[69],m[81]); P_SO(m[70],m[82]); +P_SO(m[84],m[96]); P_SO(m[85],m[97]); P_SO(m[86],m[98]); +P_SO(m[72],m[96]); P_SO(m[73],m[97]); P_SO(m[74],m[98]); +P_SO(m[72],m[84]); P_SO(m[73],m[85]); P_SO(m[74],m[86]); +P_SO(m[76],m[88]); P_SO(m[77],m[89]); P_SO(m[78],m[90]); +P_MA(m[32],m[68]); P_MA(m[33],m[69]); P_MA(m[34],m[70]); +P_SO(m[36],m[72]); P_SO(m[37],m[73]); P_SO(m[38],m[74]); +P_SO(m[0],m[72]); P_SO(m[1],m[73]); P_SO(m[2],m[74]); +P_MA(m[0],m[36]); P_MA(m[1],m[37]); P_MA(m[2],m[38]); +P_SO(m[40],m[76]); P_SO(m[41],m[77]); P_SO(m[42],m[78]); +P_SO(m[4],m[76]); P_SO(m[5],m[77]); P_SO(m[6],m[78]); +P_SO(m[4],m[40]); P_SO(m[5],m[41]); P_SO(m[6],m[42]); +P_SO(m[44],m[80]); P_SO(m[45],m[81]); P_SO(m[46],m[82]); +P_SO(m[8],m[80]); P_SO(m[9],m[81]); P_SO(m[10],m[82]); +P_MA(m[8],m[44]); P_MA(m[9],m[45]); P_MA(m[10],m[46]); +P_SO(m[48],m[84]); P_SO(m[49],m[85]); P_SO(m[50],m[86]); +P_SO(m[12],m[84]); P_SO(m[13],m[85]); P_SO(m[14],m[86]); +P_SO(m[12],m[48]); P_SO(m[13],m[49]); P_SO(m[14],m[50]); +P_SO(m[52],m[88]); P_SO(m[53],m[89]); P_SO(m[54],m[90]); +P_MI(m[16],m[88]); P_MI(m[17],m[89]); P_MI(m[18],m[90]); +P_SO(m[16],m[52]); P_SO(m[17],m[53]); P_SO(m[18],m[54]); +P_SO(m[56],m[92]); P_SO(m[57],m[93]); P_SO(m[58],m[94]); +P_SO(m[20],m[92]); P_SO(m[21],m[93]); P_SO(m[22],m[94]); +P_SO(m[20],m[56]); P_SO(m[21],m[57]); P_SO(m[22],m[58]); +P_SO(m[60],m[96]); P_SO(m[61],m[97]); P_SO(m[62],m[98]); +P_MI(m[24],m[96]); P_MI(m[25],m[97]); P_MI(m[26],m[98]); +P_SO(m[24],m[60]); P_SO(m[25],m[61]); P_SO(m[26],m[62]); +P_MI(m[28],m[64]); P_MI(m[29],m[65]); P_MI(m[30],m[66]); +P_MI(m[28],m[76]); P_MI(m[29],m[77]); P_MI(m[30],m[78]); +P_MI(m[52],m[84]); P_MI(m[53],m[85]); P_MI(m[54],m[86]); +P_MI(m[60],m[92]); P_MI(m[61],m[93]); P_MI(m[62],m[94]); +P_MI(m[28],m[52]); P_MI(m[29],m[53]); P_MI(m[30],m[54]); +P_MI(m[28],m[60]); P_MI(m[29],m[61]); P_MI(m[30],m[62]); +P_MA(m[4],m[36]); P_MA(m[5],m[37]); P_MA(m[6],m[38]); +P_MA(m[12],m[44]); P_MA(m[13],m[45]); P_MA(m[14],m[46]); +P_MA(m[20],m[68]); P_MA(m[21],m[69]); P_MA(m[22],m[70]); +P_MA(m[44],m[68]); P_MA(m[45],m[69]); P_MA(m[46],m[70]); +P_MA(m[36],m[68]); P_MA(m[37],m[69]); P_MA(m[38],m[70]); +P_SO(m[16],m[40]); P_SO(m[17],m[41]); P_SO(m[18],m[42]); +P_SO(m[24],m[48]); P_SO(m[25],m[49]); P_SO(m[26],m[50]); +P_SO(m[28],m[56]); P_SO(m[29],m[57]); P_SO(m[30],m[58]); +P_SO(m[16],m[24]); P_SO(m[17],m[25]); P_SO(m[18],m[26]); +P_MA(m[16],m[28]); P_MA(m[17],m[29]); P_MA(m[18],m[30]); +P_SO(m[48],m[56]); P_SO(m[49],m[57]); P_SO(m[50],m[58]); +P_MI(m[40],m[56]); P_MI(m[41],m[57]); P_MI(m[42],m[58]); +P_SO(m[24],m[28]); P_SO(m[25],m[29]); P_SO(m[26],m[30]); +P_SO(m[40],m[48]); P_SO(m[41],m[49]); P_SO(m[42],m[50]); +P_SO(m[24],m[40]); P_SO(m[25],m[41]); P_SO(m[26],m[42]); +P_MA(m[24],m[68]); P_MA(m[25],m[69]); P_MA(m[26],m[70]); +P_SO(m[48],m[68]); P_SO(m[49],m[69]); P_SO(m[50],m[70]); +P_MI(m[28],m[68]); P_MI(m[29],m[69]); P_MI(m[30],m[70]); +P_SO(m[28],m[40]); P_SO(m[29],m[41]); P_SO(m[30],m[42]); +P_SO(m[48],m[72]); P_SO(m[49],m[73]); P_SO(m[50],m[74]); +P_MA(m[28],m[48]); P_MA(m[29],m[49]); P_MA(m[30],m[50]); +P_MI(m[40],m[72]); P_MI(m[41],m[73]); P_MI(m[42],m[74]); +P_SO(m[48],m[80]); P_SO(m[49],m[81]); P_SO(m[50],m[82]); +P_MI(m[40],m[80]); P_MI(m[41],m[81]); P_MI(m[42],m[82]); +P_MA(m[40],m[48]); P_MA(m[41],m[49]); P_MA(m[42],m[50]); +return mm[12]; +} + +#undef P_SO +#undef P_SWAP +#undef P_MA +#undef P_MI + + diff --git a/src/filter/nervous/Makefile b/src/filter/nervous/Makefile new file mode 100644 index 0000000..b22341d --- /dev/null +++ b/src/filter/nervous/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/nervous/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nervous/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nervous/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nervous/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nervous/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/nervous/CMakeFiles/nervous.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nervous/CMakeFiles/nervous.dir/rule +.PHONY : src/filter/nervous/CMakeFiles/nervous.dir/rule + +# Convenience name for target. +nervous: src/filter/nervous/CMakeFiles/nervous.dir/rule +.PHONY : nervous + +# fast build rule for target. +nervous/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nervous/CMakeFiles/nervous.dir/build.make src/filter/nervous/CMakeFiles/nervous.dir/build +.PHONY : nervous/fast + +nervous.o: nervous.cpp.o +.PHONY : nervous.o + +# target to build an object file +nervous.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nervous/CMakeFiles/nervous.dir/build.make src/filter/nervous/CMakeFiles/nervous.dir/nervous.cpp.o +.PHONY : nervous.cpp.o + +nervous.i: nervous.cpp.i +.PHONY : nervous.i + +# target to preprocess a source file +nervous.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nervous/CMakeFiles/nervous.dir/build.make src/filter/nervous/CMakeFiles/nervous.dir/nervous.cpp.i +.PHONY : nervous.cpp.i + +nervous.s: nervous.cpp.s +.PHONY : nervous.s + +# target to generate assembly for a file +nervous.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nervous/CMakeFiles/nervous.dir/build.make src/filter/nervous/CMakeFiles/nervous.dir/nervous.cpp.s +.PHONY : nervous.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... nervous" + @echo "... rebuild_cache" + @echo "... nervous.o" + @echo "... nervous.i" + @echo "... nervous.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/nosync0r/Makefile b/src/filter/nosync0r/Makefile new file mode 100644 index 0000000..435ef7d --- /dev/null +++ b/src/filter/nosync0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/nosync0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nosync0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nosync0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nosync0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nosync0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/nosync0r/CMakeFiles/nosync0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/nosync0r/CMakeFiles/nosync0r.dir/rule +.PHONY : src/filter/nosync0r/CMakeFiles/nosync0r.dir/rule + +# Convenience name for target. +nosync0r: src/filter/nosync0r/CMakeFiles/nosync0r.dir/rule +.PHONY : nosync0r + +# fast build rule for target. +nosync0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nosync0r/CMakeFiles/nosync0r.dir/build.make src/filter/nosync0r/CMakeFiles/nosync0r.dir/build +.PHONY : nosync0r/fast + +nosync0r.o: nosync0r.cpp.o +.PHONY : nosync0r.o + +# target to build an object file +nosync0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nosync0r/CMakeFiles/nosync0r.dir/build.make src/filter/nosync0r/CMakeFiles/nosync0r.dir/nosync0r.cpp.o +.PHONY : nosync0r.cpp.o + +nosync0r.i: nosync0r.cpp.i +.PHONY : nosync0r.i + +# target to preprocess a source file +nosync0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nosync0r/CMakeFiles/nosync0r.dir/build.make src/filter/nosync0r/CMakeFiles/nosync0r.dir/nosync0r.cpp.i +.PHONY : nosync0r.cpp.i + +nosync0r.s: nosync0r.cpp.s +.PHONY : nosync0r.s + +# target to generate assembly for a file +nosync0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/nosync0r/CMakeFiles/nosync0r.dir/build.make src/filter/nosync0r/CMakeFiles/nosync0r.dir/nosync0r.cpp.s +.PHONY : nosync0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... nosync0r" + @echo "... rebuild_cache" + @echo "... nosync0r.o" + @echo "... nosync0r.i" + @echo "... nosync0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/perspective/Makefile b/src/filter/perspective/Makefile new file mode 100644 index 0000000..ad637ed --- /dev/null +++ b/src/filter/perspective/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/perspective/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/perspective/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/perspective/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/perspective/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/perspective/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/perspective/CMakeFiles/perspective.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/perspective/CMakeFiles/perspective.dir/rule +.PHONY : src/filter/perspective/CMakeFiles/perspective.dir/rule + +# Convenience name for target. +perspective: src/filter/perspective/CMakeFiles/perspective.dir/rule +.PHONY : perspective + +# fast build rule for target. +perspective/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/perspective/CMakeFiles/perspective.dir/build.make src/filter/perspective/CMakeFiles/perspective.dir/build +.PHONY : perspective/fast + +perspective.o: perspective.c.o +.PHONY : perspective.o + +# target to build an object file +perspective.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/perspective/CMakeFiles/perspective.dir/build.make src/filter/perspective/CMakeFiles/perspective.dir/perspective.c.o +.PHONY : perspective.c.o + +perspective.i: perspective.c.i +.PHONY : perspective.i + +# target to preprocess a source file +perspective.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/perspective/CMakeFiles/perspective.dir/build.make src/filter/perspective/CMakeFiles/perspective.dir/perspective.c.i +.PHONY : perspective.c.i + +perspective.s: perspective.c.s +.PHONY : perspective.s + +# target to generate assembly for a file +perspective.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/perspective/CMakeFiles/perspective.dir/build.make src/filter/perspective/CMakeFiles/perspective.dir/perspective.c.s +.PHONY : perspective.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... perspective" + @echo "... rebuild_cache" + @echo "... perspective.o" + @echo "... perspective.i" + @echo "... perspective.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/pixeliz0r/Makefile b/src/filter/pixeliz0r/Makefile new file mode 100644 index 0000000..89740d4 --- /dev/null +++ b/src/filter/pixeliz0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/pixeliz0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/pixeliz0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/pixeliz0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/pixeliz0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/pixeliz0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/rule +.PHONY : src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/rule + +# Convenience name for target. +pixeliz0r: src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/rule +.PHONY : pixeliz0r + +# fast build rule for target. +pixeliz0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/build.make src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/build +.PHONY : pixeliz0r/fast + +pixeliz0r.o: pixeliz0r.c.o +.PHONY : pixeliz0r.o + +# target to build an object file +pixeliz0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/build.make src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/pixeliz0r.c.o +.PHONY : pixeliz0r.c.o + +pixeliz0r.i: pixeliz0r.c.i +.PHONY : pixeliz0r.i + +# target to preprocess a source file +pixeliz0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/build.make src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/pixeliz0r.c.i +.PHONY : pixeliz0r.c.i + +pixeliz0r.s: pixeliz0r.c.s +.PHONY : pixeliz0r.s + +# target to generate assembly for a file +pixeliz0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/build.make src/filter/pixeliz0r/CMakeFiles/pixeliz0r.dir/pixeliz0r.c.s +.PHONY : pixeliz0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... pixeliz0r" + @echo "... rebuild_cache" + @echo "... pixeliz0r.o" + @echo "... pixeliz0r.i" + @echo "... pixeliz0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/posterize/CMakeLists.txt b/src/filter/posterize/CMakeLists.txt new file mode 100644 index 0000000..0e6c1b0 --- /dev/null +++ b/src/filter/posterize/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES posterize.c) +set (TARGET posterize) + +if (MSVC) + set_source_files_properties (posterize.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/posterize/Makefile b/src/filter/posterize/Makefile new file mode 100644 index 0000000..03bd9e3 --- /dev/null +++ b/src/filter/posterize/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/posterize/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/posterize/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/posterize/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/posterize/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/posterize/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/posterize/CMakeFiles/posterize.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/posterize/CMakeFiles/posterize.dir/rule +.PHONY : src/filter/posterize/CMakeFiles/posterize.dir/rule + +# Convenience name for target. +posterize: src/filter/posterize/CMakeFiles/posterize.dir/rule +.PHONY : posterize + +# fast build rule for target. +posterize/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/posterize/CMakeFiles/posterize.dir/build.make src/filter/posterize/CMakeFiles/posterize.dir/build +.PHONY : posterize/fast + +posterize.o: posterize.c.o +.PHONY : posterize.o + +# target to build an object file +posterize.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/posterize/CMakeFiles/posterize.dir/build.make src/filter/posterize/CMakeFiles/posterize.dir/posterize.c.o +.PHONY : posterize.c.o + +posterize.i: posterize.c.i +.PHONY : posterize.i + +# target to preprocess a source file +posterize.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/posterize/CMakeFiles/posterize.dir/build.make src/filter/posterize/CMakeFiles/posterize.dir/posterize.c.i +.PHONY : posterize.c.i + +posterize.s: posterize.c.s +.PHONY : posterize.s + +# target to generate assembly for a file +posterize.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/posterize/CMakeFiles/posterize.dir/build.make src/filter/posterize/CMakeFiles/posterize.dir/posterize.c.s +.PHONY : posterize.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... posterize" + @echo "... rebuild_cache" + @echo "... posterize.o" + @echo "... posterize.i" + @echo "... posterize.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/posterize/posterize.c b/src/filter/posterize/posterize.c new file mode 100644 index 0000000..12c65c1 --- /dev/null +++ b/src/filter/posterize/posterize.c @@ -0,0 +1,152 @@ +/* + * This file is a port of com.jhlabs.image.PosterizeFilter.java + * Copyright 2006 Jerry Huxtable + * + * posterize.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include + +#include "frei0r.h" +#include "frei0r_math.h" + +typedef struct posterize_instance +{ + unsigned int width; + unsigned int height; + double levels; +} posterize_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* posterize_info) +{ + posterize_info->name = "posterize"; + posterize_info->author = "Janne Liljeblad"; + posterize_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + posterize_info->color_model = F0R_COLOR_MODEL_RGBA8888; + posterize_info->frei0r_version = FREI0R_MAJOR_VERSION; + posterize_info->major_version = 0; + posterize_info->minor_version = 1; + posterize_info->num_params = 1; + posterize_info->explanation = "Posterizes image by reducing the number of colors used in image"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "levels"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Number of values per channel"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + posterize_instance_t* inst = (posterize_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->levels = 5.0 / 48.0;// input range 0 - 1 will be interpreted as levels range 2 - 50 + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + posterize_instance_t* inst = (posterize_instance_t*)instance; + + switch(param_index) + { + case 0: + inst->levels = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + posterize_instance_t* inst = (posterize_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->levels; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + posterize_instance_t* inst = (posterize_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + // convert input value 0.0-1.0 to int value 2-50 + double levelsInput = inst->levels * 48.0; + levelsInput = CLAMP(levelsInput, 0.0, 48.0) + 2.0; + int numLevels = (int)levelsInput; + + // create levels table + unsigned char levels[256]; + int i; + for (i = 0; i < 256; i++) + { + levels[i] = 255 * (numLevels*i / 256) / (numLevels-1); + } + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + unsigned char r,g,b = 0; + while (len--) + { + r = *src++; + g = *src++; + b = *src++; + + r = levels[r]; + g = levels[g]; + b = levels[b]; + + *dst++ = r; + *dst++ = g; + *dst++ = b; + *dst++ = *src++;//copy alpha + } +} + diff --git a/src/filter/primaries/Makefile b/src/filter/primaries/Makefile new file mode 100644 index 0000000..000192e --- /dev/null +++ b/src/filter/primaries/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/primaries/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/primaries/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/primaries/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/primaries/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/primaries/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/primaries/CMakeFiles/primaries.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/primaries/CMakeFiles/primaries.dir/rule +.PHONY : src/filter/primaries/CMakeFiles/primaries.dir/rule + +# Convenience name for target. +primaries: src/filter/primaries/CMakeFiles/primaries.dir/rule +.PHONY : primaries + +# fast build rule for target. +primaries/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/primaries/CMakeFiles/primaries.dir/build.make src/filter/primaries/CMakeFiles/primaries.dir/build +.PHONY : primaries/fast + +primaries.o: primaries.cpp.o +.PHONY : primaries.o + +# target to build an object file +primaries.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/primaries/CMakeFiles/primaries.dir/build.make src/filter/primaries/CMakeFiles/primaries.dir/primaries.cpp.o +.PHONY : primaries.cpp.o + +primaries.i: primaries.cpp.i +.PHONY : primaries.i + +# target to preprocess a source file +primaries.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/primaries/CMakeFiles/primaries.dir/build.make src/filter/primaries/CMakeFiles/primaries.dir/primaries.cpp.i +.PHONY : primaries.cpp.i + +primaries.s: primaries.cpp.s +.PHONY : primaries.s + +# target to generate assembly for a file +primaries.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/primaries/CMakeFiles/primaries.dir/build.make src/filter/primaries/CMakeFiles/primaries.dir/primaries.cpp.s +.PHONY : primaries.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... primaries" + @echo "... rebuild_cache" + @echo "... primaries.o" + @echo "... primaries.i" + @echo "... primaries.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/rgbnoise/CMakeLists.txt b/src/filter/rgbnoise/CMakeLists.txt new file mode 100644 index 0000000..5cf5745 --- /dev/null +++ b/src/filter/rgbnoise/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES rgbnoise.c) +set (TARGET rgbnoise) + +if (MSVC) + set_source_files_properties (rgbnoise.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/rgbnoise/Makefile b/src/filter/rgbnoise/Makefile new file mode 100644 index 0000000..a362279 --- /dev/null +++ b/src/filter/rgbnoise/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/rgbnoise/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/rgbnoise/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/rgbnoise/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/rgbnoise/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/rgbnoise/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rule +.PHONY : src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rule + +# Convenience name for target. +rgbnoise: src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rule +.PHONY : rgbnoise + +# fast build rule for target. +rgbnoise/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/build.make src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/build +.PHONY : rgbnoise/fast + +rgbnoise.o: rgbnoise.c.o +.PHONY : rgbnoise.o + +# target to build an object file +rgbnoise.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/build.make src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rgbnoise.c.o +.PHONY : rgbnoise.c.o + +rgbnoise.i: rgbnoise.c.i +.PHONY : rgbnoise.i + +# target to preprocess a source file +rgbnoise.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/build.make src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rgbnoise.c.i +.PHONY : rgbnoise.c.i + +rgbnoise.s: rgbnoise.c.s +.PHONY : rgbnoise.s + +# target to generate assembly for a file +rgbnoise.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/build.make src/filter/rgbnoise/CMakeFiles/rgbnoise.dir/rgbnoise.c.s +.PHONY : rgbnoise.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... rgbnoise" + @echo "... rgbnoise.o" + @echo "... rgbnoise.i" + @echo "... rgbnoise.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/rgbnoise/rgbnoise.c b/src/filter/rgbnoise/rgbnoise.c new file mode 100644 index 0000000..baa781f --- /dev/null +++ b/src/filter/rgbnoise/rgbnoise.c @@ -0,0 +1,217 @@ +/* + * This file is a modified port of RGB Noise plug-in from Gimp. + * It contains code from plug-ins/common/noise-rgb.c, see that for copyrights. + * + * softglow.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + +#include +#include +#include +#include "frei0r.h" +#include "frei0r_math.h" + +static int MY_MAX_RAND = 32767;// I assume RAND_MAX to be at least this big. +static double gaussian_lookup[32767]; +static int TABLE_INITED = 0; +static int next_gaussian_index = 0; +static int last_in_range = 32766; + +typedef struct rgbnoise_instance +{ + unsigned int width; + unsigned int height; + double noise; +} rgbnoise_instance_t; + + + +void f0r_deinit() +{} + +void f0r_get_plugin_info(f0r_plugin_info_t* rgbnoiseInfo) +{ + rgbnoiseInfo->name = "rgbnoise"; + rgbnoiseInfo->author = "Janne Liljeblad"; + rgbnoiseInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER; + rgbnoiseInfo->color_model = F0R_COLOR_MODEL_RGBA8888; + rgbnoiseInfo->frei0r_version = FREI0R_MAJOR_VERSION; + rgbnoiseInfo->major_version = 0; + rgbnoiseInfo->minor_version = 9; + rgbnoiseInfo->num_params = 1; + rgbnoiseInfo->explanation = "Adds RGB noise to image."; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch ( param_index ) { + case 0: + info->name = "noise"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Amount of noise added"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + rgbnoise_instance_t* inst = (rgbnoise_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->noise = 0.2; + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + rgbnoise_instance_t* inst = (rgbnoise_instance_t*)instance; + switch (param_index) + { + case 0: + inst->noise = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + rgbnoise_instance_t* inst = (rgbnoise_instance_t*)instance; + switch (param_index) + { + case 0: + *((double*)param) = inst->noise; + break; + } +} + +//-------------------------------------------------------- filter methods +static inline double nextDouble() +{ + double val = ((double) rand()) / ((double) RAND_MAX); + return val; +} + +static inline double gauss() +{ + double u, v, x; + do + { + v = nextDouble(); + + do u = nextDouble(); + while (u == 0); + + x = 1.71552776992141359295 * (v - 0.5) / u; + } + while ( x * x > -4.0 * log(u) ); + + return x; +} + +static void create_new_lookup_range() +{ + int first, last, tmp; + first = rand() % (MY_MAX_RAND - 1); + last = rand() % (MY_MAX_RAND - 1); + if (first > last) + { + tmp = last; + last = first; + first = tmp; + } + next_gaussian_index = first; + last_in_range = last; +} + +static inline double next_gauss() +{ + next_gaussian_index++; + if (next_gaussian_index >= last_in_range) + { + create_new_lookup_range(); + } + return gaussian_lookup[next_gaussian_index]; +} + +static inline int addNoise(int sample, double noise) +{ + int byteNoise = 0; + int noiseSample = 0; + + byteNoise = (int) (noise * next_gauss()); + noiseSample = sample + byteNoise; + noiseSample = CLAMP(noiseSample, 0, 255); + return noiseSample; +} + +int f0r_init() +{ + if (TABLE_INITED == 0) + { + int i; + for( i = 0; i < MY_MAX_RAND; i++) + { + gaussian_lookup[i] = gauss() * 127.0; + } + TABLE_INITED = 1; + } + return 1; +} + +void rgb_noise(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + rgbnoise_instance_t* inst = (rgbnoise_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + + int sample; + double noise = inst->noise; + while (len--) + { + sample = *src++; + *dst++ = addNoise(sample, noise); + sample = *src++; + *dst++ = addNoise(sample, noise); + sample = *src++; + *dst++ = addNoise(sample, noise); + *src++; + *dst++; + } +} + +//---------------------------------------------------- update +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + rgb_noise(instance, time, inframe, outframe); +} + diff --git a/src/filter/saturat0r/Makefile b/src/filter/saturat0r/Makefile new file mode 100644 index 0000000..b412786 --- /dev/null +++ b/src/filter/saturat0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/saturat0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/saturat0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/saturat0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/saturat0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/saturat0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/saturat0r/CMakeFiles/saturat0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/saturat0r/CMakeFiles/saturat0r.dir/rule +.PHONY : src/filter/saturat0r/CMakeFiles/saturat0r.dir/rule + +# Convenience name for target. +saturat0r: src/filter/saturat0r/CMakeFiles/saturat0r.dir/rule +.PHONY : saturat0r + +# fast build rule for target. +saturat0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/saturat0r/CMakeFiles/saturat0r.dir/build.make src/filter/saturat0r/CMakeFiles/saturat0r.dir/build +.PHONY : saturat0r/fast + +saturat0r.o: saturat0r.c.o +.PHONY : saturat0r.o + +# target to build an object file +saturat0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/saturat0r/CMakeFiles/saturat0r.dir/build.make src/filter/saturat0r/CMakeFiles/saturat0r.dir/saturat0r.c.o +.PHONY : saturat0r.c.o + +saturat0r.i: saturat0r.c.i +.PHONY : saturat0r.i + +# target to preprocess a source file +saturat0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/saturat0r/CMakeFiles/saturat0r.dir/build.make src/filter/saturat0r/CMakeFiles/saturat0r.dir/saturat0r.c.i +.PHONY : saturat0r.c.i + +saturat0r.s: saturat0r.c.s +.PHONY : saturat0r.s + +# target to generate assembly for a file +saturat0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/saturat0r/CMakeFiles/saturat0r.dir/build.make src/filter/saturat0r/CMakeFiles/saturat0r.dir/saturat0r.c.s +.PHONY : saturat0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... saturat0r" + @echo "... saturat0r.o" + @echo "... saturat0r.i" + @echo "... saturat0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/saturat0r/saturat0r.c b/src/filter/saturat0r/saturat0r.c index ec9dbce..e1e7a1d 100644 --- a/src/filter/saturat0r/saturat0r.c +++ b/src/filter/saturat0r/saturat0r.c @@ -48,7 +48,7 @@ saturat0r_info->color_model = F0R_COLOR_MODEL_RGBA8888; saturat0r_info->frei0r_version = FREI0R_MAJOR_VERSION; saturat0r_info->major_version = 0; - saturat0r_info->minor_version = 2; + saturat0r_info->minor_version = 3; saturat0r_info->num_params = 1; saturat0r_info->explanation = "Adjusts the saturation of a source image"; } @@ -69,6 +69,7 @@ { saturat0r_instance_t* inst = (saturat0r_instance_t*)calloc(1, sizeof(*inst)); inst->width = width; inst->height = height; + inst->saturation=1.0/MAX_SATURATION; return (f0r_instance_t)inst; } diff --git a/src/filter/scanline0r/Makefile b/src/filter/scanline0r/Makefile new file mode 100644 index 0000000..692a49e --- /dev/null +++ b/src/filter/scanline0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/scanline0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/scanline0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/scanline0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/scanline0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/scanline0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/scanline0r/CMakeFiles/scanline0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/scanline0r/CMakeFiles/scanline0r.dir/rule +.PHONY : src/filter/scanline0r/CMakeFiles/scanline0r.dir/rule + +# Convenience name for target. +scanline0r: src/filter/scanline0r/CMakeFiles/scanline0r.dir/rule +.PHONY : scanline0r + +# fast build rule for target. +scanline0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/scanline0r/CMakeFiles/scanline0r.dir/build.make src/filter/scanline0r/CMakeFiles/scanline0r.dir/build +.PHONY : scanline0r/fast + +scanline0r.o: scanline0r.cpp.o +.PHONY : scanline0r.o + +# target to build an object file +scanline0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/scanline0r/CMakeFiles/scanline0r.dir/build.make src/filter/scanline0r/CMakeFiles/scanline0r.dir/scanline0r.cpp.o +.PHONY : scanline0r.cpp.o + +scanline0r.i: scanline0r.cpp.i +.PHONY : scanline0r.i + +# target to preprocess a source file +scanline0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/scanline0r/CMakeFiles/scanline0r.dir/build.make src/filter/scanline0r/CMakeFiles/scanline0r.dir/scanline0r.cpp.i +.PHONY : scanline0r.cpp.i + +scanline0r.s: scanline0r.cpp.s +.PHONY : scanline0r.s + +# target to generate assembly for a file +scanline0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/scanline0r/CMakeFiles/scanline0r.dir/build.make src/filter/scanline0r/CMakeFiles/scanline0r.dir/scanline0r.cpp.s +.PHONY : scanline0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... scanline0r" + @echo "... scanline0r.o" + @echo "... scanline0r.i" + @echo "... scanline0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/scanline0r/scanline0r.cpp b/src/filter/scanline0r/scanline0r.cpp index 49b2fa8..8bd5a08 100644 --- a/src/filter/scanline0r/scanline0r.cpp +++ b/src/filter/scanline0r/scanline0r.cpp @@ -15,7 +15,7 @@ for (unsigned int line=0; line < height; line+=4) { std::copy(in+line*width,in+(line+1)*width,out+(line*width)); - std::fill(out+(line+1)*width,out+(line+5)*width,0x00000000); + std::fill(out+(line+1)*width,out+(line+4)*width,0x00000000); } } diff --git a/src/filter/select0r/Makefile b/src/filter/select0r/Makefile new file mode 100644 index 0000000..4f715b1 --- /dev/null +++ b/src/filter/select0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/select0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/select0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/select0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/select0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/select0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/select0r/CMakeFiles/select0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/select0r/CMakeFiles/select0r.dir/rule +.PHONY : src/filter/select0r/CMakeFiles/select0r.dir/rule + +# Convenience name for target. +select0r: src/filter/select0r/CMakeFiles/select0r.dir/rule +.PHONY : select0r + +# fast build rule for target. +select0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/select0r/CMakeFiles/select0r.dir/build.make src/filter/select0r/CMakeFiles/select0r.dir/build +.PHONY : select0r/fast + +select0r.o: select0r.c.o +.PHONY : select0r.o + +# target to build an object file +select0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/select0r/CMakeFiles/select0r.dir/build.make src/filter/select0r/CMakeFiles/select0r.dir/select0r.c.o +.PHONY : select0r.c.o + +select0r.i: select0r.c.i +.PHONY : select0r.i + +# target to preprocess a source file +select0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/select0r/CMakeFiles/select0r.dir/build.make src/filter/select0r/CMakeFiles/select0r.dir/select0r.c.i +.PHONY : select0r.c.i + +select0r.s: select0r.c.s +.PHONY : select0r.s + +# target to generate assembly for a file +select0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/select0r/CMakeFiles/select0r.dir/build.make src/filter/select0r/CMakeFiles/select0r.dir/select0r.c.s +.PHONY : select0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... select0r" + @echo "... select0r.o" + @echo "... select0r.i" + @echo "... select0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/select0r/readme b/src/filter/select0r/readme index 15f1aab..d31b520 100755 --- a/src/filter/select0r/readme +++ b/src/filter/select0r/readme @@ -14,6 +14,17 @@ Version 0.1 "pre-alpha" (throw it out and see what happens... :-) +** mar 2012 +Version 0.2 +is now endian independent + +** mar 2012 +Version 0.3 +adds double mapping of list parameters + +** apr 2012 +Version 0.4 +adds "Slope" edge mode and parameter DESCRIPTION @@ -36,6 +47,13 @@ the selection of a specific color in both light and shadows, but will also discard most of the high-bandwidth luma signal, making the selection less spatially accurate. + +Slope: +When edge mode is set to "Slope", this parameter controls a +gradual transition between opaque and transparent. Slope=0 gives +a "hard" key, increasing the value of this parameter increases +the range of colors around the selected color, that will be rendered +partially transparent. Selection subspace: specifies in which of the three color spaces (RGB, ABI, HCI) the @@ -62,10 +80,12 @@ sides of the box. Edge mode: -has four options: "Hard", "Fat", "Normal" and "Skinny". +has five options: "Hard", "Fat", "Normal", "Skinny" and "Slope". "Hard" means the alpha channel will be thresholded to two values only, fully opaque and fully transparent. This is mainly useful for -keying. +keying. +The "Slope" mode is also intended for keying. It is particularly +useful when keying partly transparent or fuzzy (like hair) objects. The remaining options ("Fat", "Normal" and "Skinny") create a gradual transition between transparent and opaque. Alpha will be a function of the difference of color from the selected color, with cutoff at the diff --git a/src/filter/select0r/select0r.c b/src/filter/select0r/select0r.c index 67edc78..d24d31e 100755 --- a/src/filter/select0r/select0r.c +++ b/src/filter/select0r/select0r.c @@ -2,7 +2,7 @@ select0r.c This frei0r plugin makes a color based alpha selection -Version 0.1 jul 2010 +Version 0.4 apr 2012 Copyright (C) 2010 Marko Cebokli http://lea.hamradio.si/~s57uuu @@ -23,11 +23,12 @@ */ +// apr 2012 added slope parameter //compile: gcc -c -fPIC -Wall select0r.c -o select0r.o //link: gcc -shared -o select0r.so select0r.o -//#include +//#include /* for debug printf only +/ #include #include #include @@ -61,7 +62,7 @@ // returns square of distance // r==1 is edge of subspace //box shape -inline float dist_box(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) +static inline float dist_box(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) { float ax,ay,az,r; @@ -75,7 +76,7 @@ return r; } //ellipsoid shape -inline float dist_eli(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) +static inline float dist_eli(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) { float ax,ay,az,r; @@ -86,7 +87,7 @@ return r; } //octahedron shape -inline float dist_oct(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) +static inline float dist_oct(float cx, float cy, float cz, float dx, float dy, float dz, float x, float y, float z) { float ax,ay,az,r; @@ -98,7 +99,7 @@ return r; } //box shape, cylindrical space -inline float dist_box_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) +static inline float dist_box_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) { float ax,ay,az,r; @@ -115,7 +116,7 @@ return r; } //ellipsoid shape, cylindrical space -inline float dist_eli_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) +static inline float dist_eli_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) { float ax,ay,az,r; @@ -129,7 +130,7 @@ return r; } //octahedron shape, cylindrical space -inline float dist_oct_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) +static inline float dist_oct_c(float chue, float cy, float cz, float dhue, float dy, float dz, float hue, float y, float z) { float ax,ay,az,r; @@ -146,7 +147,7 @@ //---------------------------------------------------------- //inline RGB to ABI conversion function -inline void rgb2abi(float k32, float r, float g, float b, float *a, float *bb, float *i) +static inline void rgb2abi(float k32, float r, float g, float b, float *a, float *bb, float *i) { *a=r-0.5*g-0.5*b; *bb=k32*(g-b); @@ -155,7 +156,7 @@ //---------------------------------------------------------- //inline RGB to HCI conversion function -inline void rgb2hci(float ipi2, float k32, float r, float g, float b, float *h, float *c, float *i) +static inline void rgb2hci(float ipi2, float k32, float r, float g, float b, float *h, float *c, float *i) { float a,bb; a=r-0.5*g-0.5*b; @@ -167,26 +168,32 @@ //------------------------------------------------------ //thresholding inline functions (hard and soft) -inline float thres(float a) +static inline float thres(float a) { return (a<1.0) ? 1.0 : 0.0; } -inline float fat(float a) +static inline float fat(float a) { a=a*a*a*a; return (a<1.0) ? 1.0-a : 0.0; } -inline float norm(float a) +static inline float norm(float a) { a=a*a; return (a<1.0) ? 1.0-a : 0.0; } -inline float skiny(float a) +static inline float skiny(float a) { return (a<1.0) ? 1.0-a : 0.0; +} + +static inline float slope(float a, float is) +{ +a = (a<1.0) ? 1.0 : 1.0-is*(a-1); +return (a>=0) ? a : 0.0; } //---------------------------------------------------------- @@ -197,11 +204,12 @@ //thr: 0=thresholded 1=linear fat 2=lin norm 3=lin skiny //avoids switch () inside inner loop for speed - this means //a big, repetitive switch statement outside.... -void sel_rgb(float_rgba *slika, int w, int h, float_rgba key, triplet d, triplet n, int ss, int thr) +void sel_rgb(float_rgba *slika, int w, int h, float_rgba key, triplet d, triplet n, float slp, int ss, int thr) { float kr,kg,kb,dd; int i,s; float ddx,ddy,ddz; +float islp; //add nudge kr=key.r+n.x; @@ -211,6 +219,8 @@ ddy = (d.y!=0) ? 1.0/d.y : 1.0E6; ddz = (d.z!=0) ? 1.0/d.z : 1.0E6; +islp = (slp>0.000001) ? 0.2/slp : 200000.0; + s=10*ss+thr; //to avoid nested switch statements switch (s) @@ -243,6 +253,13 @@ slika[i].a = skiny(dd); } break; + case 4: //box, linear slope + for (i=0;i0.000001) ? 0.2/slp : 200000.0; + s=10*ss+thr; //to avoid nested switch statements switch (s) @@ -366,6 +400,14 @@ slika[i].a = skiny(dd); } break; + case 4: //box, linear slope + for (i=0;i0.000001) ? 0.2/slp : 200000.0; + s=10*ss+thr; //to avoid nested switch statements switch (s) @@ -500,6 +561,14 @@ slika[i].a = skiny(dd); } break; + case 4: //box, linear slope + for (i=0;icolor_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; -info->num_params=9; +info->minor_version=4; +info->num_params=10; info->explanation="Color based alpha selection"; } @@ -663,21 +749,26 @@ info->explanation = ""; break; case 5: + info->name = "Slope"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = ""; + break; + case 6: info->name = "Selection subspace"; info->type = F0R_PARAM_DOUBLE; info->explanation = ""; break; - case 6: + case 7: info->name = "Subspace shape"; info->type = F0R_PARAM_DOUBLE; info->explanation = ""; break; - case 7: + case 8: info->name = "Edge mode"; info->type = F0R_PARAM_DOUBLE; info->explanation = ""; break; - case 8: + case 9: info->name = "Operation"; info->type = F0R_PARAM_DOUBLE; info->explanation = ""; @@ -702,6 +793,7 @@ in->sshape=0; in->del1=0.2; in->del2=0.2; in->del3=0.2; in->nud1=0.0; in->nud2=0.0; in->nud3=0.0; +in->slp=0.0; in->soft=0; in->inv=0; in->op=0; @@ -761,25 +853,30 @@ if (tmpf!=p->del3) chg=1; p->del3=tmpf; break; - case 5: //subspace - tmpi=map_value_forward(*((double*)parm), 0.0, 2.9999); - if (p->subsp != tmpi) chg=1; - p->subsp=tmpi; + case 5: //slope 1 + tmpf=*(double*)parm; + if (tmpf!=p->slp) chg=1; + p->slp=tmpf; + break; + case 6: //subspace + tmpi = map_value_forward(*(double*)parm, 0.0, 2.9999); //N-0.0001 if ((tmpi<0)||(tmpi>2.0)) break; + if (p->subsp != tmpi) chg=1; + p->subsp = tmpi; break; - case 6: //shape - tmpi=map_value_forward(*((double*)parm), 0.0, 2.9999); - if (p->sshape != tmpi) chg=1; - p->sshape=tmpi; - break; - case 7: //edge mode - tmpi=map_value_forward(*((double*)parm), 0.0, 3.9999); - if (p->soft != tmpi) chg=1; - p->soft=tmpi; - break; - case 8: //operation - tmpi=map_value_forward(*((double*)parm), 0.0, 4.9999); - if (p->op != tmpi) chg=1; - p->op=tmpi; + case 7: //shape + tmpi = map_value_forward(*(double*)parm, 0.0, 2.9999); //N-0.0001 if ((tmpi<0)||(tmpi>2.0)) break; + if (p->sshape != tmpi) chg=1; + p->sshape = tmpi; + break; + case 8: //edge mode + tmpi = map_value_forward(*(double*)parm, 0.0, 4.9999); //N-0.0001 if ((tmpi<0)||(tmpi>2.0)) break; + if (p->soft != tmpi) chg=1; + p->soft = tmpi; + break; + case 9: //operation + tmpi = map_value_forward(*(double*)parm, 0.0, 4.9999); //N-0.0001 if ((tmpi<0)||(tmpi>2.0)) break; + if (p->op != tmpi) chg=1; + p->op = tmpi; break; } @@ -791,8 +888,6 @@ void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) { inst *p; -double tmpf; -int tmpi; p=(inst*)instance; @@ -814,15 +909,18 @@ *((double*)param)=p->del3; break; case 5: + *((double*)param)=p->slp; + break; + case 6: *((double*)param)=map_value_backward(p->subsp, 0.0, 2.9999); break; - case 6: + case 7: *((double*)param)=map_value_backward(p->sshape, 0.0, 2.9999); break; - case 7: + case 8: *((double*)param)=map_value_backward(p->soft, 0.0, 3.9999); break; - case 8: + case 9: *((double*)param)=map_value_backward(p->op, 0.0, 4.9999); break; } @@ -836,7 +934,10 @@ float_rgba key; triplet d,n; int i; -uint32_t a,t; +uint32_t t; +uint8_t *cin, *cout; +float f1=1.0/256.0; +uint8_t a1,a2; assert(instance); in=(inst*)instance; @@ -853,24 +954,26 @@ n.z=in->nud3; //convert to float +cin=(uint8_t *)inframe; for (i=0;ih*in->w;i++) { - in->sl[i].r=((float)(inframe[i]&0x000000FF))*0.00392157; - in->sl[i].g=((float)((inframe[i]&0x0000FF00)>>8))*0.00392157; - in->sl[i].b=((float)((inframe[i]&0x00FF0000)>>16))*0.00392157; + in->sl[i].r=f1*(float)*cin++; + in->sl[i].g=f1*(float)*cin++; + in->sl[i].b=f1*(float)*cin++; + cin++; } //make the selection switch (in->subsp) { case 0: - sel_rgb(in->sl, in->w, in->h, key, d, n, in->sshape, in->soft); + sel_rgb(in->sl, in->w, in->h, key, d, n, in->slp, in->sshape, in->soft); break; case 1: - sel_abi(in->sl, in->w, in->h, key, d, n, in->sshape, in->soft); + sel_abi(in->sl, in->w, in->h, key, d, n, in->slp, in->sshape, in->soft); break; case 2: - sel_hci(in->sl, in->w, in->h, key, d, n, in->sshape, in->soft); + sel_hci(in->sl, in->w, in->h, key, d, n, in->slp, in->sshape, in->soft); break; default: break; @@ -882,46 +985,63 @@ in->sl[i].a = 1.0 - in->sl[i].a; //apply alpha +cin=(uint8_t *)inframe; +cout=(uint8_t *)outframe; switch (in->op) { case 0: //write on clear for (i=0;ih*in->w;i++) { - a=((uint32_t)(in->sl[i].a*255.0))<<24; - outframe[i] = (inframe[i]&0x00FFFFFF) | a; + *cout++ = *cin++; //copy R + *cout++ = *cin++; //copy G + *cout++ = *cin++; //copy B + *cout++ = (uint8_t)(in->sl[i].a*255.0); + cin++; } break; case 1: //max for (i=0;ih*in->w;i++) { - a=((uint32_t)(in->sl[i].a*255.0))<<24; - t=((inframe[i]&0xFF000000)>a) ? inframe[i]&0xFF000000 : a; - outframe[i] = (inframe[i]&0x00FFFFFF) | t; + *cout++ = *cin++; //copy R + *cout++ = *cin++; //copy G + *cout++ = *cin++; //copy B + a1 = *cin++; + a2 = (uint8_t)(in->sl[i].a*255.0); + *cout++ = (a1>a2) ? a1 : a2; } break; case 2: //min for (i=0;ih*in->w;i++) { - a=((uint32_t)(in->sl[i].a*255.0))<<24; - t=((inframe[i]&0xFF000000)sl[i].a*255.0); + *cout++ = (a1h*in->w;i++) { - a=((uint32_t)(in->sl[i].a*255.0))<<24; - t=((inframe[i]&0xFF000000)>>1)+(a>>1); - t = (t>0x7F800000) ? 0xFF000000 : t<<1; - outframe[i] = (inframe[i]&0x00FFFFFF) | t; + *cout++ = *cin++; //copy R + *cout++ = *cin++; //copy G + *cout++ = *cin++; //copy B + a1 = *cin++; + a2 = (uint8_t)(in->sl[i].a*255.0); + t=(uint32_t)a1+(uint32_t)a2; + *cout++ = (t<=255) ? (uint8_t)t : 255; } break; case 4: //subtract for (i=0;ih*in->w;i++) { - a=((uint32_t)(in->sl[i].a*255.0))<<24; - t= ((inframe[i]&0xFF000000)>a) ? (inframe[i]&0xFF000000)-a : 0; - outframe[i] = (inframe[i]&0x00FFFFFF) | t; + *cout++ = *cin++; //copy R + *cout++ = *cin++; //copy G + *cout++ = *cin++; //copy B + a1 = *cin++; + a2 = (uint8_t)(in->sl[i].a*255.0); + *cout++ = (a1>a2) ? a1-a2 : 0; } break; default: @@ -930,4 +1050,4 @@ } -//********************************************************** \ No newline at end of file +//********************************************************** diff --git a/src/filter/sharpness/Makefile b/src/filter/sharpness/Makefile new file mode 100644 index 0000000..9429852 --- /dev/null +++ b/src/filter/sharpness/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/sharpness/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sharpness/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sharpness/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sharpness/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sharpness/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/sharpness/CMakeFiles/sharpness.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sharpness/CMakeFiles/sharpness.dir/rule +.PHONY : src/filter/sharpness/CMakeFiles/sharpness.dir/rule + +# Convenience name for target. +sharpness: src/filter/sharpness/CMakeFiles/sharpness.dir/rule +.PHONY : sharpness + +# fast build rule for target. +sharpness/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sharpness/CMakeFiles/sharpness.dir/build.make src/filter/sharpness/CMakeFiles/sharpness.dir/build +.PHONY : sharpness/fast + +sharpness.o: sharpness.c.o +.PHONY : sharpness.o + +# target to build an object file +sharpness.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sharpness/CMakeFiles/sharpness.dir/build.make src/filter/sharpness/CMakeFiles/sharpness.dir/sharpness.c.o +.PHONY : sharpness.c.o + +sharpness.i: sharpness.c.i +.PHONY : sharpness.i + +# target to preprocess a source file +sharpness.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sharpness/CMakeFiles/sharpness.dir/build.make src/filter/sharpness/CMakeFiles/sharpness.dir/sharpness.c.i +.PHONY : sharpness.c.i + +sharpness.s: sharpness.c.s +.PHONY : sharpness.s + +# target to generate assembly for a file +sharpness.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sharpness/CMakeFiles/sharpness.dir/build.make src/filter/sharpness/CMakeFiles/sharpness.dir/sharpness.c.s +.PHONY : sharpness.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... sharpness" + @echo "... sharpness.o" + @echo "... sharpness.i" + @echo "... sharpness.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/sharpness/sharpness.c b/src/filter/sharpness/sharpness.c index 9057633..830251d 100755 --- a/src/filter/sharpness/sharpness.c +++ b/src/filter/sharpness/sharpness.c @@ -172,7 +172,7 @@ info->color_model=F0R_COLOR_MODEL_RGBA8888; info->frei0r_version=FREI0R_MAJOR_VERSION; info->major_version=0; -info->minor_version=1; +info->minor_version=2; info->num_params=2; info->explanation="Unsharp masking (port from Mplayer)"; } @@ -230,6 +230,7 @@ void f0r_destruct(f0r_instance_t instance) { inst *in; +int i; in=(inst*)instance; @@ -239,6 +240,7 @@ free(in->Rplano); free(in->Gplano); free(in->Bplano); +for (i=0;ifp.msizeY;i++) free(in->fp.SC[i]); free(instance); } diff --git a/src/filter/sigmoidaltransfer/CMakeLists.txt b/src/filter/sigmoidaltransfer/CMakeLists.txt new file mode 100644 index 0000000..185b984 --- /dev/null +++ b/src/filter/sigmoidaltransfer/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES sigmoidaltransfer.c) +set (TARGET sigmoidaltransfer) + +if (MSVC) + set_source_files_properties (sigmoidaltransfer.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/sigmoidaltransfer/Makefile b/src/filter/sigmoidaltransfer/Makefile new file mode 100644 index 0000000..e911440 --- /dev/null +++ b/src/filter/sigmoidaltransfer/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/sigmoidaltransfer/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sigmoidaltransfer/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sigmoidaltransfer/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sigmoidaltransfer/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sigmoidaltransfer/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/rule +.PHONY : src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/rule + +# Convenience name for target. +sigmoidaltransfer: src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/rule +.PHONY : sigmoidaltransfer + +# fast build rule for target. +sigmoidaltransfer/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/build.make src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/build +.PHONY : sigmoidaltransfer/fast + +sigmoidaltransfer.o: sigmoidaltransfer.c.o +.PHONY : sigmoidaltransfer.o + +# target to build an object file +sigmoidaltransfer.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/build.make src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/sigmoidaltransfer.c.o +.PHONY : sigmoidaltransfer.c.o + +sigmoidaltransfer.i: sigmoidaltransfer.c.i +.PHONY : sigmoidaltransfer.i + +# target to preprocess a source file +sigmoidaltransfer.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/build.make src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/sigmoidaltransfer.c.i +.PHONY : sigmoidaltransfer.c.i + +sigmoidaltransfer.s: sigmoidaltransfer.c.s +.PHONY : sigmoidaltransfer.s + +# target to generate assembly for a file +sigmoidaltransfer.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/build.make src/filter/sigmoidaltransfer/CMakeFiles/sigmoidaltransfer.dir/sigmoidaltransfer.c.s +.PHONY : sigmoidaltransfer.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... sigmoidaltransfer" + @echo "... sigmoidaltransfer.o" + @echo "... sigmoidaltransfer.i" + @echo "... sigmoidaltransfer.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/sigmoidaltransfer/sigmoidaltransfer.c b/src/filter/sigmoidaltransfer/sigmoidaltransfer.c new file mode 100644 index 0000000..52090ae --- /dev/null +++ b/src/filter/sigmoidaltransfer/sigmoidaltransfer.c @@ -0,0 +1,187 @@ +/* + * This file is contains sigmoidal transfer function from file plug-ins/common/softglow.c in gimp. + * + * sigmoidaltransfer.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include "frei0r.h" +#include "frei0r_math.h" + +#define SIGMOIDAL_BASE 2 +#define SIGMOIDAL_RANGE 20 + +typedef struct sigmoidal_instance +{ + unsigned int width; + unsigned int height; + double brightness; + double sharpness; +} sigmoidal_instance_t; + +static inline int gimp_rgb_to_l_int (int red, + int green, + int blue) +{ + int min, max; + + if (red > green) + { + max = MAX (red, blue); + min = MIN (green, blue); + } + else + { + max = MAX (green, blue); + min = MIN (red, blue); + } + + return ROUND ((max + min) / 2.0); +} + +void sigmoidal_transfer(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + sigmoidal_instance_t* inst = (sigmoidal_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + double brightness = inst->brightness; + double sharpness = inst->sharpness; + + const unsigned char* src = (unsigned char*)inframe; + unsigned char* dst = (unsigned char*)outframe; + + unsigned char luma, r, g, b; + double val; + while (len--) + { + r = *src++; + g = *src++; + b = *src++; + + //desaturate + luma = (unsigned char) gimp_rgb_to_l_int (r, g, b); + + //compute sigmoidal transfer + val = luma / 255.0; + val = 255.0 / (1 + exp (-(SIGMOIDAL_BASE + (sharpness * SIGMOIDAL_RANGE)) * (val - 0.5))); + val = val * brightness; + luma = (unsigned char) CLAMP (val, 0, 255); + + *dst++ = luma; + *dst++ = luma; + *dst++ = luma; + *dst++ = *src++; + } +} + + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* sigmoidalInfo) +{ + sigmoidalInfo->name = "sigmoidaltransfer"; + sigmoidalInfo->author = "Janne Liljeblad"; + sigmoidalInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER; + sigmoidalInfo->color_model = F0R_COLOR_MODEL_RGBA8888; + sigmoidalInfo->frei0r_version = FREI0R_MAJOR_VERSION; + sigmoidalInfo->major_version = 0; + sigmoidalInfo->minor_version = 9; + sigmoidalInfo->num_params = 2; + sigmoidalInfo->explanation = "Desaturates image and creates a particular look that could be called Stamp, Newspaper or Photocopy"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch ( param_index ) { + case 0: + info->name = "brightness"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Brightnesss of image"; + break; + case 1: + info->name = "sharpness"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Sharpness of transfer"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + sigmoidal_instance_t* inst = (sigmoidal_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->brightness = 0.75; + inst->sharpness = 0.85; + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + sigmoidal_instance_t* inst = (sigmoidal_instance_t*)instance; + switch (param_index) + { + case 0: + inst->brightness = *((double*)param); + break; + case 1: + inst->sharpness = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + sigmoidal_instance_t* inst = (sigmoidal_instance_t*)instance; + switch (param_index) + { + case 0: + *((double*)param) = inst->brightness; + break; + case 1: + *((double*)param) = inst->sharpness; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + sigmoidal_transfer(instance, time, inframe, outframe); +} + diff --git a/src/filter/sobel/Makefile b/src/filter/sobel/Makefile new file mode 100644 index 0000000..d46aa6e --- /dev/null +++ b/src/filter/sobel/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/sobel/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sobel/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sobel/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sobel/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sobel/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/sobel/CMakeFiles/sobel.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sobel/CMakeFiles/sobel.dir/rule +.PHONY : src/filter/sobel/CMakeFiles/sobel.dir/rule + +# Convenience name for target. +sobel: src/filter/sobel/CMakeFiles/sobel.dir/rule +.PHONY : sobel + +# fast build rule for target. +sobel/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sobel/CMakeFiles/sobel.dir/build.make src/filter/sobel/CMakeFiles/sobel.dir/build +.PHONY : sobel/fast + +sobel.o: sobel.cpp.o +.PHONY : sobel.o + +# target to build an object file +sobel.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sobel/CMakeFiles/sobel.dir/build.make src/filter/sobel/CMakeFiles/sobel.dir/sobel.cpp.o +.PHONY : sobel.cpp.o + +sobel.i: sobel.cpp.i +.PHONY : sobel.i + +# target to preprocess a source file +sobel.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sobel/CMakeFiles/sobel.dir/build.make src/filter/sobel/CMakeFiles/sobel.dir/sobel.cpp.i +.PHONY : sobel.cpp.i + +sobel.s: sobel.cpp.s +.PHONY : sobel.s + +# target to generate assembly for a file +sobel.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sobel/CMakeFiles/sobel.dir/build.make src/filter/sobel/CMakeFiles/sobel.dir/sobel.cpp.s +.PHONY : sobel.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... sobel" + @echo "... sobel.o" + @echo "... sobel.i" + @echo "... sobel.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/softglow/CMakeLists.txt b/src/filter/softglow/CMakeLists.txt new file mode 100644 index 0000000..759fcb8 --- /dev/null +++ b/src/filter/softglow/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES softglow.c) +set (TARGET softglow) + +if (MSVC) + set_source_files_properties (softglow.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/softglow/Makefile b/src/filter/softglow/Makefile new file mode 100644 index 0000000..135d13f --- /dev/null +++ b/src/filter/softglow/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/softglow/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/softglow/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/softglow/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/softglow/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/softglow/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/softglow/CMakeFiles/softglow.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/softglow/CMakeFiles/softglow.dir/rule +.PHONY : src/filter/softglow/CMakeFiles/softglow.dir/rule + +# Convenience name for target. +softglow: src/filter/softglow/CMakeFiles/softglow.dir/rule +.PHONY : softglow + +# fast build rule for target. +softglow/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/softglow/CMakeFiles/softglow.dir/build.make src/filter/softglow/CMakeFiles/softglow.dir/build +.PHONY : softglow/fast + +softglow.o: softglow.c.o +.PHONY : softglow.o + +# target to build an object file +softglow.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/softglow/CMakeFiles/softglow.dir/build.make src/filter/softglow/CMakeFiles/softglow.dir/softglow.c.o +.PHONY : softglow.c.o + +softglow.i: softglow.c.i +.PHONY : softglow.i + +# target to preprocess a source file +softglow.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/softglow/CMakeFiles/softglow.dir/build.make src/filter/softglow/CMakeFiles/softglow.dir/softglow.c.i +.PHONY : softglow.c.i + +softglow.s: softglow.c.s +.PHONY : softglow.s + +# target to generate assembly for a file +softglow.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/softglow/CMakeFiles/softglow.dir/build.make src/filter/softglow/CMakeFiles/softglow.dir/softglow.c.s +.PHONY : softglow.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... softglow" + @echo "... softglow.o" + @echo "... softglow.i" + @echo "... softglow.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/softglow/softglow.c b/src/filter/softglow/softglow.c new file mode 100644 index 0000000..11000a6 --- /dev/null +++ b/src/filter/softglow/softglow.c @@ -0,0 +1,307 @@ +/* + * This file is a modified port of Softglow plug-in from Gimp. + * It contains code from plug-ins/common/softglow.c, see that for copyrights. + * + * softglow.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + +#include +#include +#include +#include "frei0r.h" +#include "blur.h" +#include "frei0r_math.h" + +#define SIGMOIDAL_BASE 2 +#define SIGMOIDAL_RANGE 20 +#define NBYTES 4 +#define ALPHA 3 + +double PI=3.14159265358979; + +typedef struct softglow_instance +{ + unsigned int width; + unsigned int height; + double blur; + double brightness; + double sharpness; + double blendtype; + f0r_instance_t* blur_instance; + uint32_t* sigm_frame; + uint32_t* blurred; +} softglow_instance_t; + +void overlay(const uint32_t* source1, const uint32_t* source2, uint32_t* out, unsigned int len) +{ + unsigned char* src1 = (unsigned char*)source1; + unsigned char* src2 = (unsigned char*)source2; + unsigned char* dst = (unsigned char*)out; + + uint32_t b, tmp, tmpM; + + while (len--) + { + for (b = 0; b < ALPHA; b++) + { + dst[b] = INT_MULT(src1[b], src1[b] + INT_MULT(2 * src2[b], 255 - src1[b], tmpM), tmp); + } + + dst[ALPHA] = MIN(src1[ALPHA], src2[ALPHA]); + + src1 += NBYTES; + src2 += NBYTES; + dst += NBYTES; + } +} + +void screen(const uint32_t* source1, const uint32_t* source2, uint32_t* out, unsigned int len) +{ + unsigned char* src1 = (unsigned char*)source1; + unsigned char* src2 = (unsigned char*)source2; + unsigned char* dst = (unsigned char*)out; + + uint32_t b, tmp; + + while (len--) + { + for (b = 0; b < ALPHA; b++) + dst[b] = 255 - INT_MULT((255 - src1[b]), (255 - src2[b]), tmp); + + dst[ALPHA] = MIN(src1[ALPHA], src2[ALPHA]); + + src1 += NBYTES; + src2 += NBYTES; + dst += NBYTES; + } +} + +void add(const uint32_t* source1, const uint32_t* source2, uint32_t* out, unsigned int len) +{ + unsigned char* src1 = (unsigned char*)source1; + unsigned char* src2 = (unsigned char*)source2; + unsigned char* dst = (unsigned char*)out; + + uint32_t b, val; + + while (len--) + { + for (b = 0; b < ALPHA; b++) + { + val = src1[b] + src2[b]; + dst[b] = CLAMP(val, 0, 255); + } + + dst[ALPHA] = MIN(src1[ALPHA], src2[ALPHA]); + + src1 += NBYTES; + src2 += NBYTES; + dst += NBYTES; + } + } + +int +gimp_rgb_to_l_int (int red, + int green, + int blue) +{ + int min, max; + + if (red > green) + { + max = MAX (red, blue); + min = MIN (green, blue); + } + else + { + max = MAX (green, blue); + min = MIN (red, blue); + } + + return ROUND ((max + min) / 2.0); +} + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* softglowInfo) +{ + softglowInfo->name = "softglow"; + softglowInfo->author = "Janne Liljeblad"; + softglowInfo->plugin_type = F0R_PLUGIN_TYPE_FILTER; + softglowInfo->color_model = F0R_COLOR_MODEL_RGBA8888; + softglowInfo->frei0r_version = FREI0R_MAJOR_VERSION; + softglowInfo->major_version = 0; + softglowInfo->minor_version = 9; + softglowInfo->num_params = 4; + softglowInfo->explanation = "Does softglow effect on highlights"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch ( param_index ) { + case 0: + info->name = "blur"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Blur of the glow"; + break; + case 1: + info->name = "brightness"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Brightness of highlight areas"; + break; + case 2: + info->name = "sharpness"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Sharpness of highlight areas"; + break; + case 3: // 0 - 0.33 screen, 0.33 - 0.66 overla7, 0.66 - 1.0 add + info->name = "blurblend"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Blend mode used to blend highlight blur with input image"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + softglow_instance_t* inst = (softglow_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->blur = 0.5; + inst->brightness = 0.75; + inst->sharpness = 0.85; + inst->blendtype = 0.0; + inst->blur_instance = (f0r_instance_t *)blur_construct(width, height); + inst->sigm_frame = (uint32_t*)malloc(width * height * sizeof(uint32_t)); + inst->blurred = (uint32_t*)malloc(width * height * sizeof(uint32_t)); + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + softglow_instance_t* inst = (softglow_instance_t*)instance; + blur_destruct(inst->blur_instance); + free(inst->sigm_frame); + free(inst->blurred); + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + softglow_instance_t* inst = (softglow_instance_t*)instance; + switch (param_index) + { + case 0: + inst->blur = *((double*)param); + blur_set_param_value(inst->blur_instance, &inst->blur, 0 ); + break; + case 1: + inst->brightness = *((double*)param); + break; + case 2: + inst->sharpness = *((double*)param); + break; + case 3: + inst->blendtype = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + softglow_instance_t* inst = (softglow_instance_t*)instance; + switch (param_index) + { + case 0: + *((double*)param) = inst->blur; + break; + case 1: + *((double*)param) = inst->brightness; + break; + case 2: + *((double*)param) = inst->sharpness; + break; + case 3: + *((double*)param) = inst->blendtype; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + // Check and cast instance + assert(instance); + softglow_instance_t* inst = (softglow_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + double brightness = inst->brightness; + double sharpness = inst->sharpness; + + const unsigned char* src = (unsigned char*)inframe; + + memcpy(inst->sigm_frame, inframe, len*sizeof(uint32_t)); + unsigned char* dst = (unsigned char*)inst->sigm_frame; + + unsigned char luma, r, g, b; + double val; + while (len--) + { + r = *src++; + g = *src++; + b = *src++; + + //desaturate + luma = (unsigned char) gimp_rgb_to_l_int (r, g, b); + + //compute sigmoidal transfer + val = luma / 255.0; + val = 255.0 / (1 + exp (-(SIGMOIDAL_BASE + (sharpness * SIGMOIDAL_RANGE)) * (val - 0.5))); + val = val * brightness; + luma = (unsigned char) CLAMP (val, 0, 255); + + *dst++ = luma; + *dst++ = luma; + *dst++ = luma; + *dst++ = *src++; + } + + blur_update(inst->blur_instance, 0.0, inst->sigm_frame, inst->blurred); + + if (inst->blendtype <= 0.33) + screen(inst->blurred, inframe, outframe, inst->width * inst->height); + else if(inst->blendtype <= 0.66) + overlay(inst->blurred, inframe, outframe, inst->width * inst->height); + else + add(inst->blurred, inframe, outframe, inst->width * inst->height); +} + + + + diff --git a/src/filter/sopsat/Makefile b/src/filter/sopsat/Makefile new file mode 100644 index 0000000..e7aaa7c --- /dev/null +++ b/src/filter/sopsat/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/sopsat/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sopsat/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sopsat/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sopsat/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sopsat/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/sopsat/CMakeFiles/sopsat.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/sopsat/CMakeFiles/sopsat.dir/rule +.PHONY : src/filter/sopsat/CMakeFiles/sopsat.dir/rule + +# Convenience name for target. +sopsat: src/filter/sopsat/CMakeFiles/sopsat.dir/rule +.PHONY : sopsat + +# fast build rule for target. +sopsat/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sopsat/CMakeFiles/sopsat.dir/build.make src/filter/sopsat/CMakeFiles/sopsat.dir/build +.PHONY : sopsat/fast + +sopsat.o: sopsat.cpp.o +.PHONY : sopsat.o + +# target to build an object file +sopsat.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sopsat/CMakeFiles/sopsat.dir/build.make src/filter/sopsat/CMakeFiles/sopsat.dir/sopsat.cpp.o +.PHONY : sopsat.cpp.o + +sopsat.i: sopsat.cpp.i +.PHONY : sopsat.i + +# target to preprocess a source file +sopsat.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sopsat/CMakeFiles/sopsat.dir/build.make src/filter/sopsat/CMakeFiles/sopsat.dir/sopsat.cpp.i +.PHONY : sopsat.cpp.i + +sopsat.s: sopsat.cpp.s +.PHONY : sopsat.s + +# target to generate assembly for a file +sopsat.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/sopsat/CMakeFiles/sopsat.dir/build.make src/filter/sopsat/CMakeFiles/sopsat.dir/sopsat.cpp.s +.PHONY : sopsat.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... sopsat" + @echo "... sopsat.o" + @echo "... sopsat.i" + @echo "... sopsat.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/sopsat/sopsat.cpp b/src/filter/sopsat/sopsat.cpp index f23f067..dc02b38 100644 --- a/src/filter/sopsat/sopsat.cpp +++ b/src/filter/sopsat/sopsat.cpp @@ -92,19 +92,19 @@ register_param(bPower, "bPower", "Power (Gamma) of the blue color component"); register_param(aPower, "aPower", "Power (Gamma) of the alpha component"); register_param(saturation, "saturation", "Overall saturation"); - rSlope = 1; - gSlope = 1; - bSlope = 1; - aSlope = 1; - rOffset = 0; - gOffset = 0; - bOffset = 0; - aOffset = 0; - rPower = 1; - gPower = 1; - bPower = 1; - aPower = 1; - saturation = 200; + rSlope = 1 / 20.; + gSlope = 1 / 20.; + bSlope = 1 / 20.; + aSlope = 1 / 20.; + rOffset = (0 - (-4)) / (double)(4 - (-4)); + gOffset = (0 - (-4)) / (double)(4 - (-4)); + bOffset = (0 - (-4)) / (double)(4 - (-4)); + aOffset = (0 - (-4)) / (double)(4 - (-4)); + rPower = 1 / 20.; + gPower = 1 / 20.; + bPower = 1 / 20.; + aPower = 1 / 20.; + saturation = 1 / 10.; // Pre-build the lookup table. // For 1080p, rendering a 5-second video took @@ -171,22 +171,22 @@ double m_sat; void updateLUT() { - double rS = rSlope; - double gS = gSlope; - double bS = bSlope; - double aS = aSlope; - - double rO = rOffset; - double gO = gOffset; - double bO = bOffset; - double aO = aOffset; - - double rP = rPower; - double gP = gPower; - double bP = bPower; - double aP = aPower; - - m_sat = saturation; + double rS = rSlope * 20; + double gS = gSlope * 20; + double bS = bSlope * 20; + double aS = aSlope * 20; + + double rO = -4 + rOffset * (4 - (-4)); + double gO = -4 + gOffset * (4 - (-4)); + double bO = -4 + bOffset * (4 - (-4)); + double aO = -4 + aOffset * (4 - (-4)); + + double rP = rPower * 20; + double gP = gPower * 20; + double bP = bPower * 20; + double aP = aPower * 20; + + m_sat = saturation * 10; for (int i = 0; i < 256; i++) { // above0 avoids overflows for negative numbers. @@ -212,5 +212,5 @@ frei0r::construct plugin("SOP/Sat", "Slope/Offset/Power and Saturation color corrections according to the ASC CDL (Color Decision List)", "Simon A. Eugster (Granjow)", - 0,1, + 0,2, F0R_COLOR_MODEL_RGBA8888); diff --git a/src/filter/spillsupress/CMakeLists.txt b/src/filter/spillsupress/CMakeLists.txt new file mode 100644 index 0000000..125c2f9 --- /dev/null +++ b/src/filter/spillsupress/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES spillsupress.c) +set (TARGET spillsupress) + +if (MSVC) + set_source_files_properties (spillsupress.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/spillsupress/Makefile b/src/filter/spillsupress/Makefile new file mode 100644 index 0000000..43e72ad --- /dev/null +++ b/src/filter/spillsupress/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/spillsupress/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/spillsupress/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/spillsupress/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/spillsupress/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/spillsupress/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/spillsupress/CMakeFiles/spillsupress.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/spillsupress/CMakeFiles/spillsupress.dir/rule +.PHONY : src/filter/spillsupress/CMakeFiles/spillsupress.dir/rule + +# Convenience name for target. +spillsupress: src/filter/spillsupress/CMakeFiles/spillsupress.dir/rule +.PHONY : spillsupress + +# fast build rule for target. +spillsupress/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/spillsupress/CMakeFiles/spillsupress.dir/build.make src/filter/spillsupress/CMakeFiles/spillsupress.dir/build +.PHONY : spillsupress/fast + +spillsupress.o: spillsupress.c.o +.PHONY : spillsupress.o + +# target to build an object file +spillsupress.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/spillsupress/CMakeFiles/spillsupress.dir/build.make src/filter/spillsupress/CMakeFiles/spillsupress.dir/spillsupress.c.o +.PHONY : spillsupress.c.o + +spillsupress.i: spillsupress.c.i +.PHONY : spillsupress.i + +# target to preprocess a source file +spillsupress.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/spillsupress/CMakeFiles/spillsupress.dir/build.make src/filter/spillsupress/CMakeFiles/spillsupress.dir/spillsupress.c.i +.PHONY : spillsupress.c.i + +spillsupress.s: spillsupress.c.s +.PHONY : spillsupress.s + +# target to generate assembly for a file +spillsupress.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/spillsupress/CMakeFiles/spillsupress.dir/build.make src/filter/spillsupress/CMakeFiles/spillsupress.dir/spillsupress.c.s +.PHONY : spillsupress.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... spillsupress" + @echo "... spillsupress.o" + @echo "... spillsupress.i" + @echo "... spillsupress.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/spillsupress/spillsupress.c b/src/filter/spillsupress/spillsupress.c new file mode 100644 index 0000000..7f21633 --- /dev/null +++ b/src/filter/spillsupress/spillsupress.c @@ -0,0 +1,190 @@ +/* + * spillsupress.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include + +#include "frei0r.h" + +void green_limited_by_blue(unsigned int len, const uint32_t* inframe, uint32_t* outframe) +{ + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + unsigned char b = 0; + unsigned char g = 0; + + while (len--) + { + *dst++ = *src++; + g = *src++; + *dst++; + b = *src++; + *dst++; + *dst++ = *src++; + + if( g > b ) + { + *(dst - 3) = b; + *(dst - 2) = b; + } + else + { + *(dst - 3) = g; + *(dst - 2) = b; + } + + } +} + +void blue_limited_by_green(unsigned int len, const uint32_t* inframe, uint32_t* outframe) +{ + + unsigned char* dst = (unsigned char*)outframe; + const unsigned char* src = (unsigned char*)inframe; + unsigned char b = 0; + unsigned char g = 0; + + while (len--) + { + *dst++ = *src++; + g = *src++; + *dst++; + b = *src++; + *dst++; + *dst++ = *src++; + + if( b > g ) + { + *(dst - 3) = g; + *(dst - 2) = g; + } + else + { + *(dst - 3) = g; + *(dst - 2) = b; + } + + } +} + +typedef struct spillsupress_instance +{ + unsigned int width; + unsigned int height; + double supress_type; /* type of spill supression applied to image + <= 0.5, green supress + > 0.5, blue supress */ +} spillsupress_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ /* no initialization required */ } + +void f0r_get_plugin_info(f0r_plugin_info_t* spillsupress_info) +{ + spillsupress_info->name = "spillsupress"; + spillsupress_info->author = "Janne Liljeblad"; + spillsupress_info->plugin_type = F0R_PLUGIN_TYPE_FILTER; + spillsupress_info->color_model = F0R_COLOR_MODEL_RGBA8888; + spillsupress_info->frei0r_version = FREI0R_MAJOR_VERSION; + spillsupress_info->major_version = 0; + spillsupress_info->minor_version = 1; + spillsupress_info->num_params = 1; + spillsupress_info->explanation = "Remove green or blue spill light from subjects shot in front of green or blue screen"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) + { + case 0: + info->name = "supresstype"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Defines if green or blue screen spill supress is applied"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + spillsupress_instance_t* inst = (spillsupress_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + inst->supress_type = 0.0; // default supress type is green supress + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + spillsupress_instance_t* inst = (spillsupress_instance_t*)instance; + + switch(param_index) + { + case 0: + inst->supress_type = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, + f0r_param_t param, int param_index) +{ + assert(instance); + spillsupress_instance_t* inst = (spillsupress_instance_t*)instance; + + switch(param_index) + { + case 0: + *((double*)param) = inst->supress_type; + break; + } +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + assert(instance); + spillsupress_instance_t* inst = (spillsupress_instance_t*)instance; + unsigned int len = inst->width * inst->height; + + if (inst->supress_type > 0.5) + { + blue_limited_by_green(len, inframe, outframe); + } + else + { + green_limited_by_blue(len, inframe, outframe); + } +} + diff --git a/src/filter/squareblur/Makefile b/src/filter/squareblur/Makefile new file mode 100644 index 0000000..8185325 --- /dev/null +++ b/src/filter/squareblur/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/squareblur/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/squareblur/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/squareblur/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/squareblur/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/squareblur/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/squareblur/CMakeFiles/squareblur.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/squareblur/CMakeFiles/squareblur.dir/rule +.PHONY : src/filter/squareblur/CMakeFiles/squareblur.dir/rule + +# Convenience name for target. +squareblur: src/filter/squareblur/CMakeFiles/squareblur.dir/rule +.PHONY : squareblur + +# fast build rule for target. +squareblur/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/squareblur/CMakeFiles/squareblur.dir/build.make src/filter/squareblur/CMakeFiles/squareblur.dir/build +.PHONY : squareblur/fast + +squareblur.o: squareblur.c.o +.PHONY : squareblur.o + +# target to build an object file +squareblur.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/squareblur/CMakeFiles/squareblur.dir/build.make src/filter/squareblur/CMakeFiles/squareblur.dir/squareblur.c.o +.PHONY : squareblur.c.o + +squareblur.i: squareblur.c.i +.PHONY : squareblur.i + +# target to preprocess a source file +squareblur.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/squareblur/CMakeFiles/squareblur.dir/build.make src/filter/squareblur/CMakeFiles/squareblur.dir/squareblur.c.i +.PHONY : squareblur.c.i + +squareblur.s: squareblur.c.s +.PHONY : squareblur.s + +# target to generate assembly for a file +squareblur.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/squareblur/CMakeFiles/squareblur.dir/build.make src/filter/squareblur/CMakeFiles/squareblur.dir/squareblur.c.s +.PHONY : squareblur.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... squareblur" + @echo "... squareblur.o" + @echo "... squareblur.i" + @echo "... squareblur.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/squareblur/squareblur.c b/src/filter/squareblur/squareblur.c index 3ab98ff..64fed98 100644 --- a/src/filter/squareblur/squareblur.c +++ b/src/filter/squareblur/squareblur.c @@ -24,106 +24,7 @@ #include #include "frei0r.h" - -#define SIZE_RGBA 4 - -static inline int MAX(int a, int b) -{ - return (a > b ? a : b); -} - -static inline int MIN(int a, int b) -{ - return (a < b ? a : b); -} - -static inline void subtract_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ -= *src++; -} - -static inline void add_acc(uint32_t *dst, const uint32_t *src) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ += *src++; -} - -static inline void divide(unsigned char *dst, const uint32_t *src, const unsigned int val) -{ - int n=SIZE_RGBA; - while (n--) - *dst++ = *src++ / val; -} - -typedef struct squareblur_instance -{ - unsigned int width; - unsigned int height; - double kernel; /* the kernel size, as a percentage of the biggest of width and height */ - uint32_t *mem; /* memory accumulation matrix of uint32_t (size = acc_width*acc_height*SIZE_RGBA) */ - uint32_t **acc; /* accumulation matrix of pointers to SIZE_RGBA consecutive uint32_t in mem (size = acc_width*acc_height) */ -} squareblur_instance_t; - -/* Updates the summed area table. */ -void update_summed_area_table(squareblur_instance_t *inst, const uint32_t *src) -{ - register unsigned char *iter_data; - register uint32_t *iter_mem; - register unsigned int i, x, y; - - uint32_t acc_buffer[SIZE_RGBA]; /* accumulation buffer */ - - unsigned int row_width; - unsigned int width, height; - unsigned int cell_size; - - /* Compute basic params. */ - width = inst->width+1; - height = inst->height+1; - row_width = SIZE_RGBA * width; - cell_size = SIZE_RGBA * sizeof(uint32_t); - - /* Init iterators. */ - iter_data = (unsigned char*) src; - iter_mem = inst->mem; - - /* Process first row (all zeros). */ - memset(iter_mem, 0, row_width * cell_size); - iter_mem += row_width; - - if (height >= 1) - { - /* Process second row. */ - memset(acc_buffer, 0, cell_size); - memset(iter_mem, 0, cell_size); /* first column is void */ - iter_mem += SIZE_RGBA; - for (x=1; xname = "Kernel size"; - info->type = F0R_PARAM_DOUBLE; - info->explanation = "The size of the kernel, as a proportion to its coverage of the image"; - break; - } + blur_get_param_info(info, param_index); } f0r_instance_t f0r_construct(unsigned int width, unsigned int height) { - squareblur_instance_t* inst = (squareblur_instance_t*)calloc(1, sizeof(*inst)); - unsigned int i; - unsigned int acc_width, acc_height = height+1; - uint32_t* iter_mem; - uint32_t** iter_acc; - /* set params */ - inst->width = width; inst->height = height; - acc_width = width+1; acc_height = height+1; - /* allocate memory for the summed-area-table */ - inst->mem = (uint32_t*) malloc(acc_width*acc_height*SIZE_RGBA*sizeof(uint32_t)); - inst->acc = (uint32_t**) malloc(acc_width*acc_height*sizeof(uint32_t*)); - /* point at the right place */ - iter_mem = inst->mem; - iter_acc = inst->acc; - for (i=0; iacc); - free(inst->mem); - free(instance); + blur_destruct(instance); } void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) { - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - /* kernel size */ - inst->kernel = *((double*)param); - break; - } + blur_set_param_value(instance, param, param_index); } void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) { - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - switch(param_index) - { - case 0: - *((double*)param) = inst->kernel; - break; - } + blur_get_param_value(instance, param, param_index); } void f0r_update(f0r_instance_t instance, double time, const uint32_t* inframe, uint32_t* outframe) { - assert(instance); - squareblur_instance_t* inst = (squareblur_instance_t*)instance; - - unsigned int width = inst->width; - unsigned int height = inst->height; - unsigned int acc_width = width+1; /* width of the summed area table */ - - unsigned int kernel_size = (unsigned int) (inst->kernel * (MAX(width, height) / 2.0)); - - unsigned int x, y; - unsigned int x0, x1, y0, y1; - unsigned int area; - - if (kernel_size <= 0) - { - /* No blur, just copy image. */ - memcpy(outframe, inframe, width*height*sizeof(uint32_t)); - } - else - { - assert(inst->acc); - unsigned char* dst = (unsigned char*)outframe; - uint32_t** acc = inst->acc; - uint32_t sum[SIZE_RGBA]; - unsigned int y0_offset, y1_offset; - - /* Compute the summed area table. */ - update_summed_area_table(inst, inframe); - - /* Loop through the image's pixels. */ - for (y=0;yheight; i++) { int offset = (i * inst->width + j) * 4; if (copyPixel) { - dst[offset] = src[offset++]; - dst[offset] = src[offset++]; - dst[offset] = src[offset++]; + dst[offset] = src[offset]; + offset++; + dst[offset] = src[offset]; + offset++; + dst[offset] = src[offset]; + offset++; } else { - dst[offset] = mapRed[src[offset++]]; - dst[offset] = mapGreen[src[offset++]]; - dst[offset] = mapBlue[src[offset++]]; + dst[offset] = mapRed[src[offset]]; + offset++; + dst[offset] = mapGreen[src[offset]]; + offset++; + dst[offset] = mapBlue[src[offset]]; + offset++; } - dst[offset] = src[offset++]; // copy alpha + dst[offset] = src[offset]; // copy alpha + offset++; } } diff --git a/src/filter/threelay0r/Makefile b/src/filter/threelay0r/Makefile new file mode 100644 index 0000000..2da464d --- /dev/null +++ b/src/filter/threelay0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/threelay0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threelay0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threelay0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threelay0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threelay0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/threelay0r/CMakeFiles/threelay0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threelay0r/CMakeFiles/threelay0r.dir/rule +.PHONY : src/filter/threelay0r/CMakeFiles/threelay0r.dir/rule + +# Convenience name for target. +threelay0r: src/filter/threelay0r/CMakeFiles/threelay0r.dir/rule +.PHONY : threelay0r + +# fast build rule for target. +threelay0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threelay0r/CMakeFiles/threelay0r.dir/build.make src/filter/threelay0r/CMakeFiles/threelay0r.dir/build +.PHONY : threelay0r/fast + +threelay0r.o: threelay0r.cpp.o +.PHONY : threelay0r.o + +# target to build an object file +threelay0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threelay0r/CMakeFiles/threelay0r.dir/build.make src/filter/threelay0r/CMakeFiles/threelay0r.dir/threelay0r.cpp.o +.PHONY : threelay0r.cpp.o + +threelay0r.i: threelay0r.cpp.i +.PHONY : threelay0r.i + +# target to preprocess a source file +threelay0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threelay0r/CMakeFiles/threelay0r.dir/build.make src/filter/threelay0r/CMakeFiles/threelay0r.dir/threelay0r.cpp.i +.PHONY : threelay0r.cpp.i + +threelay0r.s: threelay0r.cpp.s +.PHONY : threelay0r.s + +# target to generate assembly for a file +threelay0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threelay0r/CMakeFiles/threelay0r.dir/build.make src/filter/threelay0r/CMakeFiles/threelay0r.dir/threelay0r.cpp.s +.PHONY : threelay0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... threelay0r" + @echo "... threelay0r.o" + @echo "... threelay0r.i" + @echo "... threelay0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/threshold0r/Makefile b/src/filter/threshold0r/Makefile new file mode 100644 index 0000000..f130b4f --- /dev/null +++ b/src/filter/threshold0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/threshold0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threshold0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threshold0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threshold0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threshold0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/threshold0r/CMakeFiles/threshold0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/threshold0r/CMakeFiles/threshold0r.dir/rule +.PHONY : src/filter/threshold0r/CMakeFiles/threshold0r.dir/rule + +# Convenience name for target. +threshold0r: src/filter/threshold0r/CMakeFiles/threshold0r.dir/rule +.PHONY : threshold0r + +# fast build rule for target. +threshold0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threshold0r/CMakeFiles/threshold0r.dir/build.make src/filter/threshold0r/CMakeFiles/threshold0r.dir/build +.PHONY : threshold0r/fast + +threshold0r.o: threshold0r.c.o +.PHONY : threshold0r.o + +# target to build an object file +threshold0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threshold0r/CMakeFiles/threshold0r.dir/build.make src/filter/threshold0r/CMakeFiles/threshold0r.dir/threshold0r.c.o +.PHONY : threshold0r.c.o + +threshold0r.i: threshold0r.c.i +.PHONY : threshold0r.i + +# target to preprocess a source file +threshold0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threshold0r/CMakeFiles/threshold0r.dir/build.make src/filter/threshold0r/CMakeFiles/threshold0r.dir/threshold0r.c.i +.PHONY : threshold0r.c.i + +threshold0r.s: threshold0r.c.s +.PHONY : threshold0r.s + +# target to generate assembly for a file +threshold0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/threshold0r/CMakeFiles/threshold0r.dir/build.make src/filter/threshold0r/CMakeFiles/threshold0r.dir/threshold0r.c.s +.PHONY : threshold0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... threshold0r" + @echo "... threshold0r.o" + @echo "... threshold0r.i" + @echo "... threshold0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/timeout/CMakeLists.txt b/src/filter/timeout/CMakeLists.txt new file mode 100644 index 0000000..b28ab84 --- /dev/null +++ b/src/filter/timeout/CMakeLists.txt @@ -0,0 +1,17 @@ +# Replace «tutorial» by the library name of your filter +# and add the filter directory in src/filter/CMakeLists.txt. +set (SOURCES timeout.cpp) +set (TARGET timeout) + +if (MSVC) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) + +# No «lib» prefix (name.so instead of libname.so) +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +# Do not install a tutorial effect ;) +# (Can be installed for testing though.) +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/timeout/Makefile b/src/filter/timeout/Makefile new file mode 100644 index 0000000..547734e --- /dev/null +++ b/src/filter/timeout/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/timeout/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/timeout/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/timeout/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/timeout/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/timeout/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/timeout/CMakeFiles/timeout.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/timeout/CMakeFiles/timeout.dir/rule +.PHONY : src/filter/timeout/CMakeFiles/timeout.dir/rule + +# Convenience name for target. +timeout: src/filter/timeout/CMakeFiles/timeout.dir/rule +.PHONY : timeout + +# fast build rule for target. +timeout/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/timeout/CMakeFiles/timeout.dir/build.make src/filter/timeout/CMakeFiles/timeout.dir/build +.PHONY : timeout/fast + +timeout.o: timeout.cpp.o +.PHONY : timeout.o + +# target to build an object file +timeout.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/timeout/CMakeFiles/timeout.dir/build.make src/filter/timeout/CMakeFiles/timeout.dir/timeout.cpp.o +.PHONY : timeout.cpp.o + +timeout.i: timeout.cpp.i +.PHONY : timeout.i + +# target to preprocess a source file +timeout.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/timeout/CMakeFiles/timeout.dir/build.make src/filter/timeout/CMakeFiles/timeout.dir/timeout.cpp.i +.PHONY : timeout.cpp.i + +timeout.s: timeout.cpp.s +.PHONY : timeout.s + +# target to generate assembly for a file +timeout.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/timeout/CMakeFiles/timeout.dir/build.make src/filter/timeout/CMakeFiles/timeout.dir/timeout.cpp.s +.PHONY : timeout.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... timeout" + @echo "... timeout.o" + @echo "... timeout.i" + @echo "... timeout.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/timeout/timeout.cpp b/src/filter/timeout/timeout.cpp new file mode 100644 index 0000000..a91225b --- /dev/null +++ b/src/filter/timeout/timeout.cpp @@ -0,0 +1,137 @@ +/* + * Copyright (C) 2010-2011 Simon Andreas Eugster (simon.eu@gmail.com) + * This file is not a Frei0r plugin but a collection of ideas. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include "frei0r.hpp" +#include + +//#define DEBUG + +typedef unsigned char uchar; +struct ABGR { + uchar r; + uchar g; + uchar b; + uchar a; + + ABGR blend(const ABGR &other, const float opacity) + { +#ifdef DEBUG + if (opacity < 0 || opacity > 1) { + std::cerr << "Timeout indicator: Opacity must be within 0 and 1!" << std::endl; + } +#endif + const float l = opacity; + const float r = 1-opacity; + ABGR ret; + ret.r = l*r + r*other.r; + ret.g = l*g + r*other.g; + ret.b = l*b + r*other.b; + ret.a = other.a; + return ret; + } +}; +union ABGRPixel { + ABGR color; + uint32_t value; +}; + +class Timeout : public frei0r::filter +{ + +public: + + Timeout(unsigned int width, unsigned int height) + + { + register_param(m_time, "time", "Current time"); + register_param(m_color, "color", "Indicator colour"); + register_param(m_transparency, "transparency", "Indicator transparency"); + + W = std::min(width, height) / 20; + H = W; + + x0 = width-2*W; + y0 = height-H; + } + + ~Timeout() + { + // Delete member variables if necessary. + } + + virtual void update() + { + std::copy(in, in + width*height, out); + + + ABGR col; + col.r = 255*m_color.r; + col.g = 255*m_color.g; + col.b = 255*m_color.b; + col.a = 255; + + float yt = y0 - (1-m_time)*H; + ABGR *outAsABGR = (ABGR*) out; + +#ifdef DEBUG +#define printcol(x) std::cout << #x ": [ " << (int) x.r << " | " << (int) x.g << " | " << (int) x.b << " ]" << std::endl; + + std::cout << "r = " << m_color.r << ", g = " << m_color.g << std::endl; + ABGR blended = col.blend(outAsABGR[0], .5); + printcol(col); + printcol(outAsABGR[0]); + printcol(blended); +#undef printcol +#endif + + + for (int y = y0; y >= int(yt); y--) { + + float factor = 1-m_transparency; + if (y == int(yt)) { + factor *= 1 - (yt-int(yt)); + } + + for (int x = x0; x < x0+W; x++) { + + outAsABGR[width*y + x] = col.blend(outAsABGR[width*y + x], factor); + } + } + + } + +private: + // The various f0r_params are adjustable parameters. + // This one determines the size of the black bar in this example. + f0r_param_double m_time; + f0r_param_color m_color; + f0r_param_double m_transparency; + + unsigned int x0, y0; + unsigned int W , H ; + +}; + + + +frei0r::construct plugin("Timeout indicator", + "Timeout indicators e.g. for slides.", + "Simon A. Eugster", + 0,1, + F0R_COLOR_MODEL_RGBA8888); diff --git a/src/filter/tint0r/Makefile b/src/filter/tint0r/Makefile new file mode 100644 index 0000000..d881eee --- /dev/null +++ b/src/filter/tint0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/tint0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tint0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tint0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tint0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tint0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/tint0r/CMakeFiles/tint0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tint0r/CMakeFiles/tint0r.dir/rule +.PHONY : src/filter/tint0r/CMakeFiles/tint0r.dir/rule + +# Convenience name for target. +tint0r: src/filter/tint0r/CMakeFiles/tint0r.dir/rule +.PHONY : tint0r + +# fast build rule for target. +tint0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tint0r/CMakeFiles/tint0r.dir/build.make src/filter/tint0r/CMakeFiles/tint0r.dir/build +.PHONY : tint0r/fast + +tint0r.o: tint0r.c.o +.PHONY : tint0r.o + +# target to build an object file +tint0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tint0r/CMakeFiles/tint0r.dir/build.make src/filter/tint0r/CMakeFiles/tint0r.dir/tint0r.c.o +.PHONY : tint0r.c.o + +tint0r.i: tint0r.c.i +.PHONY : tint0r.i + +# target to preprocess a source file +tint0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tint0r/CMakeFiles/tint0r.dir/build.make src/filter/tint0r/CMakeFiles/tint0r.dir/tint0r.c.i +.PHONY : tint0r.c.i + +tint0r.s: tint0r.c.s +.PHONY : tint0r.s + +# target to generate assembly for a file +tint0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tint0r/CMakeFiles/tint0r.dir/build.make src/filter/tint0r/CMakeFiles/tint0r.dir/tint0r.c.s +.PHONY : tint0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... tint0r" + @echo "... tint0r.o" + @echo "... tint0r.i" + @echo "... tint0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/transparency/Makefile b/src/filter/transparency/Makefile new file mode 100644 index 0000000..6cd9eaa --- /dev/null +++ b/src/filter/transparency/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/transparency/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/transparency/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/transparency/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/transparency/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/transparency/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/transparency/CMakeFiles/transparency.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/transparency/CMakeFiles/transparency.dir/rule +.PHONY : src/filter/transparency/CMakeFiles/transparency.dir/rule + +# Convenience name for target. +transparency: src/filter/transparency/CMakeFiles/transparency.dir/rule +.PHONY : transparency + +# fast build rule for target. +transparency/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/transparency/CMakeFiles/transparency.dir/build.make src/filter/transparency/CMakeFiles/transparency.dir/build +.PHONY : transparency/fast + +transparency.o: transparency.c.o +.PHONY : transparency.o + +# target to build an object file +transparency.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/transparency/CMakeFiles/transparency.dir/build.make src/filter/transparency/CMakeFiles/transparency.dir/transparency.c.o +.PHONY : transparency.c.o + +transparency.i: transparency.c.i +.PHONY : transparency.i + +# target to preprocess a source file +transparency.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/transparency/CMakeFiles/transparency.dir/build.make src/filter/transparency/CMakeFiles/transparency.dir/transparency.c.i +.PHONY : transparency.c.i + +transparency.s: transparency.c.s +.PHONY : transparency.s + +# target to generate assembly for a file +transparency.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/transparency/CMakeFiles/transparency.dir/build.make src/filter/transparency/CMakeFiles/transparency.dir/transparency.c.s +.PHONY : transparency.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... transparency" + @echo "... transparency.o" + @echo "... transparency.i" + @echo "... transparency.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/tutorial/Makefile b/src/filter/tutorial/Makefile new file mode 100644 index 0000000..4acc568 --- /dev/null +++ b/src/filter/tutorial/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/tutorial/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tutorial/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tutorial/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tutorial/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tutorial/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/tutorial/CMakeFiles/tutorial.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/tutorial/CMakeFiles/tutorial.dir/rule +.PHONY : src/filter/tutorial/CMakeFiles/tutorial.dir/rule + +# Convenience name for target. +tutorial: src/filter/tutorial/CMakeFiles/tutorial.dir/rule +.PHONY : tutorial + +# fast build rule for target. +tutorial/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tutorial/CMakeFiles/tutorial.dir/build.make src/filter/tutorial/CMakeFiles/tutorial.dir/build +.PHONY : tutorial/fast + +tutorial.o: tutorial.cpp.o +.PHONY : tutorial.o + +# target to build an object file +tutorial.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tutorial/CMakeFiles/tutorial.dir/build.make src/filter/tutorial/CMakeFiles/tutorial.dir/tutorial.cpp.o +.PHONY : tutorial.cpp.o + +tutorial.i: tutorial.cpp.i +.PHONY : tutorial.i + +# target to preprocess a source file +tutorial.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tutorial/CMakeFiles/tutorial.dir/build.make src/filter/tutorial/CMakeFiles/tutorial.dir/tutorial.cpp.i +.PHONY : tutorial.cpp.i + +tutorial.s: tutorial.cpp.s +.PHONY : tutorial.s + +# target to generate assembly for a file +tutorial.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/tutorial/CMakeFiles/tutorial.dir/build.make src/filter/tutorial/CMakeFiles/tutorial.dir/tutorial.cpp.s +.PHONY : tutorial.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... tutorial" + @echo "... tutorial.o" + @echo "... tutorial.i" + @echo "... tutorial.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/tutorial/tutorial.cpp b/src/filter/tutorial/tutorial.cpp index 1356dee..af1d9d1 100644 --- a/src/filter/tutorial/tutorial.cpp +++ b/src/filter/tutorial/tutorial.cpp @@ -135,7 +135,7 @@ // Add g+b and clamp with the second lookup table *out_pointer = additionTable[*in_pointer + *(in_pointer+1)]; - *out_pointer++; *in_pointer++; + out_pointer++; in_pointer++; // Copy the other channels *out_pointer++ = *in_pointer++; diff --git a/src/filter/twolay0r/Makefile b/src/filter/twolay0r/Makefile new file mode 100644 index 0000000..156cc27 --- /dev/null +++ b/src/filter/twolay0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/twolay0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/twolay0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/twolay0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/twolay0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/twolay0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/twolay0r/CMakeFiles/twolay0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/twolay0r/CMakeFiles/twolay0r.dir/rule +.PHONY : src/filter/twolay0r/CMakeFiles/twolay0r.dir/rule + +# Convenience name for target. +twolay0r: src/filter/twolay0r/CMakeFiles/twolay0r.dir/rule +.PHONY : twolay0r + +# fast build rule for target. +twolay0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/twolay0r/CMakeFiles/twolay0r.dir/build.make src/filter/twolay0r/CMakeFiles/twolay0r.dir/build +.PHONY : twolay0r/fast + +twolay0r.o: twolay0r.cpp.o +.PHONY : twolay0r.o + +# target to build an object file +twolay0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/twolay0r/CMakeFiles/twolay0r.dir/build.make src/filter/twolay0r/CMakeFiles/twolay0r.dir/twolay0r.cpp.o +.PHONY : twolay0r.cpp.o + +twolay0r.i: twolay0r.cpp.i +.PHONY : twolay0r.i + +# target to preprocess a source file +twolay0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/twolay0r/CMakeFiles/twolay0r.dir/build.make src/filter/twolay0r/CMakeFiles/twolay0r.dir/twolay0r.cpp.i +.PHONY : twolay0r.cpp.i + +twolay0r.s: twolay0r.cpp.s +.PHONY : twolay0r.s + +# target to generate assembly for a file +twolay0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/twolay0r/CMakeFiles/twolay0r.dir/build.make src/filter/twolay0r/CMakeFiles/twolay0r.dir/twolay0r.cpp.s +.PHONY : twolay0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... twolay0r" + @echo "... twolay0r.o" + @echo "... twolay0r.i" + @echo "... twolay0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/vertigo/Makefile b/src/filter/vertigo/Makefile new file mode 100644 index 0000000..7b5a6df --- /dev/null +++ b/src/filter/vertigo/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/vertigo/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vertigo/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vertigo/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vertigo/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vertigo/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/vertigo/CMakeFiles/vertigo.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vertigo/CMakeFiles/vertigo.dir/rule +.PHONY : src/filter/vertigo/CMakeFiles/vertigo.dir/rule + +# Convenience name for target. +vertigo: src/filter/vertigo/CMakeFiles/vertigo.dir/rule +.PHONY : vertigo + +# fast build rule for target. +vertigo/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vertigo/CMakeFiles/vertigo.dir/build.make src/filter/vertigo/CMakeFiles/vertigo.dir/build +.PHONY : vertigo/fast + +vertigo.o: vertigo.c.o +.PHONY : vertigo.o + +# target to build an object file +vertigo.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vertigo/CMakeFiles/vertigo.dir/build.make src/filter/vertigo/CMakeFiles/vertigo.dir/vertigo.c.o +.PHONY : vertigo.c.o + +vertigo.i: vertigo.c.i +.PHONY : vertigo.i + +# target to preprocess a source file +vertigo.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vertigo/CMakeFiles/vertigo.dir/build.make src/filter/vertigo/CMakeFiles/vertigo.dir/vertigo.c.i +.PHONY : vertigo.c.i + +vertigo.s: vertigo.c.s +.PHONY : vertigo.s + +# target to generate assembly for a file +vertigo.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vertigo/CMakeFiles/vertigo.dir/build.make src/filter/vertigo/CMakeFiles/vertigo.dir/vertigo.c.s +.PHONY : vertigo.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... vertigo" + @echo "... vertigo.o" + @echo "... vertigo.i" + @echo "... vertigo.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/vertigo/vertigo.c b/src/filter/vertigo/vertigo.c index d7279e7..ba128cb 100644 --- a/src/filter/vertigo/vertigo.c +++ b/src/filter/vertigo/vertigo.c @@ -66,7 +66,7 @@ vertigoInfo->color_model = F0R_COLOR_MODEL_RGBA8888; vertigoInfo->frei0r_version = FREI0R_MAJOR_VERSION; vertigoInfo->major_version = 1; - vertigoInfo->minor_version = 0; + vertigoInfo->minor_version = 1; vertigoInfo->num_params = 2; vertigoInfo->explanation = "alpha blending with zoomed and rotated images"; } @@ -143,7 +143,7 @@ break; case 1: /* zoomrate */ - inst->zoomrate = *((double*)param); + inst->zoomrate = *((double*)param) * 5; inst->tfactor = (inst->xc+inst->yc) * inst->zoomrate; break; } @@ -163,7 +163,7 @@ break; case 1: /* zoomrate */ - *((double*)param) = (double) (inst->zoomrate); + *((double*)param) = (double) (inst->zoomrate) / 5.; break; } } diff --git a/src/filter/vignette/CMakeLists.txt b/src/filter/vignette/CMakeLists.txt new file mode 100644 index 0000000..756f058 --- /dev/null +++ b/src/filter/vignette/CMakeLists.txt @@ -0,0 +1,12 @@ +set (SOURCES vignette.cpp) +set (TARGET vignette) + +if (MSVC) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) + +set_target_properties (${TARGET} PROPERTIES PREFIX "") + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/filter/vignette/Makefile b/src/filter/vignette/Makefile new file mode 100644 index 0000000..41899d7 --- /dev/null +++ b/src/filter/vignette/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/filter/vignette/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vignette/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vignette/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vignette/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vignette/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/filter/vignette/CMakeFiles/vignette.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/filter/vignette/CMakeFiles/vignette.dir/rule +.PHONY : src/filter/vignette/CMakeFiles/vignette.dir/rule + +# Convenience name for target. +vignette: src/filter/vignette/CMakeFiles/vignette.dir/rule +.PHONY : vignette + +# fast build rule for target. +vignette/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vignette/CMakeFiles/vignette.dir/build.make src/filter/vignette/CMakeFiles/vignette.dir/build +.PHONY : vignette/fast + +vignette.o: vignette.cpp.o +.PHONY : vignette.o + +# target to build an object file +vignette.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vignette/CMakeFiles/vignette.dir/build.make src/filter/vignette/CMakeFiles/vignette.dir/vignette.cpp.o +.PHONY : vignette.cpp.o + +vignette.i: vignette.cpp.i +.PHONY : vignette.i + +# target to preprocess a source file +vignette.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vignette/CMakeFiles/vignette.dir/build.make src/filter/vignette/CMakeFiles/vignette.dir/vignette.cpp.i +.PHONY : vignette.cpp.i + +vignette.s: vignette.cpp.s +.PHONY : vignette.s + +# target to generate assembly for a file +vignette.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/filter/vignette/CMakeFiles/vignette.dir/build.make src/filter/vignette/CMakeFiles/vignette.dir/vignette.cpp.s +.PHONY : vignette.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... vignette" + @echo "... vignette.o" + @echo "... vignette.i" + @echo "... vignette.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/filter/vignette/vignette.cpp b/src/filter/vignette/vignette.cpp new file mode 100644 index 0000000..3b176da --- /dev/null +++ b/src/filter/vignette/vignette.cpp @@ -0,0 +1,172 @@ +/* + * Copyright (C) 2011 Simon Andreas Eugster (simon.eu@gmail.com) + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include "frei0r.hpp" +#include "frei0r_math.h" + + +/** + Lens vignetting effect. + + This effect simulates «natural vignetting» whose light falloff can be described + with a cos⁴ curve. Additionally the x:y aspect ratio of the vignette can be + changed (note that normal cameras with a round aperture always have an aspect ratio + of 1:1, but for cinematic effects the aspect ratio is often adjusted to match + the frame's aspect ratio). The ClearCenter value allows to shift the vignetting away + from the center, preserving it from changes. + + */ +class Vignette : public frei0r::filter +{ + +public: + + f0r_param_double m_aspect; ///< Neutral value: 0.5 + f0r_param_double m_cc; ///< Neutral value: 0 + f0r_param_double m_soft; ///< Suggested value: 0.6 + + Vignette(unsigned int width, unsigned int height) : + m_width(width), + m_height(height) + { + register_param(m_aspect, "aspect", "Aspect ratio"); + register_param(m_cc, "clearCenter", "Size of the unaffected center"); + register_param(m_soft, "soft", "Softness"); + + // Suggested default values + m_aspect = .5; + m_cc = 0; + m_soft = .6; + + m_initialized = width*height > 0; + if (m_initialized) { + m_vignette = new float[width*height]; + updateVignette(); + } + } + + ~Vignette() + { + if (m_initialized) { + delete[] m_vignette; + } + } + + virtual void update() + { + std::copy(in, in + m_width*m_height, out); + + // Rebuild the vignette matrix if a parameter has changed + if (m_prev_aspect != m_aspect + || m_prev_cc != m_cc + || m_prev_soft != m_soft) { + updateVignette(); + } + + unsigned char *pixel = (unsigned char *) in; + unsigned char *dest = (unsigned char *) out; + + // Darken the pixels by multiplying with the vignette's factor + float *vignette = m_vignette; + for (int i = 0; i < size; i++) { + *dest++ = (char) (*vignette * *pixel++); + *dest++ = (char) (*vignette * *pixel++); + *dest++ = (char) (*vignette * *pixel++); + *dest++ = *pixel++; + vignette++; + } + + } + +private: + f0r_param_double m_prev_aspect; + f0r_param_double m_prev_cc; + f0r_param_double m_prev_soft; + + float *m_vignette; + bool m_initialized; + + unsigned int m_width; + unsigned int m_height; + + void updateVignette() + { +// std::cout << "New settings: aspect = " << m_aspect << ", clear center = " << m_cc << ", soft = " << m_soft << std::endl; + m_prev_aspect = m_aspect; + m_prev_cc = m_cc; + m_prev_soft = m_soft; + + float soft = 5*std::pow(float(1)-m_soft,2)+.01; + float scaleX = 1; + float scaleY = 1; + + // Distance from 0.5 (\in [0,0.5]) scaled to [0,1] + float scale = std::fabs(m_aspect-.5)*2; + // Map scale to [0,5] in a way that values near 0 can be adjusted more precisely + scale = 1 + 4*std::pow(scale, 3); + // Scale either x or y, depending on the aspect value being above or below 0.5 + if (m_aspect > 0.5) { + scaleX = scale; + } else { + scaleY = scale; + } +// std::cout << "Used values: soft=" << soft << ", x=" << scaleX << ", y=" << scaleY << std::endl; + + int cx = m_width/2; + int cy = m_height/2; + float rmax = std::sqrt(std::pow(float(cx), 2) + std::pow(float(cy), 2)); + float r; + + for (int y = 0; y < m_height; y++) { + for (int x = 0; x < m_width; x++) { + + // Euclidian distance to the center, normalized to [0,1] + r = std::sqrt(std::pow(scaleX*(x-cx), 2) + std::pow(scaleY*(y-cy), 2))/rmax; + + // Subtract the clear center + r -= m_cc; + + if (r <= 0) { + // Clear center: Do not modify the brightness here + m_vignette[y*m_width+x] = 1; + } else { + r *= soft; + if (r > M_PI_2) { + m_vignette[y*m_width+x] = 0; + } else { + m_vignette[y*m_width+x] = std::pow(std::cos(r), 4); + } + } + + } + } + + + } + +}; + + + +frei0r::construct plugin("Vignette", + "Lens vignetting effect, applies natural vignetting", + "Simon A. Eugster (Granjow)", + 0,1, + F0R_COLOR_MODEL_RGBA8888); diff --git a/src/generator/CMakeLists.txt b/src/generator/CMakeLists.txt index 0e3f8b9..79ef3aa 100644 --- a/src/generator/CMakeLists.txt +++ b/src/generator/CMakeLists.txt @@ -4,4 +4,7 @@ add_subdirectory (nois0r) add_subdirectory (onecol0r) add_subdirectory (partik0l) -add_subdirectory (test_pat) +if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") + # clang 3.1 on OSX fails to compile this one + add_subdirectory (test_pat) +endif () diff --git a/src/generator/Makefile b/src/generator/Makefile new file mode 100644 index 0000000..8cbcd85 --- /dev/null +++ b/src/generator/Makefile @@ -0,0 +1,170 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/dem0scene/Makefile b/src/generator/dem0scene/Makefile new file mode 100644 index 0000000..adf1e9d --- /dev/null +++ b/src/generator/dem0scene/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/dem0scene/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/dem0scene/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/dem0scene/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/dem0scene/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/dem0scene/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/dem0scene/CMakeFiles/plasma.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/dem0scene/CMakeFiles/plasma.dir/rule +.PHONY : src/generator/dem0scene/CMakeFiles/plasma.dir/rule + +# Convenience name for target. +plasma: src/generator/dem0scene/CMakeFiles/plasma.dir/rule +.PHONY : plasma + +# fast build rule for target. +plasma/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/dem0scene/CMakeFiles/plasma.dir/build.make src/generator/dem0scene/CMakeFiles/plasma.dir/build +.PHONY : plasma/fast + +plasma.o: plasma.cpp.o +.PHONY : plasma.o + +# target to build an object file +plasma.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/dem0scene/CMakeFiles/plasma.dir/build.make src/generator/dem0scene/CMakeFiles/plasma.dir/plasma.cpp.o +.PHONY : plasma.cpp.o + +plasma.i: plasma.cpp.i +.PHONY : plasma.i + +# target to preprocess a source file +plasma.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/dem0scene/CMakeFiles/plasma.dir/build.make src/generator/dem0scene/CMakeFiles/plasma.dir/plasma.cpp.i +.PHONY : plasma.cpp.i + +plasma.s: plasma.cpp.s +.PHONY : plasma.s + +# target to generate assembly for a file +plasma.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/dem0scene/CMakeFiles/plasma.dir/build.make src/generator/dem0scene/CMakeFiles/plasma.dir/plasma.cpp.s +.PHONY : plasma.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... plasma" + @echo "... rebuild_cache" + @echo "... plasma.o" + @echo "... plasma.i" + @echo "... plasma.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/dem0scene/plasma.cpp b/src/generator/dem0scene/plasma.cpp index 29429d8..279fe5f 100644 --- a/src/generator/dem0scene/plasma.cpp +++ b/src/generator/dem0scene/plasma.cpp @@ -222,12 +222,12 @@ uint32_t Plasma::palette2rgb(uint8_t idx) { uint32_t rgba; - rgba = 0xffffffff; // just for little endian // TODO: big endian rgba = (colors[idx].r << 16) | (colors[idx].g << 8) - | (colors[idx].b ); + | (colors[idx].b ) + | (0xff << 24); return rgba; } diff --git a/src/generator/ising0r/Makefile b/src/generator/ising0r/Makefile new file mode 100644 index 0000000..b4e7ddc --- /dev/null +++ b/src/generator/ising0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/ising0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/ising0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/ising0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/ising0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/ising0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/ising0r/CMakeFiles/ising0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/ising0r/CMakeFiles/ising0r.dir/rule +.PHONY : src/generator/ising0r/CMakeFiles/ising0r.dir/rule + +# Convenience name for target. +ising0r: src/generator/ising0r/CMakeFiles/ising0r.dir/rule +.PHONY : ising0r + +# fast build rule for target. +ising0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/ising0r/CMakeFiles/ising0r.dir/build.make src/generator/ising0r/CMakeFiles/ising0r.dir/build +.PHONY : ising0r/fast + +ising0r.o: ising0r.c.o +.PHONY : ising0r.o + +# target to build an object file +ising0r.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/ising0r/CMakeFiles/ising0r.dir/build.make src/generator/ising0r/CMakeFiles/ising0r.dir/ising0r.c.o +.PHONY : ising0r.c.o + +ising0r.i: ising0r.c.i +.PHONY : ising0r.i + +# target to preprocess a source file +ising0r.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/ising0r/CMakeFiles/ising0r.dir/build.make src/generator/ising0r/CMakeFiles/ising0r.dir/ising0r.c.i +.PHONY : ising0r.c.i + +ising0r.s: ising0r.c.s +.PHONY : ising0r.s + +# target to generate assembly for a file +ising0r.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/ising0r/CMakeFiles/ising0r.dir/build.make src/generator/ising0r/CMakeFiles/ising0r.dir/ising0r.c.s +.PHONY : ising0r.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... ising0r" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... ising0r.o" + @echo "... ising0r.i" + @echo "... ising0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/lissajous0r/Makefile b/src/generator/lissajous0r/Makefile new file mode 100644 index 0000000..5965aa3 --- /dev/null +++ b/src/generator/lissajous0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/lissajous0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/lissajous0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/lissajous0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/lissajous0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/lissajous0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/rule +.PHONY : src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/rule + +# Convenience name for target. +lissajous0r: src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/rule +.PHONY : lissajous0r + +# fast build rule for target. +lissajous0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/build.make src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/build +.PHONY : lissajous0r/fast + +lissajous0r.o: lissajous0r.cpp.o +.PHONY : lissajous0r.o + +# target to build an object file +lissajous0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/build.make src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/lissajous0r.cpp.o +.PHONY : lissajous0r.cpp.o + +lissajous0r.i: lissajous0r.cpp.i +.PHONY : lissajous0r.i + +# target to preprocess a source file +lissajous0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/build.make src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/lissajous0r.cpp.i +.PHONY : lissajous0r.cpp.i + +lissajous0r.s: lissajous0r.cpp.s +.PHONY : lissajous0r.s + +# target to generate assembly for a file +lissajous0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/build.make src/generator/lissajous0r/CMakeFiles/lissajous0r.dir/lissajous0r.cpp.s +.PHONY : lissajous0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... lissajous0r" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... lissajous0r.o" + @echo "... lissajous0r.i" + @echo "... lissajous0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/lissajous0r/lissajous0r.cpp b/src/generator/lissajous0r/lissajous0r.cpp index f86cb05..0234b62 100644 --- a/src/generator/lissajous0r/lissajous0r.cpp +++ b/src/generator/lissajous0r/lissajous0r.cpp @@ -34,6 +34,7 @@ public: lissajous0r(unsigned int width, unsigned int height) { + r_x = r_y = 0.0; register_param(r_x,"ratiox","x-ratio"); register_param(r_y,"ratioy","y-ratio"); } @@ -72,5 +73,5 @@ frei0r::construct plugin("Lissajous0r", "Generates Lissajous0r images", "Martin Bayer", - 0,1); + 0,2); diff --git a/src/generator/nois0r/Makefile b/src/generator/nois0r/Makefile new file mode 100644 index 0000000..68849ea --- /dev/null +++ b/src/generator/nois0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/nois0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/nois0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/nois0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/nois0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/nois0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/nois0r/CMakeFiles/nois0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/nois0r/CMakeFiles/nois0r.dir/rule +.PHONY : src/generator/nois0r/CMakeFiles/nois0r.dir/rule + +# Convenience name for target. +nois0r: src/generator/nois0r/CMakeFiles/nois0r.dir/rule +.PHONY : nois0r + +# fast build rule for target. +nois0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/nois0r/CMakeFiles/nois0r.dir/build.make src/generator/nois0r/CMakeFiles/nois0r.dir/build +.PHONY : nois0r/fast + +nois0r.o: nois0r.cpp.o +.PHONY : nois0r.o + +# target to build an object file +nois0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/nois0r/CMakeFiles/nois0r.dir/build.make src/generator/nois0r/CMakeFiles/nois0r.dir/nois0r.cpp.o +.PHONY : nois0r.cpp.o + +nois0r.i: nois0r.cpp.i +.PHONY : nois0r.i + +# target to preprocess a source file +nois0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/nois0r/CMakeFiles/nois0r.dir/build.make src/generator/nois0r/CMakeFiles/nois0r.dir/nois0r.cpp.i +.PHONY : nois0r.cpp.i + +nois0r.s: nois0r.cpp.s +.PHONY : nois0r.s + +# target to generate assembly for a file +nois0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/nois0r/CMakeFiles/nois0r.dir/build.make src/generator/nois0r/CMakeFiles/nois0r.dir/nois0r.cpp.s +.PHONY : nois0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... nois0r" + @echo "... rebuild_cache" + @echo "... nois0r.o" + @echo "... nois0r.i" + @echo "... nois0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/onecol0r/Makefile b/src/generator/onecol0r/Makefile new file mode 100644 index 0000000..a878901 --- /dev/null +++ b/src/generator/onecol0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/onecol0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/onecol0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/onecol0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/onecol0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/onecol0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/onecol0r/CMakeFiles/onecol0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/onecol0r/CMakeFiles/onecol0r.dir/rule +.PHONY : src/generator/onecol0r/CMakeFiles/onecol0r.dir/rule + +# Convenience name for target. +onecol0r: src/generator/onecol0r/CMakeFiles/onecol0r.dir/rule +.PHONY : onecol0r + +# fast build rule for target. +onecol0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/onecol0r/CMakeFiles/onecol0r.dir/build.make src/generator/onecol0r/CMakeFiles/onecol0r.dir/build +.PHONY : onecol0r/fast + +onecol0r.o: onecol0r.cpp.o +.PHONY : onecol0r.o + +# target to build an object file +onecol0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/onecol0r/CMakeFiles/onecol0r.dir/build.make src/generator/onecol0r/CMakeFiles/onecol0r.dir/onecol0r.cpp.o +.PHONY : onecol0r.cpp.o + +onecol0r.i: onecol0r.cpp.i +.PHONY : onecol0r.i + +# target to preprocess a source file +onecol0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/onecol0r/CMakeFiles/onecol0r.dir/build.make src/generator/onecol0r/CMakeFiles/onecol0r.dir/onecol0r.cpp.i +.PHONY : onecol0r.cpp.i + +onecol0r.s: onecol0r.cpp.s +.PHONY : onecol0r.s + +# target to generate assembly for a file +onecol0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/onecol0r/CMakeFiles/onecol0r.dir/build.make src/generator/onecol0r/CMakeFiles/onecol0r.dir/onecol0r.cpp.s +.PHONY : onecol0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... onecol0r" + @echo "... rebuild_cache" + @echo "... onecol0r.o" + @echo "... onecol0r.i" + @echo "... onecol0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/onecol0r/onecol0r.cpp b/src/generator/onecol0r/onecol0r.cpp index c2ab05b..dfa51b6 100644 --- a/src/generator/onecol0r/onecol0r.cpp +++ b/src/generator/onecol0r/onecol0r.cpp @@ -28,6 +28,7 @@ onecol0r(unsigned int width, unsigned int height) { register_param(color,"Color","the color of the image"); + color.r = color.g = color.b = 0; } virtual void update() @@ -51,5 +52,5 @@ frei0r::construct plugin("onecol0r", "image with just one color", "Martin Bayer", - 0,1); + 0,2); diff --git a/src/generator/partik0l/Makefile b/src/generator/partik0l/Makefile new file mode 100644 index 0000000..6a99c65 --- /dev/null +++ b/src/generator/partik0l/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/partik0l/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/partik0l/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/partik0l/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/partik0l/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/partik0l/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/partik0l/CMakeFiles/partik0l.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/partik0l/CMakeFiles/partik0l.dir/rule +.PHONY : src/generator/partik0l/CMakeFiles/partik0l.dir/rule + +# Convenience name for target. +partik0l: src/generator/partik0l/CMakeFiles/partik0l.dir/rule +.PHONY : partik0l + +# fast build rule for target. +partik0l/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/partik0l/CMakeFiles/partik0l.dir/build.make src/generator/partik0l/CMakeFiles/partik0l.dir/build +.PHONY : partik0l/fast + +partik0l.o: partik0l.cpp.o +.PHONY : partik0l.o + +# target to build an object file +partik0l.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/partik0l/CMakeFiles/partik0l.dir/build.make src/generator/partik0l/CMakeFiles/partik0l.dir/partik0l.cpp.o +.PHONY : partik0l.cpp.o + +partik0l.i: partik0l.cpp.i +.PHONY : partik0l.i + +# target to preprocess a source file +partik0l.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/partik0l/CMakeFiles/partik0l.dir/build.make src/generator/partik0l/CMakeFiles/partik0l.dir/partik0l.cpp.i +.PHONY : partik0l.cpp.i + +partik0l.s: partik0l.cpp.s +.PHONY : partik0l.s + +# target to generate assembly for a file +partik0l.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/partik0l/CMakeFiles/partik0l.dir/build.make src/generator/partik0l/CMakeFiles/partik0l.dir/partik0l.cpp.s +.PHONY : partik0l.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... partik0l" + @echo "... rebuild_cache" + @echo "... partik0l.o" + @echo "... partik0l.i" + @echo "... partik0l.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/test_pat/Makefile b/src/generator/test_pat/Makefile new file mode 100644 index 0000000..797adb7 --- /dev/null +++ b/src/generator/test_pat/Makefile @@ -0,0 +1,419 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/generator/test_pat/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_B.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_B.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_B.dir/rule + +# Convenience name for target. +test_pat_B: src/generator/test_pat/CMakeFiles/test_pat_B.dir/rule +.PHONY : test_pat_B + +# fast build rule for target. +test_pat_B/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_B.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_B.dir/build +.PHONY : test_pat_B/fast + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_C.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_C.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_C.dir/rule + +# Convenience name for target. +test_pat_C: src/generator/test_pat/CMakeFiles/test_pat_C.dir/rule +.PHONY : test_pat_C + +# fast build rule for target. +test_pat_C/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_C.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_C.dir/build +.PHONY : test_pat_C/fast + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_G.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_G.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_G.dir/rule + +# Convenience name for target. +test_pat_G: src/generator/test_pat/CMakeFiles/test_pat_G.dir/rule +.PHONY : test_pat_G + +# fast build rule for target. +test_pat_G/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_G.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_G.dir/build +.PHONY : test_pat_G/fast + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_I.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_I.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_I.dir/rule + +# Convenience name for target. +test_pat_I: src/generator/test_pat/CMakeFiles/test_pat_I.dir/rule +.PHONY : test_pat_I + +# fast build rule for target. +test_pat_I/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_I.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_I.dir/build +.PHONY : test_pat_I/fast + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_L.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_L.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_L.dir/rule + +# Convenience name for target. +test_pat_L: src/generator/test_pat/CMakeFiles/test_pat_L.dir/rule +.PHONY : test_pat_L + +# fast build rule for target. +test_pat_L/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_L.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_L.dir/build +.PHONY : test_pat_L/fast + +# Convenience name for target. +src/generator/test_pat/CMakeFiles/test_pat_R.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/generator/test_pat/CMakeFiles/test_pat_R.dir/rule +.PHONY : src/generator/test_pat/CMakeFiles/test_pat_R.dir/rule + +# Convenience name for target. +test_pat_R: src/generator/test_pat/CMakeFiles/test_pat_R.dir/rule +.PHONY : test_pat_R + +# fast build rule for target. +test_pat_R/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_R.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_R.dir/build +.PHONY : test_pat_R/fast + +test_pat_B.o: test_pat_B.c.o +.PHONY : test_pat_B.o + +# target to build an object file +test_pat_B.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_B.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_B.dir/test_pat_B.c.o +.PHONY : test_pat_B.c.o + +test_pat_B.i: test_pat_B.c.i +.PHONY : test_pat_B.i + +# target to preprocess a source file +test_pat_B.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_B.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_B.dir/test_pat_B.c.i +.PHONY : test_pat_B.c.i + +test_pat_B.s: test_pat_B.c.s +.PHONY : test_pat_B.s + +# target to generate assembly for a file +test_pat_B.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_B.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_B.dir/test_pat_B.c.s +.PHONY : test_pat_B.c.s + +test_pat_C.o: test_pat_C.c.o +.PHONY : test_pat_C.o + +# target to build an object file +test_pat_C.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_C.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_C.dir/test_pat_C.c.o +.PHONY : test_pat_C.c.o + +test_pat_C.i: test_pat_C.c.i +.PHONY : test_pat_C.i + +# target to preprocess a source file +test_pat_C.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_C.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_C.dir/test_pat_C.c.i +.PHONY : test_pat_C.c.i + +test_pat_C.s: test_pat_C.c.s +.PHONY : test_pat_C.s + +# target to generate assembly for a file +test_pat_C.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_C.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_C.dir/test_pat_C.c.s +.PHONY : test_pat_C.c.s + +test_pat_G.o: test_pat_G.c.o +.PHONY : test_pat_G.o + +# target to build an object file +test_pat_G.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_G.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_G.dir/test_pat_G.c.o +.PHONY : test_pat_G.c.o + +test_pat_G.i: test_pat_G.c.i +.PHONY : test_pat_G.i + +# target to preprocess a source file +test_pat_G.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_G.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_G.dir/test_pat_G.c.i +.PHONY : test_pat_G.c.i + +test_pat_G.s: test_pat_G.c.s +.PHONY : test_pat_G.s + +# target to generate assembly for a file +test_pat_G.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_G.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_G.dir/test_pat_G.c.s +.PHONY : test_pat_G.c.s + +test_pat_I.o: test_pat_I.c.o +.PHONY : test_pat_I.o + +# target to build an object file +test_pat_I.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_I.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_I.dir/test_pat_I.c.o +.PHONY : test_pat_I.c.o + +test_pat_I.i: test_pat_I.c.i +.PHONY : test_pat_I.i + +# target to preprocess a source file +test_pat_I.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_I.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_I.dir/test_pat_I.c.i +.PHONY : test_pat_I.c.i + +test_pat_I.s: test_pat_I.c.s +.PHONY : test_pat_I.s + +# target to generate assembly for a file +test_pat_I.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_I.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_I.dir/test_pat_I.c.s +.PHONY : test_pat_I.c.s + +test_pat_L.o: test_pat_L.c.o +.PHONY : test_pat_L.o + +# target to build an object file +test_pat_L.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_L.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_L.dir/test_pat_L.c.o +.PHONY : test_pat_L.c.o + +test_pat_L.i: test_pat_L.c.i +.PHONY : test_pat_L.i + +# target to preprocess a source file +test_pat_L.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_L.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_L.dir/test_pat_L.c.i +.PHONY : test_pat_L.c.i + +test_pat_L.s: test_pat_L.c.s +.PHONY : test_pat_L.s + +# target to generate assembly for a file +test_pat_L.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_L.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_L.dir/test_pat_L.c.s +.PHONY : test_pat_L.c.s + +test_pat_R.o: test_pat_R.c.o +.PHONY : test_pat_R.o + +# target to build an object file +test_pat_R.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_R.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_R.dir/test_pat_R.c.o +.PHONY : test_pat_R.c.o + +test_pat_R.i: test_pat_R.c.i +.PHONY : test_pat_R.i + +# target to preprocess a source file +test_pat_R.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_R.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_R.dir/test_pat_R.c.i +.PHONY : test_pat_R.c.i + +test_pat_R.s: test_pat_R.c.s +.PHONY : test_pat_R.s + +# target to generate assembly for a file +test_pat_R.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/generator/test_pat/CMakeFiles/test_pat_R.dir/build.make src/generator/test_pat/CMakeFiles/test_pat_R.dir/test_pat_R.c.s +.PHONY : test_pat_R.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... test_pat_B" + @echo "... test_pat_C" + @echo "... test_pat_G" + @echo "... test_pat_I" + @echo "... test_pat_L" + @echo "... test_pat_R" + @echo "... test_pat_B.o" + @echo "... test_pat_B.i" + @echo "... test_pat_B.s" + @echo "... test_pat_C.o" + @echo "... test_pat_C.i" + @echo "... test_pat_C.s" + @echo "... test_pat_G.o" + @echo "... test_pat_G.i" + @echo "... test_pat_G.s" + @echo "... test_pat_I.o" + @echo "... test_pat_I.i" + @echo "... test_pat_I.s" + @echo "... test_pat_L.o" + @echo "... test_pat_L.i" + @echo "... test_pat_L.s" + @echo "... test_pat_R.o" + @echo "... test_pat_R.i" + @echo "... test_pat_R.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/generator/test_pat/test_pat_G.c b/src/generator/test_pat/test_pat_G.c index 5f896a8..6109f14 100644 --- a/src/generator/test_pat/test_pat_G.c +++ b/src/generator/test_pat/test_pat_G.c @@ -155,6 +155,7 @@ unsigned char black,gray1,gray2,white; int ox,oy; +if (size<1) size=1; kx=size; ky=size; kx=kx/ar; //kao aspect!=1 (anamorph) @@ -214,6 +215,8 @@ if (clr!=0) for (i=0;i<(w*h);i++) sl[i]=black; //black background +if (size1<1) size1=1; +if (size2<1) size2=1; iz=h/2-size1*((h/2)/size1); for (i=iz;icolor_model = F0R_COLOR_MODEL_RGBA8888; tp_info->frei0r_version = FREI0R_MAJOR_VERSION; tp_info->major_version = 0; - tp_info->minor_version = 1; + tp_info->minor_version = 2; tp_info->num_params = 6; tp_info->explanation = "Generates geometry test pattern images"; } @@ -802,7 +812,7 @@ *p = map_value_backward(inst->size2, 0.0, 64.0); break; case 3: //negative - *p = map_value_backward(inst->size2, 0.0, 1.0); + *p = map_value_backward(inst->neg, 0.0, 1.0); break; case 4: //aspect type *p = map_value_backward(inst->aspt, 0.0, 6.9999); diff --git a/src/generator/test_pat/test_pat_I.c b/src/generator/test_pat/test_pat_I.c index 3dc49a4..00beb68 100644 --- a/src/generator/test_pat/test_pat_I.c +++ b/src/generator/test_pat/test_pat_I.c @@ -140,6 +140,7 @@ int i,j; float d,st,ct,g; +if (size==0.0) return; st=sinf(tilt); ct=cosf(tilt); for (i=0;icolor_model = F0R_COLOR_MODEL_RGBA8888; tp_info->frei0r_version = FREI0R_MAJOR_VERSION; tp_info->major_version = 0; - tp_info->minor_version = 1; + tp_info->minor_version = 2; tp_info->num_params = 6; tp_info->explanation = "Generates spatial impulse and step test patterns"; } @@ -570,10 +573,10 @@ *p = map_value_backward(inst->pw, 1.0, 100.0); break; case 4: //tilt - *p = map_value_backward_log(inst->tilt, -PI/2.0, PI/2.0); + *p = map_value_backward(inst->tilt, -PI/2.0, PI/2.0); break; case 5: //negative - *p = map_value_backward_log(inst->neg, 0.0, 1.0); + *p = map_value_backward(inst->neg, 0.0, 1.0); break; } } diff --git a/src/generator/test_pat/test_pat_R.c b/src/generator/test_pat/test_pat_R.c index ca029ed..55f15be 100644 --- a/src/generator/test_pat/test_pat_R.c +++ b/src/generator/test_pat/test_pat_R.c @@ -134,6 +134,8 @@ kx=x+wr; if (kx>w) kx=w; ky=y+hr; if (ky>h) ky=h; +if (f1==0.0) f1=1.0E-12; +if (f2==0.0) f2=1.0E-12; dp1=PI*f1; dp2=PI*f2; //phase steps dt1=1.0/dp1; dt2=1.0/dp2; a=a/2.0; @@ -200,6 +202,8 @@ kx=x+wr; if (kx>w) kx=w; ky=y+hr; if (ky>h) ky=h; +if (f1==0.0) f1=1.0E-12; +if (f2==0.0) f2=1.0E-12; dp1=PI*f1; dp2=PI*f2; //phase steps dt1=1.0/dp1; dt2=1.0/dp2; a=a/2.0; @@ -262,6 +266,11 @@ for (x=0;xcolor_model = F0R_COLOR_MODEL_RGBA8888; tp_info->frei0r_version = FREI0R_MAJOR_VERSION; tp_info->major_version = 0; - tp_info->minor_version = 1; + tp_info->minor_version = 2; tp_info->num_params = 8; tp_info->explanation = "Generates resolution test patterns"; } @@ -1010,10 +1026,10 @@ *p = map_value_backward(inst->linp, 0.0, 1.0); break; case 4: //frequency 1 - *p = map_value_backward_log(inst->f1, 0.0, 1.0); + *p = map_value_backward(inst->f1, 0.0, 1.0); break; case 5: //frequency 2 - *p = map_value_backward_log(inst->f2, 0.0, 1.0); + *p = map_value_backward(inst->f2, 0.0, 1.0); break; case 6: //aspect type *p = map_value_backward(inst->aspt, 0.0, 6.9999); diff --git a/src/mixer2/CMakeLists.txt b/src/mixer2/CMakeLists.txt index 71b5dea..8ad473a 100644 --- a/src/mixer2/CMakeLists.txt +++ b/src/mixer2/CMakeLists.txt @@ -1,3 +1,8 @@ +if (${Cairo_FOUND}) +add_subdirectory (cairoaffineblend) +add_subdirectory (cairoblend) +endif (${Cairo_FOUND}) + add_subdirectory (addition) add_subdirectory (addition_alpha) add_subdirectory (alphaatop) diff --git a/src/mixer2/Makefile b/src/mixer2/Makefile new file mode 100644 index 0000000..8d1a08a --- /dev/null +++ b/src/mixer2/Makefile @@ -0,0 +1,170 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/addition/Makefile b/src/mixer2/addition/Makefile new file mode 100644 index 0000000..b883555 --- /dev/null +++ b/src/mixer2/addition/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/addition/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/addition/CMakeFiles/addition.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition/CMakeFiles/addition.dir/rule +.PHONY : src/mixer2/addition/CMakeFiles/addition.dir/rule + +# Convenience name for target. +addition: src/mixer2/addition/CMakeFiles/addition.dir/rule +.PHONY : addition + +# fast build rule for target. +addition/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition/CMakeFiles/addition.dir/build.make src/mixer2/addition/CMakeFiles/addition.dir/build +.PHONY : addition/fast + +addition.o: addition.cpp.o +.PHONY : addition.o + +# target to build an object file +addition.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition/CMakeFiles/addition.dir/build.make src/mixer2/addition/CMakeFiles/addition.dir/addition.cpp.o +.PHONY : addition.cpp.o + +addition.i: addition.cpp.i +.PHONY : addition.i + +# target to preprocess a source file +addition.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition/CMakeFiles/addition.dir/build.make src/mixer2/addition/CMakeFiles/addition.dir/addition.cpp.i +.PHONY : addition.cpp.i + +addition.s: addition.cpp.s +.PHONY : addition.s + +# target to generate assembly for a file +addition.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition/CMakeFiles/addition.dir/build.make src/mixer2/addition/CMakeFiles/addition.dir/addition.cpp.s +.PHONY : addition.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... addition" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... addition.o" + @echo "... addition.i" + @echo "... addition.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/addition_alpha/Makefile b/src/mixer2/addition_alpha/Makefile new file mode 100644 index 0000000..357577c --- /dev/null +++ b/src/mixer2/addition_alpha/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/addition_alpha/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition_alpha/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition_alpha/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition_alpha/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition_alpha/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/rule +.PHONY : src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/rule + +# Convenience name for target. +addition_alpha: src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/rule +.PHONY : addition_alpha + +# fast build rule for target. +addition_alpha/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/build.make src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/build +.PHONY : addition_alpha/fast + +addition_alpha.o: addition_alpha.cpp.o +.PHONY : addition_alpha.o + +# target to build an object file +addition_alpha.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/build.make src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/addition_alpha.cpp.o +.PHONY : addition_alpha.cpp.o + +addition_alpha.i: addition_alpha.cpp.i +.PHONY : addition_alpha.i + +# target to preprocess a source file +addition_alpha.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/build.make src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/addition_alpha.cpp.i +.PHONY : addition_alpha.cpp.i + +addition_alpha.s: addition_alpha.cpp.s +.PHONY : addition_alpha.s + +# target to generate assembly for a file +addition_alpha.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/build.make src/mixer2/addition_alpha/CMakeFiles/addition_alpha.dir/addition_alpha.cpp.s +.PHONY : addition_alpha.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... addition_alpha" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... addition_alpha.o" + @echo "... addition_alpha.i" + @echo "... addition_alpha.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphaatop/Makefile b/src/mixer2/alphaatop/Makefile new file mode 100644 index 0000000..2a0454c --- /dev/null +++ b/src/mixer2/alphaatop/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphaatop/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaatop/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaatop/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaatop/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaatop/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/rule +.PHONY : src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/rule + +# Convenience name for target. +alphaatop: src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/rule +.PHONY : alphaatop + +# fast build rule for target. +alphaatop/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/build.make src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/build +.PHONY : alphaatop/fast + +alphaatop.o: alphaatop.cpp.o +.PHONY : alphaatop.o + +# target to build an object file +alphaatop.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/build.make src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/alphaatop.cpp.o +.PHONY : alphaatop.cpp.o + +alphaatop.i: alphaatop.cpp.i +.PHONY : alphaatop.i + +# target to preprocess a source file +alphaatop.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/build.make src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/alphaatop.cpp.i +.PHONY : alphaatop.cpp.i + +alphaatop.s: alphaatop.cpp.s +.PHONY : alphaatop.s + +# target to generate assembly for a file +alphaatop.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/build.make src/mixer2/alphaatop/CMakeFiles/alphaatop.dir/alphaatop.cpp.s +.PHONY : alphaatop.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphaatop" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphaatop.o" + @echo "... alphaatop.i" + @echo "... alphaatop.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphain/Makefile b/src/mixer2/alphain/Makefile new file mode 100644 index 0000000..5902d9e --- /dev/null +++ b/src/mixer2/alphain/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphain/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphain/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphain/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphain/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphain/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphain/CMakeFiles/alphain.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphain/CMakeFiles/alphain.dir/rule +.PHONY : src/mixer2/alphain/CMakeFiles/alphain.dir/rule + +# Convenience name for target. +alphain: src/mixer2/alphain/CMakeFiles/alphain.dir/rule +.PHONY : alphain + +# fast build rule for target. +alphain/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphain/CMakeFiles/alphain.dir/build.make src/mixer2/alphain/CMakeFiles/alphain.dir/build +.PHONY : alphain/fast + +alphain.o: alphain.cpp.o +.PHONY : alphain.o + +# target to build an object file +alphain.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphain/CMakeFiles/alphain.dir/build.make src/mixer2/alphain/CMakeFiles/alphain.dir/alphain.cpp.o +.PHONY : alphain.cpp.o + +alphain.i: alphain.cpp.i +.PHONY : alphain.i + +# target to preprocess a source file +alphain.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphain/CMakeFiles/alphain.dir/build.make src/mixer2/alphain/CMakeFiles/alphain.dir/alphain.cpp.i +.PHONY : alphain.cpp.i + +alphain.s: alphain.cpp.s +.PHONY : alphain.s + +# target to generate assembly for a file +alphain.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphain/CMakeFiles/alphain.dir/build.make src/mixer2/alphain/CMakeFiles/alphain.dir/alphain.cpp.s +.PHONY : alphain.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphain" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphain.o" + @echo "... alphain.i" + @echo "... alphain.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphainjection/Makefile b/src/mixer2/alphainjection/Makefile new file mode 100644 index 0000000..768461a --- /dev/null +++ b/src/mixer2/alphainjection/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphainjection/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphainjection/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphainjection/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphainjection/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphainjection/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/rule +.PHONY : src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/rule + +# Convenience name for target. +alphainjection: src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/rule +.PHONY : alphainjection + +# fast build rule for target. +alphainjection/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/build.make src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/build +.PHONY : alphainjection/fast + +alphainjection.o: alphainjection.c.o +.PHONY : alphainjection.o + +# target to build an object file +alphainjection.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/build.make src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/alphainjection.c.o +.PHONY : alphainjection.c.o + +alphainjection.i: alphainjection.c.i +.PHONY : alphainjection.i + +# target to preprocess a source file +alphainjection.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/build.make src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/alphainjection.c.i +.PHONY : alphainjection.c.i + +alphainjection.s: alphainjection.c.s +.PHONY : alphainjection.s + +# target to generate assembly for a file +alphainjection.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/build.make src/mixer2/alphainjection/CMakeFiles/alphainjection.dir/alphainjection.c.s +.PHONY : alphainjection.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphainjection" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphainjection.o" + @echo "... alphainjection.i" + @echo "... alphainjection.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphaout/Makefile b/src/mixer2/alphaout/Makefile new file mode 100644 index 0000000..7805923 --- /dev/null +++ b/src/mixer2/alphaout/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphaout/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaout/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaout/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaout/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaout/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphaout/CMakeFiles/alphaout.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaout/CMakeFiles/alphaout.dir/rule +.PHONY : src/mixer2/alphaout/CMakeFiles/alphaout.dir/rule + +# Convenience name for target. +alphaout: src/mixer2/alphaout/CMakeFiles/alphaout.dir/rule +.PHONY : alphaout + +# fast build rule for target. +alphaout/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaout/CMakeFiles/alphaout.dir/build.make src/mixer2/alphaout/CMakeFiles/alphaout.dir/build +.PHONY : alphaout/fast + +alphaout.o: alphaout.cpp.o +.PHONY : alphaout.o + +# target to build an object file +alphaout.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaout/CMakeFiles/alphaout.dir/build.make src/mixer2/alphaout/CMakeFiles/alphaout.dir/alphaout.cpp.o +.PHONY : alphaout.cpp.o + +alphaout.i: alphaout.cpp.i +.PHONY : alphaout.i + +# target to preprocess a source file +alphaout.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaout/CMakeFiles/alphaout.dir/build.make src/mixer2/alphaout/CMakeFiles/alphaout.dir/alphaout.cpp.i +.PHONY : alphaout.cpp.i + +alphaout.s: alphaout.cpp.s +.PHONY : alphaout.s + +# target to generate assembly for a file +alphaout.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaout/CMakeFiles/alphaout.dir/build.make src/mixer2/alphaout/CMakeFiles/alphaout.dir/alphaout.cpp.s +.PHONY : alphaout.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphaout" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphaout.o" + @echo "... alphaout.i" + @echo "... alphaout.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphaover/Makefile b/src/mixer2/alphaover/Makefile new file mode 100644 index 0000000..1e88502 --- /dev/null +++ b/src/mixer2/alphaover/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphaover/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaover/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaover/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaover/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaover/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphaover/CMakeFiles/alphaover.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaover/CMakeFiles/alphaover.dir/rule +.PHONY : src/mixer2/alphaover/CMakeFiles/alphaover.dir/rule + +# Convenience name for target. +alphaover: src/mixer2/alphaover/CMakeFiles/alphaover.dir/rule +.PHONY : alphaover + +# fast build rule for target. +alphaover/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaover/CMakeFiles/alphaover.dir/build.make src/mixer2/alphaover/CMakeFiles/alphaover.dir/build +.PHONY : alphaover/fast + +alphaover.o: alphaover.cpp.o +.PHONY : alphaover.o + +# target to build an object file +alphaover.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaover/CMakeFiles/alphaover.dir/build.make src/mixer2/alphaover/CMakeFiles/alphaover.dir/alphaover.cpp.o +.PHONY : alphaover.cpp.o + +alphaover.i: alphaover.cpp.i +.PHONY : alphaover.i + +# target to preprocess a source file +alphaover.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaover/CMakeFiles/alphaover.dir/build.make src/mixer2/alphaover/CMakeFiles/alphaover.dir/alphaover.cpp.i +.PHONY : alphaover.cpp.i + +alphaover.s: alphaover.cpp.s +.PHONY : alphaover.s + +# target to generate assembly for a file +alphaover.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaover/CMakeFiles/alphaover.dir/build.make src/mixer2/alphaover/CMakeFiles/alphaover.dir/alphaover.cpp.s +.PHONY : alphaover.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphaover" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphaover.o" + @echo "... alphaover.i" + @echo "... alphaover.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/alphaxor/Makefile b/src/mixer2/alphaxor/Makefile new file mode 100644 index 0000000..ce38470 --- /dev/null +++ b/src/mixer2/alphaxor/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/alphaxor/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaxor/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaxor/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaxor/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaxor/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/rule +.PHONY : src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/rule + +# Convenience name for target. +alphaxor: src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/rule +.PHONY : alphaxor + +# fast build rule for target. +alphaxor/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/build.make src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/build +.PHONY : alphaxor/fast + +alphaxor.o: alphaxor.cpp.o +.PHONY : alphaxor.o + +# target to build an object file +alphaxor.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/build.make src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/alphaxor.cpp.o +.PHONY : alphaxor.cpp.o + +alphaxor.i: alphaxor.cpp.i +.PHONY : alphaxor.i + +# target to preprocess a source file +alphaxor.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/build.make src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/alphaxor.cpp.i +.PHONY : alphaxor.cpp.i + +alphaxor.s: alphaxor.cpp.s +.PHONY : alphaxor.s + +# target to generate assembly for a file +alphaxor.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/build.make src/mixer2/alphaxor/CMakeFiles/alphaxor.dir/alphaxor.cpp.s +.PHONY : alphaxor.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... alphaxor" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... alphaxor.o" + @echo "... alphaxor.i" + @echo "... alphaxor.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/blend/Makefile b/src/mixer2/blend/Makefile new file mode 100644 index 0000000..a0c9129 --- /dev/null +++ b/src/mixer2/blend/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/blend/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/blend/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/blend/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/blend/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/blend/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/blend/CMakeFiles/blend.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/blend/CMakeFiles/blend.dir/rule +.PHONY : src/mixer2/blend/CMakeFiles/blend.dir/rule + +# Convenience name for target. +blend: src/mixer2/blend/CMakeFiles/blend.dir/rule +.PHONY : blend + +# fast build rule for target. +blend/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/blend/CMakeFiles/blend.dir/build.make src/mixer2/blend/CMakeFiles/blend.dir/build +.PHONY : blend/fast + +blend.o: blend.cpp.o +.PHONY : blend.o + +# target to build an object file +blend.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/blend/CMakeFiles/blend.dir/build.make src/mixer2/blend/CMakeFiles/blend.dir/blend.cpp.o +.PHONY : blend.cpp.o + +blend.i: blend.cpp.i +.PHONY : blend.i + +# target to preprocess a source file +blend.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/blend/CMakeFiles/blend.dir/build.make src/mixer2/blend/CMakeFiles/blend.dir/blend.cpp.i +.PHONY : blend.cpp.i + +blend.s: blend.cpp.s +.PHONY : blend.s + +# target to generate assembly for a file +blend.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/blend/CMakeFiles/blend.dir/build.make src/mixer2/blend/CMakeFiles/blend.dir/blend.cpp.s +.PHONY : blend.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... blend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... blend.o" + @echo "... blend.i" + @echo "... blend.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/burn/Makefile b/src/mixer2/burn/Makefile new file mode 100644 index 0000000..189df60 --- /dev/null +++ b/src/mixer2/burn/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/burn/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/burn/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/burn/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/burn/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/burn/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/burn/CMakeFiles/burn.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/burn/CMakeFiles/burn.dir/rule +.PHONY : src/mixer2/burn/CMakeFiles/burn.dir/rule + +# Convenience name for target. +burn: src/mixer2/burn/CMakeFiles/burn.dir/rule +.PHONY : burn + +# fast build rule for target. +burn/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/burn/CMakeFiles/burn.dir/build.make src/mixer2/burn/CMakeFiles/burn.dir/build +.PHONY : burn/fast + +burn.o: burn.cpp.o +.PHONY : burn.o + +# target to build an object file +burn.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/burn/CMakeFiles/burn.dir/build.make src/mixer2/burn/CMakeFiles/burn.dir/burn.cpp.o +.PHONY : burn.cpp.o + +burn.i: burn.cpp.i +.PHONY : burn.i + +# target to preprocess a source file +burn.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/burn/CMakeFiles/burn.dir/build.make src/mixer2/burn/CMakeFiles/burn.dir/burn.cpp.i +.PHONY : burn.cpp.i + +burn.s: burn.cpp.s +.PHONY : burn.s + +# target to generate assembly for a file +burn.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/burn/CMakeFiles/burn.dir/build.make src/mixer2/burn/CMakeFiles/burn.dir/burn.cpp.s +.PHONY : burn.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... burn" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... burn.o" + @echo "... burn.i" + @echo "... burn.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/cairoaffineblend/CMakeLists.txt b/src/mixer2/cairoaffineblend/CMakeLists.txt new file mode 100644 index 0000000..1c3b13c --- /dev/null +++ b/src/mixer2/cairoaffineblend/CMakeLists.txt @@ -0,0 +1,16 @@ +set (SOURCES cairoaffineblend.c) +set (TARGET cairoaffineblend) + +include_directories(${Cairo_INCLUDE_DIR}) +set(LIBS ${LIBS} ${Cairo_LIBRARY}) + +if (MSVC) + set_source_files_properties (cairoaffineblend.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") +target_link_libraries(cairoaffineblend ${LIBS}) + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/mixer2/cairoaffineblend/Makefile b/src/mixer2/cairoaffineblend/Makefile new file mode 100644 index 0000000..518ed2a --- /dev/null +++ b/src/mixer2/cairoaffineblend/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/cairoaffineblend/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoaffineblend/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoaffineblend/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoaffineblend/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoaffineblend/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/rule +.PHONY : src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/rule + +# Convenience name for target. +cairoaffineblend: src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/rule +.PHONY : cairoaffineblend + +# fast build rule for target. +cairoaffineblend/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/build.make src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/build +.PHONY : cairoaffineblend/fast + +cairoaffineblend.o: cairoaffineblend.c.o +.PHONY : cairoaffineblend.o + +# target to build an object file +cairoaffineblend.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/build.make src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/cairoaffineblend.c.o +.PHONY : cairoaffineblend.c.o + +cairoaffineblend.i: cairoaffineblend.c.i +.PHONY : cairoaffineblend.i + +# target to preprocess a source file +cairoaffineblend.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/build.make src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/cairoaffineblend.c.i +.PHONY : cairoaffineblend.c.i + +cairoaffineblend.s: cairoaffineblend.c.s +.PHONY : cairoaffineblend.s + +# target to generate assembly for a file +cairoaffineblend.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/build.make src/mixer2/cairoaffineblend/CMakeFiles/cairoaffineblend.dir/cairoaffineblend.c.s +.PHONY : cairoaffineblend.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cairoaffineblend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cairoaffineblend.o" + @echo "... cairoaffineblend.i" + @echo "... cairoaffineblend.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/cairoaffineblend/cairoaffineblend.c b/src/mixer2/cairoaffineblend/cairoaffineblend.c new file mode 100644 index 0000000..9d77d63 --- /dev/null +++ b/src/mixer2/cairoaffineblend/cairoaffineblend.c @@ -0,0 +1,306 @@ +/* + * cairoaffineblend.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_cairo.h" + +double PI=3.14159265358979; + +typedef struct cairo_affineblend_instance +{ + unsigned int width; + unsigned int height; + double x; + double y; + double x_scale; + double y_scale; + double rotation; + double mix; + char *blend_mode; + double anchor_x; + double anchor_y; +} cairo_affineblend_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ + +} + +void f0r_get_plugin_info(f0r_plugin_info_t* info) +{ + info->name = "cairoaffineblend"; + info->author = "Janne Liljeblad"; + info->plugin_type = F0R_PLUGIN_TYPE_MIXER2; + info->color_model = F0R_COLOR_MODEL_RGBA8888; + info->frei0r_version = FREI0R_MAJOR_VERSION; + info->major_version = 0; + info->minor_version = 9; + info->num_params = 9; + info->explanation = "Composites second input on first input applying user-defined transformation, opacity and blend mode"; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) { + case 0: + info->name = "x"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "X position of second input, value interperted as range -2*width - 3*width"; + break; + case 1: + info->name = "y"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Y position of second input, value interperted as range -2*height - 3*height"; + break; + case 2: + info->name = "x scale"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "X scale of second input, value interperted as range 0 - 5"; + break; + case 3: + info->name = "y scale"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Y scale of second input, value interperted as range 0 - 5"; + break; + case 4: + info->name = "rotation"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Rotation of second input, value interperted as range 0 - 360"; + break; + case 5: + info->name = "opacity"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Opacity of second input"; + break; + case 6: + info->name = "blend mode"; + info->type = F0R_PARAM_STRING; + info->explanation = "Blend mode used to compose image. Accepted values: 'normal', 'add', 'saturate', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'colordodge', 'colorburn', 'hardlight', 'softlight', 'difference', 'exclusion', 'hslhue', 'hslsaturation', 'hslcolor', 'hslluminosity'"; + break; + case 7: + info->name = "anchor x"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "X position of rotation center within the second input"; + break; + case 8: + info->name = "anchor y"; + info->type = F0R_PARAM_DOUBLE; + info->explanation ="Y position of rotation center within the second input"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + cairo_affineblend_instance_t* inst = (cairo_affineblend_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + + inst->x = 0.4; + inst->y = 0.4; + inst->x_scale = 0.2; + inst->y_scale = 0.2; + inst->rotation = 0.0; + inst->mix = 1.0; + + const char* blend_val = NORMAL; + inst->blend_mode = (char*) malloc (strlen(blend_val) + 1 ); + strcpy (inst->blend_mode, blend_val); + + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + cairo_affineblend_instance_t* inst = (cairo_affineblend_instance_t*)instance; + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_affineblend_instance_t* inst = (cairo_affineblend_instance_t*) instance; + char* sval; + switch(param_index) { + case 0: + inst->x = *((double*)param); + break; + case 1: + inst->y = *((double*)param); + break; + case 2: + inst->x_scale = *((double*)param); + break; + case 3: + inst->y_scale = *((double*)param); + break; + case 4: + inst->rotation = *((double*)param); + break; + case 5: + inst->mix = *((double*)param); + break; + case 6: + sval = (*(char**)param); + inst->blend_mode = (char*)realloc (inst->blend_mode, strlen(sval) + 1); + strcpy (inst->blend_mode, sval); + break; + case 7: + inst->anchor_x = *((double*)param); + break; + case 8: + inst->anchor_y = *((double*)param); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_affineblend_instance_t* inst = (cairo_affineblend_instance_t*)instance; + + switch(param_index) { + case 0: + *((double*)param) = inst->x; + break; + case 1: + *((double*)param) = inst->y; + break; + case 2: + *((double*)param) = inst->x_scale; + break; + case 3: + *((double*)param) = inst->y_scale; + break; + case 4: + *((double*)param) = inst->rotation; + break; + case 5: + *((double*)param) = inst->mix; + break; + case 6: + *((f0r_param_string *)param) = inst->blend_mode; + break; + case 7: + *((double*)param) = inst->anchor_x; + break; + case 8: + *((double*)param) = inst->anchor_y; + break; + } +} + +void draw_composite(cairo_affineblend_instance_t* inst, unsigned char* out, unsigned char* dst, unsigned char* src, double time) +{ + int w = inst->width; + int h = inst->height; + int stride = cairo_format_stride_for_width (CAIRO_FORMAT_ARGB32, w); + + cairo_surface_t* out_image = cairo_image_surface_create_for_data (out, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + cairo_t* cr = cairo_create (out_image); + + cairo_surface_t* dst_image = cairo_image_surface_create_for_data (dst, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + cairo_surface_t* src_image = cairo_image_surface_create_for_data ((unsigned char*)src, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + + // Draw bg on surface + cairo_set_source_surface (cr, dst_image, 0, 0); + cairo_paint (cr); + + double x_scale = frei0r_cairo_get_scale (inst->x_scale); + double y_scale = frei0r_cairo_get_scale (inst->y_scale); + + //--- Get scaled and rotated anchor offsets. + double anchorX = -(x_scale * inst->anchor_x * inst->width); + double anchorY = -(y_scale * inst->anchor_y * inst->height); + + double angleRad = inst->rotation * 360.0 * PI/180.0; + double sinVal = sin (angleRad); + double cosVal = cos (angleRad); + + double anchor_rot_x = anchorX * cosVal - anchorY * sinVal; + double anchor_rot_y = anchorX * sinVal + anchorY * cosVal; + + // Get interpreted x and y translation + double x_trans = frei0r_cairo_get_pixel_position (inst->x, inst->width); + double y_trans = frei0r_cairo_get_pixel_position (inst->y, inst->height); + + //--- Get total translation to image tot left with scaling and rotation. + double x_trans_tot = x_trans + anchor_rot_x; + double y_trans_tot = y_trans + anchor_rot_y; + + cairo_translate (cr, x_trans_tot, y_trans_tot); + cairo_rotate (cr, inst->rotation * 360.0 * PI/180.0); + cairo_scale (cr, x_scale, y_scale); + frei0r_cairo_set_operator(cr, inst->blend_mode); + + // Set source and draw with current mix + cairo_set_source_surface (cr, src_image, 0, 0); + cairo_paint_with_alpha (cr, inst->mix); + + cairo_surface_destroy (out_image); + cairo_surface_destroy (src_image); + cairo_surface_destroy (dst_image); + cairo_destroy (cr); +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + // not impl. for mixers +} + +void f0r_update2(f0r_instance_t instance, double time, const uint32_t* inframe1, + const uint32_t* inframe2, const uint32_t* inframe3, uint32_t* outframe) +{ + assert(instance); + cairo_affineblend_instance_t* inst = (cairo_affineblend_instance_t*) instance; + + unsigned char* src = (unsigned char*)inframe1; + unsigned char* dst = (unsigned char*)inframe2; + unsigned char* out = (unsigned char*)outframe; + + draw_composite (inst, out, src, dst, time); +} + diff --git a/src/mixer2/cairoblend/CMakeLists.txt b/src/mixer2/cairoblend/CMakeLists.txt new file mode 100644 index 0000000..8209127 --- /dev/null +++ b/src/mixer2/cairoblend/CMakeLists.txt @@ -0,0 +1,16 @@ +set (SOURCES cairoblend.c) +set (TARGET cairoblend) + +include_directories(${Cairo_INCLUDE_DIR}) +set(LIBS ${LIBS} ${Cairo_LIBRARY}) + +if (MSVC) + set_source_files_properties (cairoblend.c PROPERTIES LANGUAGE CXX) + set (SOURCES ${SOURCES} ${FREI0R_DEF}) +endif (MSVC) + +add_library (${TARGET} MODULE ${SOURCES}) +set_target_properties (${TARGET} PROPERTIES PREFIX "") +target_link_libraries(cairoblend ${LIBS}) + +install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR}) diff --git a/src/mixer2/cairoblend/Makefile b/src/mixer2/cairoblend/Makefile new file mode 100644 index 0000000..4b92ecd --- /dev/null +++ b/src/mixer2/cairoblend/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/cairoblend/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoblend/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoblend/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoblend/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoblend/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/rule +.PHONY : src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/rule + +# Convenience name for target. +cairoblend: src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/rule +.PHONY : cairoblend + +# fast build rule for target. +cairoblend/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/build.make src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/build +.PHONY : cairoblend/fast + +cairoblend.o: cairoblend.c.o +.PHONY : cairoblend.o + +# target to build an object file +cairoblend.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/build.make src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/cairoblend.c.o +.PHONY : cairoblend.c.o + +cairoblend.i: cairoblend.c.i +.PHONY : cairoblend.i + +# target to preprocess a source file +cairoblend.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/build.make src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/cairoblend.c.i +.PHONY : cairoblend.c.i + +cairoblend.s: cairoblend.c.s +.PHONY : cairoblend.s + +# target to generate assembly for a file +cairoblend.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/build.make src/mixer2/cairoblend/CMakeFiles/cairoblend.dir/cairoblend.c.s +.PHONY : cairoblend.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... cairoblend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... cairoblend.o" + @echo "... cairoblend.i" + @echo "... cairoblend.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/cairoblend/cairoblend.c b/src/mixer2/cairoblend/cairoblend.c new file mode 100644 index 0000000..9c09707 --- /dev/null +++ b/src/mixer2/cairoblend/cairoblend.c @@ -0,0 +1,188 @@ +/* + * cairoblend.c + * Copyright 2012 Janne Liljeblad + * + * This file is a Frei0r plugin. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +#include +#include +#include +#include +#include + +#include "frei0r.h" +#include "frei0r_cairo.h" + +typedef struct cairo_blend_instance +{ + unsigned int width; + unsigned int height; + double opacity; + char *blend_mode; +} cairo_blend_instance_t; + +int f0r_init() +{ + return 1; +} + +void f0r_deinit() +{ + +} + +void f0r_get_plugin_info(f0r_plugin_info_t* info) +{ + info->name = "cairoblend"; + info->author = "Janne Liljeblad"; + info->plugin_type = F0R_PLUGIN_TYPE_MIXER2; + info->color_model = F0R_COLOR_MODEL_RGBA8888; + info->frei0r_version = FREI0R_MAJOR_VERSION; + info->major_version = 0; + info->minor_version = 9; + info->num_params = 2; + info->explanation = "Composites second input on the first input with user-defined blend mode and opacity."; +} + +void f0r_get_param_info(f0r_param_info_t* info, int param_index) +{ + switch(param_index) { + case 0: + info->name = "opacity"; + info->type = F0R_PARAM_DOUBLE; + info->explanation = "Opacity of composited image"; + break; + case 1: + info->name = "blend mode"; + info->type = F0R_PARAM_STRING; + info->explanation = "Blend mode used to compose image. Accepted values: 'normal', 'add', 'saturate', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'colordodge', 'colorburn', 'hardlight', 'softlight', 'difference', 'exclusion', 'hslhue', 'hslsaturation', 'hslcolor', 'hslluminosity'"; + break; + } +} + +f0r_instance_t f0r_construct(unsigned int width, unsigned int height) +{ + cairo_blend_instance_t* inst = (cairo_blend_instance_t*)calloc(1, sizeof(*inst)); + inst->width = width; + inst->height = height; + + inst->opacity = 1.0; + + const char* blend_val = NORMAL; + inst->blend_mode = (char*) malloc (strlen(blend_val) + 1 ); + strcpy (inst->blend_mode, blend_val); + + return (f0r_instance_t)inst; +} + +void f0r_destruct(f0r_instance_t instance) +{ + cairo_blend_instance_t* inst = (cairo_blend_instance_t*)instance; + free(instance); +} + +void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_blend_instance_t* inst = (cairo_blend_instance_t*) instance; + char* sval; + switch(param_index) { + case 0: + inst->opacity = *((double*)param); + break; + case 1: + sval = (*(char**)param); + inst->blend_mode = (char*)realloc (inst->blend_mode, strlen(sval) + 1); + strcpy (inst->blend_mode, sval); + break; + } +} + +void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index) +{ + assert(instance); + cairo_blend_instance_t* inst = (cairo_blend_instance_t*)instance; + + switch(param_index) { + case 0: + *((double*)param) = inst->opacity; + break; + case 1: + *((f0r_param_string *)param) = inst->blend_mode; + break; + } +} + +void draw_composite(cairo_blend_instance_t* inst, unsigned char* out, unsigned char* dst, unsigned char* src, double time) +{ + int w = inst->width; + int h = inst->height; + int stride = cairo_format_stride_for_width (CAIRO_FORMAT_ARGB32, w); + + cairo_surface_t* out_image = cairo_image_surface_create_for_data (out, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + cairo_t* cr = cairo_create (out_image); + + cairo_surface_t* dst_image = cairo_image_surface_create_for_data (dst, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + cairo_surface_t* src_image = cairo_image_surface_create_for_data ((unsigned char*)src, + CAIRO_FORMAT_ARGB32, + w, + h, + stride); + + // Draw bg on surface + cairo_set_source_surface (cr, dst_image, 0, 0); + cairo_paint (cr); + + // Set source, blen mode and draw with current opacity + frei0r_cairo_set_operator(cr, inst->blend_mode); + cairo_set_source_surface (cr, src_image, 0, 0); + cairo_paint_with_alpha (cr, inst->opacity); + + cairo_surface_destroy (out_image); + cairo_surface_destroy (src_image); + cairo_surface_destroy (dst_image); + cairo_destroy (cr); +} + +void f0r_update(f0r_instance_t instance, double time, + const uint32_t* inframe, uint32_t* outframe) +{ + // not impl. for mixers +} + +void f0r_update2(f0r_instance_t instance, double time, const uint32_t* inframe1, + const uint32_t* inframe2, const uint32_t* inframe3, uint32_t* outframe) +{ + assert(instance); + cairo_blend_instance_t* inst = (cairo_blend_instance_t*) instance; + + unsigned char* src = (unsigned char*)inframe1; + unsigned char* dst = (unsigned char*)inframe2; + unsigned char* out = (unsigned char*)outframe; + + draw_composite (inst, out, src, dst, time); +} + diff --git a/src/mixer2/color_only/Makefile b/src/mixer2/color_only/Makefile new file mode 100644 index 0000000..d958681 --- /dev/null +++ b/src/mixer2/color_only/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/color_only/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/color_only/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/color_only/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/color_only/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/color_only/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/color_only/CMakeFiles/color_only.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/color_only/CMakeFiles/color_only.dir/rule +.PHONY : src/mixer2/color_only/CMakeFiles/color_only.dir/rule + +# Convenience name for target. +color_only: src/mixer2/color_only/CMakeFiles/color_only.dir/rule +.PHONY : color_only + +# fast build rule for target. +color_only/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/color_only/CMakeFiles/color_only.dir/build.make src/mixer2/color_only/CMakeFiles/color_only.dir/build +.PHONY : color_only/fast + +color_only.o: color_only.cpp.o +.PHONY : color_only.o + +# target to build an object file +color_only.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/color_only/CMakeFiles/color_only.dir/build.make src/mixer2/color_only/CMakeFiles/color_only.dir/color_only.cpp.o +.PHONY : color_only.cpp.o + +color_only.i: color_only.cpp.i +.PHONY : color_only.i + +# target to preprocess a source file +color_only.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/color_only/CMakeFiles/color_only.dir/build.make src/mixer2/color_only/CMakeFiles/color_only.dir/color_only.cpp.i +.PHONY : color_only.cpp.i + +color_only.s: color_only.cpp.s +.PHONY : color_only.s + +# target to generate assembly for a file +color_only.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/color_only/CMakeFiles/color_only.dir/build.make src/mixer2/color_only/CMakeFiles/color_only.dir/color_only.cpp.s +.PHONY : color_only.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... color_only" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... color_only.o" + @echo "... color_only.i" + @echo "... color_only.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/composition/Makefile b/src/mixer2/composition/Makefile new file mode 100644 index 0000000..fe622c3 --- /dev/null +++ b/src/mixer2/composition/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/composition/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/composition/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/composition/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/composition/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/composition/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/composition/CMakeFiles/composition.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/composition/CMakeFiles/composition.dir/rule +.PHONY : src/mixer2/composition/CMakeFiles/composition.dir/rule + +# Convenience name for target. +composition: src/mixer2/composition/CMakeFiles/composition.dir/rule +.PHONY : composition + +# fast build rule for target. +composition/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/composition/CMakeFiles/composition.dir/build.make src/mixer2/composition/CMakeFiles/composition.dir/build +.PHONY : composition/fast + +composition.o: composition.c.o +.PHONY : composition.o + +# target to build an object file +composition.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/composition/CMakeFiles/composition.dir/build.make src/mixer2/composition/CMakeFiles/composition.dir/composition.c.o +.PHONY : composition.c.o + +composition.i: composition.c.i +.PHONY : composition.i + +# target to preprocess a source file +composition.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/composition/CMakeFiles/composition.dir/build.make src/mixer2/composition/CMakeFiles/composition.dir/composition.c.i +.PHONY : composition.c.i + +composition.s: composition.c.s +.PHONY : composition.s + +# target to generate assembly for a file +composition.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/composition/CMakeFiles/composition.dir/build.make src/mixer2/composition/CMakeFiles/composition.dir/composition.c.s +.PHONY : composition.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... composition" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... composition.o" + @echo "... composition.i" + @echo "... composition.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/darken/Makefile b/src/mixer2/darken/Makefile new file mode 100644 index 0000000..22d8c02 --- /dev/null +++ b/src/mixer2/darken/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/darken/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/darken/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/darken/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/darken/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/darken/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/darken/CMakeFiles/darken.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/darken/CMakeFiles/darken.dir/rule +.PHONY : src/mixer2/darken/CMakeFiles/darken.dir/rule + +# Convenience name for target. +darken: src/mixer2/darken/CMakeFiles/darken.dir/rule +.PHONY : darken + +# fast build rule for target. +darken/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/darken/CMakeFiles/darken.dir/build.make src/mixer2/darken/CMakeFiles/darken.dir/build +.PHONY : darken/fast + +darken.o: darken.cpp.o +.PHONY : darken.o + +# target to build an object file +darken.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/darken/CMakeFiles/darken.dir/build.make src/mixer2/darken/CMakeFiles/darken.dir/darken.cpp.o +.PHONY : darken.cpp.o + +darken.i: darken.cpp.i +.PHONY : darken.i + +# target to preprocess a source file +darken.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/darken/CMakeFiles/darken.dir/build.make src/mixer2/darken/CMakeFiles/darken.dir/darken.cpp.i +.PHONY : darken.cpp.i + +darken.s: darken.cpp.s +.PHONY : darken.s + +# target to generate assembly for a file +darken.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/darken/CMakeFiles/darken.dir/build.make src/mixer2/darken/CMakeFiles/darken.dir/darken.cpp.s +.PHONY : darken.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... darken" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... darken.o" + @echo "... darken.i" + @echo "... darken.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/difference/Makefile b/src/mixer2/difference/Makefile new file mode 100644 index 0000000..6ab1578 --- /dev/null +++ b/src/mixer2/difference/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/difference/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/difference/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/difference/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/difference/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/difference/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/difference/CMakeFiles/difference.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/difference/CMakeFiles/difference.dir/rule +.PHONY : src/mixer2/difference/CMakeFiles/difference.dir/rule + +# Convenience name for target. +difference: src/mixer2/difference/CMakeFiles/difference.dir/rule +.PHONY : difference + +# fast build rule for target. +difference/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/difference/CMakeFiles/difference.dir/build.make src/mixer2/difference/CMakeFiles/difference.dir/build +.PHONY : difference/fast + +difference.o: difference.cpp.o +.PHONY : difference.o + +# target to build an object file +difference.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/difference/CMakeFiles/difference.dir/build.make src/mixer2/difference/CMakeFiles/difference.dir/difference.cpp.o +.PHONY : difference.cpp.o + +difference.i: difference.cpp.i +.PHONY : difference.i + +# target to preprocess a source file +difference.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/difference/CMakeFiles/difference.dir/build.make src/mixer2/difference/CMakeFiles/difference.dir/difference.cpp.i +.PHONY : difference.cpp.i + +difference.s: difference.cpp.s +.PHONY : difference.s + +# target to generate assembly for a file +difference.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/difference/CMakeFiles/difference.dir/build.make src/mixer2/difference/CMakeFiles/difference.dir/difference.cpp.s +.PHONY : difference.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... difference" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... difference.o" + @echo "... difference.i" + @echo "... difference.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/divide/Makefile b/src/mixer2/divide/Makefile new file mode 100644 index 0000000..54aa436 --- /dev/null +++ b/src/mixer2/divide/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/divide/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/divide/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/divide/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/divide/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/divide/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/divide/CMakeFiles/divide.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/divide/CMakeFiles/divide.dir/rule +.PHONY : src/mixer2/divide/CMakeFiles/divide.dir/rule + +# Convenience name for target. +divide: src/mixer2/divide/CMakeFiles/divide.dir/rule +.PHONY : divide + +# fast build rule for target. +divide/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/divide/CMakeFiles/divide.dir/build.make src/mixer2/divide/CMakeFiles/divide.dir/build +.PHONY : divide/fast + +divide.o: divide.cpp.o +.PHONY : divide.o + +# target to build an object file +divide.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/divide/CMakeFiles/divide.dir/build.make src/mixer2/divide/CMakeFiles/divide.dir/divide.cpp.o +.PHONY : divide.cpp.o + +divide.i: divide.cpp.i +.PHONY : divide.i + +# target to preprocess a source file +divide.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/divide/CMakeFiles/divide.dir/build.make src/mixer2/divide/CMakeFiles/divide.dir/divide.cpp.i +.PHONY : divide.cpp.i + +divide.s: divide.cpp.s +.PHONY : divide.s + +# target to generate assembly for a file +divide.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/divide/CMakeFiles/divide.dir/build.make src/mixer2/divide/CMakeFiles/divide.dir/divide.cpp.s +.PHONY : divide.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... divide" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... divide.o" + @echo "... divide.i" + @echo "... divide.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/dodge/Makefile b/src/mixer2/dodge/Makefile new file mode 100644 index 0000000..891b9b4 --- /dev/null +++ b/src/mixer2/dodge/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/dodge/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/dodge/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/dodge/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/dodge/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/dodge/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/dodge/CMakeFiles/dodge.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/dodge/CMakeFiles/dodge.dir/rule +.PHONY : src/mixer2/dodge/CMakeFiles/dodge.dir/rule + +# Convenience name for target. +dodge: src/mixer2/dodge/CMakeFiles/dodge.dir/rule +.PHONY : dodge + +# fast build rule for target. +dodge/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/dodge/CMakeFiles/dodge.dir/build.make src/mixer2/dodge/CMakeFiles/dodge.dir/build +.PHONY : dodge/fast + +dodge.o: dodge.cpp.o +.PHONY : dodge.o + +# target to build an object file +dodge.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/dodge/CMakeFiles/dodge.dir/build.make src/mixer2/dodge/CMakeFiles/dodge.dir/dodge.cpp.o +.PHONY : dodge.cpp.o + +dodge.i: dodge.cpp.i +.PHONY : dodge.i + +# target to preprocess a source file +dodge.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/dodge/CMakeFiles/dodge.dir/build.make src/mixer2/dodge/CMakeFiles/dodge.dir/dodge.cpp.i +.PHONY : dodge.cpp.i + +dodge.s: dodge.cpp.s +.PHONY : dodge.s + +# target to generate assembly for a file +dodge.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/dodge/CMakeFiles/dodge.dir/build.make src/mixer2/dodge/CMakeFiles/dodge.dir/dodge.cpp.s +.PHONY : dodge.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... dodge" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... dodge.o" + @echo "... dodge.i" + @echo "... dodge.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/grain_extract/Makefile b/src/mixer2/grain_extract/Makefile new file mode 100644 index 0000000..179661b --- /dev/null +++ b/src/mixer2/grain_extract/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/grain_extract/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_extract/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_extract/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_extract/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_extract/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/rule +.PHONY : src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/rule + +# Convenience name for target. +grain_extract: src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/rule +.PHONY : grain_extract + +# fast build rule for target. +grain_extract/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/build.make src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/build +.PHONY : grain_extract/fast + +grain_extract.o: grain_extract.cpp.o +.PHONY : grain_extract.o + +# target to build an object file +grain_extract.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/build.make src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/grain_extract.cpp.o +.PHONY : grain_extract.cpp.o + +grain_extract.i: grain_extract.cpp.i +.PHONY : grain_extract.i + +# target to preprocess a source file +grain_extract.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/build.make src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/grain_extract.cpp.i +.PHONY : grain_extract.cpp.i + +grain_extract.s: grain_extract.cpp.s +.PHONY : grain_extract.s + +# target to generate assembly for a file +grain_extract.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/build.make src/mixer2/grain_extract/CMakeFiles/grain_extract.dir/grain_extract.cpp.s +.PHONY : grain_extract.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... grain_extract" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... grain_extract.o" + @echo "... grain_extract.i" + @echo "... grain_extract.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/grain_merge/Makefile b/src/mixer2/grain_merge/Makefile new file mode 100644 index 0000000..0e39194 --- /dev/null +++ b/src/mixer2/grain_merge/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/grain_merge/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_merge/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_merge/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_merge/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_merge/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/rule +.PHONY : src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/rule + +# Convenience name for target. +grain_merge: src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/rule +.PHONY : grain_merge + +# fast build rule for target. +grain_merge/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/build.make src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/build +.PHONY : grain_merge/fast + +grain_merge.o: grain_merge.cpp.o +.PHONY : grain_merge.o + +# target to build an object file +grain_merge.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/build.make src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/grain_merge.cpp.o +.PHONY : grain_merge.cpp.o + +grain_merge.i: grain_merge.cpp.i +.PHONY : grain_merge.i + +# target to preprocess a source file +grain_merge.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/build.make src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/grain_merge.cpp.i +.PHONY : grain_merge.cpp.i + +grain_merge.s: grain_merge.cpp.s +.PHONY : grain_merge.s + +# target to generate assembly for a file +grain_merge.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/build.make src/mixer2/grain_merge/CMakeFiles/grain_merge.dir/grain_merge.cpp.s +.PHONY : grain_merge.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... grain_merge" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... grain_merge.o" + @echo "... grain_merge.i" + @echo "... grain_merge.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/hardlight/Makefile b/src/mixer2/hardlight/Makefile new file mode 100644 index 0000000..1e1e70a --- /dev/null +++ b/src/mixer2/hardlight/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/hardlight/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hardlight/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hardlight/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hardlight/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hardlight/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/hardlight/CMakeFiles/hardlight.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hardlight/CMakeFiles/hardlight.dir/rule +.PHONY : src/mixer2/hardlight/CMakeFiles/hardlight.dir/rule + +# Convenience name for target. +hardlight: src/mixer2/hardlight/CMakeFiles/hardlight.dir/rule +.PHONY : hardlight + +# fast build rule for target. +hardlight/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hardlight/CMakeFiles/hardlight.dir/build.make src/mixer2/hardlight/CMakeFiles/hardlight.dir/build +.PHONY : hardlight/fast + +hardlight.o: hardlight.cpp.o +.PHONY : hardlight.o + +# target to build an object file +hardlight.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hardlight/CMakeFiles/hardlight.dir/build.make src/mixer2/hardlight/CMakeFiles/hardlight.dir/hardlight.cpp.o +.PHONY : hardlight.cpp.o + +hardlight.i: hardlight.cpp.i +.PHONY : hardlight.i + +# target to preprocess a source file +hardlight.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hardlight/CMakeFiles/hardlight.dir/build.make src/mixer2/hardlight/CMakeFiles/hardlight.dir/hardlight.cpp.i +.PHONY : hardlight.cpp.i + +hardlight.s: hardlight.cpp.s +.PHONY : hardlight.s + +# target to generate assembly for a file +hardlight.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hardlight/CMakeFiles/hardlight.dir/build.make src/mixer2/hardlight/CMakeFiles/hardlight.dir/hardlight.cpp.s +.PHONY : hardlight.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... hardlight" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... hardlight.o" + @echo "... hardlight.i" + @echo "... hardlight.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/hue/Makefile b/src/mixer2/hue/Makefile new file mode 100644 index 0000000..834a7ec --- /dev/null +++ b/src/mixer2/hue/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/hue/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hue/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hue/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hue/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hue/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/hue/CMakeFiles/hue.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/hue/CMakeFiles/hue.dir/rule +.PHONY : src/mixer2/hue/CMakeFiles/hue.dir/rule + +# Convenience name for target. +hue: src/mixer2/hue/CMakeFiles/hue.dir/rule +.PHONY : hue + +# fast build rule for target. +hue/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hue/CMakeFiles/hue.dir/build.make src/mixer2/hue/CMakeFiles/hue.dir/build +.PHONY : hue/fast + +hue.o: hue.cpp.o +.PHONY : hue.o + +# target to build an object file +hue.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hue/CMakeFiles/hue.dir/build.make src/mixer2/hue/CMakeFiles/hue.dir/hue.cpp.o +.PHONY : hue.cpp.o + +hue.i: hue.cpp.i +.PHONY : hue.i + +# target to preprocess a source file +hue.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hue/CMakeFiles/hue.dir/build.make src/mixer2/hue/CMakeFiles/hue.dir/hue.cpp.i +.PHONY : hue.cpp.i + +hue.s: hue.cpp.s +.PHONY : hue.s + +# target to generate assembly for a file +hue.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/hue/CMakeFiles/hue.dir/build.make src/mixer2/hue/CMakeFiles/hue.dir/hue.cpp.s +.PHONY : hue.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... hue" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... hue.o" + @echo "... hue.i" + @echo "... hue.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/lighten/Makefile b/src/mixer2/lighten/Makefile new file mode 100644 index 0000000..6112ec8 --- /dev/null +++ b/src/mixer2/lighten/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/lighten/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/lighten/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/lighten/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/lighten/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/lighten/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/lighten/CMakeFiles/lighten.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/lighten/CMakeFiles/lighten.dir/rule +.PHONY : src/mixer2/lighten/CMakeFiles/lighten.dir/rule + +# Convenience name for target. +lighten: src/mixer2/lighten/CMakeFiles/lighten.dir/rule +.PHONY : lighten + +# fast build rule for target. +lighten/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/lighten/CMakeFiles/lighten.dir/build.make src/mixer2/lighten/CMakeFiles/lighten.dir/build +.PHONY : lighten/fast + +lighten.o: lighten.cpp.o +.PHONY : lighten.o + +# target to build an object file +lighten.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/lighten/CMakeFiles/lighten.dir/build.make src/mixer2/lighten/CMakeFiles/lighten.dir/lighten.cpp.o +.PHONY : lighten.cpp.o + +lighten.i: lighten.cpp.i +.PHONY : lighten.i + +# target to preprocess a source file +lighten.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/lighten/CMakeFiles/lighten.dir/build.make src/mixer2/lighten/CMakeFiles/lighten.dir/lighten.cpp.i +.PHONY : lighten.cpp.i + +lighten.s: lighten.cpp.s +.PHONY : lighten.s + +# target to generate assembly for a file +lighten.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/lighten/CMakeFiles/lighten.dir/build.make src/mixer2/lighten/CMakeFiles/lighten.dir/lighten.cpp.s +.PHONY : lighten.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... lighten" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... lighten.o" + @echo "... lighten.i" + @echo "... lighten.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/multiply/Makefile b/src/mixer2/multiply/Makefile new file mode 100644 index 0000000..77c15ad --- /dev/null +++ b/src/mixer2/multiply/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/multiply/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/multiply/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/multiply/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/multiply/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/multiply/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/multiply/CMakeFiles/multiply.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/multiply/CMakeFiles/multiply.dir/rule +.PHONY : src/mixer2/multiply/CMakeFiles/multiply.dir/rule + +# Convenience name for target. +multiply: src/mixer2/multiply/CMakeFiles/multiply.dir/rule +.PHONY : multiply + +# fast build rule for target. +multiply/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/multiply/CMakeFiles/multiply.dir/build.make src/mixer2/multiply/CMakeFiles/multiply.dir/build +.PHONY : multiply/fast + +multiply.o: multiply.cpp.o +.PHONY : multiply.o + +# target to build an object file +multiply.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/multiply/CMakeFiles/multiply.dir/build.make src/mixer2/multiply/CMakeFiles/multiply.dir/multiply.cpp.o +.PHONY : multiply.cpp.o + +multiply.i: multiply.cpp.i +.PHONY : multiply.i + +# target to preprocess a source file +multiply.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/multiply/CMakeFiles/multiply.dir/build.make src/mixer2/multiply/CMakeFiles/multiply.dir/multiply.cpp.i +.PHONY : multiply.cpp.i + +multiply.s: multiply.cpp.s +.PHONY : multiply.s + +# target to generate assembly for a file +multiply.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/multiply/CMakeFiles/multiply.dir/build.make src/mixer2/multiply/CMakeFiles/multiply.dir/multiply.cpp.s +.PHONY : multiply.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... multiply" + @echo "... rebuild_cache" + @echo "... multiply.o" + @echo "... multiply.i" + @echo "... multiply.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/overlay/Makefile b/src/mixer2/overlay/Makefile new file mode 100644 index 0000000..be9c556 --- /dev/null +++ b/src/mixer2/overlay/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/overlay/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/overlay/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/overlay/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/overlay/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/overlay/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/overlay/CMakeFiles/overlay.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/overlay/CMakeFiles/overlay.dir/rule +.PHONY : src/mixer2/overlay/CMakeFiles/overlay.dir/rule + +# Convenience name for target. +overlay: src/mixer2/overlay/CMakeFiles/overlay.dir/rule +.PHONY : overlay + +# fast build rule for target. +overlay/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/overlay/CMakeFiles/overlay.dir/build.make src/mixer2/overlay/CMakeFiles/overlay.dir/build +.PHONY : overlay/fast + +overlay.o: overlay.cpp.o +.PHONY : overlay.o + +# target to build an object file +overlay.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/overlay/CMakeFiles/overlay.dir/build.make src/mixer2/overlay/CMakeFiles/overlay.dir/overlay.cpp.o +.PHONY : overlay.cpp.o + +overlay.i: overlay.cpp.i +.PHONY : overlay.i + +# target to preprocess a source file +overlay.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/overlay/CMakeFiles/overlay.dir/build.make src/mixer2/overlay/CMakeFiles/overlay.dir/overlay.cpp.i +.PHONY : overlay.cpp.i + +overlay.s: overlay.cpp.s +.PHONY : overlay.s + +# target to generate assembly for a file +overlay.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/overlay/CMakeFiles/overlay.dir/build.make src/mixer2/overlay/CMakeFiles/overlay.dir/overlay.cpp.s +.PHONY : overlay.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... overlay" + @echo "... rebuild_cache" + @echo "... overlay.o" + @echo "... overlay.i" + @echo "... overlay.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/saturation/Makefile b/src/mixer2/saturation/Makefile new file mode 100644 index 0000000..8930324 --- /dev/null +++ b/src/mixer2/saturation/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/saturation/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/saturation/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/saturation/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/saturation/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/saturation/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/saturation/CMakeFiles/saturation.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/saturation/CMakeFiles/saturation.dir/rule +.PHONY : src/mixer2/saturation/CMakeFiles/saturation.dir/rule + +# Convenience name for target. +saturation: src/mixer2/saturation/CMakeFiles/saturation.dir/rule +.PHONY : saturation + +# fast build rule for target. +saturation/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/saturation/CMakeFiles/saturation.dir/build.make src/mixer2/saturation/CMakeFiles/saturation.dir/build +.PHONY : saturation/fast + +saturation.o: saturation.cpp.o +.PHONY : saturation.o + +# target to build an object file +saturation.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/saturation/CMakeFiles/saturation.dir/build.make src/mixer2/saturation/CMakeFiles/saturation.dir/saturation.cpp.o +.PHONY : saturation.cpp.o + +saturation.i: saturation.cpp.i +.PHONY : saturation.i + +# target to preprocess a source file +saturation.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/saturation/CMakeFiles/saturation.dir/build.make src/mixer2/saturation/CMakeFiles/saturation.dir/saturation.cpp.i +.PHONY : saturation.cpp.i + +saturation.s: saturation.cpp.s +.PHONY : saturation.s + +# target to generate assembly for a file +saturation.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/saturation/CMakeFiles/saturation.dir/build.make src/mixer2/saturation/CMakeFiles/saturation.dir/saturation.cpp.s +.PHONY : saturation.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... saturation" + @echo "... saturation.o" + @echo "... saturation.i" + @echo "... saturation.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/screen/Makefile b/src/mixer2/screen/Makefile new file mode 100644 index 0000000..8c2e6b9 --- /dev/null +++ b/src/mixer2/screen/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/screen/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/screen/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/screen/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/screen/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/screen/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/screen/CMakeFiles/screen.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/screen/CMakeFiles/screen.dir/rule +.PHONY : src/mixer2/screen/CMakeFiles/screen.dir/rule + +# Convenience name for target. +screen: src/mixer2/screen/CMakeFiles/screen.dir/rule +.PHONY : screen + +# fast build rule for target. +screen/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/screen/CMakeFiles/screen.dir/build.make src/mixer2/screen/CMakeFiles/screen.dir/build +.PHONY : screen/fast + +screen.o: screen.cpp.o +.PHONY : screen.o + +# target to build an object file +screen.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/screen/CMakeFiles/screen.dir/build.make src/mixer2/screen/CMakeFiles/screen.dir/screen.cpp.o +.PHONY : screen.cpp.o + +screen.i: screen.cpp.i +.PHONY : screen.i + +# target to preprocess a source file +screen.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/screen/CMakeFiles/screen.dir/build.make src/mixer2/screen/CMakeFiles/screen.dir/screen.cpp.i +.PHONY : screen.cpp.i + +screen.s: screen.cpp.s +.PHONY : screen.s + +# target to generate assembly for a file +screen.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/screen/CMakeFiles/screen.dir/build.make src/mixer2/screen/CMakeFiles/screen.dir/screen.cpp.s +.PHONY : screen.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... screen" + @echo "... screen.o" + @echo "... screen.i" + @echo "... screen.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/softlight/Makefile b/src/mixer2/softlight/Makefile new file mode 100644 index 0000000..d5ba0c7 --- /dev/null +++ b/src/mixer2/softlight/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/softlight/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/softlight/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/softlight/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/softlight/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/softlight/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/softlight/CMakeFiles/softlight.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/softlight/CMakeFiles/softlight.dir/rule +.PHONY : src/mixer2/softlight/CMakeFiles/softlight.dir/rule + +# Convenience name for target. +softlight: src/mixer2/softlight/CMakeFiles/softlight.dir/rule +.PHONY : softlight + +# fast build rule for target. +softlight/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/softlight/CMakeFiles/softlight.dir/build.make src/mixer2/softlight/CMakeFiles/softlight.dir/build +.PHONY : softlight/fast + +softlight.o: softlight.cpp.o +.PHONY : softlight.o + +# target to build an object file +softlight.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/softlight/CMakeFiles/softlight.dir/build.make src/mixer2/softlight/CMakeFiles/softlight.dir/softlight.cpp.o +.PHONY : softlight.cpp.o + +softlight.i: softlight.cpp.i +.PHONY : softlight.i + +# target to preprocess a source file +softlight.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/softlight/CMakeFiles/softlight.dir/build.make src/mixer2/softlight/CMakeFiles/softlight.dir/softlight.cpp.i +.PHONY : softlight.cpp.i + +softlight.s: softlight.cpp.s +.PHONY : softlight.s + +# target to generate assembly for a file +softlight.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/softlight/CMakeFiles/softlight.dir/build.make src/mixer2/softlight/CMakeFiles/softlight.dir/softlight.cpp.s +.PHONY : softlight.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... softlight" + @echo "... softlight.o" + @echo "... softlight.i" + @echo "... softlight.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/subtract/Makefile b/src/mixer2/subtract/Makefile new file mode 100644 index 0000000..0c3489a --- /dev/null +++ b/src/mixer2/subtract/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/subtract/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/subtract/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/subtract/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/subtract/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/subtract/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/subtract/CMakeFiles/subtract.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/subtract/CMakeFiles/subtract.dir/rule +.PHONY : src/mixer2/subtract/CMakeFiles/subtract.dir/rule + +# Convenience name for target. +subtract: src/mixer2/subtract/CMakeFiles/subtract.dir/rule +.PHONY : subtract + +# fast build rule for target. +subtract/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/subtract/CMakeFiles/subtract.dir/build.make src/mixer2/subtract/CMakeFiles/subtract.dir/build +.PHONY : subtract/fast + +subtract.o: subtract.cpp.o +.PHONY : subtract.o + +# target to build an object file +subtract.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/subtract/CMakeFiles/subtract.dir/build.make src/mixer2/subtract/CMakeFiles/subtract.dir/subtract.cpp.o +.PHONY : subtract.cpp.o + +subtract.i: subtract.cpp.i +.PHONY : subtract.i + +# target to preprocess a source file +subtract.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/subtract/CMakeFiles/subtract.dir/build.make src/mixer2/subtract/CMakeFiles/subtract.dir/subtract.cpp.i +.PHONY : subtract.cpp.i + +subtract.s: subtract.cpp.s +.PHONY : subtract.s + +# target to generate assembly for a file +subtract.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/subtract/CMakeFiles/subtract.dir/build.make src/mixer2/subtract/CMakeFiles/subtract.dir/subtract.cpp.s +.PHONY : subtract.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... subtract" + @echo "... subtract.o" + @echo "... subtract.i" + @echo "... subtract.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/uvmap/Makefile b/src/mixer2/uvmap/Makefile new file mode 100644 index 0000000..aa54c71 --- /dev/null +++ b/src/mixer2/uvmap/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/uvmap/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/uvmap/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/uvmap/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/uvmap/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/uvmap/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/uvmap/CMakeFiles/uvmap.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/uvmap/CMakeFiles/uvmap.dir/rule +.PHONY : src/mixer2/uvmap/CMakeFiles/uvmap.dir/rule + +# Convenience name for target. +uvmap: src/mixer2/uvmap/CMakeFiles/uvmap.dir/rule +.PHONY : uvmap + +# fast build rule for target. +uvmap/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/uvmap/CMakeFiles/uvmap.dir/build.make src/mixer2/uvmap/CMakeFiles/uvmap.dir/build +.PHONY : uvmap/fast + +uvmap.o: uvmap.c.o +.PHONY : uvmap.o + +# target to build an object file +uvmap.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/uvmap/CMakeFiles/uvmap.dir/build.make src/mixer2/uvmap/CMakeFiles/uvmap.dir/uvmap.c.o +.PHONY : uvmap.c.o + +uvmap.i: uvmap.c.i +.PHONY : uvmap.i + +# target to preprocess a source file +uvmap.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/uvmap/CMakeFiles/uvmap.dir/build.make src/mixer2/uvmap/CMakeFiles/uvmap.dir/uvmap.c.i +.PHONY : uvmap.c.i + +uvmap.s: uvmap.c.s +.PHONY : uvmap.s + +# target to generate assembly for a file +uvmap.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/uvmap/CMakeFiles/uvmap.dir/build.make src/mixer2/uvmap/CMakeFiles/uvmap.dir/uvmap.c.s +.PHONY : uvmap.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... uvmap" + @echo "... uvmap.o" + @echo "... uvmap.i" + @echo "... uvmap.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/value/Makefile b/src/mixer2/value/Makefile new file mode 100644 index 0000000..82b3752 --- /dev/null +++ b/src/mixer2/value/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/value/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/value/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/value/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/value/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/value/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/value/CMakeFiles/value.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/value/CMakeFiles/value.dir/rule +.PHONY : src/mixer2/value/CMakeFiles/value.dir/rule + +# Convenience name for target. +value: src/mixer2/value/CMakeFiles/value.dir/rule +.PHONY : value + +# fast build rule for target. +value/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/value/CMakeFiles/value.dir/build.make src/mixer2/value/CMakeFiles/value.dir/build +.PHONY : value/fast + +value.o: value.cpp.o +.PHONY : value.o + +# target to build an object file +value.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/value/CMakeFiles/value.dir/build.make src/mixer2/value/CMakeFiles/value.dir/value.cpp.o +.PHONY : value.cpp.o + +value.i: value.cpp.i +.PHONY : value.i + +# target to preprocess a source file +value.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/value/CMakeFiles/value.dir/build.make src/mixer2/value/CMakeFiles/value.dir/value.cpp.i +.PHONY : value.cpp.i + +value.s: value.cpp.s +.PHONY : value.s + +# target to generate assembly for a file +value.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/value/CMakeFiles/value.dir/build.make src/mixer2/value/CMakeFiles/value.dir/value.cpp.s +.PHONY : value.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... value" + @echo "... value.o" + @echo "... value.i" + @echo "... value.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/xfade0r/Makefile b/src/mixer2/xfade0r/Makefile new file mode 100644 index 0000000..2ff431a --- /dev/null +++ b/src/mixer2/xfade0r/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer2/xfade0r/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/xfade0r/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/xfade0r/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/xfade0r/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/xfade0r/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/rule +.PHONY : src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/rule + +# Convenience name for target. +xfade0r: src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/rule +.PHONY : xfade0r + +# fast build rule for target. +xfade0r/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/build.make src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/build +.PHONY : xfade0r/fast + +xfade0r.o: xfade0r.cpp.o +.PHONY : xfade0r.o + +# target to build an object file +xfade0r.cpp.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/build.make src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/xfade0r.cpp.o +.PHONY : xfade0r.cpp.o + +xfade0r.i: xfade0r.cpp.i +.PHONY : xfade0r.i + +# target to preprocess a source file +xfade0r.cpp.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/build.make src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/xfade0r.cpp.i +.PHONY : xfade0r.cpp.i + +xfade0r.s: xfade0r.cpp.s +.PHONY : xfade0r.s + +# target to generate assembly for a file +xfade0r.cpp.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/build.make src/mixer2/xfade0r/CMakeFiles/xfade0r.dir/xfade0r.cpp.s +.PHONY : xfade0r.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... xfade0r" + @echo "... xfade0r.o" + @echo "... xfade0r.i" + @echo "... xfade0r.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer2/xfade0r/xfade0r.cpp b/src/mixer2/xfade0r/xfade0r.cpp index 9d6c085..4d99c6b 100644 --- a/src/mixer2/xfade0r/xfade0r.cpp +++ b/src/mixer2/xfade0r/xfade0r.cpp @@ -7,6 +7,7 @@ public: xfade0r(unsigned int width, unsigned int height) { + fader = 0.0; register_param(fader,"fader","the fader position"); } diff --git a/src/mixer3/Makefile b/src/mixer3/Makefile new file mode 100644 index 0000000..3b3cd38 --- /dev/null +++ b/src/mixer3/Makefile @@ -0,0 +1,170 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer3/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/src/mixer3/RGB/Makefile b/src/mixer3/RGB/Makefile new file mode 100644 index 0000000..8edc5a6 --- /dev/null +++ b/src/mixer3/RGB/Makefile @@ -0,0 +1,212 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 2.8 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /opt/local/bin/cmake + +# The command to remove a file. +RM = /opt/local/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The program to use to edit the cache. +CMAKE_EDIT_COMMAND = /opt/local/bin/ccmake + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/jaromil/devel/frei0r + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/jaromil/devel/frei0r + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." + /opt/local/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache +.PHONY : edit_cache/fast + +# Special rule for the target install +install: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install + +# Special rule for the target install +install/fast: preinstall/fast + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." + /opt/local/bin/cmake -P cmake_install.cmake +.PHONY : install/fast + +# Special rule for the target install/local +install/local: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." + /opt/local/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake +.PHONY : install/local + +# Special rule for the target install/local +install/local/fast: install/local +.PHONY : install/local/fast + +# Special rule for the target install/strip +install/strip: preinstall + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." + /opt/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake +.PHONY : install/strip + +# Special rule for the target install/strip +install/strip/fast: install/strip +.PHONY : install/strip/fast + +# Special rule for the target list_install_components +list_install_components: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" +.PHONY : list_install_components + +# Special rule for the target list_install_components +list_install_components/fast: list_install_components +.PHONY : list_install_components/fast + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /opt/local/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache +.PHONY : rebuild_cache/fast + +# The main all target +all: cmake_check_build_system + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles /Users/jaromil/devel/frei0r/src/mixer3/RGB/CMakeFiles/progress.marks + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/RGB/all + $(CMAKE_COMMAND) -E cmake_progress_start /Users/jaromil/devel/frei0r/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/RGB/clean +.PHONY : clean + +# The main clean target +clean/fast: clean +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/RGB/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/RGB/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +src/mixer3/RGB/CMakeFiles/RGB.dir/rule: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f CMakeFiles/Makefile2 src/mixer3/RGB/CMakeFiles/RGB.dir/rule +.PHONY : src/mixer3/RGB/CMakeFiles/RGB.dir/rule + +# Convenience name for target. +RGB: src/mixer3/RGB/CMakeFiles/RGB.dir/rule +.PHONY : RGB + +# fast build rule for target. +RGB/fast: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer3/RGB/CMakeFiles/RGB.dir/build.make src/mixer3/RGB/CMakeFiles/RGB.dir/build +.PHONY : RGB/fast + +RGB.o: RGB.c.o +.PHONY : RGB.o + +# target to build an object file +RGB.c.o: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer3/RGB/CMakeFiles/RGB.dir/build.make src/mixer3/RGB/CMakeFiles/RGB.dir/RGB.c.o +.PHONY : RGB.c.o + +RGB.i: RGB.c.i +.PHONY : RGB.i + +# target to preprocess a source file +RGB.c.i: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer3/RGB/CMakeFiles/RGB.dir/build.make src/mixer3/RGB/CMakeFiles/RGB.dir/RGB.c.i +.PHONY : RGB.c.i + +RGB.s: RGB.c.s +.PHONY : RGB.s + +# target to generate assembly for a file +RGB.c.s: + cd /Users/jaromil/devel/frei0r && $(MAKE) -f src/mixer3/RGB/CMakeFiles/RGB.dir/build.make src/mixer3/RGB/CMakeFiles/RGB.dir/RGB.c.s +.PHONY : RGB.c.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... RGB" + @echo "... edit_cache" + @echo "... install" + @echo "... install/local" + @echo "... install/strip" + @echo "... list_install_components" + @echo "... rebuild_cache" + @echo "... RGB.o" + @echo "... RGB.i" + @echo "... RGB.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + cd /Users/jaromil/devel/frei0r && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/web/Doxyfile b/web/Doxyfile deleted file mode 100644 index 988f519..0000000 --- a/web/Doxyfile +++ /dev/null @@ -1,1517 +0,0 @@ -# Doxyfile 1.6.1 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all -# text before the first occurrence of this tag. Doxygen uses libiconv (or the -# iconv built into libc) for the transcoding. See -# http://www.gnu.org/software/libiconv for the list of possible encodings. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = frei0r - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = web/codedoc - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of -# source files, where putting all generated files in the same directory would -# otherwise cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, -# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English -# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, -# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, -# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is -# used as the annotated text. Otherwise, the brief description is used as-is. -# If left blank, the following values are used ("$name" is automatically -# replaced with the name of the entity): "The $name class" "The $name widget" -# "The $name file" "is" "provides" "specifies" "contains" -# "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = YES - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like regular Qt-style comments -# (thus requiring an explicit @brief command for a brief description.) - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then Doxygen will -# interpret the first line (until the first dot) of a Qt-style -# comment as the brief description. If set to NO, the comments -# will behave just like regular Qt-style comments (thus requiring -# an explicit \brief command for a brief description.) - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce -# a new page for each member. If set to NO, the documentation of a member will -# be part of the file/class/namespace that contains it. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C -# sources only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = YES - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java -# sources only. Doxygen will then generate output that is more tailored for -# Java. For instance, namespaces will be presented as packages, qualified -# scopes will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources only. Doxygen will then generate output that is more tailored for -# Fortran. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for -# VHDL. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it parses. -# With this tag you can assign which parser to use for a given extension. -# Doxygen has a built-in mapping, but you can override or extend it using this tag. -# The format is ext=language, where ext is a file extension, and language is one of -# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP, -# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat -# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran), -# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should -# set this tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. -# func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. -# Doxygen will parse them like normal C++ but will assume all classes use public -# instead of private inheritance when no explicit protection keyword is present. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate getter -# and setter methods for a property. Setting this option to YES (the default) -# will make doxygen to replace the get and set methods by a property in the -# documentation. This will only work if the methods are indeed getting or -# setting a simple type. If this is not the case, or you want to show the -# methods anyway, you should set this option to NO. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = YES - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum -# is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically -# be useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. - -TYPEDEF_HIDES_STRUCT = NO - -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to -# determine which symbols to keep in memory and which to flush to disk. -# When the cache is full, less often used symbols will be written to disk. -# For small to medium size projects (<1000 input files) the default value is -# probably good enough. For larger projects a too small cache size can cause -# doxygen to be busy swapping symbols to and from disk most of the time -# causing a significant performance penality. -# If the system has enough physical memory increasing the cache will improve the -# performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will rougly double the -# memory usage. The cache size is given by this formula: -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols - -SYMBOL_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base -# name of the file that contains the anonymous namespace. By default -# anonymous namespace are hidden. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the (brief and detailed) documentation of class members so that constructors and destructors are listed first. If set to NO (the default) the constructors will appear in the respective orders defined by SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the -# hierarchy of group names into alphabetical order. If set to NO (the default) -# the group names will appear in their defined order. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -# If the sources in your project are distributed over multiple directories -# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy -# in the documentation. The default is NO. - -SHOW_DIRECTORIES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. -# This will remove the Files entry from the Quick Index and from the -# Folder Tree View (if specified). The default is YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the -# Namespaces page. -# This will remove the Namespaces entry from the Quick Index -# and from the Folder Tree View (if specified). The default is YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command , where is the value of -# the FILE_VERSION_FILTER tag, and is the name of an input file -# provided by doxygen. Whatever the program writes to standard output -# is used as the file version. See the manual for examples. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by -# doxygen. The layout file controls the global structure of the generated output files -# in an output format independent way. The create the layout file that represents -# doxygen's defaults, run doxygen with the -l option. You can optionally specify a -# file name after the option, if omitted DoxygenLayout.xml will be used as the name -# of the layout file. - -LAYOUT_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be abled to get warnings for -# functions that are documented, but have no documentation for their parameters -# or return value. If set to NO (the default) doxygen will only warn about -# wrong or incomplete parameter documentation, but not about the absence of -# documentation. - -WARN_NO_PARAMDOC = NO - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. Optionally the format may contain -# $version, which will be replaced by the version of the file (if it could -# be obtained via FILE_VERSION_FILTER) - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = "include/frei0r.h" - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is -# also the default input encoding. Doxygen uses libiconv (or the iconv built -# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for -# the list of possible encodings. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx -# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or -# directories that are symbolic links (a Unix filesystem feature) are excluded -# from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. Note that the wildcards are matched -# against the file with absolute path, so to exclude all test directories -# for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. -# If FILTER_PATTERNS is specified, this tag will be -# ignored. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. -# Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. -# The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER -# is applied to all files. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) -# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from -# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will -# link to the source code. -# Otherwise they will link to the documentation. - -REFERENCES_LINK_SOURCE = YES - -# If the USE_HTAGS tag is set to YES then the references to source code -# will point to the HTML generated by the htags(1) tool instead of doxygen -# built-in source browser. The htags tool is part of GNU's global source -# tagging system (see http://www.gnu.org/software/global/global.html). You -# will need version 4.8.6 or higher. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .php - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = -# HTML_HEADER = web/header.php - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = -# HTML_FOOTER = web/footer.php - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = -# HTML_STYLESHEET = web/style.css - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. For this to work a browser that supports -# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox -# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). - -HTML_DYNAMIC_SECTIONS = YES - -# If the GENERATE_DOCSET tag is set to YES, additional index files -# will be generated that can be used as input for Apple's Xcode 3 -# integrated development environment, introduced with OSX 10.5 (Leopard). -# To create a documentation set, doxygen will generate a Makefile in the -# HTML output directory. Running make will produce the docset in that -# directory and running "make install" will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find -# it at startup. -# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. - -GENERATE_DOCSET = NO - -# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the -# feed. A documentation feed provides an umbrella under which multiple -# documentation sets from a single provider (such as a company or product suite) -# can be grouped. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that -# should uniquely identify the documentation set bundle. This should be a -# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen -# will append .docset to the name. - -DOCSET_BUNDLE_ID = org.dyne.piksel.frei0r - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING -# is used to encode HtmlHelp index (hhk), content (hhc) and project file -# content. - -CHM_INDEX_ENCODING = - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER -# are set, an additional index file will be generated that can be used as input for -# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated -# HTML documentation. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can -# be used to specify the file name of the resulting .qch file. -# The path specified is relative to the HTML output folder. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#namespace - -QHP_NAMESPACE = - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#virtual-folders - -QHP_VIRTUAL_FOLDER = doc - -# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add. -# For more information please see -# http://doc.trolltech.com/qthelpproject.html#custom-filters - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see -# Qt Help Project / Custom Filters. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's -# filter section matches. -# Qt Help Project / Filter Attributes. - -QHP_SECT_FILTER_ATTRS = - -# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can -# be used to specify the location of Qt's qhelpgenerator. -# If non-empty doxygen will try to run qhelpgenerator on the generated -# .qhp file. - -QHG_LOCATION = - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 4 - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. -# If the tag value is set to YES, a side panel will be generated -# containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). -# Windows users are probably better off using the HTML help feature. - -GENERATE_TREEVIEW = YES - -# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, -# and Class Hierarchy pages using a tree view instead of an ordered list. - -USE_INLINE_TREES = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -# Use this tag to change the font size of Latex formulas included -# as images in the HTML documentation. The default is 10. Note that -# when you change the font size after a successful doxygen run you need -# to manually remove any form_*.png images from the HTML output directory -# to force them to be regenerated. - -FORMULA_FONTSIZE = 10 - -# When the SEARCHENGINE tag is enable doxygen will generate a search box for the HTML output. The underlying search engine uses javascript -# and DHTML and should work on any modern browser. Note that when using HTML help (GENERATE_HTMLHELP) or Qt help (GENERATE_QHP) -# there is already a search function so this one should typically -# be disabled. - -SEARCHENGINE = NO - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER. - -LATEX_SOURCE_CODE = YES - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = YES - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = YES - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = YES - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. -# This is useful -# if you want to understand what is going on. -# On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_DEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator -# instead of the = operator. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse -# the parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base -# or super classes. Setting the tag to NO turns the diagrams off. Note that -# this option is superseded by the HAVE_DOT option below. This is only a -# fallback. It is recommended to install and use dot, since it yields more -# powerful graphs. - -CLASS_DIAGRAMS = YES - -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see -# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = YES - -# By default doxygen will write a font called FreeSans.ttf to the output -# directory and reference it in all dot files that doxygen generates. This -# font does not include all possible unicode characters however, so when you need -# these (or just want a differently looking font) you can specify the font name -# using DOT_FONTNAME. You need need to make sure dot is able to find the font, -# which can be done by putting it in a standard location or by setting the -# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory -# containing the font. - -DOT_FONTNAME = FreeSans - -# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. -# The default size is 10pt. - -DOT_FONTSIZE = 10 - -# By default doxygen will tell dot to use the output directory to look for the -# FreeSans.ttf font (which doxygen will put there itself). If you specify a -# different font using DOT_FONTNAME you can set the path where dot -# can find it using this tag. - -DOT_FONTPATH = - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for groups, showing the direct groups dependencies - -GROUP_GRAPHS = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT options are set to YES then -# doxygen will generate a call dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable call graphs -# for selected functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then -# doxygen will generate a caller dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable caller -# graphs for selected functions only using the \callergraph command. - -CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES -# then doxygen will show the dependencies a directory has on other directories -# in a graphical way. The dependency relations are determined by the #include -# relations between the files in the directories. - -DIRECTORY_GRAPH = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found in the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen if the -# number of direct children of the root node in a graph is already larger than -# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note -# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. - -DOT_GRAPH_MAX_NODES = 50 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes -# that lay further from the root node will be omitted. Note that setting this -# option to 1 or 2 may greatly reduce the computation time needed for large -# code bases. Also note that the size of a graph can be further restricted by -# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. - -MAX_DOT_GRAPH_DEPTH = 0 - -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, because dot on Windows does not -# seem to support this out of the box. Warning: Depending on the platform used, -# enabling this option may lead to badly anti-aliased labels on the edges of -# a graph (i.e. they become hard to read). - -DOT_TRANSPARENT = NO - -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) -# support this, this feature is disabled by default. - -DOT_MULTI_TARGETS = YES - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES diff --git a/web/README b/web/README deleted file mode 100644 index f33cadb..0000000 --- a/web/README +++ /dev/null @@ -1,25 +0,0 @@ - -Org-mode generated website setup for dyne.org - -This directory contains .org files for content -and scripts to render the website locally for preview -once pushed on the server the website will be visible - -To activate local preview make sure you have installed Emacs -and TexLive on your distribution, then manually install the -latest stable version of Org-mode from orgmode.org - -from inside orgmode, do: - - make - sudo make install - sudo cp -ra contrib/lisp/* /usr/local/share/emacs/site-lisp/ - -this will install the latest version in /usr/local/share - -then run make in this directory to generate the site -and then follow instructions to activate the apache.conf - -happy hacking ;^) - - diff --git a/web/TODO.org b/web/TODO.org deleted file mode 100644 index 177d0a8..0000000 --- a/web/TODO.org +++ /dev/null @@ -1,87 +0,0 @@ -#+TITLE: Frei0r - free video plugins -#+AUTHOR: Pikselites -#+EMAIL: frei0r-dev@dyne.org -#+LANGUAGE: en -#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t -#+OPTIONS: TeX:t LaTeX:t skip:t d:nil tags:not-in-toc - -#+INFOJS_OPT: path:org-info.js -#+INFOJS_OPT: toc:nil localtoc:nil view:content sdepth:2 mouse:underline buttons:nil -#+INFOJS_OPT: home:http://frei0r.dyne.org - -#+LATEX_HEADER: \documentclass[final,a4paper,10pt,onecolumn,twoside]{memoir} -#+LATEX_HEADER: \usepackage[english]{babel} -#+LATEX_HEADER: \usepackage{amsfonts, amsmath, amssymb} -#+LATEX_HEADER: \usepackage{ucs} -#+LATEX_HEADER: \usepackage[utf8x]{inputenc} -#+LATEX_HEADER: \usepackage[T1]{fontenc} -#+LATEX_HEADER: \usepackage{hyperref} -#+LATEX_HEADER: \usepackage[pdftex]{graphicx} -#+LATEX_HEADER: \usepackage{fullpage} -#+LATEX_HEADER: \usepackage{lmodern} - -* Welcome hackers! - -The Frei0r mailinglist is the first step to get in touch with us: the -one we use is [[https://piksel.no/mailman/listinfo/frei0r-devel][frei0r-devel]] and it has [[http://piksel.no/pipermail/frei0r-devel/][public archives]] that are also -[[http://blog.gmane.org/gmane.comp.video.frei0r.devel][searchable and indexed]] online. - -The bugtracker we are currently using is [[http://www.piksel.no/projects/frei0r/report][the Piksel trac]], have a look -there and, if you know how to report a bug, please open a new issue -and give it as many details as you can. - -Here below are outlined some open issues in the development flow, they -range from /bugfixing/ tasks to /specification updates/ and -/documentation/. - -* Port existing code - -Porting new Effects from existing collections should be easy, for -instance there is a lot of code to be ported from [[http://effectv.sf.net/][EffecTV]], the [[http://demo-effects.sourceforge.net/][Demo -Effects Collection]], [[ftp://ftp.dyne.org/freej/plugins/petespluginslinux_070114.tar.gz][Pete's plugins]] and the XScreensavers… let us if -you engage the task, it can be fun and not so difficult if you are -just learning how to program in C or C++. - -* Bugfixes - -We should remove from installation any plugins which casuse a crash or -data loss - and if we want them back we'd better fix them, in any case -we can't allow distribution of plugins that can potentially crash the -host. - -This is an old issue with dynamically loaded objects: if they crash, -they'll crash the host application loading them! one reason why JWZ -made XScreensavers share an X11 /back-display/... - -** TODO Test suite - -Develop a test suite for frei0r plugins (/scaffolding/ technique) -which can be run to generate reports on reliability. - -** TODO Null parameters - -Fix plugins which do not set parameters to a default value inside -*f0r_init()* - this crashes some applications as often reported in -bugreports. - -* Spec Update - -We sometimes need to review the Frei0r specification and confront it -with new issues coming up. It might be also useful to confront it with -the specification drafted in [[http://livido.dyne.org/codedoc/][LiViDO]], which provides a broader -case-study, and other standards adopted in [[http://gstreamer.freedesktop.org/documentation/][GStreamer]]. - -* Documentation - -** Screenshots - -A Gallery of filters is already being generated, but not yet complete -with screenshots. Right now [[http://freej.dyne.org][FreeJ]] is being used with scripts to parse -plugin contents and render them into a webpage, still what are missing -are screenshots or maybe short video renderings of plugins in action. - -** TODO Trac spam - -We should fix the trac on piksel.org, install a new bugtracker like -[[http://flyspray.org][flyspray]] or use the mantis already up at [[http://bugs.dyne.org][bugs.dyne.org]]. - diff --git a/web/TODO.php b/web/TODO.php deleted file mode 100644 index 218aada..0000000 --- a/web/TODO.php +++ /dev/null @@ -1,54 +0,0 @@ -compile_check = true; -$smarty->debugging = false; -$smarty->caching = 0; - -$smarty->cache_dir = "cache"; -$smarty->template_dir = "templates"; -$smarty->compile_dir = "templates_c"; -$smarty->plugins_dir = array('/usr/share/php/smarty/plugins'); - - -$smarty->assign("page_class", "software org-mode"); -$smarty->assign("page_hgroup", "

Frei0r :: TODO

"); -$smarty->assign("page_title", "free video effect plugins"); - -$smarty->assign("pagename","software"); -$smarty->display("_header.tpl"); - -// sidebar -div("menu"); -$smarty->display("software/doctypes.tpl"); -showfile("TODO-toc.html"); -echo(""); - -// page content -showfile("TODO-body.html"); - -$smarty->display("_footer.tpl"); - -?> diff --git a/web/bin/generate-apache-conf.sh b/web/bin/generate-apache-conf.sh deleted file mode 100755 index 8da7445..0000000 --- a/web/bin/generate-apache-conf.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -# this script generates the website configuration locally -# it requires emacs, texlive and latest stable org-mode -# will download some scripts and prepare this directory -# so that running make the website will be compiled - -mkdir -p templates_c; chmod a+w templates_c -mkdir -p cache; chmod a+w cache -cat > apache.conf < - ServerAdmin webmaster@localhost - - ServerName freej.local.org - DocumentRoot `pwd` - - Options Indexes FollowSymLinks MultiViews - AllowOverride None - Order allow,deny - allow from all - - - ErrorLog /var/log/apache2/freej-error.log - - # Possible values include: debug, info, notice, warn, error, crit, - # alert, emerg. - LogLevel warn - - CustomLog /var/log/apache2/freej-access.log combined - -EOT -echo -echo "generation completed, link the apache.conf to enable the website" -echo "then add freej.local.org to your /etc/hosts to reach it:" -echo -echo "sudo ln -s `pwd`/apache.conf /etc/apache2/sites-enabled/freej-web" -echo "sudo sh -c 'echo \"127.0.0.1 freej.local.org\" >> /etc/hosts'" -echo -echo "use 'make' to generate a new version of the website which will be" -echo "visible on http://freej.local.org" -echo - diff --git a/web/bin/generate-code-gallery.sh b/web/bin/generate-code-gallery.sh deleted file mode 100755 index 7592d55..0000000 --- a/web/bin/generate-code-gallery.sh +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/bash -# shell script to generate a gallery of effects and their code -# generates gallery-index.html and subdirectories containing html pages -# all is rendered using emacs, org-mode, htmlize and twilight color theme -# for syntax highlight and such. pages are served by gallery.php -# -# March 2010 by Jaromil , GNU GPL v3 - -if [ -z $1 ]; then - echo "usage: generate-code-gallery.sh frei0r/src" - echo "this tool visits all frei0r src directory and renders" - echo "a web browsable gallery with their code" - exit 1 -fi -tmpfile="/tmp/generate-code-gallery-`date +%s`" -rm -f $tmpfile - -srcdir=${1} - -if ! [ -d ${srcdir} ]; then - echo "error: ${srcdir} not found" - exit 1 -fi - -render_code() { - t=$1 - f=$2 - lang=$3 - src=${srcdir}/${t}/${f}/${f}.${lang} - - echo "#+TITLE Frei0r :: ${f} - -* ${f} - -#+BEGIN_SRC ${lang}" > $t/${f}.org - cat ${src} >> $t/${f}.org - - echo "#+END_SRC" >> $t/${f}.org - - emacs -no-site-file -batch -l elisp/org-batch.el \ - --visit $t/${f}.org -f org-export-as-html - -# filter out orgmode html and get only the syntax highlight - cat ${t}/${f}.html | awk ' -BEGIN { content=0; } -/
 /tmp/${f}_info.js
-    freej -c -S soft -j /tmp/${f}_info.js 1> ${t}/${f}.html 2>/dev/null
-    rm -f /tmp/${f}_info.js
-    cat ${tmpfile} >> ${t}/${f}.html
-    
-
-}
-
-echo "" > gallery-index.html
-
-for t in filter generator mixer2 mixer3; do
-
-    mkdir -p ${t}
-    # open the index section
-    echo "
-
    -

    ${t}

    - -" >> gallery-index.html - - for f in `ls ${srcdir}/${t}/`; do - - if [ -r ${srcdir}/${t}/${f}/${f}.c ]; then - - # render code in syntax highlight - if ! [ -r ${t}/${f}.html ]; then - render_code ${t} ${f} "c" - fi - - # add entry to the index - echo "
  • ${f}
  • " \ - >> gallery-index.html - - fi - if [ -r ${srcdir}/${t}/${f}/${f}.cpp ]; then - - # render code in syntax highlight - if ! [ -r ${t}/${f}.html ]; then - render_code ${t} ${f} "cpp" - fi - - # add entry to the index - echo "
  • ${f}
  • " \ - >> gallery-index.html - - fi - done - echo "
-
-" >> gallery-index.html -done - -echo "
" >> gallery-index.html diff --git a/web/bin/generate-documents.sh b/web/bin/generate-documents.sh deleted file mode 100755 index 6201edd..0000000 --- a/web/bin/generate-documents.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# shell script to generate web pages from org-mode files -# to be run inside the directory containing them - - -for o in `ls *.org`; do - emacs -no-site-file -q -batch -l elisp/org-batch.el \ - --visit $o -f org-export-as-ascii - emacs -no-site-file -q -batch -l elisp/org-batch.el \ - --visit $o -f org-export-as-pdf - - emacs -no-site-file -q -batch -l elisp/org-batch.el \ - --visit $o -f org-export-as-html - bin/org-split-body-toc.sh ${o%%.*}.html -done diff --git a/web/bin/org-split-body-toc.sh b/web/bin/org-split-body-toc.sh deleted file mode 100755 index 1139c11..0000000 --- a/web/bin/org-split-body-toc.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# -# small shell script to collate together the web pages -# extracts the part from the org-mode rendered HTML file -# then formats it as a template to be shown by the index.php -# -# March 2010 by Jaromil - -if [ -z $1 ]; then - echo "usage: org-split-body-toc.sh orgmode.html" - echo "this tool splits an orgmode in two parts: and " - echo "it also eliminates headers and footers." - exit 1 -fi - -tmpfile="/tmp/org-split-body-toc-`date +%s`" -rm -f $tmpfile - -orgfile=${1} - -orgname=`echo $orgfile|cut -d. -f1` - -cat $orgfile | \ - awk ' -BEGIN { body_found=0; title_found=0; } -// { body_found=1; next; } -/^

/ { title_found=1; next; } - -{ -if(body_found==1) - if(title_found==1) - print $0; -} - -/^

/ { title_found=0; } -/^<\/body>/ { body_found=0; next; } -' > $tmpfile - -# separate the TOC -echo "

" > ${orgname}-toc.html -cat $tmpfile | \ - awk ' -BEGIN { toc_found=0; div_count=0; } -/^
/ { toc_found=1; next; } -{ if(div_count>1) toc_found=0; - if(toc_found==1) print $0; -} -/^<\/div>/ { div_count++; } -' >> ${orgname}-toc.html - -# separate the BODY -cat $tmpfile | \ - awk ' -BEGIN { div_count=0; } -{ if(div_count>1) print $0; } -/^<\/div>/ { div_count++; } -' > ${orgname}-body.html -echo "
" >> ${orgname}-body.html - -# delete the temporary file -rm -f $tmpfile - -echo "org-mode html $orgfile splitted in ${orgname}-toc.html and ${orgname}-body.html" - diff --git a/web/elisp/color-theme.el b/web/elisp/color-theme.el deleted file mode 100644 index c92c1a5..0000000 --- a/web/elisp/color-theme.el +++ /dev/null @@ -1,1668 +0,0 @@ -;;; color-theme.el --- install color themes - -;; Copyright (C) 1999, 2000 Jonadab the Unsightly One -;; Copyright (C) 2000, 2001, 2002, 2003 Alex Schroeder -;; Copyright (C) 2003, 2004, 2005, 2006 Xavier Maillard - -;; Version: 6.6.0 -;; Keywords: faces -;; Author: Jonadab the Unsightly One -;; Maintainer: Xavier Maillard -;; URL: http://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme - -;; This file is not (YET) part of GNU Emacs. - -;; This is free software; you can redistribute it and/or modify it under -;; the terms of the GNU General Public License as published by the Free -;; Software Foundation; either version 2, or (at your option) any later -;; version. -;; -;; This is distributed in the hope that it will be useful, but WITHOUT -;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -;; for more details. -;; -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, -;; MA 02111-1307, USA. - -;;; Commentary: - -;; Please read README and BUGS files for any relevant help. -;; Contributors (not themers) should also read HACKING file. - -;;; Thanks - -;; Deepak Goel -;; S. Pokrovsky for ideas and discussion. -;; Gordon Messmer for ideas and discussion. -;; Sriram Karra for the color-theme-submit stuff. -;; Olgierd `Kingsajz' Ziolko for the spec-filter idea. -;; Brian Palmer for color-theme-library ideas and code -;; All the users that contributed their color themes. - - - -;;; Code: -(eval-when-compile - (require 'easymenu) - (require 'reporter) - (require 'sendmail)) - -(require 'cl); set-difference is a function... - -;; for custom-face-attributes-get or face-custom-attributes-get -(require 'cus-face) -(require 'wid-edit); for widget-apply stuff in cus-face.el - -(defconst color-theme-maintainer-address "zedek@gnu.org" - "Address used by `submit-color-theme'.") - -;; Emacs / XEmacs compatibility and workaround layer - -(cond ((and (facep 'tool-bar) - (not (facep 'toolbar))) - (put 'toolbar 'face-alias 'tool-bar)) - ((and (facep 'toolbar) - (not (facep 'tool-bar))) - (put 'tool-bar 'face-alias 'toolbar))) - -(defvar color-theme-xemacs-p (and (featurep 'xemacs) - (string-match "XEmacs" emacs-version)) - "Non-nil if running XEmacs.") - -;; Add this since it appears to miss in emacs-2x -(or (fboundp 'replace-in-string) - (defun replace-in-string (target old new) - (replace-regexp-in-string old new target))) - -;; face-attr-construct has a problem in Emacs 20.7 and older when -;; dealing with inverse-video faces. Here is a short test to check -;; wether you are affected. - -;; (set-background-color "wheat") -;; (set-foreground-color "black") -;; (setq a (make-face 'a-face)) -;; (face-spec-set a '((t (:background "white" :foreground "black" :inverse-video t)))) -;; (face-attr-construct a) -;; => (:background "black" :inverse-video t) - -;; The expected response is the original specification: -;; => (:background "white" :foreground "black" :inverse-video t) - -;; That's why we depend on cus-face.el functionality. - -(cond ((fboundp 'custom-face-attributes-get) - (defun color-theme-face-attr-construct (face frame) - (if (atom face) - (custom-face-attributes-get face frame) - (if (and (consp face) (eq (car face) 'quote)) - (custom-face-attributes-get (cadr face) frame) - (custom-face-attributes-get (car face) frame))))) - ((fboundp 'face-custom-attributes-get) - (defalias 'color-theme-face-attr-construct - 'face-custom-attributes-get)) - (t - (defun color-theme-face-attr-construct (&rest ignore) - (error "Unable to construct face attributes")))) - -(defun color-theme-alist (plist) - "Transform PLIST into an alist if it is a plist and return it. -If the first element of PLIST is a cons cell, we just return PLIST, -assuming PLIST to be an alist. If the first element of plist is not a -symbol, this is an error: We cannot distinguish a plist from an ordinary -list, but a list that doesn't start with a symbol is certainly no plist -and no alist. - -This is used to make sure `default-frame-alist' really is an alist and not -a plist. In XEmacs, the alist is deprecated; a plist is used instead." - (cond ((consp (car plist)) - plist) - ((not (symbolp (car plist))) - (error "Wrong type argument: plist, %S" plist)) - ((featurep 'xemacs) - (plist-to-alist plist)))); XEmacs only - -;; Customization - -(defgroup color-theme nil - "Color Themes for Emacs. -A color theme consists of frame parameter settings, variable settings, -and face definitions." - :version "20.6" - :group 'faces) - -(defcustom color-theme-legal-frame-parameters "\\(color\\|mode\\)$" - "Regexp that matches frame parameter names. -Only frame parameter names that match this regexp can be changed as part -of a color theme." - :type '(choice (const :tag "Colors only" "\\(color\\|mode\\)$") - (const :tag "Colors, fonts, and size" - "\\(color\\|mode\\|font\\|height\\|width\\)$") - (regexp :tag "Custom regexp")) - :group 'color-theme - :link '(info-link "(elisp)Window Frame Parameters")) - -(defcustom color-theme-legal-variables "\\(color\\|face\\)$" - "Regexp that matches variable names. -Only variables that match this regexp can be changed as part of a color -theme. In addition to matching this name, the variables have to be user -variables (see function `user-variable-p')." - :type 'regexp - :group 'color-theme) - -(defcustom color-theme-illegal-faces "^w3-" - "Regexp that matches face names forbidden in themes. -The default setting \"^w3-\" excludes w3 faces since these -are created dynamically." - :type 'regexp - :group 'color-theme - :link '(info-link "(elisp)Faces for Font Lock") - :link '(info-link "(elisp)Standard Faces")) - -(defcustom color-theme-illegal-default-attributes '(:family :height :width) - "A list of face properties to be ignored when installing faces. -This prevents Emacs from doing terrible things to your display just because -a theme author likes weird fonts." - :type '(repeat symbol) - :group 'color-theme) - -(defcustom color-theme-is-global t - "*Determines wether a color theme is installed on all frames or not. -If non-nil, color themes will be installed for all frames. -If nil, color themes will be installed for the selected frame only. - -A possible use for this variable is dynamic binding. Here is a larger -example to put in your ~/.emacs; it will make the Blue Sea color theme -the default used for the first frame, and it will create two additional -frames with different color themes. - -setup: - \(require 'color-theme) - ;; set default color theme - \(color-theme-blue-sea) - ;; create some frames with different color themes - \(let ((color-theme-is-global nil)) - \(select-frame (make-frame)) - \(color-theme-gnome2) - \(select-frame (make-frame)) - \(color-theme-standard)) - -Please note that using XEmacs and and a nil value for -color-theme-is-global will ignore any variable settings for the color -theme, since XEmacs doesn't have frame-local variable bindings. - -Also note that using Emacs and a non-nil value for color-theme-is-global -will install a new color theme for all frames. Using XEmacs and a -non-nil value for color-theme-is-global will install a new color theme -only on those frames that are not using a local color theme." - :type 'boolean - :group 'color-theme) - -(defcustom color-theme-is-cumulative t - "*Determines wether new color themes are installed on top of each other. -If non-nil, installing a color theme will undo all settings made by -previous color themes." - :type 'boolean - :group 'color-theme) - -(defcustom color-theme-directory nil - "Directory where we can find additionnal themes (personnal). -Note that there is at least one directory shipped with the official -color-theme distribution where all contributed themes are located. -This official selection can't be changed with that variable. -However, you still can decide to turn it on or off and thus, -not be shown with all themes but yours." - :type '(repeat string) - :group 'color-theme) - -(defcustom color-theme-libraries (directory-files - (concat - (file-name-directory (locate-library "color-theme")) - "/themes") t "^color-theme") - "A list of files, which will be loaded in color-theme-initialize depending -on `color-theme-load-all-themes' value. -This allows a user to prune the default color-themes (which can take a while -to load)." - :type '(repeat string) - :group 'color-theme) - -(defcustom color-theme-load-all-themes t - "When t, load all color-theme theme files -as presented by `color-theme-libraries'. Else -do not load any of this themes." - :type 'boolean - :group 'color-theme) - -(defcustom color-theme-mode-hook nil - "Hook for color-theme-mode." - :type 'hook - :group 'color-theme) - -(defvar color-theme-mode-map - (let ((map (make-sparse-keymap))) - (define-key map (kbd "RET") 'color-theme-install-at-point) - (define-key map (kbd "c") 'list-colors-display) - (define-key map (kbd "d") 'color-theme-describe) - (define-key map (kbd "f") 'list-faces-display) - (define-key map (kbd "i") 'color-theme-install-at-point) - (define-key map (kbd "l") 'color-theme-install-at-point-for-current-frame) - (define-key map (kbd "p") 'color-theme-print) - (define-key map (kbd "q") 'bury-buffer) - (define-key map (kbd "?") 'color-theme-describe) - (if color-theme-xemacs-p - (define-key map (kbd "") 'color-theme-install-at-mouse) - (define-key map (kbd "") 'color-theme-install-at-mouse)) - map) - "Mode map used for the buffer created by `color-theme-select'.") - -(defvar color-theme-initialized nil - "Internal variable determining whether color-theme-initialize has been invoked yet") - -(defvar color-theme-buffer-name "*Color Theme Selection*" - "Name of the color theme selection buffer.") - -(defvar color-theme-original-frame-alist nil - "nil until one of the color themes has been installed.") - -(defvar color-theme-history nil - "List of color-themes called, in reverse order") - -(defcustom color-theme-history-max-length nil - "Max length of history to maintain. -Two other values are acceptable: t means no limit, and -nil means that no history is maintained." - :type '(choice (const :tag "No history" nil) - (const :tag "Unlimited length" t) - integer) - :group 'color-theme) - -(defvar color-theme-counter 0 - "Counter for every addition to `color-theme-history'. -This counts how many themes were installed, regardless -of `color-theme-history-max-length'.") - -(defvar color-theme-entry-path (cond - ;; Emacs 22.x and later - ((lookup-key global-map [menu-bar tools]) - '("tools")) - ;; XEmacs - ((featurep 'xemacs) - (setq tool-entry '("Tools"))) - ;; Emacs < 22 - (t - '("Tools"))) - "Menu tool entry path.") - -(defun color-theme-add-to-history (name) - "Add color-theme NAME to `color-theme-history'." - (setq color-theme-history - (cons (list name color-theme-is-cumulative) - color-theme-history) - color-theme-counter (+ 1 color-theme-counter)) - ;; Truncate the list if necessary. - (when (and (integerp color-theme-history-max-length) - (>= (length color-theme-history) - color-theme-history-max-length)) - (setcdr (nthcdr (1- color-theme-history-max-length) - color-theme-history) - nil))) - -;; (let ((l '(1 2 3 4 5))) -;; (setcdr (nthcdr 2 l) nil) -;; l) - - - -;; List of color themes used to create the *Color Theme Selection* -;; buffer. - -(defvar color-themes - '((color-theme-aalto-dark "Aalto Dark" "Jari Aalto ") - (color-theme-aalto-light "Aalto Light" "Jari Aalto ") - (color-theme-aliceblue "Alice Blue" "Girish Bharadwaj ") - (color-theme-andreas "Andreas" "Andreas Busch ") - (color-theme-arjen "Arjen" "Arjen Wiersma ") - (color-theme-beige-diff "Beige Diff" "Alex Schroeder " t) - (color-theme-bharadwaj "Bharadwaj" "Girish Bharadwaj ") - (color-theme-bharadwaj-slate "Bharadwaj Slate" "Girish Bharadwaj ") - (color-theme-billw "Billw" "Bill White ") - (color-theme-black-on-gray "BlackOnGray" "Sudhir Bhojwani ") - (color-theme-blippblopp "Blipp Blopp" "Thomas Sicheritz-Ponten") - (color-theme-simple-1 "Black" "Jonadab ") - (color-theme-blue-erc "Blue ERC" "Alex Schroeder " t) - (color-theme-blue-gnus "Blue Gnus" "Alex Schroeder " t) - (color-theme-blue-mood "Blue Mood" "Nelson Loyola ") - (color-theme-blue-sea "Blue Sea" "Alex Schroeder ") - (color-theme-calm-forest "Calm Forest" "Artur Hefczyc ") - (color-theme-charcoal-black "Charcoal Black" "Lars Chr. Hausmann ") - (color-theme-goldenrod "Cheap Goldenrod" "Alex Schroeder ") - (color-theme-clarity "Clarity and Beauty" "Richard Wellum ") - (color-theme-classic "Classic" "Frederic Giroud ") - (color-theme-comidia "Comidia" "Marcelo Dias de Toledo ") - (color-theme-jsc-dark "Cooper Dark" "John S Cooper ") - (color-theme-jsc-light "Cooper Light" "John S Cooper ") - (color-theme-jsc-light2 "Cooper Light 2" "John S Cooper ") - (color-theme-dark-blue "Dark Blue" "Chris McMahan ") - (color-theme-dark-blue2 "Dark Blue 2" "Chris McMahan ") - (color-theme-dark-green "Dark Green" "eddy_woody@hotmail.com") - (color-theme-dark-laptop "Dark Laptop" "Laurent Michel ") - (color-theme-deep-blue "Deep Blue" "Tomas Cerha ") - (color-theme-digital-ofs1 "Digital OFS1" "Gareth Owen ") - (color-theme-euphoria "Euphoria" "oGLOWo@oGLOWo.cjb.net") - (color-theme-feng-shui "Feng Shui" "Walter Higgins ") - (color-theme-fischmeister "Fischmeister" - "Sebastian Fischmeister ") - (color-theme-gnome "Gnome" "Jonadab ") - (color-theme-gnome2 "Gnome 2" "Alex Schroeder ") - (color-theme-gray1 "Gray1" "Paul Pulli ") - (color-theme-gray30 "Gray30" "Girish Bharadwaj ") - (color-theme-kingsajz "Green Kingsajz" "Olgierd `Kingsajz' Ziolko ") - (color-theme-greiner "Greiner" "Kevin Greiner ") - (color-theme-gtk-ide "GTK IDE" "Gordon Messmer ") - (color-theme-high-contrast "High Contrast" "Alex Schroeder ") - (color-theme-hober "Hober" "Edward O'Connor ") - (color-theme-infodoc "Infodoc" "Frederic Giroud ") - (color-theme-jb-simple "JB Simple" "jeff@dvns.com") - (color-theme-jedit-grey "Jedit Grey" "Gordon Messmer ") - (color-theme-jonadabian "Jonadab" "Jonadab ") - (color-theme-jonadabian-slate "Jonadabian Slate" "Jonadab ") - (color-theme-katester "Katester" "Higgins_Walter@emc.com") - (color-theme-late-night "Late Night" "Alex Schroeder ") - (color-theme-lawrence "Lawrence" "lawrence mitchell ") - (color-theme-lethe "Lethe" "Ivica Loncar ") - (color-theme-ld-dark "Linh Dang Dark" "Linh Dang ") - (color-theme-marine "Marine" "Girish Bharadwaj ") - (color-theme-matrix "Matrix" "Walter Higgins ") - (color-theme-marquardt "Marquardt" "Colin Marquardt ") - (color-theme-midnight "Midnight" "Gordon Messmer ") - (color-theme-mistyday "Misty Day" "Hari Kumar ") - (color-theme-montz "Montz" "Brady Montz ") - (color-theme-oswald "Oswald" "Tom Oswald ") - (color-theme-parus "Parus" "Jon K Hellan ") - (color-theme-pierson "Pierson" "Dan L. Pierson ") - (color-theme-ramangalahy "Ramangalahy" "Solofo Ramangalahy ") - (color-theme-raspopovic "Raspopovic" "Pedja Raspopovic ") - (color-theme-renegade "Renegade" "Dave Benjamin ") - (color-theme-resolve "Resolve" "Damien Elmes ") - (color-theme-retro-green "Retro Green" "Alex Schroeder ") - (color-theme-retro-orange "Retro Orange" "Alex Schroeder ") - (color-theme-robin-hood "Robin Hood" "Alex Schroeder ") - (color-theme-rotor "Rotor" "Jinwei Shen ") - (color-theme-ryerson "Ryerson" "Luis Fernandes ") - (color-theme-salmon-diff "Salmon Diff" "Alex Schroeder " t) - (color-theme-salmon-font-lock "Salmon Font-Lock" "Alex Schroeder " t) - (color-theme-scintilla "Scintilla" "Gordon Messmer ") - (color-theme-shaman "Shaman" "shaman@interdon.net") - (color-theme-sitaramv-nt "Sitaram NT" - "Sitaram Venkatraman ") - (color-theme-sitaramv-solaris "Sitaram Solaris" - "Sitaram Venkatraman ") - (color-theme-snow "Snow" "Nicolas Rist ") - (color-theme-snowish "Snowish" "Girish Bharadwaj ") - (color-theme-standard-ediff "Standard Ediff" "Emacs Team, added by Alex Schroeder " t) - (color-theme-standard "Standard Emacs 20" "Emacs Team, added by Alex Schroeder ") - (color-theme-emacs-21 "Standard Emacs 21" "Emacs Team, added by Alex Schroeder ") - (color-theme-emacs-nw "Standard Emacs 21 No Window" "Emacs Team, added by D. Goel ") - (color-theme-xemacs "Standard XEmacs" "XEmacs Team, added by Alex Schroeder ") - (color-theme-subtle-blue "Subtle Blue" "Chris McMahan ") - (color-theme-subtle-hacker "Subtle Hacker" "Colin Walters ") - (color-theme-taming-mr-arneson "Taming Mr Arneson" "Erik Arneson ") - (color-theme-taylor "Taylor" "Art Taylor ") - (color-theme-tty-dark "TTY Dark" "O Polite ") - (color-theme-vim-colors "Vim Colors" "Michael Soulier ") - (color-theme-whateveryouwant "Whateveryouwant" "Fabien Penso , color by Scott Jaderholm ") - (color-theme-wheat "Wheat" "Alex Schroeder ") - (color-theme-pok-wob "White On Black" "S. Pokrovsky ") - (color-theme-pok-wog "White On Grey" "S. Pokrovsky ") - (color-theme-word-perfect "WordPerfect" "Thomas Gehrlein ") - (color-theme-xp "XP" "Girish Bharadwaj ")) - "List of color themes. - -Each THEME is itself a three element list (FUNC NAME MAINTAINER &optional LIBRARY). - -FUNC is a color theme function which does the setup. The function -FUNC may call `color-theme-install'. The color theme function may be -interactive. - -NAME is the name of the theme and MAINTAINER is the name and/or email of -the maintainer of the theme. - -If LIBRARY is non-nil, the color theme will be considered a library and -may not be shown in the default menu. - -If you defined your own color theme and want to add it to this list, -use something like this: - - (add-to-list 'color-themes '(color-theme-gnome2 \"Gnome2\" \"Alex\"))") - -;;; Functions - -(defun color-theme-backup-original-values () - "Back up the original `default-frame-alist'. -The values are stored in `color-theme-original-frame-alist' on -startup." - (if (null color-theme-original-frame-alist) - (setq color-theme-original-frame-alist - (color-theme-filter (frame-parameters (selected-frame)) - color-theme-legal-frame-parameters)))) -(add-hook 'after-init-hook 'color-theme-backup-original-values) - -;;;###autoload -(defun color-theme-select (&optional arg) - "Displays a special buffer for selecting and installing a color theme. -With optional prefix ARG, this buffer will include color theme libraries -as well. A color theme library is in itself not complete, it must be -used as part of another color theme to be useful. Thus, color theme -libraries are mainly useful for color theme authors." - (interactive "P") - (unless color-theme-initialized (color-theme-initialize)) - (switch-to-buffer (get-buffer-create color-theme-buffer-name)) - (setq buffer-read-only nil) - (erase-buffer) - ;; recreate the snapshot if necessary - (when (or (not (assq 'color-theme-snapshot color-themes)) - (not (commandp 'color-theme-snapshot))) - (fset 'color-theme-snapshot (color-theme-make-snapshot)) - (setq color-themes (delq (assq 'color-theme-snapshot color-themes) - color-themes) - color-themes (delq (assq 'bury-buffer color-themes) - color-themes) - color-themes (append '((color-theme-snapshot - "[Reset]" "Undo changes, if possible.") - (bury-buffer - "[Quit]" "Bury this buffer.")) - color-themes))) - (dolist (theme color-themes) - (let ((func (nth 0 theme)) - (name (nth 1 theme)) - (author (nth 2 theme)) - (library (nth 3 theme)) - (desc)) - (when (or (not library) arg) - (setq desc (format "%-23s %s" - (if library (concat name " [lib]") name) - author)) - (put-text-property 0 (length desc) 'color-theme func desc) - (put-text-property 0 (length name) 'face 'bold desc) - (put-text-property 0 (length name) 'mouse-face 'highlight desc) - (insert desc) - (newline)))) - (goto-char (point-min)) - (setq buffer-read-only t) - (set-buffer-modified-p nil) - (color-theme-mode)) - -(when (require 'easymenu) - (easy-menu-add-item nil color-theme-entry-path "--") - (easy-menu-add-item nil color-theme-entry-path - ["Color Themes" color-theme-select t])) - -(defun color-theme-mode () - "Major mode to select and install color themes. - -Use \\[color-theme-install-at-point] to install a color theme on all frames. -Use \\[color-theme-install-at-point-for-current-frame] to install a color theme for the current frame only. - -The changes are applied on top of your current setup. This is a -feature. - -Some of the themes should be considered extensions to the standard color -theme: they modify only a limited number of faces and variables. To -verify the final look of a color theme, install the standard color -theme, then install the other color theme. This is a feature. It allows -you to mix several color themes. - -Use \\[color-theme-describe] to read more about the color theme function at point. -If you want to install the color theme permanently, put the call to the -color theme function into your ~/.emacs: - - \(require 'color-theme) - \(color-theme-gnome2) - -If you worry about the size of color-theme.el: You are right. Use -\\[color-theme-print] to print the current color theme and save the resulting buffer -as ~/.emacs-color-theme. Now you can install only this specific color -theme in your .emacs: - - \(load-file \"~/.emacs-color-theme\") - \(my-color-theme) - -The Emacs menu is not affected by color themes within Emacs. Depending -on the toolkit you used to compile Emacs, you might have to set specific -X ressources. See the info manual for more information. Here is an -example ~/.Xdefaults fragment: - - emacs*Background: DarkSlateGray - emacs*Foreground: wheat - -\\{color-theme-mode-map} - -The color themes are listed in `color-themes', which see." - (kill-all-local-variables) - (setq major-mode 'color-theme-mode) - (setq mode-name "Color Themes") - (use-local-map color-theme-mode-map) - (when (functionp 'goto-address); Emacs - (goto-address)) - (run-hooks 'color-theme-mode-hook)) - -;;; Commands in Color Theme Selection mode - -;;;###autoload -(defun color-theme-describe () - "Describe color theme listed at point. -This shows the documentation of the value of text-property color-theme -at point. The text-property color-theme should be a color theme -function. See `color-themes'." - (interactive) - (describe-function (get-text-property (point) 'color-theme))) - -;;;###autoload -(defun color-theme-install-at-mouse (event) - "Install color theme clicked upon using the mouse. -First argument EVENT is used to set point. Then -`color-theme-install-at-point' is called." - (interactive "e") - (save-excursion - (mouse-set-point event) - (color-theme-install-at-point))) - -;;;autoload -(defun color-theme-install-at-point () - "Install color theme at point. -This calls the value of the text-property `color-theme' at point. -The text-property `color-theme' should be a color theme function. -See `color-themes'." - (interactive) - (let ((func (get-text-property (point) 'color-theme))) - ;; install theme - (if func - (funcall func)) - ;; If goto-address is being used, remove all overlays in the current - ;; buffer and run it again. The face used for the mail addresses in - ;; the the color theme selection buffer is based on the variable - ;; goto-address-mail-face. Changes in that variable will not affect - ;; existing overlays, however, thereby confusing users. - (when (functionp 'goto-address); Emacs - (dolist (o (overlays-in (point-min) (point-max))) - (delete-overlay o)) - (goto-address)))) - -;;;###autoload -(defun color-theme-install-at-point-for-current-frame () - "Install color theme at point for current frame only. -Binds `color-theme-is-global' to nil and calls -`color-theme-install-at-point'." - (interactive) - (let ((color-theme-is-global nil)) - (color-theme-install-at-point))) - - - -;; Taking a snapshot of the current color theme and pretty printing it. - -(defun color-theme-filter (old-list regexp &optional exclude) - "Filter OLD-LIST. -The resulting list will be newly allocated and contains only elements -with names matching REGEXP. OLD-LIST may be a list or an alist. If you -want to filter a plist, use `color-theme-alist' to convert your plist to -an alist, first. - -If the optional argument EXCLUDE is non-nil, then the sense is -reversed: only non-matching elements will be retained." - (let (elem new-list) - (dolist (elem old-list) - (setq name (symbol-name (if (listp elem) (car elem) elem))) - (when (or (and (not exclude) - (string-match regexp name)) - (and exclude - (not (string-match regexp name)))) - ;; Now make sure that if elem is a cons cell, and the cdr of - ;; that cons cell is a string, then we need a *new* string in - ;; the new list. Having a new cons cell is of no use because - ;; modify-frame-parameters will modify this string, thus - ;; modifying our color theme functions! - (when (and (consp elem) - (stringp (cdr elem))) - (setq elem (cons (car elem) - (copy-sequence (cdr elem))))) - ;; Now store elem - (setq new-list (cons elem new-list)))) - new-list)) - -(defun color-theme-spec-filter (spec) - "Filter the attributes in SPEC. -This makes sure that SPEC has the form ((t (PLIST ...))). -Only properties not in `color-theme-illegal-default-attributes' -are included in the SPEC returned." - (let ((props (cadar spec)) - result prop val) - (while props - (setq prop (nth 0 props) - val (nth 1 props) - props (nthcdr 2 props)) - (unless (memq prop color-theme-illegal-default-attributes) - (setq result (cons val (cons prop result))))) - `((t ,(nreverse result))))) - -;; (color-theme-spec-filter '((t (:background "blue3")))) -;; (color-theme-spec-filter '((t (:stipple nil :background "Black" :foreground "SteelBlue" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :width semi-condensed :family "misc-fixed")))) - -(defun color-theme-plist-delete (plist prop) - "Delete property PROP from property list PLIST by side effect. -This modifies PLIST." - ;; deal with prop at the start - (while (eq (car plist) prop) - (setq plist (cddr plist))) - ;; deal with empty plist - (when plist - (let ((lastcell (cdr plist)) - (l (cddr plist))) - (while l - (if (eq (car l) prop) - (progn - (setq l (cddr l)) - (setcdr lastcell l)) - (setq lastcell (cdr l) - l (cddr l)))))) - plist) - -;; (color-theme-plist-delete '(a b c d e f g h) 'a) -;; (color-theme-plist-delete '(a b c d e f g h) 'b) -;; (color-theme-plist-delete '(a b c d e f g h) 'c) -;; (color-theme-plist-delete '(a b c d e f g h) 'g) -;; (color-theme-plist-delete '(a b c d c d e f g h) 'c) -;; (color-theme-plist-delete '(a b c d e f c d g h) 'c) - -(if (or (featurep 'xemacs) - (< emacs-major-version 21)) - (defalias 'color-theme-spec-compat 'identity) - (defun color-theme-spec-compat (spec) - "Filter the attributes in SPEC such that is is never invalid. -Example: Eventhough :bold works in Emacs, it is not recognized by -`customize-face' -- and then the face is uncustomizable. This -function replaces a :bold attribute with the corresponding :weight -attribute, if there is no :weight, or deletes it. This undoes the -doings of `color-theme-spec-canonical-font', more or less." - (let ((props (cadar spec))) - (when (plist-member props :bold) - (setq props (color-theme-plist-delete props :bold)) - (unless (plist-member props :weight) - (setq props (plist-put props :weight 'bold)))) - (when (plist-member props :italic) - (setq props (color-theme-plist-delete props :italic)) - (unless (plist-member props :slant) - (setq props (plist-put props :slant 'italic)))) - `((t ,props))))) - -;; (color-theme-spec-compat '((t (:foreground "blue" :bold t)))) -;; (color-theme-spec-compat '((t (:bold t :foreground "blue" :weight extra-bold)))) -;; (color-theme-spec-compat '((t (:italic t :foreground "blue")))) -;; (color-theme-spec-compat '((t (:slant oblique :italic t :foreground "blue")))) - -(defun color-theme-spec-canonical-font (atts) - "Add :bold and :italic attributes if necessary." - ;; add these to the front of atts -- this will keept the old value for - ;; customize-face in Emacs 21. - (when (and (memq (plist-get atts :weight) - '(ultra-bold extra-bold bold semi-bold)) - (not (plist-get atts :bold))) - (setq atts (cons :bold (cons t atts)))) - (when (and (not (memq (plist-get atts :slant) - '(normal nil))) - (not (plist-get atts :italic))) - (setq atts (cons :italic (cons t atts)))) - atts) -;; (color-theme-spec-canonical-font (color-theme-face-attr-construct 'bold (selected-frame))) -;; (defface foo '((t (:weight extra-bold))) "foo") -;; (color-theme-spec-canonical-font (color-theme-face-attr-construct 'foo (selected-frame))) -;; (face-spec-set 'foo '((t (:weight extra-bold))) nil) -;; (face-spec-set 'foo '((t (:bold t))) nil) -;; (face-spec-set 'foo '((t (:bold t :weight extra-bold))) nil) - -;; Handle :height according to NEWS file for Emacs 21 -(defun color-theme-spec-resolve-height (old new) - "Return the new height given OLD and NEW height. -OLD is the current setting, NEW is the setting inherited from." - (cond ((not old) - new) - ((integerp old) - old) - ((and (floatp old) - (integerp new)) - (round (* old new))) - ((and (floatp old) - (floatp new)) - (* old new)) - ((and (functionp old) - (integerp new)) - (round (funcall old new))) - ((and (functionp old) - (float new)) - `(lambda (f) (* (funcall ,old f) ,new))) - ((and (functionp old) - (functionp new)) - `(lambda (f) (* (funcall ,old (funcall ,new f))))) - (t - (error "Illegal :height attributes: %S or %S" old new)))) -;; (color-theme-spec-resolve-height 12 1.2) -;; (color-theme-spec-resolve-height 1.2 1.2) -;; (color-theme-spec-resolve-height 1.2 12) -;; (color-theme-spec-resolve-height 1.2 'foo) -;; (color-theme-spec-resolve-height (lambda (f) (* 2 f)) 5) -;; (color-theme-spec-resolve-height (lambda (f) (* 2 f)) 2.0) -;; the following lambda is the result from the above calculation -;; (color-theme-spec-resolve-height (lambda (f) (* (funcall (lambda (f) (* 2 f)) f) 2.0)) 5) - -(defun color-theme-spec-resolve-inheritance (atts) - "Resolve all occurences of the :inherit attribute." - (let ((face (plist-get atts :inherit))) - ;; From the Emacs 21 NEWS file: "Attributes from inherited faces are - ;; merged into the face like an underlying face would be." -- - ;; therefore properties of the inherited face only add missing - ;; attributes. - (when face - ;; remove :inherit face from atts -- this assumes only one - ;; :inherit attribute. - (setq atts (delq ':inherit (delq face atts))) - (let ((more-atts (color-theme-spec-resolve-inheritance - (color-theme-face-attr-construct - face (selected-frame)))) - att val) - (while more-atts - (setq att (car more-atts) - val (cadr more-atts) - more-atts (cddr more-atts)) - ;; Color-theme assumes that no value is ever 'unspecified. - (cond ((eq att ':height); cumulative effect! - (setq atts (plist-put atts - ':height - (color-theme-spec-resolve-height - (plist-get atts att) - val)))) - ;; Default: Only put if it has not been specified before. - ((not (plist-get atts att)) - (setq atts (cons att (cons val atts)))) - -)))) - atts)) -;; (color-theme-spec-resolve-inheritance '(:bold t)) -;; (color-theme-spec-resolve-inheritance '(:bold t :foreground "blue")) -;; (color-theme-face-attr-construct 'font-lock-comment-face (selected-frame)) -;; (color-theme-spec-resolve-inheritance '(:bold t :inherit font-lock-comment-face)) -;; (color-theme-spec-resolve-inheritance '(:bold t :foreground "red" :inherit font-lock-comment-face)) -;; (color-theme-face-attr-construct 'Info-title-2-face (selected-frame)) -;; (color-theme-face-attr-construct 'Info-title-3-face (selected-frame)) -;; (color-theme-face-attr-construct 'Info-title-4-face (selected-frame)) -;; (color-theme-spec-resolve-inheritance '(:inherit Info-title-2-face)) - -;; The :inverse-video attribute causes Emacs to swap foreground and -;; background colors, XEmacs does not. Therefore, if anybody chooses -;; the inverse-video attribute, we 1. swap the colors ourselves in Emacs -;; and 2. we remove the inverse-video attribute in Emacs and XEmacs. -;; Inverse-video is only useful on a monochrome tty. -(defun color-theme-spec-maybe-invert (atts) - "Remove the :inverse-video attribute from ATTS. -If ATTS contains :inverse-video t, remove it and swap foreground and -background color. Return ATTS." - (let ((inv (plist-get atts ':inverse-video))) - (if inv - (let (result att) - (while atts - (setq att (car atts) - atts (cdr atts)) - (cond ((and (eq att :foreground) (not color-theme-xemacs-p)) - (setq result (cons :background result))) - ((and (eq att :background) (not color-theme-xemacs-p)) - (setq result (cons :foreground result))) - ((eq att :inverse-video) - (setq atts (cdr atts))); this prevents using dolist - (t - (setq result (cons att result))))) - (nreverse result)) - ;; else - atts))) -;; (color-theme-spec-maybe-invert '(:bold t)) -;; (color-theme-spec-maybe-invert '(:foreground "blue")) -;; (color-theme-spec-maybe-invert '(:background "red")) -;; (color-theme-spec-maybe-invert '(:inverse-video t)) -;; (color-theme-spec-maybe-invert '(:inverse-video t :foreground "red")) -;; (color-theme-spec-maybe-invert '(:inverse-video t :background "red")) -;; (color-theme-spec-maybe-invert '(:inverse-video t :background "red" :foreground "blue" :bold t)) -;; (color-theme-spec-maybe-invert '(:inverse-video nil :background "red" :foreground "blue" :bold t)) - -(defun color-theme-spec (face) - "Return a list for FACE which has the form (FACE SPEC). -See `defface' for the format of SPEC. In this case we use only one -DISPLAY, t, and determine ATTS using `color-theme-face-attr-construct'. -If ATTS is nil, (nil) is used instead. - -If ATTS contains :inverse-video t, we remove it and swap foreground and -background color using `color-theme-spec-maybe-invert'. We do this -because :inverse-video is handled differently in Emacs and XEmacs. We -will loose on a tty without colors, because in that situation, -:inverse-video means something." - (let ((atts - (color-theme-spec-canonical-font - (color-theme-spec-maybe-invert - (color-theme-spec-resolve-inheritance - (color-theme-face-attr-construct face (selected-frame))))))) - (if atts - `(,face ((t ,atts))) - `(,face ((t (nil))))))) - -(defun color-theme-get-params () - "Return a list of frame parameter settings usable in a color theme. -Such an alist may be installed by `color-theme-install-frame-params'. The -frame parameters returned must match `color-theme-legal-frame-parameters'." - (let ((params (color-theme-filter (frame-parameters (selected-frame)) - color-theme-legal-frame-parameters))) - (sort params (lambda (a b) (string< (symbol-name (car a)) - (symbol-name (car b))))))) - -(defun color-theme-get-vars () - "Return a list of variable settings usable in a color theme. -Such an alist may be installed by `color-theme-install-variables'. -The variable names must match `color-theme-legal-variables', and the -variable must be a user variable according to `user-variable-p'." - (let ((vars) - (val)) - (mapatoms (lambda (v) - (and (boundp v) - (user-variable-p v) - (string-match color-theme-legal-variables - (symbol-name v)) - (setq val (eval v)) - (add-to-list 'vars (cons v val))))) - (sort vars (lambda (a b) (string< (car a) (car b)))))) - -(defun color-theme-print-alist (alist) - "Print ALIST." - (insert "\n " (if alist "(" "nil")) - (dolist (elem alist) - (when (= (preceding-char) ?\)) - (insert "\n ")) - (prin1 elem (current-buffer))) - (when (= (preceding-char) ?\)) (insert ")"))) - -(defun color-theme-get-faces () - "Return a list of faces usable in a color theme. -Such an alist may be installed by `color-theme-install-faces'. The -faces returned must not match `color-theme-illegal-faces'." - (let ((faces (color-theme-filter (face-list) color-theme-illegal-faces t))) - ;; default face must come first according to comments in - ;; custom-save-faces, the rest is to be sorted by name - (cons 'default (sort (delq 'default faces) 'string-lessp)))) - -(defun color-theme-get-face-definitions () - "Return face settings usable in a color-theme." - (let ((faces (color-theme-get-faces))) - (mapcar 'color-theme-spec faces))) - -(defun color-theme-print-faces (faces) - "Print face settings for all faces returned by `color-theme-get-faces'." - (when faces - (insert "\n ")) - (dolist (face faces) - (when (= (preceding-char) ?\)) - (insert "\n ")) - (prin1 face (current-buffer)))) - -(defun color-theme-reset-faces () - "Reset face settings for all faces returned by `color-theme-get-faces'." - (let ((faces (color-theme-get-faces)) - (face) (spec) (entry) - (frame (if color-theme-is-global nil (selected-frame)))) - (while faces - (setq entry (color-theme-spec (car faces))) - (setq face (nth 0 entry)) - (setq spec '((t (nil)))) - (setq faces (cdr faces)) - (if (functionp 'face-spec-reset-face) - (face-spec-reset-face face frame) - (face-spec-set face spec frame) - (if color-theme-is-global - (put face 'face-defface-spec spec)))))) - -(defun color-theme-print-theme (func doc params vars faces) - "Print a theme into the current buffer. -FUNC is the function name, DOC the doc string, PARAMS the -frame parameters, VARS the variable bindings, and FACES -the list of faces and their specs." - (insert "(defun " (symbol-name func) " ()\n" - " \"" doc "\"\n" - " (interactive)\n" - " (color-theme-install\n" - " '(" (symbol-name func)) - ;; alist of frame parameters - (color-theme-print-alist params) - ;; alist of variables - (color-theme-print-alist vars) - ;; remaining elements of snapshot: face specs - (color-theme-print-faces faces) - (insert ")))\n") - (insert "(add-to-list 'color-themes '(" (symbol-name func) " " - " \"THEME NAME\" \"YOUR NAME\"))") - (goto-char (point-min))) - -;;;###autoload -(defun color-theme-print (&optional buf) - "Print the current color theme function. - -You can contribute this function to or -paste it into your .emacs file and call it. That should recreate all -the settings necessary for your color theme. - -Example: - - \(require 'color-theme) - \(defun my-color-theme () - \"Color theme by Alex Schroeder, created 2000-05-17.\" - \(interactive) - \(color-theme-install - '(... - ... - ...))) - \(my-color-theme) - -If you want to use a specific color theme function, you can call the -color theme function in your .emacs directly. - -Example: - - \(require 'color-theme) - \(color-theme-gnome2)" - (interactive) - (message "Pretty printing current color theme function...") - (switch-to-buffer (if buf - buf - (get-buffer-create "*Color Theme*"))) - (unless buf - (setq buffer-read-only nil) - (erase-buffer)) - ;; insert defun - (insert "(eval-when-compile" - " (require 'color-theme))\n") - (color-theme-print-theme 'my-color-theme - (concat "Color theme by " - (if (string= "" user-full-name) - (user-login-name) - user-full-name) - ", created " (format-time-string "%Y-%m-%d") ".") - (color-theme-get-params) - (color-theme-get-vars) - (mapcar 'color-theme-spec (color-theme-get-faces))) - (unless buf - (emacs-lisp-mode)) - (goto-char (point-min)) - (message "Pretty printing current color theme function... done")) - -(defun color-theme-analyze-find-theme (code) - "Find the sexpr that calls `color-theme-install'." - (let (theme) - (while (and (not theme) code) - (when (eq (car code) 'color-theme-install) - (setq theme code)) - (when (listp (car code)) - (setq theme (color-theme-analyze-find-theme (car code)))) - (setq code (cdr code))) - theme)) - -;; (equal (color-theme-analyze-find-theme -;; '(defun color-theme-blue-eshell () -;; "Color theme for eshell faces only." -;; (color-theme-install -;; '(color-theme-blue-eshell -;; nil -;; (eshell-ls-archive-face ((t (:bold t :foreground "IndianRed")))) -;; (eshell-ls-backup-face ((t (:foreground "Grey")))))))) -;; '(color-theme-install -;; (quote -;; (color-theme-blue-eshell -;; nil -;; (eshell-ls-archive-face ((t (:bold t :foreground "IndianRed")))) -;; (eshell-ls-backup-face ((t (:foreground "Grey"))))))))) - -(defun color-theme-analyze-add-face (a b regexp faces) - "If only one of A or B are in FACES, the other is added, and FACES is returned. -If REGEXP is given, this is only done if faces contains a match for regexps." - (when (or (not regexp) - (catch 'found - (dolist (face faces) - (when (string-match regexp (symbol-name (car face))) - (throw 'found t))))) - (let ((face-a (assoc a faces)) - (face-b (assoc b faces))) - (if (and face-a (not face-b)) - (setq faces (cons (list b (nth 1 face-a)) - faces)) - (if (and (not face-a) face-b) - (setq faces (cons (list a (nth 1 face-b)) - faces)))))) - faces) - -;; (equal (color-theme-analyze-add-face -;; 'blue 'violet nil -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; '((violet ((t (:foreground "blue")))) -;; (blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; (equal (color-theme-analyze-add-face -;; 'violet 'blue nil -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; '((violet ((t (:foreground "blue")))) -;; (blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; (equal (color-theme-analyze-add-face -;; 'violet 'blue "foo" -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; (equal (color-theme-analyze-add-face -;; 'violet 'blue "blue" -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) -;; '((violet ((t (:foreground "blue")))) -;; (blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t)))))) - -(defun color-theme-analyze-add-faces (faces) - "Add missing faces to FACES and return it." - ;; The most important thing is to add missing faces for the other - ;; editor. These are the most important faces to check. The - ;; following rules list two faces, A and B. If either of the two is - ;; part of the theme, the other must be, too. The optional third - ;; argument specifies a regexp. Only if an existing face name - ;; matches this regexp, is the rule applied. - (let ((rules '((font-lock-builtin-face font-lock-reference-face) - (font-lock-doc-face font-lock-doc-string-face) - (font-lock-constant-face font-lock-preprocessor-face) - ;; In Emacs 21 `modeline' is just an alias for - ;; `mode-line'. I recommend the use of - ;; `modeline' until further notice. - (modeline mode-line) - (modeline modeline-buffer-id) - (modeline modeline-mousable) - (modeline modeline-mousable-minor-mode) - (region primary-selection) - (region zmacs-region) - (font-lock-string-face dired-face-boring "^dired") - (font-lock-function-name-face dired-face-directory "^dired") - (default dired-face-executable "^dired") - (font-lock-warning-face dired-face-flagged "^dired") - (font-lock-warning-face dired-face-marked "^dired") - (default dired-face-permissions "^dired") - (default dired-face-setuid "^dired") - (default dired-face-socket "^dired") - (font-lock-keyword-face dired-face-symlink "^dired") - (tool-bar menu)))) - (dolist (rule rules) - (setq faces (color-theme-analyze-add-face - (nth 0 rule) (nth 1 rule) (nth 2 rule) faces)))) - ;; The `fringe' face defines what the left and right borders of the - ;; frame look like in Emacs 21. To give them default fore- and - ;; background colors, use (fringe ((t (nil)))) in your color theme. - ;; Usually it makes more sense to choose a color slightly lighter or - ;; darker from the default background. - (unless (assoc 'fringe faces) - (setq faces (cons '(fringe ((t (nil)))) faces))) - ;; The tool-bar should not be part of the frame-parameters, since it - ;; should not appear or disappear depending on the color theme. The - ;; apppearance of the toolbar, however, can be changed by the color - ;; theme. For Emacs 21, use the `tool-bar' face. The easiest way - ;; to do this is to give it the default fore- and background colors. - ;; This can be achieved using (tool-bar ((t (nil)))) in the theme. - ;; Usually it makes more sense, however, to provide the same colors - ;; as used in the `menu' face, and to specify a :box attribute. In - ;; order to alleviate potential Emacs/XEmacs incompatibilities, - ;; `toolbar' will be defined as an alias for `tool-bar' if it does - ;; not exist, and vice-versa. This is done eventhough the face - ;; `toolbar' seems to have no effect on XEmacs. If you look at - ;; XEmacs lisp/faces.el, however, you will find that it is in fact - ;; referenced for XPM stuff. - (unless (assoc 'tool-bar faces) - (setq faces (cons '(tool-bar ((t (nil)))) faces))) - ;; Move the default face back to the front, and sort the rest. - (unless (eq (caar faces) 'default) - (let ((face (assoc 'default faces))) - (setq faces (cons face - (sort (delete face faces) - (lambda (a b) - (string-lessp (car a) (car b)))))))) - faces) - -(defun color-theme-analyze-remove-heights (faces) - "Remove :height property where it is an integer and return FACES." - ;; I don't recommend making font sizes part of a color theme. Most - ;; users would be surprised to see their font sizes change when they - ;; install a color-theme. Therefore, remove all :height attributes - ;; if the value is an integer. If the value is a float, this is ok - ;; -- the value is relative to the default height. One notable - ;; exceptions is for a color-theme created for visually impaired - ;; people. These *must* use a larger font in order to be usable. - (let (result) - (dolist (face faces) - (let ((props (cadar (nth 1 face)))) - (if (and (plist-member props :height) - (integerp (plist-get props :height))) - (setq props (color-theme-plist-delete props :height) - result (cons (list (car face) `((t ,props))) - result)) - (setq result (cons face result))))) - (nreverse result))) - -;; (equal (color-theme-analyze-remove-heights -;; '((blue ((t (:foreground "blue" :height 2)))) -;; (bold ((t (:bold t :height 1.0)))))) -;; '((blue ((t (:foreground "blue")))) -;; (bold ((t (:bold t :height 1.0)))))) - -;;;###autoload -(defun color-theme-analyze-defun () - "Once you have a color-theme printed, check for missing faces. -This is used by maintainers who receive a color-theme submission -and want to make sure it follows the guidelines by the color-theme -author." - ;; The support for :foreground and :background attributes works for - ;; Emacs 20 and 21 as well as for XEmacs. :inverse-video is taken - ;; care of while printing color themes. - (interactive) - ;; Parse the stuff and find the call to color-theme-install - (save-excursion - (save-restriction - (narrow-to-defun) - ;; define the function - (eval-defun nil) - (goto-char (point-min)) - (let* ((code (read (current-buffer))) - (theme (color-theme-canonic - (eval - (cadr - (color-theme-analyze-find-theme - code))))) - (func (color-theme-function theme)) - (doc (documentation func t)) - (variables (color-theme-variables theme)) - (faces (color-theme-faces theme)) - (params (color-theme-frame-params theme))) - (setq faces (color-theme-analyze-remove-heights - (color-theme-analyze-add-faces faces))) - ;; Remove any variable bindings of faces that point to their - ;; symbol? Perhaps not, because another theme might want to - ;; change this, so it is important to be able to reset them. - ;; (let (result) - ;; (dolist (var variables) - ;; (unless (eq (car var) (cdr var)) - ;; (setq result (cons var result)))) - ;; (setq variables (nreverse result))) - ;; Now modify the theme directly. - (setq theme (color-theme-analyze-find-theme code)) - (setcdr (cadadr theme) (list params variables faces)) - (message "Pretty printing analysed color theme function...") - (with-current-buffer (get-buffer-create "*Color Theme*") - (setq buffer-read-only nil) - (erase-buffer) - ;; insert defun - (color-theme-print-theme func doc params variables faces) - (emacs-lisp-mode)) - (message "Pretty printing analysed color theme function... done") - (ediff-buffers (current-buffer) - (get-buffer "*Color Theme*")))))) - -;;; Creating a snapshot of the current color theme - -(defun color-theme-snapshot nil) - -;;;###autoload -(defun color-theme-make-snapshot () - "Return the definition of the current color-theme. -The function returned will recreate the color-theme in use at the moment." - (eval `(lambda () - "The color theme in use when the selection buffer was created. -\\[color-theme-select] creates the color theme selection buffer. At the -same time, this snapshot is created as a very simple undo mechanism. -The snapshot is created via `color-theme-snapshot'." - (interactive) - (color-theme-install - '(color-theme-snapshot - ;; alist of frame parameters - ,(color-theme-get-params) - ;; alist of variables - ,(color-theme-get-vars) - ;; remaining elements of snapshot: face specs - ,@(color-theme-get-face-definitions)))))) - - - -;;; Handling the various parts of a color theme install - -(defvar color-theme-frame-param-frobbing-rules - '((foreground-color default foreground) - (background-color default background)) - "List of rules to use when frobbing faces based on frame parameters. -This is only necessary for XEmacs, because in Emacs 21 changing the -frame paramters automatically affects the relevant faces.") - -;; fixme: silent the bytecompiler with set-face-property -(defun color-theme-frob-faces (params) - "Change certain faces according to PARAMS. -This uses `color-theme-frame-param-frobbing-rules'." - (dolist (rule color-theme-frame-param-frobbing-rules) - (let* ((param (nth 0 rule)) - (face (nth 1 rule)) - (prop (nth 2 rule)) - (val (cdr (assq param params))) - (frame (if color-theme-is-global nil (selected-frame)))) - (when val - (set-face-property face prop val frame))))) - -(defun color-theme-alist-reduce (old-list) - "Reduce OLD-LIST. -The resulting list will be newly allocated and will not contain any elements -with duplicate cars. This will speed the installation of new themes by -only installing unique attributes." - (let (new-list) - (dolist (elem old-list) - (when (not (assq (car elem) new-list)) - (setq new-list (cons elem new-list)))) - new-list)) - -(defun color-theme-install-frame-params (params) - "Change frame parameters using alist PARAMETERS. - -If `color-theme-is-global' is non-nil, all frames are modified using -`modify-frame-parameters' and the PARAMETERS are prepended to -`default-frame-alist'. The value of `initial-frame-alist' is not -modified. If `color-theme-is-global' is nil, only the selected frame is -modified. If `color-theme-is-cumulative' is nil, the frame parameters -are restored from `color-theme-original-frame-alist'. - -If the current frame parameters have a parameter `minibuffer' with -value `only', then the frame parameters are not installed, since this -indicates a dedicated minibuffer frame. - -Called from `color-theme-install'." - (setq params (color-theme-filter - params color-theme-legal-frame-parameters)) - ;; We have a new list in params now, therefore we may use - ;; destructive nconc. - (if color-theme-is-global - (let ((frames (frame-list))) - (if (or color-theme-is-cumulative - (null color-theme-original-frame-alist)) - (setq default-frame-alist - (append params (color-theme-alist default-frame-alist)) - minibuffer-frame-alist - (append params (color-theme-alist minibuffer-frame-alist))) - (setq default-frame-alist - (append params color-theme-original-frame-alist) - minibuffer-frame-alist - (append params (color-theme-alist minibuffer-frame-alist)))) - (setq default-frame-alist - (color-theme-alist-reduce default-frame-alist) - minibuffer-frame-alist - (color-theme-alist-reduce minibuffer-frame-alist)) - (dolist (frame frames) - (let ((params (if (eq 'only (cdr (assq 'minibuffer (frame-parameters frame)))) - minibuffer-frame-alist - default-frame-alist))) - (condition-case var - (modify-frame-parameters frame params) - (error (message "Error using params %S: %S" params var)))))) - (condition-case var - (modify-frame-parameters (selected-frame) params) - (error (message "Error using params %S: %S" params var)))) - (when color-theme-xemacs-p - (color-theme-frob-faces params))) - -;; (setq default-frame-alist (cons '(height . 30) default-frame-alist)) - -(defun color-theme-install-variables (vars) - "Change variables using alist VARS. -All variables matching `color-theme-legal-variables' are set. - -If `color-theme-is-global' and `color-theme-xemacs-p' are nil, variables -are made frame-local before setting them. Variables are set using `set' -in either case. This may lead to problems if changing the variable -requires the usage of the function specified with the :set tag in -defcustom declarations. - -Called from `color-theme-install'." - (let ((vars (color-theme-filter vars color-theme-legal-variables))) - (dolist (var vars) - (if (or color-theme-is-global color-theme-xemacs-p) - (set (car var) (cdr var)) - (make-variable-frame-local (car var)) - (modify-frame-parameters (selected-frame) (list var)))))) - -(defun color-theme-install-faces (faces) - "Change faces using FACES. - -Change faces for all frames and create any faces listed in FACES which -don't exist. The modified faces will be marked as \"unchanged from -its standard setting\". This is OK, since the changes made by -installing a color theme should never by saved in .emacs by -customization code. - -FACES should be a list where each entry has the form: - - (FACE SPEC) - -See `defface' for the format of SPEC. - -If `color-theme-is-global' is non-nil, faces are modified on all frames -using `face-spec-set'. If `color-theme-is-global' is nil, faces are -only modified on the selected frame. Non-existing faces are created -using `make-empty-face' in either case. If `color-theme-is-cumulative' -is nil, all faces are reset before installing the new faces. - -Called from `color-theme-install'." - ;; clear all previous faces - (when (not color-theme-is-cumulative) - (color-theme-reset-faces)) - ;; install new faces - (let ((faces (color-theme-filter faces color-theme-illegal-faces t)) - (frame (if color-theme-is-global nil (selected-frame)))) - (dolist (entry faces) - (let ((face (nth 0 entry)) - (spec (nth 1 entry))) - (or (facep face) - (make-empty-face face)) - ;; remove weird properties from the default face only - (when (eq face 'default) - (setq spec (color-theme-spec-filter spec))) - ;; Emacs/XEmacs customization issues: filter out :bold when - ;; the spec contains :weight, etc, such that the spec remains - ;; "valid" for custom. - (setq spec (color-theme-spec-compat spec)) - ;; using a spec of ((t (nil))) to reset a face doesn't work - ;; in Emacs 21, we use the new function face-spec-reset-face - ;; instead - (if (and (functionp 'face-spec-reset-face) - (equal spec '((t (nil))))) - (face-spec-reset-face face frame) - (condition-case var - (progn - (face-spec-set face spec frame) - (if color-theme-is-global - (put face 'face-defface-spec spec))) - (error (message "Error using spec %S: %S" spec var)))))))) - -;; `custom-set-faces' is unusable here because it doesn't allow to set -;; the faces for one frame only. - -;; Emacs `face-spec-set': If FRAME is nil, the face is created and -;; marked as a customized face. This is achieved by setting the -;; `face-defface-spec' property. If we don't, new frames will not be -;; created using the face we installed because `face-spec-set' is -;; broken: If given a FRAME of nil, it will not set the default faces; -;; instead it will walk through all the frames and set modify the faces. -;; If we do set a property (`saved-face' or `face-defface-spec'), -;; `make-frame' will correctly use the faces we defined with our color -;; theme. If we used the property `saved-face', -;; `customize-save-customized' will save all the faces installed as part -;; of a color-theme in .emacs. That's why we use the -;; `face-defface-spec' property. - - - -;;; Theme accessor functions, canonicalization, merging, comparing - -(defun color-theme-canonic (theme) - "Return the canonic form of THEME. -This deals with all the backwards compatibility stuff." - (let (function frame-params variables faces) - (when (functionp (car theme)) - (setq function (car theme) - theme (cdr theme))) - (setq frame-params (car theme) - theme (cdr theme)) - ;; optional variable defintions (for backwards compatibility) - (when (listp (caar theme)) - (setq variables (car theme) - theme (cdr theme))) - ;; face definitions - (setq faces theme) - (list function frame-params variables faces))) - -(defun color-theme-function (theme) - "Return function used to create THEME." - (nth 0 theme)) - -(defun color-theme-frame-params (theme) - "Return frame-parameters defined by THEME." - (nth 1 theme)) - -(defun color-theme-variables (theme) - "Return variables set by THEME." - (nth 2 theme)) - -(defun color-theme-faces (theme) - "Return faces defined by THEME." - (nth 3 theme)) - -(defun color-theme-merge-alists (&rest alists) - "Merges all the alist arguments into one alist. -Only the first instance of every key will be part of the resulting -alist. Membership will be tested using `assq'." - (let (result) - (dolist (l alists) - (dolist (entry l) - (unless (assq (car entry) result) - (setq result (cons entry result))))) - (nreverse result))) -;; (color-theme-merge-alists '((a . 1) (b . 2))) -;; (color-theme-merge-alists '((a . 1) (b . 2) (a . 3))) -;; (color-theme-merge-alists '((a . 1) (b . 2)) '((a . 3))) -;; (color-theme-merge-alists '((a . 1) (b . 2)) '((c . 3))) -;; (color-theme-merge-alists '((a . 1) (b . 2)) '((c . 3) (d . 4))) -;; (color-theme-merge-alists '((a . 1) (b . 2)) '((c . 3) (d . 4) (b . 5))) - -;;;###autoload -(defun color-theme-compare (theme-a theme-b) - "Compare two color themes. -This will print the differences between installing THEME-A and -installing THEME-B. Note that the order is important: If a face is -defined in THEME-A and not in THEME-B, then this will not show up as a -difference, because there is no reset before installing THEME-B. If a -face is defined in THEME-B and not in THEME-A, then this will show up as -a difference." - (interactive - (list - (intern - (completing-read "Theme A: " - (mapcar (lambda (i) (list (symbol-name (car i)))) - color-themes) - (lambda (i) (string-match "color-theme" (car i))))) - (intern - (completing-read "Theme B: " - (mapcar (lambda (i) (list (symbol-name (car i)))) - color-themes) - (lambda (i) (string-match "color-theme" (car i))))))) - ;; install the themes in a new frame and get the definitions - (let ((color-theme-is-global nil)) - (select-frame (make-frame)) - (funcall theme-a) - (setq theme-a (list theme-a - (color-theme-get-params) - (color-theme-get-vars) - (color-theme-get-face-definitions))) - (funcall theme-b) - (setq theme-b (list theme-b - (color-theme-get-params) - (color-theme-get-vars) - (color-theme-get-face-definitions))) - (delete-frame)) - (let ((params (set-difference - (color-theme-frame-params theme-b) - (color-theme-frame-params theme-a) - :test 'equal)) - (vars (set-difference - (color-theme-variables theme-b) - (color-theme-variables theme-a) - :test 'equal)) - (faces (set-difference - (color-theme-faces theme-b) - (color-theme-faces theme-a) - :test 'equal))) - (list 'diff - params - vars - faces))) - - - -;;; Installing a color theme -;;;###autoload -(defun color-theme-install (theme) - "Install a color theme defined by frame parameters, variables and faces. - -The theme is installed for all present and future frames; any missing -faces are created. See `color-theme-install-faces'. - -THEME is a color theme definition. See below for more information. - -If you want to install a color theme from your .emacs, use the output -generated by `color-theme-print'. This produces color theme function -which you can copy to your .emacs. - -A color theme definition is a list: -\([FUNCTION] FRAME-PARAMETERS VARIABLE-SETTINGS FACE-DEFINITIONS) - -FUNCTION is the color theme function which called `color-theme-install'. -This is no longer used. There was a time when this package supported -automatic factoring of color themes. This has been abandoned. - -FRAME-PARAMETERS is an alist of frame parameters. These are installed -with `color-theme-install-frame-params'. These are installed last such -that any changes to the default face can be changed by the frame -parameters. - -VARIABLE-DEFINITIONS is an alist of variable settings. These are -installed with `color-theme-install-variables'. - -FACE-DEFINITIONS is an alist of face definitions. These are installed -with `color-theme-install-faces'. - -If `color-theme-is-cumulative' is nil, a color theme will undo face and -frame-parameter settings of previous color themes." - (setq theme (color-theme-canonic theme)) - (color-theme-install-variables (color-theme-variables theme)) - (color-theme-install-faces (color-theme-faces theme)) - ;; frame parameters override faces - (color-theme-install-frame-params (color-theme-frame-params theme)) - (when color-theme-history-max-length - (color-theme-add-to-history - (car theme)))) - - - -;; Sharing your stuff -;;;###autoload -(defun color-theme-submit () - "Submit your color-theme to the maintainer." - (interactive) - (require 'reporter) - (let ((reporter-eval-buffer (current-buffer)) - final-resting-place - after-sep-pos - (reporter-status-message "Formatting buffer...") - (reporter-status-count 0) - (problem "Yet another color-theme") - (agent (reporter-compose-outgoing)) - (mailbuf (current-buffer)) - hookvar) - ;; do the work - (require 'sendmail) - ;; If mailbuf did not get made visible before, make it visible now. - (let (same-window-buffer-names same-window-regexps) - (pop-to-buffer mailbuf) - ;; Just in case the original buffer is not visible now, bring it - ;; back somewhere - (and pop-up-windows (display-buffer reporter-eval-buffer))) - (goto-char (point-min)) - (mail-position-on-field "to") - (insert color-theme-maintainer-address) - (mail-position-on-field "subject") - (insert problem) - ;; move point to the body of the message - (mail-text) - (setq after-sep-pos (point)) - (unwind-protect - (progn - (setq final-resting-place (point-marker)) - (goto-char final-resting-place)) - (color-theme-print (current-buffer)) - (goto-char final-resting-place) - (insert "\n\n") - (goto-char final-resting-place) - (insert "Hello there!\n\nHere's my color theme named: ") - (set-marker final-resting-place nil)) - ;; compose the minibuf message and display this. - (let* ((sendkey-whereis (where-is-internal - (get agent 'sendfunc) nil t)) - (abortkey-whereis (where-is-internal - (get agent 'abortfunc) nil t)) - (sendkey (if sendkey-whereis - (key-description sendkey-whereis) - "C-c C-c")); TBD: BOGUS hardcode - (abortkey (if abortkey-whereis - (key-description abortkey-whereis) - "M-x kill-buffer"))); TBD: BOGUS hardcode - (message "Enter a message and type %s to send or %s to abort." - sendkey abortkey)))) - - - -;; Use this to define themes -(defmacro define-color-theme (name author description &rest forms) - (let ((n name)) - `(progn - (add-to-list 'color-themes - (list ',n - (upcase-initials - (replace-in-string - (replace-in-string - (symbol-name ',n) "^color-theme-" "") "-" " ")) - ,author)) - (defun ,n () - ,description - (interactive) - ,@forms)))) - - -;;; FIXME: is this useful ?? -;;;###autoload -(defun color-theme-initialize () - "Initialize the color theme package by loading color-theme-libraries." - (interactive) - - (cond ((and (not color-theme-load-all-themes) - color-theme-directory) - (setq color-theme-libraries - (directory-files color-theme-directory t "^color-theme"))) - (color-theme-directory - (push (cdr (directory-files color-theme-directory t "^color-theme")) - color-theme-libraries))) - (dolist (library color-theme-libraries) - (load library))) - -(when nil - (setq color-theme-directory "themes/" - color-theme-load-all-themes nil) - (color-theme-initialize) -) -;; TODO: I don't like all those function names cluttering up my namespace. -;; Instead, a hashtable for the color-themes should be created. Now that -;; define-color-theme is around, it should be easy to change in just the -;; one place. - - -(provide 'color-theme) - -;;; color-theme.el ends here diff --git a/web/elisp/org-batch.el b/web/elisp/org-batch.el deleted file mode 100644 index 058ef54..0000000 --- a/web/elisp/org-batch.el +++ /dev/null @@ -1,27 +0,0 @@ -;; emacs org-mode batch configuration - -;; local emacs extensions -(add-to-list 'load-path "./elisp") - -;;; ORG mode -(require 'org-install) -(require 'org-exp-blocks) -(require 'htmlize) - -;; set auto load on .org files -(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) - -;; org mode customisations -(setq org-export-htmlize-output-type 'css) - - -'(org-export-blocks (quote ((comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot t) (r org-export-blocks-format-R nil) (R org-export-blocks-format-R nil)))) -'(org-export-html-inline-images t) -'(org-export-html-use-infojs t) - - -'(org-export-htmlize-output-type "css") -'(org-export-html-validation-link "

Validate XHTML 1.0

") -'(org-export-html-with-timestamp nil) -'(org-modules (quote (org-bbdb org-bibtex org-info org-jsinfo org-irc org-w3m org-mouse org-eval org-eval-light org-exp-bibtex org-man org-mtags org-panel org-R org-special-blocks org-exp-blocks))) - diff --git a/web/elisp/themes/color-theme-twilight.el b/web/elisp/themes/color-theme-twilight.el deleted file mode 100644 index a6f9d28..0000000 --- a/web/elisp/themes/color-theme-twilight.el +++ /dev/null @@ -1,69 +0,0 @@ -;; Twilight Colour Theme for Emacs. -;; -;; Defines a colour scheme resembling that of the original TextMate Twilight colour theme. -;; To use add the following to your .emacs file (requires the color-theme package): -;; -;; (require 'color-theme) -;; (color-theme-initialize) -;; (load-file "~/.emacs.d/twilight-emacs/color-theme-twilight.el") -;; -;; And then (color-theme-twilight) to activate it. -;; -;; Several areas still require improvement such as recognition of code that ruby-mode doesn't -;; yet pick up (eg. parent classes), Rails/Merb keywords, or non Ruby code related areas -;; (eg. dired, HTML, etc). Please feel free to customize further and send in any improvements, -;; patches most welcome. -;; -;; MIT License Copyright (c) 2008 Marcus Crafter -;; Credits due to the excellent TextMate Twilight theme -;; -;; Thanks to Travis Jeffery for ido-mode and fixes to the minibuffer-prompt to fit in with the rest of the theme -;; - -(defun color-theme-twilight () - "Color theme by Marcus Crafter, based off the TextMate Twilight theme, created 2008-04-18" - (interactive) - (color-theme-install - '(color-theme-twilight - ((background-color . "#141414") - (background-mode . dark) - (border-color . "black") - (cursor-color . "#A7A7A7") - (foreground-color . "#F8F8F8") - (mouse-color . "sienna1")) - (default ((t (:background "#141414" :foreground "#CACACA")))) - (blue ((t (:foreground "blue")))) - (border-glyph ((t (nil)))) - (buffers-tab ((t (:background "#141414" :foreground "#CACACA")))) - (font-lock-builtin-face ((t (:foreground "#CACACA")))) - (font-lock-comment-face ((t (:foreground "#5F5A60")))) - (font-lock-constant-face ((t (:foreground "#CF6A4C")))) - (font-lock-doc-string-face ((t (:foreground "DarkOrange")))) - (font-lock-function-name-face ((t (:foreground "#9B703F")))) - (font-lock-keyword-face ((t (:foreground "#CDA869")))) - (font-lock-preprocessor-face ((t (:foreground "Aquamarine")))) - (font-lock-reference-face ((t (:foreground "SlateBlue")))) - - (font-lock-regexp-grouping-backslash ((t (:foreground "#E9C062")))) - (font-lock-regexp-grouping-construct ((t (:foreground "red")))) - - (minibuffer-prompt ((t (:foreground "#5F5A60")))) - (ido-subdir ((t (:foreground "#CF6A4C")))) - (ido-first-match ((t (:foreground "#8F9D6A")))) - (ido-only-match ((t (:foreground "#8F9D6A")))) - (mumamo-background-chunk-submode ((t (:background "#222222")))) - - (font-lock-string-face ((t (:foreground "#8F9D6A")))) - (font-lock-type-face ((t (:foreground "#9B703F")))) - (font-lock-variable-name-face ((t (:foreground "#7587A6")))) - (font-lock-warning-face ((t (:background "#EE799F" :foreground "red")))) - (gui-element ((t (:background "#D4D0C8" :foreground "black")))) - (region ((t (:background "#27292A")))) - (mode-line ((t (:background "grey75" :foreground "black")))) - (highlight ((t (:background "#111111")))) - (highline-face ((t (:background "SeaGreen")))) - (left-margin ((t (nil)))) - (text-cursor ((t (:background "yellow" :foreground "black")))) - (toolbar ((t (nil)))) - (underline ((nil (:underline nil)))) - (zmacs-region ((t (:background "snow" :foreground "blue"))))))) diff --git a/web/gallery.php b/web/gallery.php deleted file mode 100644 index 502515c..0000000 --- a/web/gallery.php +++ /dev/null @@ -1,120 +0,0 @@ -compile_check = true; -$smarty->debugging = false; -$smarty->caching = 0; - -$smarty->cache_dir = "cache"; -$smarty->template_dir = "templates"; -$smarty->compile_dir = "templates_c"; -$smarty->plugins_dir = array('/usr/share/php/smarty/plugins'); - - - -$filter = $_GET["filter"]; -$generator = $_GET["generator"]; -$mixer2 = $_GET["mixer2"]; -$mixer3 = $_GET["mixer3"]; - -if( $filter || $generator || $mixer2 || $mixer3 ) { // pages selected - - if($filter) { - - $smarty->assign("page_hgroup", "

Frei0r filter :: $filter

"); - - $fd = fopen("filter/$filter.html","r"); - - if(!$fd) { $selection = NULL; } - else { - $selection = "filter/$filter.html"; - fclose($fd); - } - - } else if($generator) { - - $smarty->assign("page_hgroup", "

Frei0r generator :: $generator

"); - - $fd = fopen("generator/$generator.html","r"); - - if(!$fd) { $selection = NULL; } - else { - $selection = "generator/$generator.html"; - fclose($fd); - } - - } else if($mixer2) { - - $smarty->assign("page_hgroup", "

Frei0r mixer-2 :: $mixer2

"); - - $fd = fopen("mixer2/$mixer2.html","r"); - - if(!$fd) { $selection = NULL; } - else { - $selection = "mixer2/$mixer2.html"; - fclose($fd); - } - - } else if($mixer3) { - - $smarty->assign("page_hgroup", "

Frei0r mixer-3 :: $mixer3

"); - - $fd = fopen("mixer3/$mixer3.html","r"); - - if(!$fd) { $selection = NULL; } - else { - $selection = "mixer3/$mixer3.html"; - fclose($fd); - } - - } - -} - -if(!$selection) { - - $smarty->assign("page_hgroup", "

Frei0r plugin gallery

"); - - $selection = "gallery-index.html"; - -} - - - - -$smarty->assign("page_class", "software org-mode"); - -$smarty->assign("page_title", "free video effect plugins gallery"); -$smarty->assign("stylesheet", "gallery.css"); - -$smarty->assign("pagename","software"); -$smarty->display("_header.tpl"); - -if(! $selection) { echo("

file not found: $filter $generator

"); -} else { showfile($selection); } - -$smarty->display("_footer.tpl"); - -?> diff --git a/web/helpers.inc.php b/web/helpers.inc.php deleted file mode 100644 index 3d2f28b..0000000 --- a/web/helpers.inc.php +++ /dev/null @@ -1,44 +0,0 @@ -ERROR: $f not found

"; - } else { - $st = fstat($fd); - $text = fread($fd,$st["size"]); fclose($fd); - } - echo($text); -} - -function stripslashes_array($value) { - $value = is_array($value) ? - array_map('stripslashes_array', $value) : - stripslashes($value); - - return $value; -} - -function div($str) { echo("\n
\n"); } -function section($str) { echo("\n
\n"); } - -?> diff --git a/web/images/livido_pikselites01.jpg b/web/images/livido_pikselites01.jpg deleted file mode 100644 index b64c25b..0000000 Binary files a/web/images/livido_pikselites01.jpg and /dev/null differ diff --git a/web/images/livido_pikselites02.jpg b/web/images/livido_pikselites02.jpg deleted file mode 100644 index 6476c23..0000000 Binary files a/web/images/livido_pikselites02.jpg and /dev/null differ diff --git a/web/images/livido_pikselites03.jpg b/web/images/livido_pikselites03.jpg deleted file mode 100644 index 59bccf1..0000000 Binary files a/web/images/livido_pikselites03.jpg and /dev/null differ diff --git a/web/index.org b/web/index.org deleted file mode 100644 index 57f416f..0000000 --- a/web/index.org +++ /dev/null @@ -1,252 +0,0 @@ -#+TITLE: Frei0r - free video plugins -#+AUTHOR: Pikselites -#+EMAIL: frei0r-dev@dyne.org -#+LANGUAGE: en -#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t -#+OPTIONS: TeX:t LaTeX:t skip:t d:nil tags:not-in-toc - -#+INFOJS_OPT: path:org-info.js -#+INFOJS_OPT: toc:nil localtoc:nil view:content sdepth:2 mouse:underline buttons:nil -#+INFOJS_OPT: home:http://frei0r.dyne.org - -#+LATEX_CLASS: book-1column - -#+LATEX_HEADER: \usepackage[english]{babel} -#+LATEX_HEADER: \usepackage{amsfonts, amsmath, amssymb} -#+LATEX_HEADER: \usepackage{ucs} -#+LATEX_HEADER: \usepackage{listings} -#+LATEX_HEADER: \usepackage[utf8x]{inputenc} -#+LATEX_HEADER: \usepackage[T1]{fontenc} -#+LATEX_HEADER: \usepackage{hyperref} -#+LATEX_HEADER: \usepackage[pdftex]{graphicx} -#+LATEX_HEADER: \usepackage{fullpage} -#+LATEX_HEADER: \usepackage{lmodern} - - -* Introduction - -#+HTML: - -** What Frei0r is - -Frei0r is a minimalistic plugin API for video effects. - -The main emphasis is on simplicity for an API that will round up the -most common video effects into simple filters, sources and mixers that -can be controlled by parameters. - -It's our hope that this way these simple effects can be shared between -many applications, avoiding their reimplementation by different -projects. - -** What Frei0r is not - -Frei0r is not meant as a competing standard to more ambitious efforts -that try to satisfy the needs of many different applications and more -complex effects. - -It is not meant as a generic API for all kinds of video applications, -as it doesn't provides things like an extensive parameter mechanism or -event handling. - -Eventually the frei0r API can be wrapped by higher level APIs -expanding its functionalities (for instance as GStreamer, MLT, FFmpeg -and others do). - -** Current status - -#+BEGIN_HTML: -
- - - -
-#+END_HTML: - -If you like to peek in what's boiling in the pot, have a look at our -[[file:TODO][TODO]] - -Developers are sporadically contributing and we are happy if more -people like to get involved, so let us know about your creations! Code -and patches are well accepted, get in touch with us on the -mailinglist. - -** Code gallery - -You might want to look at the code in frei0r more in detail, then -browse the existing effects by visiting the [[/gallery][Frei0r plugin gallery]]. - -** History - -Frei0r has been around since 2006, born from yearly brainstormings -held at the [[http://www.piksel.no][Piksel]] conference with the participation of various free -and open source video software developers. - -It is mostly adopted on GNU/Linux and OSX platforms, counts more than -80 effects implemented and is used by free video applications as -[[http://www.artefacte.org/pd/][PureData]], [[http://openmovieeditor.sourceforge.net/][Open Movie Editor]], [[http://www.freenet.org.nz/dvedit][DVEdit]], [[http://www.gephex.org/][Gephex]], [[http://lives.sf.net][LiVES]], [[http://freej.dyne.org][FreeJ]], [[http://mob.bek.no/][MøB]], -[[http://veejayhq.net][VeeJay]], [[http://www.mltframework.org/][MLT]] and [[http://www.kdenlive.org/][KDEnLive]] among the others. - -Find our more on the [[http://en.wikipedia.org/wiki/Frei0r][Wikipedia page about Frei0r]]. - - -* Download - -** Source code - -Stable frei0r releases are packaged periodically and distributed on - - ftp://ftp.dyne.org/frei0r - -We encourage the unauthorized mirroring of this source repository by -all those interested, using the command - - rsync -Pr rsync.dyne.org::frei0r . - -Frei0r sourcecode is released under the terms of the GNU General -Public License and, eventually other compatible Free Software -licenses. - -The latest source for frei0r plugins can be attained using our -revisioning system *GIT* - -: git clone git://code.dyne.org/frei0r.git - -Daily snapshots are on the FTP and on [[http://www.piksel.no/frei0r/snapshot/][www.piksel.no/frei0r/snapshot]] - -*** Build dependencies - - + GNU autotools ( ./configure && make ) - or - + CMake ( cmake . && make ) - -Frei0r can be built on GNU/Linux, M$/Windows and Apple/OSX platforms, -possibly in even more environments. - -**** Optional Dependencies - - + [[http://gmerlin.sourceforge.net/][Gavl]] ( required for scale0tilt and vectorscope filters ) - + [[http://opencvlibrary.sourceforge.net/][OpenCV]] (required for facebl0r filter ) - - -** Debian / Ubuntu - -Binary packages are mantained for Debian ([[http://packages.qa.debian.org/f/frei0r.html][QA]]) and Ubuntu ([[http://packages.ubuntu.com/search?searchon=names&keywords=frei0r][pkg]]), to -install the stable version distributed use *apt-get* or *synaptic*: - -: sudo apt-get install frei0r-plugins - -** Apple / OSX - -[[http://www.macports.org][MacPorts]] provide ready to install packages for OSX: in case you have -this packaging system installed, you just need to open a terminal and -give the following command: - -: sudo port install frei0r-plugins - -* Documentation - -If you are new to frei0r (but not to programming) the best thing is -probably to have a look at the [[/codedoc/html/frei0r_8h-source.html][frei0r header]], which is quite simple -and well documented - -** API explanation - -While the main source of documentation for the Frei0r API is the -header, the sourcecode is well commented so you can study its full -[[http://frei0r.dyne.org/codedoc/html][doxyfied documentation]] online. - -** C++ Filter example - -A simple skeleton for a frei0r video filter looks like this: - -#+BEGIN_SRC c++ -#include - -typedef struct { - int16_t w, h; - uint8_t bpp; - uint32_t size; -} ScreenGeometry; - -class MyExample: public frei0r::filter { -public: - MyExample(int wdt, int hgt); - ~MyExample(); - virtual void update(); -private: - ScreenGeometry geo; - void _init(int wdt, int hgt); -} - -MyExample::MyExample() { /* constructor */ } -MyExample::~MyExample() { /* destructor */ } - -void MyExample::_init(int wdt, int hgt) { - geo.w = wdt; - geo.h = hgt; - geo.bpp = 32; // this filter works only in RGBA 32bit - geo.size = geo.w*geo.h*(geo.bpp/8); // calculate the size in bytes -} - -void MyExample::update() { - // we get video input via buffer pointer (void*)in - uint32_t *src = (uint32_t*)in; - // and we give video output via buffer pointer (void*)out - uint32_t *dst = (uint32_t*)out; - // this example here does just a copy of input to output - memcpy(dst, src, geo.size); -} - -frei0r::construct - plugin("MyExample", "short and simple description for my example", - "Who did it", 1, 0); - -#+END_SRC - -* Communication - -You can get in touch with our developer community, send your new -effects and share your intentions with us. - -We have a free mailinglist open to subscription on [[https://piksel.no/mailman/listinfo/frei0r-devel][frei0r-devel]] with -[[http://piksel.no/pipermail/frei0r-devel/][public archives]] that are also [[http://blog.gmane.org/gmane.comp.video.frei0r.devel][searchable and indexed]] online. - -For effective and indexed bug reporting regarding plugin -implementations and platform builds, here is a publicly available -[[http://www.piksel.no/projects/frei0r/report][issue tracker]]. - -* Acknowledgments - -#+HTML: pikselites pic1 - -Frei0r is the result of a collective effort in coordination with -several software developers meeting at [[http://www.piksel.no][Piksel]] between 2003 and 2005 to -find a common standard for video effect plugins to be used among their -applications: Andraz Tori (Cinelerra/CVS), Daniel Fischer -(Pakt/GStreamet), Denis Jaromil Rojo (FreeJ/Dyne), Gabriel "Salsaman" -Finch (LiVES), Kentaro Fukuchi (EffecTV), Niels Elburg (VeeJay), -Øyvind Kolås (Gegl/Babl/Gimp), Tom Schouten (PDP/PureData), Georg -Seidel, Martin Bayer and Phillip Promesberger (Gephex). - -#+HTML: pikselites pic1 - -We first aimed at the realisation of a comprehensive specification for -dynamically loaded plugins named [[http://livido.dyne.org/codedoc/][LiViDO]], which then spawned two -implementations: one being Frei0r, a minimalistic implementation -contributed by the Gephex team and the other one being the [[http://lives.cvs.sourceforge.net/lives/lives/weed-docs/][WEED]] -implementation by LiVES developer Salsaman, sporting more features for -GUI integration and scriptability. - -#+HTML: pikselites pic1 - -Within the span of a few years, the minimalistic approach of *frei0r* -has been widely adopted among more applications and became a *de-facto -standard*. Maintenance and further refinements were contributed by -Carlo Prelz (MøB/BEK), Richard Spindler (Open Movie Editor) and Dan -Dennedy (MLT/KDEnLive), while Debian/Ubuntu packaging and build system -standardization were taken care of by dyne.org developers Filippo -Giunchedi and Luca Bigliardi. For a complete list of contributors, -please refer to the [[AUTHORS]] file. - ---------------------------------------------------------------------- diff --git a/web/index.php b/web/index.php deleted file mode 100644 index e9d7b46..0000000 --- a/web/index.php +++ /dev/null @@ -1,54 +0,0 @@ -compile_check = true; -$smarty->debugging = false; -$smarty->caching = 0; - -$smarty->cache_dir = "cache"; -$smarty->template_dir = "templates"; -$smarty->compile_dir = "templates_c"; -$smarty->plugins_dir = array('/usr/share/php/smarty/plugins'); - - -$smarty->assign("page_class", "software org-mode"); -$smarty->assign("page_hgroup", "

Frei0r

"); -$smarty->assign("page_title", "free video effect plugins"); - -$smarty->assign("pagename","software"); -$smarty->display("_header.tpl"); - -// sidebar -div("menu"); -$smarty->display("software/doctypes.tpl"); -showfile("index-toc.html"); -echo("
"); - -// page content -showfile("index-body.html"); - -$smarty->display("_footer.tpl"); - -?> diff --git a/web/stylesheets/dyne.css b/web/stylesheets/dyne.css deleted file mode 100644 index cf9fa23..0000000 --- a/web/stylesheets/dyne.css +++ /dev/null @@ -1,131 +0,0 @@ -body { - background-color: #fed; - color: #000; - font-family: monospace; - font-size: medium; -} - -a { text-decoration: none } -a:link { color: #a60; } -a:visited { color: #840 } -a:hover,a:focus,a:active { text-decoration: underline } - -#dyne_links { - margin: 0 auto; - padding: 0; - list-style: none; - text-align: center; - font-size: larger; - font-weight: bold; -} -#dyne_links li { - display: inline; -} -#dyne_links li.org { - font-size: medium; - font-weight: normal; -} - -header { - background-color: #fed; - position: fixed; - left: 0; - right: 0; - z-index: 666; -} - -header hgroup, section { - position: absolute; - left: 0; - right: 0; -} -header hgroup, #intro { - margin-left: 2.5%; - margin-right: 70% -} -header hgroup p { - margin: 5px -} -#intro { - position: fixed; - margin-top: 6em; - text-align: center -} -#intro p { font-weight: bold; text-align: justify; line-height: 1.5em } -#intro img { } -#sites { - margin-left: 35%; - margin-right: 2.5%; - margin-top: 3em -} -#sites img { - background-color: #fed; - border: 24px solid #fed; - margin: 0 3% 0 0; - width: 48px; - height: 48px; - float: left -} - -header hgroup { - padding-top: 1em -} -header h1 { - margin: 0 -} - - -#sites dl { - margin: 0 -} -#software, #events { - margin-top: 180px; -} -#software { - margin-left: 35%; - margin-right: 35%; -} -#events { - margin-left: 70%; -} - -.data { display: none } - -footer { - background-color: #fed; - position: fixed; - bottom: 0; - padding: 0 10px; - padding-bottom: 10px; - left: 0; right: 0; - font-size: smaller; - height: 70px; -} -footer:hover,footer:focus { - height: auto; -} -footer:hover section, footer:focus section, -footer:hover section h2, footer:focus section h2, -footer:hover #clustrMaps -{ - display: block -} - -#self-promotion,#badges { width: 15% } - -footer ul { - list-style: none; - margin: 0; - padding: 0; -} - -footer section { - position: relative; - display: none; - float: left; - width: 33%; -} -footer section h2 { display: none } -#credits { display: block } -#clustrMaps { display: none } -footer section.copyright { display: block } \ No newline at end of file diff --git a/web/stylesheets/dyne5.css b/web/stylesheets/dyne5.css deleted file mode 100644 index 68ee63e..0000000 --- a/web/stylesheets/dyne5.css +++ /dev/null @@ -1,530 +0,0 @@ -html.foundation #foundation, -html.software #software, -html.culture #culture, -html.events #events, -html.contact #contact, -html.discussion #discussion { - width: 35%; -} - -body { - background-color: #fed; - color: #333; - font-family: Arial, Helvetica, sans-serif; - font-size: 10pt; - margin: 0; - padding: 0; -} - -a:link, a:visited { text-decoration: none; font-weight: bold } -a:hover, a:focus, a:active { text-decoration: underline } -a:link { color: #a60 } -a:visited { color: #840 } -a:hover, a:focus { color: #000 } -a:active { color: #fed } - -img { border: 0} - -header { - background: #fed url(/images/bg.png) top left repeat-x; - margin-top: 10px; -} - -header nav { - margin: 1em; -} -header nav ul { - list-style: none; - margin: 0 auto; - width: 50em; -} -header nav ul li { - display: inline; - font-weight: bold; -} -header nav ul li:first-child, -header nav ul li:last-child -{ - font-weight: normal; - font-size: smaller; -} -header nav ul:first-child:before { - content: " - -( "; -} -header nav ul:last-child:after { - content: " )- - " -} - -header hgroup { - font-family: monospace; -} -header hgroup h1 { - font-size: 18pt; - margin: 10px 0 0 1em; -} -#software h1, -#events h1 { - font-size: 18pt; - margin: 0; -} -header hgroup h2 { - margin-bottom: 0; - margin: 0 2em 1em 2em; - font-weight: normal; - font-size: 14pt; -} -header hgroup p { - margin: 20px 2em -10px 2em; -} - -body > section { - float: left; - margin: 0; - padding: 0; -} -section p { - margin: 1em; -} -#about { - margin-left: 0.5em; - text-align: justify; -} -#culture { - width: 35%; -} -#software, #events { - margin-top: -2.25em; - width: 20%; -} -#software hgroup h2, -#events hgroup h2 { - margin-top: 0; - font-size: 10pt; - font-weight: bold; -} -#events h3 { - font-size: medium; - font-weight: normal; - margin: 0.25em 2em; -} -#events h3:before { - content: "clock "; -} - - -#software #no_shit { - margin: 0; - padding: 0; - -} - -#moebius { - display: block; - margin: 0 auto; - text-align: center; -} - -html.contact #contact { width: 65% } -html.contact #foundation img { float: left; margin: 0 10px 25px 0; } -html.contact #foundation h2 { margin: 0.5em } -html.contact #foundation p { margin: 1em; text-align: justify } -html.contact #foundation address { margin-left: 1em } - -html.contact #foundation { width: 35%; padding:0 1em} - -footer { - clear: both; - display: compact; - font-size: smaller; - height: 25em; -} -footer hr { - background-color: #f0e0d0; - border: 0; - height: 1px; -} -footer ul { - list-style: none; - margin: 0; - padding: 0; -} -footer section { - width: 8em; - float: right; -} -footer section h2 { - text-align: center; - display: none; } -#cluster_maps { - text-align: center; } -#disclaimer { - font-size: smaller; - text-align: justify; - width: 20em; } -#credits { - text-align: right; - width: 17em; } -#recognition { - margin-top: 1em; - text-align: center; } -#badges { - margin-top: 2em; - text-align: center; } -/** - * Google Search -**/ - -#google_search fieldset { - border: 0; -} -#google_search input { - background-color: #fed; - border: 1px solid #a60; -} -#google_search input[type=submit] { - font-weight: bold; -} -#google_search input:hover, -#google_search input:focus { - background-color: #fff; -} - -/** - * homepage aka foundation -**/ - -html.foundation #foundation { width: 25%; } -html.foundation #culture { width: 25%; } -html.foundation #software { width: 20%; } -html.foundation #events { width: 30%; } - -html.foundation #foundation p { - text-align: justify; -} -html.foundation #foundation { - text-align: center; -} - -html.foundation #software p, -html.foundation #software article, -html.foundation #events p, -html.foundation #events article { - margin: 1em 0.5em; - font-size: smaller; -} -html.foundation #software article .version { - font-weight: bold; -} - -html.foundation #sites article { -} - -html.foundation #weaver_birds { - font-size: smaller; -} -.dharma_wheel { font-size: 400%; line-height: 20pt; display: block; margin: 0.5em auto; text-align: center } - -#sites { margin-top: 2em } - -#selected_site { - margin: 0.5em; -} -#selected_site img { - width: 48px; - margin-top: 6px; - margin-right: 12px; - height: 48px; - float: left; -} -#selected_site h1 { - display: inline; - font-size: 14pt; - margin: 0; -} -#selected_site h2 { - font-size: 12pt; - margin: 0; -} - -#events section h3 { - font-size: medium; - font-weight: normal; -} - -/** - * Software -**/ - -html.software #foundation { - width: 25%; -} -html.software #software { - width: 75%; -} -html.software #software article { - clear: both; -} -html.software #software ul { - list-style: none; - margin: 1em; - padding: 0; -} -html.software #software p { - text-align: justify; -} -html.software #software .logo { - float: left; - margin: 25px; -} -html.software #software .sponsors { - float: right; -} -html.software #software .release-info { - margin-top: 3em; -} -html.software #software .release-info .version { - font-weight: bold; -} -html.software .sponsors li.rastasoft { - display: block; - width: 7em; - border-top: 1.25em solid #f00; - background-color: #ff0; - border-bottom: 1.25em solid #0f0; - margin: 5px; - padding: 3px; - font-size: smaller; - text-align: center; -} -html.software .sponsors li.rastasoft a { - color: #000; -} -html.software .sponsors li.servus a { - font-size: larger; - color: #0f0; -} -html.software #foundation h3 { - padding-left: 1em -} -html.software #foundation dl { - font-size: smaller; - margin: 0 1em; -} -html.software #foundation dl dt { - font-weight: bold -} -html.software #foundation dl dd { - margin: 1em 0.25em; - text-align: justify; -} - -img.left { float: left; margin-right: 5px } -img.right { float: right; margin-left: 5px } - -/** - * Culture -**/ - -html.culture #foundation { width: 30%; } -html.culture #culture { width: 40%; } -html.culture #events { width: 30%; } - -/** - * Firefox fixes -**/ - -article { display: block } /* force article as blocks*/ -/* TODO: fix nav alignment */ - -/** - * Tabs -**/ - -ul.tabs { - margin: 0; - padding: 0; - float: left; - list-style: none; - height: 24px; /*--Set height of tabs--*/ - border-bottom: 1px solid #dcb; - border-left: 1px solid #dcb; - width: 99%; -} - -ul.tabs li { - float: left; - margin: 0; - padding: 0; - height: 23px; /*--Subtract 1px from the height of the unordered list--*/ - line-height: 23px; /*--Vertically aligns the text within the tab--*/ - border: 1px solid #dcb; - border-left: none; - margin-bottom: -1px; /*--Pull the list item down 1px--*/ - overflow: hidden; - position: relative; - background: #dcb; -} - -ul.tabs li a { - text-decoration: none; - color: #000; - display: block; - font-size: 10px; - padding: 0 20px; - border: 1px solid #fed; /*--Gives the bevel look with a 1px white border inside the list item--*/ - outline: none; -} - -ul.tabs li a:hover { - background: #000; color: #840; -} - -html ul.tabs li.active, html ul.tabs li.active a:hover { - /*--Makes sure that the active tab does not listen to the hover properties--*/ - background: #fed; - border-bottom: 1px solid #fed; /*--Makes the active tab look like it's connected with its content--*/ -} - -.tab_container { - border: 1px solid #dcb; - border-top: none; - overflow: hidden; - clear: both; - float: left; - width: 99%; - background: #fed; -} -.tab_content { - padding: 1em; -} - -#player_controls { - margin: 0; - padding: 0; - float: left; - list-style: none; - height: 14px; /*--Set height of tabs--*/ - width: 100%; -} -#player_controls li { - float: left; - margin: 0 0 0 5px; - padding: 0; - height: 14px; /*--Subtract 1px from the height of the unordered list--*/ - line-height: 14px; /*--Vertically aligns the text within the tab--*/ - border: 1px solid #dcb; - border-left: none; - overflow: hidden; - position: relative; -} -#player_controls li { font-size: 13px; line-height: 14px; font-weight: bold; width:14px; height:14px; text-align: center } -#player_controls li:hover { color: #840; } -#player_controls #player_pause { font-size: 14px; line-height: -1px } -#player_controls #player_play, -#player_controls #player_stop { line-height: 12px } - -#player_progress { - clear: both; - display: block; - font-family: monospace; - font-size: 5px; - height: 5px; - width: 275px; - background-color: #edc; - padding: 0; - line-height: 5px; - border: 1px solid #dcb; - top: 3px; - left: 3px; - right: 3px; - position: relative; -} -#player_progress_load_bar { - background-color: #987; - color: #fed; -} -#player_progress_play_bar { - background-color: #fed; - color: #fed; -} -#player_volume_bar { - display: block; - width:100px; - height:5px; - background-color: #dcb; - position:relative; - top: -15px; - left: 180px; -} -#player_volume_bar_value { - display:block; - background-color: #fed; - border: 1px solid #dcb; - height: 3px; -} - - -.tab_container h2 { - font-size: 10pt; - margin: 0; - line-height: 10pt; -} - -#playlist_list { - clear: both; - padding: 1px; -} -#playlist_list ul { - list-style: none; - padding: 0; -} -#playlist_list ul li { - font-family: monospace; - font-size: 10px; - margin: 0; - padding: 0; -} - -#playlist_list ul li.playlist_current { - background-color: #edc; - font-weight: bold; -} - -/** - * Events -**/ - -html.events #foundation { width: 40%; margin-left: 10% } -html.events #culture { width: 40%; margin-top: -2em; margin-right: 10% } -html.events #events { width: 100%; clear: left; margin-top: 1em } - -html.events article { padding: 0 1em } -html.events #culture #ascii_bulletin { padding: 0 2em; font-size: 12px } - -html.events section.list { text-align: left; } -html.events section.list article { margin-top: 0.5em; text-align: left; } - -html.events #google_calendar { border: 0; text-align: center; } - -#syndicate { - background: transparent url(/images/icons/feed_64x64.png) 0em 2em no-repeat; - height: 96px; -} -#syndicate ul { - list-style: none; - margin: 0 0 0 64px; - padding: 0; -} -#syndicate li { - margin: 0 0 1em 0; - padding: 0; -} - -#dyne_news input[type=submit] { - font-size: smaller; - font-family: monospace; - font-weight: bold; -} - -/* Google Calendar CSS */ -#mothertable { background: #fed !important } diff --git a/web/stylesheets/gallery.css b/web/stylesheets/gallery.css deleted file mode 100644 index 0a7ede3..0000000 --- a/web/stylesheets/gallery.css +++ /dev/null @@ -1,14 +0,0 @@ -#gallery { - width: 100%; - clear: right; - } -#gallery h3 { - margin-left: 2em; - } -#filter { - float: left; - width: 50%; - } -#parameters { - margin: 2em; - } \ No newline at end of file diff --git a/web/stylesheets/org-htmlize-src.css b/web/stylesheets/org-htmlize-src.css deleted file mode 100644 index e22a3d2..0000000 --- a/web/stylesheets/org-htmlize-src.css +++ /dev/null @@ -1,1724 +0,0 @@ -.org-mode pre.src { - color: #F8F8F8; - background-color: #141414; - } - .org-better-fringes-bitmap { - /* better-fringes-bitmap */ - color: #f0e68c; - } - .org-better-fringes-important-bitmap { - /* better-fringes-important-bitmap */ - color: #ff0000; - } - .org-blue { - /* blue */ - color: #0000ff; - } - .org-bold { - /* bold */ - font-weight: bold; - } - .org-bold-italic { - /* bold-italic */ - font-weight: bold; - font-style: italic; - } - .org-bookmark-menu-heading { - /* bookmark-menu-heading */ - color: #9B703F; - } - .org-border { - /* border */ - background-color: #000000; - } - .org-border-glyph { - } - .org-buffer-menu-buffer { - /* buffer-menu-buffer */ - font-weight: bold; - } - .org-buffers-tab { - /* buffers-tab */ - color: #CACACA; - background-color: #141414; - } - .org-builtin { - /* font-lock-builtin-face */ - color: #CACACA; - } - .org-button { - /* button */ - text-decoration: underline; - } - .org-c-nonbreakable-space { - /* c-nonbreakable-space-face */ - color: #EE799F; - background-color: #ff0000; - } - .org-calendar-today { - /* calendar-today */ - text-decoration: underline; - } - .org-change-log-acknowledgement { - /* change-log-acknowledgement */ - color: #5F5A60; - } - .org-change-log-conditionals { - /* change-log-conditionals */ - color: #7587A6; - } - .org-change-log-date { - /* change-log-date */ - color: #8F9D6A; - } - .org-change-log-email { - /* change-log-email */ - color: #7587A6; - } - .org-change-log-file { - /* change-log-file */ - color: #9B703F; - } - .org-change-log-function { - /* change-log-function */ - color: #7587A6; - } - .org-change-log-list { - /* change-log-list */ - color: #CDA869; - } - .org-change-log-name { - /* change-log-name */ - color: #CF6A4C; - } - .org-comint-highlight-input { - /* comint-highlight-input */ - font-weight: bold; - } - .org-comint-highlight-prompt { - /* comint-highlight-prompt */ - color: #00ffff; - } - .org-comment { - /* font-lock-comment-face */ - color: #5F5A60; - } - .org-comment-delimiter { - /* font-lock-comment-delimiter-face */ - color: #5F5A60; - } - .org-compilation-column-number { - /* compilation-column-number */ - color: #9B703F; - } - .org-compilation-error { - /* compilation-error */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-compilation-info { - /* compilation-info */ - color: #00ff00; - font-weight: bold; - } - .org-compilation-line-number { - /* compilation-line-number */ - color: #7587A6; - } - .org-compilation-warning { - /* compilation-warning */ - color: #ffa500; - font-weight: bold; - } - .org-completions-common-part { - /* completions-common-part */ - color: #F8F8F8; - background-color: #141414; - } - .org-completions-first-difference { - /* completions-first-difference */ - font-weight: bold; - } - .org-constant { - /* font-lock-constant-face */ - color: #CF6A4C; - } - .org-cursor { - /* cursor */ - background-color: #A7A7A7; - } - .org-custom-button { - /* custom-button-face */ - color: #000000; - background-color: #d3d3d3; - } - .org-custom-button-1 { - /* custom-button */ - color: #000000; - background-color: #d3d3d3; - } - .org-custom-button-mouse { - /* custom-button-mouse */ - color: #000000; - background-color: #e5e5e5; - } - .org-custom-button-pressed { - /* custom-button-pressed */ - color: #000000; - background-color: #d3d3d3; - } - .org-custom-button-pressed-unraised { - /* custom-button-pressed-unraised */ - color: #ee82ee; - } - .org-custom-button-unraised { - } - .org-custom-changed { - /* custom-changed-face */ - color: #ffffff; - background-color: #0000ff; - } - .org-custom-changed-1 { - /* custom-changed */ - color: #ffffff; - background-color: #0000ff; - } - .org-custom-comment { - /* custom-comment */ - background-color: #696969; - } - .org-custom-comment-tag { - /* custom-comment-tag */ - color: #cccccc; - } - .org-custom-documentation { - } - .org-custom-documentation-1 { - } - .org-custom-face-tag { - /* custom-face-tag-face */ - color: #add8e6; - font-weight: bold; - } - .org-custom-face-tag-1 { - /* custom-face-tag */ - color: #add8e6; - font-weight: bold; - } - .org-custom-group-tag { - /* custom-group-tag-face */ - color: #add8e6; - font-size: 120%; - font-weight: bold; - } - .org-custom-group-tag-1 { - /* custom-group-tag-1 */ - color: #ffc0cb; - font-size: 120%; - font-weight: bold; - } - .org-custom-group-tag-2 { - /* custom-group-tag */ - color: #add8e6; - font-size: 120%; - font-weight: bold; - } - .org-custom-group-tag-face-1 { - /* custom-group-tag-face-1 */ - color: #ffc0cb; - font-size: 120%; - font-weight: bold; - } - .org-custom-invalid { - /* custom-invalid-face */ - color: #ffff00; - background-color: #ff0000; - } - .org-custom-invalid-1 { - /* custom-invalid */ - color: #ffff00; - background-color: #ff0000; - } - .org-custom-link { - /* custom-link */ - color: #00ffff; - text-decoration: underline; - } - .org-custom-modified { - /* custom-modified-face */ - color: #ffffff; - background-color: #0000ff; - } - .org-custom-modified-1 { - /* custom-modified */ - color: #ffffff; - background-color: #0000ff; - } - .org-custom-rogue { - /* custom-rogue-face */ - color: #ffc0cb; - background-color: #000000; - } - .org-custom-rogue-1 { - /* custom-rogue */ - color: #ffc0cb; - background-color: #000000; - } - .org-custom-saved { - /* custom-saved-face */ - text-decoration: underline; - } - .org-custom-saved-1 { - /* custom-saved */ - text-decoration: underline; - } - .org-custom-set { - /* custom-set-face */ - color: #0000ff; - background-color: #ffffff; - } - .org-custom-set-1 { - /* custom-set */ - color: #0000ff; - background-color: #ffffff; - } - .org-custom-state { - /* custom-state-face */ - color: #32cd32; - } - .org-custom-state-1 { - /* custom-state */ - color: #32cd32; - } - .org-custom-themed { - /* custom-themed */ - color: #ffffff; - background-color: #0000ff; - } - .org-custom-variable-button { - /* custom-variable-button-face */ - font-weight: bold; - text-decoration: underline; - } - .org-custom-variable-button-1 { - /* custom-variable-button */ - font-weight: bold; - text-decoration: underline; - } - .org-custom-variable-tag { - /* custom-variable-tag-face */ - color: #add8e6; - font-weight: bold; - } - .org-custom-variable-tag-1 { - /* custom-variable-tag */ - color: #add8e6; - font-weight: bold; - } - .org-custom-visibility { - /* custom-visibility */ - color: #00ffff; - font-size: 80%; - text-decoration: underline; - } - .org-default { - /* default */ - color: #F8F8F8; - background-color: #141414; - } - .org-diary { - /* diary */ - color: #ffff00; - } - .org-dired-directory { - /* dired-directory */ - color: #9B703F; - } - .org-dired-flagged { - /* dired-flagged */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-dired-header { - /* dired-header */ - color: #9B703F; - } - .org-dired-ignored { - /* dired-ignored */ - color: #b3b3b3; - } - .org-dired-mark { - /* dired-mark */ - color: #CF6A4C; - } - .org-dired-marked { - /* dired-marked */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-dired-perm-write { - /* dired-perm-write */ - color: #5F5A60; - } - .org-dired-symlink { - /* dired-symlink */ - color: #CDA869; - } - .org-dired-warning { - /* dired-warning */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-doc { - /* font-lock-doc-face */ - color: #8F9D6A; - } - .org-doc-string { - /* font-lock-doc-string-face */ - color: #ff8c00; - } - .org-ediff-current-diff-a { - /* ediff-current-diff-A */ - color: #b22222; - background-color: #98fb98; - } - .org-ediff-current-diff-ancestor { - /* ediff-current-diff-Ancestor */ - color: #000000; - background-color: #d02090; - } - .org-ediff-current-diff-b { - /* ediff-current-diff-B */ - color: #9932cc; - background-color: #ffff00; - } - .org-ediff-current-diff-c { - /* ediff-current-diff-C */ - color: #000080; - background-color: #ffc0cb; - } - .org-ediff-even-diff-a { - /* ediff-even-diff-A */ - color: #000000; - background-color: #d3d3d3; - } - .org-ediff-even-diff-ancestor { - /* ediff-even-diff-Ancestor */ - color: #ffffff; - background-color: #bebebe; - } - .org-ediff-even-diff-b { - /* ediff-even-diff-B */ - color: #ffffff; - background-color: #bebebe; - } - .org-ediff-even-diff-c { - /* ediff-even-diff-C */ - color: #000000; - background-color: #d3d3d3; - } - .org-ediff-fine-diff-a { - /* ediff-fine-diff-A */ - color: #000080; - background-color: #87ceeb; - } - .org-ediff-fine-diff-ancestor { - /* ediff-fine-diff-Ancestor */ - color: #000000; - background-color: #00ff00; - } - .org-ediff-fine-diff-b { - /* ediff-fine-diff-B */ - color: #000000; - background-color: #00ffff; - } - .org-ediff-fine-diff-c { - /* ediff-fine-diff-C */ - color: #000000; - background-color: #40e0d0; - } - .org-ediff-odd-diff-a { - /* ediff-odd-diff-A */ - color: #ffffff; - background-color: #bebebe; - } - .org-ediff-odd-diff-ancestor { - /* ediff-odd-diff-Ancestor */ - color: #00cdcd; - background-color: #666666; - } - .org-ediff-odd-diff-b { - /* ediff-odd-diff-B */ - color: #000000; - background-color: #d3d3d3; - } - .org-ediff-odd-diff-c { - /* ediff-odd-diff-C */ - color: #ffffff; - background-color: #bebebe; - } - .org-escape-glyph { - /* escape-glyph */ - color: #00ffff; - } - .org-file-name-shadow { - /* file-name-shadow */ - color: #b3b3b3; - } - .org-fixed-pitch { - } - .org-fl-comment { - /* fl-comment-face */ - color: #ffc0cb; - } - .org-fl-doc-string { - /* fl-doc-string-face */ - color: #a020f0; - } - .org-fl-function-name { - /* fl-function-name-face */ - color: #ff0000; - } - .org-fl-keyword { - /* fl-keyword-face */ - color: #00ffff; - } - .org-fl-string { - /* fl-string-face */ - color: #00ff00; - } - .org-fl-type { - /* fl-type-face */ - color: #ffff00; - } - .org-flymake-errline { - /* flymake-errline */ - background-color: #8b1a1a; - } - .org-flymake-warnline { - /* flymake-warnline */ - background-color: #00008b; - } - .org-flyspell-duplicate { - /* flyspell-duplicate */ - color: #cdad00; - font-weight: bold; - text-decoration: underline; - } - .org-flyspell-incorrect { - /* flyspell-incorrect */ - color: #ff4500; - font-weight: bold; - text-decoration: underline; - } - .org-fringe { - /* fringe */ - background-color: #1a1a1a; - } - .org-function-name { - /* font-lock-function-name-face */ - color: #9B703F; - } - .org-gnus-cite-attribution { - /* gnus-cite-attribution-face */ - font-style: italic; - } - .org-gnus-cite-face-1 { - /* gnus-cite-face-1 */ - color: #00bfff; - font-weight: bold; - } - .org-gnus-cite-face-10 { - /* gnus-cite-face-10 */ - color: #9370db; - } - .org-gnus-cite-face-11 { - /* gnus-cite-face-11 */ - color: #40e0d0; - } - .org-gnus-cite-face-2 { - /* gnus-cite-face-2 */ - color: #00ffff; - font-weight: bold; - } - .org-gnus-cite-face-3 { - /* gnus-cite-face-3 */ - color: #ffd700; - font-weight: bold; - } - .org-gnus-cite-face-4 { - /* gnus-cite-face-4 */ - color: #ffb6c1; - } - .org-gnus-cite-face-5 { - /* gnus-cite-face-5 */ - color: #98fb98; - } - .org-gnus-cite-face-6 { - /* gnus-cite-face-6 */ - color: #d2691e; - font-weight: bold; - } - .org-gnus-cite-face-7 { - /* gnus-cite-face-7 */ - color: #ffa500; - } - .org-gnus-cite-face-8 { - /* gnus-cite-face-8 */ - color: #ff00ff; - } - .org-gnus-cite-face-9 { - /* gnus-cite-face-9 */ - color: #ee82ee; - } - .org-gnus-emphasis-bold { - /* gnus-emphasis-bold */ - font-weight: bold; - } - .org-gnus-emphasis-bold-italic { - /* gnus-emphasis-bold-italic */ - font-weight: bold; - font-style: italic; - } - .org-gnus-emphasis-highlight-words { - /* gnus-emphasis-highlight-words */ - color: #ffff00; - background-color: #000000; - } - .org-gnus-emphasis-italic { - /* gnus-emphasis-italic */ - font-style: italic; - } - .org-gnus-emphasis-underline { - /* gnus-emphasis-underline */ - text-decoration: underline; - } - .org-gnus-emphasis-underline-bold { - /* gnus-emphasis-underline-bold */ - font-weight: bold; - text-decoration: underline; - } - .org-gnus-emphasis-underline-bold-italic { - /* gnus-emphasis-underline-bold-italic */ - font-weight: bold; - font-style: italic; - text-decoration: underline; - } - .org-gnus-emphasis-underline-italic { - /* gnus-emphasis-underline-italic */ - font-style: italic; - text-decoration: underline; - } - .org-gnus-group-mail-1 { - /* gnus-group-mail-1 */ - color: #7fffd4; - font-weight: bold; - } - .org-gnus-group-mail-1-empty { - /* gnus-group-mail-1-empty */ - color: #7fffd4; - } - .org-gnus-group-mail-2 { - /* gnus-group-mail-2 */ - color: #76eec6; - font-weight: bold; - } - .org-gnus-group-mail-2-empty { - /* gnus-group-mail-2-empty */ - color: #76eec6; - } - .org-gnus-group-mail-3 { - /* gnus-group-mail-3 */ - color: #66cdaa; - font-weight: bold; - } - .org-gnus-group-mail-3-empty { - /* gnus-group-mail-3-empty */ - color: #66cdaa; - } - .org-gnus-group-mail-low { - /* gnus-group-mail-low */ - color: #458b74; - font-weight: bold; - } - .org-gnus-group-mail-low-empty { - /* gnus-group-mail-low-empty */ - color: #458b74; - } - .org-gnus-group-news-1 { - /* gnus-group-news-1 */ - color: #afeeee; - font-weight: bold; - } - .org-gnus-group-news-1-empty { - /* gnus-group-news-1-empty */ - color: #afeeee; - } - .org-gnus-group-news-2 { - /* gnus-group-news-2 */ - color: #40e0d0; - font-weight: bold; - } - .org-gnus-group-news-2-empty { - /* gnus-group-news-2-empty */ - color: #40e0d0; - } - .org-gnus-group-news-3 { - /* gnus-group-news-3 */ - font-weight: bold; - } - .org-gnus-group-news-3-empty { - } - .org-gnus-group-news-4 { - /* gnus-group-news-4 */ - font-weight: bold; - } - .org-gnus-group-news-4-empty { - } - .org-gnus-group-news-5 { - /* gnus-group-news-5 */ - font-weight: bold; - } - .org-gnus-group-news-5-empty { - } - .org-gnus-group-news-6 { - /* gnus-group-news-6 */ - font-weight: bold; - } - .org-gnus-group-news-6-empty { - } - .org-gnus-group-news-low { - /* gnus-group-news-low */ - color: #00ced1; - font-weight: bold; - } - .org-gnus-group-news-low-empty { - /* gnus-group-news-low-empty */ - color: #00ced1; - } - .org-gnus-header-content { - /* gnus-header-content-face */ - color: #228b22; - font-style: italic; - } - .org-gnus-header-from { - /* gnus-header-from-face */ - color: #00ff7f; - font-weight: bold; - } - .org-gnus-header-name { - /* gnus-header-name-face */ - color: #00bfff; - } - .org-gnus-header-newsgroups { - /* gnus-header-newsgroups-face */ - color: #a020f0; - font-weight: bold; - font-style: italic; - } - .org-gnus-header-subject { - /* gnus-header-subject-face */ - color: #ffa500; - font-weight: bold; - } - .org-gnus-signature { - /* gnus-signature-face */ - color: #f0e68c; - font-weight: bold; - } - .org-gnus-splash { - /* gnus-splash */ - color: #a52a2a; - } - .org-gnus-summary-cancelled { - /* gnus-summary-cancelled */ - color: #ffff00; - background-color: #000000; - } - .org-gnus-summary-high-ancient { - /* gnus-summary-high-ancient */ - color: #87ceeb; - font-weight: bold; - } - .org-gnus-summary-high-read { - /* gnus-summary-high-read */ - color: #98fb98; - font-weight: bold; - } - .org-gnus-summary-high-ticked { - /* gnus-summary-high-ticked */ - color: #ffc0cb; - font-weight: bold; - } - .org-gnus-summary-high-undownloaded { - /* gnus-summary-high-undownloaded */ - color: #d3d3d3; - font-weight: bold; - } - .org-gnus-summary-high-unread { - /* gnus-summary-high-unread */ - font-weight: bold; - } - .org-gnus-summary-low-ancient { - /* gnus-summary-low-ancient */ - color: #87ceeb; - font-style: italic; - } - .org-gnus-summary-low-read { - /* gnus-summary-low-read */ - color: #98fb98; - font-style: italic; - } - .org-gnus-summary-low-ticked { - /* gnus-summary-low-ticked */ - color: #ffc0cb; - font-style: italic; - } - .org-gnus-summary-low-undownloaded { - /* gnus-summary-low-undownloaded */ - color: #d3d3d3; - font-style: italic; - } - .org-gnus-summary-low-unread { - /* gnus-summary-low-unread */ - font-style: italic; - } - .org-gnus-summary-normal-ancient { - /* gnus-summary-normal-ancient */ - color: #87ceeb; - } - .org-gnus-summary-normal-read { - /* gnus-summary-normal-read */ - color: #98fb98; - } - .org-gnus-summary-normal-ticked { - /* gnus-summary-normal-ticked */ - color: #ffc0cb; - } - .org-gnus-summary-normal-undownloaded { - /* gnus-summary-normal-undownloaded */ - color: #d3d3d3; - } - .org-gnus-summary-normal-unread { - } - .org-gnus-summary-selected { - /* gnus-summary-selected */ - text-decoration: underline; - } - .org-gui-element { - /* gui-element */ - color: #000000; - background-color: #D4D0C8; - } - .org-header-line { - /* header-line */ - color: #e5e5e5; - background-color: #333333; - } - .org-help-argument-name { - } - .org-hi-mumamo-black-b { - /* hi-mumamo-black-b */ - font-weight: bold; - text-decoration: underline; - } - .org-hi-mumamo-blue { - /* hi-mumamo-blue */ - text-decoration: underline; - } - .org-hi-mumamo-blue-b { - /* hi-mumamo-blue-b */ - font-weight: bold; - text-decoration: underline; - } - .org-hi-mumamo-green { - /* hi-mumamo-green */ - text-decoration: underline; - } - .org-hi-mumamo-green-b { - /* hi-mumamo-green-b */ - font-weight: bold; - text-decoration: underline; - } - .org-hi-mumamo-pink { - /* hi-mumamo-pink */ - text-decoration: underline; - } - .org-hi-mumamo-red-b { - /* hi-mumamo-red-b */ - font-weight: bold; - text-decoration: underline; - } - .org-hi-mumamo-yellow { - /* hi-mumamo-yellow */ - text-decoration: underline; - } - .org-highlight { - /* highlight */ - background-color: #111111; - } - .org-highline { - /* highline-face */ - background-color: #2e8b57; - } - .org-holiday { - /* holiday */ - background-color: #8b4513; - } - .org-ido-first-match { - /* ido-first-match */ - color: #8F9D6A; - } - .org-ido-incomplete-regexp { - /* ido-incomplete-regexp */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-ido-indicator { - /* ido-indicator */ - color: #ffff00; - background-color: #ff0000; - } - .org-ido-only-match { - /* ido-only-match */ - color: #8F9D6A; - } - .org-ido-subdir { - /* ido-subdir */ - color: #CF6A4C; - } - .org-info-header-node { - /* info-header-node */ - color: #ffffff; - font-weight: bold; - font-style: italic; - } - .org-info-header-xref { - /* info-header-xref */ - color: #00ffff; - text-decoration: underline; - } - .org-info-menu-header { - /* info-menu-header */ - font-weight: bold; - } - .org-info-menu-star { - /* info-menu-star */ - color: #ff0000; - } - .org-info-node { - /* info-node */ - color: #ffffff; - font-weight: bold; - font-style: italic; - } - .org-info-title-1 { - /* info-title-1 */ - font-size: 172%; - font-weight: bold; - } - .org-info-title-2 { - /* info-title-2 */ - font-size: 144%; - font-weight: bold; - } - .org-info-title-3 { - /* info-title-3 */ - font-size: 120%; - font-weight: bold; - } - .org-info-title-4 { - /* info-title-4 */ - font-weight: bold; - } - .org-info-xref { - /* info-xref */ - color: #00ffff; - text-decoration: underline; - } - .org-isearch { - /* isearch */ - color: #8b2323; - background-color: #0000ff; - } - .org-isearch-fail { - /* isearch-fail */ - background-color: #8b0000; - } - .org-iswitchb-current-match { - /* iswitchb-current-match */ - color: #9B703F; - } - .org-iswitchb-invalid-regexp { - /* iswitchb-invalid-regexp */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-iswitchb-single-match { - /* iswitchb-single-match */ - color: #5F5A60; - } - .org-iswitchb-virtual-matches { - /* iswitchb-virtual-matches */ - color: #CACACA; - } - .org-italic { - /* italic */ - font-style: italic; - text-decoration: underline; - } - .org-keyword { - /* font-lock-keyword-face */ - color: #CDA869; - } - .org-lazy-highlight { - /* lazy-highlight */ - background-color: #668b8b; - } - .org-left-margin { - } - .org-link { - /* link */ - color: #00ffff; - text-decoration: underline; - } - .org-link-visited { - /* link-visited */ - color: #ee82ee; - text-decoration: underline; - } - .org-match { - /* match */ - background-color: #3a5fcd; - } - .org-menu { - } - .org-message-cited-text { - /* message-cited-text */ - color: #ff0000; - font-weight: bold; - } - .org-message-header-cc { - /* message-header-cc */ - color: #008b00; - font-weight: bold; - } - .org-message-header-name { - /* message-header-name */ - color: #ffa500; - font-weight: bold; - } - .org-message-header-newsgroups { - /* message-header-newsgroups */ - color: #ee82ee; - font-weight: bold; - } - .org-message-header-other { - /* message-header-other */ - color: #d2691e; - font-weight: bold; - } - .org-message-header-subject { - /* message-header-subject */ - color: #ffff00; - font-weight: bold; - } - .org-message-header-to { - /* message-header-to */ - color: #00ffff; - font-weight: bold; - } - .org-message-header-xheader { - /* message-header-xheader */ - color: #add8e6; - font-weight: bold; - } - .org-message-mml { - /* message-mml */ - background-color: #00cd00; - font-weight: bold; - } - .org-message-separator { - /* message-separator */ - color: #0000cd; - } - .org-minibuffer-prompt { - /* minibuffer-prompt */ - color: #5F5A60; - } - .org-mlinks-link { - /* mlinks-link */ - color: #00ffff; - text-decoration: underline; - } - .org-mode-line { - /* mode-line */ - color: #000000; - background-color: #bfbfbf; - } - .org-mode-line-buffer-id { - /* mode-line-buffer-id */ - color: #000000; - background-color: #ffffff; - } - .org-mode-line-emphasis { - /* mode-line-emphasis */ - font-weight: bold; - } - .org-mode-line-highlight { - } - .org-mode-line-inactive { - /* mode-line-inactive */ - color: #cccccc; - background-color: #4d4d4d; - } - .org-modeline-mousable { - /* modeline-mousable */ - color: #000000; - background-color: #ffffff; - } - .org-modeline-mousable-minor-mode { - /* modeline-mousable-minor-mode */ - color: #000000; - background-color: #ffffff; - } - .org-mouse { - /* mouse */ - background-color: #ff8247; - } - .org-mumamo-background-chunk-major { - /* mumamo-background-chunk-major */ - background-color: #191970; - } - .org-mumamo-background-chunk-submode { - /* mumamo-background-chunk-submode */ - background-color: #222222; - } - .org-mumamo-background-chunk-submode1 { - /* mumamo-background-chunk-submode1 */ - background-color: #006400; - } - .org-mumamo-background-chunk-submode2 { - /* mumamo-background-chunk-submode2 */ - background-color: #006400; - } - .org-mumamo-background-chunk-submode3 { - /* mumamo-background-chunk-submode3 */ - background-color: #006400; - } - .org-mumamo-background-chunk-submode4 { - /* mumamo-background-chunk-submode4 */ - background-color: #006400; - } - .org-mumamo-border-face-in { - /* mumamo-border-face-in */ - color: #7fffd4; - font-weight: bold; - font-style: italic; - text-decoration: underline; - } - .org-mumamo-border-face-out { - /* mumamo-border-face-out */ - color: #7fffd4; - font-weight: bold; - font-style: italic; - } - .org-negation-char { - } - .org-next-error { - /* next-error */ - background-color: #27292A; - } - .org-nobreak-space { - /* nobreak-space */ - color: #00ffff; - text-decoration: underline; - } - .org-nxml-attribute-colon { - } - .org-nxml-attribute-local-name { - /* nxml-attribute-local-name */ - color: #7587A6; - } - .org-nxml-attribute-prefix { - /* nxml-attribute-prefix */ - color: #CACACA; - } - .org-nxml-attribute-value { - /* nxml-attribute-value */ - color: #8F9D6A; - } - .org-nxml-attribute-value-delimiter { - /* nxml-attribute-value-delimiter */ - color: #8F9D6A; - } - .org-nxml-cdata-section-cdata { - /* nxml-cdata-section-CDATA */ - color: #CACACA; - } - .org-nxml-cdata-section-content { - } - .org-nxml-cdata-section-delimiter { - } - .org-nxml-char-ref-delimiter { - /* nxml-char-ref-delimiter */ - color: #CF6A4C; - } - .org-nxml-char-ref-number { - /* nxml-char-ref-number */ - color: #CF6A4C; - } - .org-nxml-comment-content { - /* nxml-comment-content */ - color: #5F5A60; - } - .org-nxml-comment-delimiter { - /* nxml-comment-delimiter */ - color: #5F5A60; - } - .org-nxml-delimited-data { - /* nxml-delimited-data */ - color: #8F9D6A; - } - .org-nxml-delimiter { - } - .org-nxml-element-colon { - } - .org-nxml-element-local-name { - /* nxml-element-local-name */ - color: #9B703F; - } - .org-nxml-element-prefix { - /* nxml-element-prefix */ - color: #CACACA; - } - .org-nxml-entity-ref-delimiter { - /* nxml-entity-ref-delimiter */ - color: #CF6A4C; - } - .org-nxml-entity-ref-name { - /* nxml-entity-ref-name */ - color: #CF6A4C; - } - .org-nxml-glyph { - /* nxml-glyph */ - color: #000000; - background-color: #d3d3d3; - } - .org-nxml-hash { - /* nxml-hash */ - color: #CACACA; - } - .org-nxml-heading { - /* nxml-heading */ - font-weight: bold; - } - .org-nxml-markup-declaration-delimiter { - } - .org-nxml-name { - /* nxml-name */ - color: #CACACA; - } - .org-nxml-namespace-attribute-colon { - } - .org-nxml-namespace-attribute-prefix { - /* nxml-namespace-attribute-prefix */ - color: #7587A6; - } - .org-nxml-namespace-attribute-value { - /* nxml-namespace-attribute-value */ - color: #8F9D6A; - } - .org-nxml-namespace-attribute-value-delimiter { - /* nxml-namespace-attribute-value-delimiter */ - color: #8F9D6A; - } - .org-nxml-namespace-attribute-xmlns { - /* nxml-namespace-attribute-xmlns */ - color: #CACACA; - } - .org-nxml-outline-active-indicator { - /* nxml-outline-active-indicator */ - color: #F8F8F8; - background-color: #141414; - } - .org-nxml-outline-ellipsis { - /* nxml-outline-ellipsis */ - color: #F8F8F8; - background-color: #141414; - font-weight: bold; - } - .org-nxml-outline-indicator { - /* nxml-outline-indicator */ - color: #F8F8F8; - background-color: #141414; - } - .org-nxml-processing-instruction-content { - /* nxml-processing-instruction-content */ - color: #8F9D6A; - } - .org-nxml-processing-instruction-delimiter { - } - .org-nxml-processing-instruction-target { - /* nxml-processing-instruction-target */ - color: #CDA869; - } - .org-nxml-prolog-keyword { - /* nxml-prolog-keyword */ - color: #CDA869; - } - .org-nxml-prolog-literal-content { - /* nxml-prolog-literal-content */ - color: #8F9D6A; - } - .org-nxml-prolog-literal-delimiter { - /* nxml-prolog-literal-delimiter */ - color: #8F9D6A; - } - .org-nxml-ref { - /* nxml-ref */ - color: #CF6A4C; - } - .org-nxml-tag-delimiter { - } - .org-nxml-tag-slash { - } - .org-nxml-text { - } - .org-org-agenda-column-dateline { - /* org-agenda-column-dateline */ - background-color: #4d4d4d; - } - .org-org-agenda-date { - } - .org-org-agenda-date-today { - /* org-agenda-date-today */ - font-weight: bold; - font-style: italic; - } - .org-org-agenda-date-weekend { - /* org-agenda-date-weekend */ - font-weight: bold; - } - .org-org-agenda-dimmed-todo { - /* org-agenda-dimmed-todo-face */ - color: #7f7f7f; - } - .org-org-agenda-done { - /* org-agenda-done */ - color: #98fb98; - } - .org-org-agenda-restriction-lock { - /* org-agenda-restriction-lock */ - background-color: #4a708b; - } - .org-org-agenda-structure { - /* org-agenda-structure */ - color: #87cefa; - } - .org-org-archived { - /* org-archived */ - color: #b3b3b3; - } - .org-org-block { - /* org-block */ - color: #b3b3b3; - } - .org-org-checkbox { - /* org-checkbox */ - font-weight: bold; - } - .org-org-checkbox-statistics-done { - } - .org-org-checkbox-statistics-todo { - } - .org-org-clock-overlay { - /* org-clock-overlay */ - background-color: #4a708b; - } - .org-org-code { - /* org-code */ - color: #b3b3b3; - } - .org-org-column { - /* org-column */ - background-color: #4d4d4d; - } - .org-org-column-title { - /* org-column-title */ - background-color: #4d4d4d; - font-weight: bold; - text-decoration: underline; - } - .org-org-date { - /* org-date */ - color: #00ffff; - text-decoration: underline; - } - .org-org-done { - /* org-done */ - color: #98fb98; - font-weight: bold; - } - .org-org-drawer { - /* org-drawer */ - color: #87cefa; - } - .org-org-ellipsis { - /* org-ellipsis */ - color: #eedd82; - text-decoration: underline; - } - .org-org-eval { - /* org-eval */ - color: #999999; - } - .org-org-footnote { - /* org-footnote */ - color: #00ffff; - text-decoration: underline; - } - .org-org-formula { - /* org-formula */ - color: #ff7f24; - } - .org-org-headline-done { - /* org-headline-done */ - color: #ffa07a; - } - .org-org-hide { - /* org-hide */ - color: #000000; - } - .org-org-latex-and-export-specials { - /* org-latex-and-export-specials */ - color: #deb887; - } - .org-org-level-1 { - /* org-level-1 */ - color: #9B703F; - } - .org-org-level-2 { - /* org-level-2 */ - color: #7587A6; - } - .org-org-level-3 { - /* org-level-3 */ - color: #CDA869; - } - .org-org-level-4 { - /* org-level-4 */ - color: #5F5A60; - } - .org-org-level-5 { - /* org-level-5 */ - color: #9B703F; - } - .org-org-level-6 { - /* org-level-6 */ - color: #CF6A4C; - } - .org-org-level-7 { - /* org-level-7 */ - color: #CACACA; - } - .org-org-level-8 { - /* org-level-8 */ - color: #8F9D6A; - } - .org-org-link { - /* org-link */ - color: #00ffff; - text-decoration: underline; - } - .org-org-meta-line { - /* org-meta-line */ - color: #5F5A60; - } - .org-org-mode-line-clock { - } - .org-org-mtags { - /* org-mtags */ - color: #b3b3b3; - } - .org-org-property-value { - } - .org-org-scheduled { - /* org-scheduled */ - color: #98fb98; - } - .org-org-scheduled-previously { - /* org-scheduled-previously */ - color: #ff7f24; - } - .org-org-scheduled-today { - /* org-scheduled-today */ - color: #98fb98; - } - .org-org-sexp-date { - /* org-sexp-date */ - color: #00ffff; - } - .org-org-special-keyword { - /* org-special-keyword */ - color: #ffa07a; - } - .org-org-table { - /* org-table */ - color: #87cefa; - } - .org-org-tag { - /* org-tag */ - font-weight: bold; - } - .org-org-target { - /* org-target */ - text-decoration: underline; - } - .org-org-time-grid { - /* org-time-grid */ - color: #eedd82; - } - .org-org-todo { - /* org-todo */ - color: #ffc0cb; - font-weight: bold; - } - .org-org-upcoming-deadline { - /* org-upcoming-deadline */ - color: #ff7f24; - } - .org-org-verbatim { - /* org-verbatim */ - color: #b3b3b3; - } - .org-org-warning { - /* org-warning */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-orgpan-spaceline { - /* orgpan-spaceline */ - font-size: 20%; - } - .org-outline-1 { - /* outline-1 */ - color: #9B703F; - } - .org-outline-2 { - /* outline-2 */ - color: #7587A6; - } - .org-outline-3 { - /* outline-3 */ - color: #CDA869; - } - .org-outline-4 { - /* outline-4 */ - color: #5F5A60; - } - .org-outline-5 { - /* outline-5 */ - color: #9B703F; - } - .org-outline-6 { - /* outline-6 */ - color: #CF6A4C; - } - .org-outline-7 { - /* outline-7 */ - color: #CACACA; - } - .org-outline-8 { - /* outline-8 */ - color: #8F9D6A; - } - .org-preprocessor { - /* font-lock-preprocessor-face */ - color: #7fffd4; - } - .org-primary-selection { - /* primary-selection */ - background-color: #0000ff; - } - .org-query-replace { - /* query-replace */ - color: #8b2323; - background-color: #0000ff; - } - .org-reference { - /* font-lock-reference-face */ - color: #6a5acd; - } - .org-regexp-grouping-backslash { - /* font-lock-regexp-grouping-backslash */ - color: #E9C062; - } - .org-regexp-grouping-construct { - /* font-lock-regexp-grouping-construct */ - color: #ff0000; - } - .org-region { - /* region */ - background-color: #27292A; - } - .org-rng-error { - /* rng-error */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-rngalt-validation-header-bottom { - /* rngalt-validation-header-bottom */ - color: #ffffff; - background-color: #87cefa; - } - .org-rngalt-validation-header-top { - /* rngalt-validation-header-top */ - color: #87cefa; - background-color: #ffffff; - } - .org-scroll-bar { - } - .org-secondary-selection { - /* secondary-selection */ - background-color: #483d8b; - } - .org-sgml-namespace { - /* sgml-namespace */ - color: #CACACA; - } - .org-sh-escaped-newline { - /* sh-escaped-newline */ - color: #8F9D6A; - } - .org-sh-heredoc { - /* sh-heredoc */ - color: #ffff00; - font-weight: bold; - } - .org-sh-quoted-exec { - /* sh-quoted-exec */ - color: #fa8072; - } - .org-shadow { - /* shadow */ - color: #b3b3b3; - } - .org-speedbar-button { - /* speedbar-button-face */ - color: #00cd00; - } - .org-speedbar-directory { - /* speedbar-directory-face */ - color: #add8e6; - } - .org-speedbar-file { - /* speedbar-file-face */ - color: #00ffff; - } - .org-speedbar-highlight { - /* speedbar-highlight-face */ - background-color: #2e8b57; - } - .org-speedbar-selected { - /* speedbar-selected-face */ - color: #ff0000; - text-decoration: underline; - } - .org-speedbar-separator { - /* speedbar-separator-face */ - color: #ffffff; - background-color: #0000ff; - text-decoration: overline; - } - .org-speedbar-tag { - /* speedbar-tag-face */ - color: #ffff00; - } - .org-string { - /* font-lock-string-face */ - color: #8F9D6A; - } - .org-text-cursor { - /* text-cursor */ - color: #000000; - background-color: #ffff00; - } - .org-tool-bar { - } - .org-tooltip { - /* tooltip */ - color: #000000; - background-color: #ffffe0; - } - .org-trailing-whitespace { - /* trailing-whitespace */ - background-color: #ff0000; - } - .org-type { - /* font-lock-type-face */ - color: #9B703F; - } - .org-underline { - } - .org-variable-name { - /* font-lock-variable-name-face */ - color: #7587A6; - } - .org-variable-pitch { - } - .org-vertical-border { - } - .org-warning { - /* font-lock-warning-face */ - color: #ff0000; - background-color: #EE799F; - font-weight: bold; - } - .org-widget-button { - /* widget-button */ - font-weight: bold; - } - .org-widget-button-pressed { - /* widget-button-pressed */ - color: #ff0000; - } - .org-widget-documentation { - /* widget-documentation */ - color: #32cd32; - } - .org-widget-field { - /* widget-field */ - background-color: #696969; - } - .org-widget-inactive { - /* widget-inactive */ - color: #d3d3d3; - } - .org-widget-single-line-field { - /* widget-single-line-field */ - background-color: #696969; - } - .org-zmacs-region { - /* zmacs-region */ - color: #0000ff; - background-color: #fffafa; - } - - a { - color: inherit; - background-color: inherit; - font: inherit; - text-decoration: inherit; - } - a:hover { - text-decoration: underline; - } diff --git a/web/stylesheets/org-mode.css b/web/stylesheets/org-mode.css deleted file mode 100644 index 888fd99..0000000 --- a/web/stylesheets/org-mode.css +++ /dev/null @@ -1,108 +0,0 @@ - -.org-mode #logo { - float: right; - clear: right; - margin-right: 2px; - margin-top: -8em; - display: compact; - } - -.org-mode header hgroup h1 { - background: #ffeedd - url(http://dyne.org/pics/dynebggrl2r.png) repeat-y; - color: #222222; - overflow: hidden; /* don't crowd the menu */ - border: 0px; - border-bottom: 2px dotted #EECC99; - font-style: italic; - font-size: 28px; - padding: 0.5em; - margin-bottom: 0; - margin-left: 0; - white-space: nowrap; - } - -.org-mode .todo { color: red; } -.org-mode .done { color: green; } -.org-mode .tag { background-color: #add8e6; font-weight:normal } -.org-mode .target { } -.org-mode .timestamp { color: #bebebe; } -.org-mode .timestamp-kwd { color: #5f9ea0; } -.org-mode p.verse { margin-left: 3% } -.org-mode pre { - border: 1pt solid #AEBDCC; - background-color: #F3F5F7; - padding: 5pt; - font-family: monospace, courier; - font-size: 90% - overflow: auto; - } -.org-mode table { border-collapse: collapse; } -.org-mode td, .org-mode th { vertical-align: top; } -.org-mode dt { font-weight: bold; } -.org-mode div.figure { padding: 0.5em; } -.org-mode div.figure p { text-align: center; } -.org-mode .linenr { font-size:smaller } -.org-mode .code-highlighted {background-color:#ffff00;} -.org-mode .org-info-js_info-navigation { border-style:none; } -.org-mode #org-info-js_console-label { font-size:10px; font-weight:bold; - white-space:nowrap; } -.org-mode .org-info-js_search-highlight {background-color:#ffff00; color:#000000; - font-weight:bold; } - -.org-mode .outline-1 { text-align: center; } -.org-mode .outline-2 { margin-left: 10em; margin-right: 1em; } -.org-mode .outline-3 { margin-left: 1em; } - -.org-mode #postamble { opacity: 0.66; - font-size: 0.66em; - text-align: right; - display: none; - float: right; - clear: right; - width: 25em; - margin-right: 1.5em; - } - - -.org-mode #menu { - position: fixed; - } - - -.org-mode #document-types { - width: 15em; - float: left; - clear: left; - margin-left: 0.5em; - margin-right: 3em; - display: compact; - font-size: 0.88em; - text-align: left; - } - -/* TOC on top of sidebar */ -.org-mode #table-of-contents { - width: 15em; - float: left; - clear: left; - margin-left: 0.5em; - margin-right: 3em; - margin-bottom: 0.5em; - display: compact; - font-size: 0.88em; - } - -.org-mode #table-of-contents h2 { font-size: 1em; } -.org-mode #table-of-contents ul { list-style: none; margin: 0em 0em; padding: 0; } -.org-mode #table-of-contents li { margin: 0; padding: 0 0 0 0.5em; } - -/* first section is sidebar -.org-mode #outline-container-1 { - width: 15em; - float: left; - clear: left; - margin-right: 3em - display: compact; - font-size: 0.78em; - } */ \ No newline at end of file diff --git a/web/templates/_footer.tpl b/web/templates/_footer.tpl deleted file mode 100644 index ad57fe4..0000000 --- a/web/templates/_footer.tpl +++ /dev/null @@ -1,55 +0,0 @@ -
-
- - {if DYNE_DEBUG_RENDERING_TIME} -
-

Page Rendering Time: {$timer->stop()}ms.

-
- {/if} - -
-

dyne.org

-

- Copyleft 2000 - 2010 dyne.org foundation and respective authors. - Verbatim copying and distribution is permitted in any medium, - provided this notice is preserved. -

Send your enquiries & questions to dyne's hackers.

-

-
- -
-

Recognition

-
    -
  • Dyne:bolic is listed on the GNU Free Distro page
  • -
  • Dyne and Freaknet are listed on the Unesco Archives portal since 2002
  • -
-
- -
-

Internet Campains

-
    -
  • EFF Free Speech Campain
  • -
  • No Software Patents!
  • -
  • Play OGG
  • -
  • Digital Rights Now!
  • -
  • dyne.org software badge
  • -
-
- -
-

Credits

-

dyne.org stamp

-

Dyne hosting is kindly provided by - nimk.nl - and - servus.at

-

-
- -
- - - - - diff --git a/web/templates/_header.tpl b/web/templates/_header.tpl deleted file mode 100644 index e4c0b2b..0000000 --- a/web/templates/_header.tpl +++ /dev/null @@ -1,57 +0,0 @@ - - - - :: d y n e . o r g :: {$page_title} - - - - - -{if isset($stylesheet) && $stylesheet neq ""} - -{/if} - - - - - - - - - - - - - - -{if isset($description) && $description neq ""} - -{else} - -{/if} - -{if isset($keywords) && $keywords neq ""} - -{else} - -{/if} - - - - - -
- -
{$page_hgroup}
-
diff --git a/web/templates/list_params.js b/web/templates/list_params.js deleted file mode 100644 index aed55bd..0000000 --- a/web/templates/list_params.js +++ /dev/null @@ -1,28 +0,0 @@ -// freej script to enumerate frei0r parameters in html - -fr = new Filter("%filter_name%"); -if(!fr) quit(); - - -echo("

" + fr.description + "

"); -echo("

by: " + fr.author + "

"); - - -// PRINT OUT PARAMETERS -params = fr.parameters; -echo("
"); -if(params.length) { - echo("

Parameters:

"); - echo("
    "); - for(c=0; c" + c + ") " + params[c].type - + " : " + params[c].name - + " :: " + params[c].description + ""); - } - echo("
"); -} else { - echo("

This effect has no parameters

"); -} -echo("
"); - -quit(); diff --git a/web/templates/software/doctypes.tpl b/web/templates/software/doctypes.tpl deleted file mode 100644 index 38c0c6c..0000000 --- a/web/templates/software/doctypes.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -
-

-Document available
-in PDF and pure text -

-