summaryrefslogtreecommitdiff
path: root/libgphoto2/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Consistent checks for asm .symver and version-scriptHans Ulrich Niedermann2021-11-071-41/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the same checks for asm .symver and -Wl,--version-script support for both libgphoto2.la and libgphoto2_port.la. This also reorganizes the Makefile.am files for libgphoto2.la and libgphoto2_port.la so that things belonging together are actually grouped together, so that inconsistencies can become more visible. This does not change what actually happens with when linking the libraries: * libgphoto2.la is still linked with just a --export-symbols libgphoto2.sym list of exported symbols. * libgphoto2_port.la is still linked with a -Wl,--version-script=libgphoto2_port.ver version script. However, the two library Makefile.am are now organized in such a way that you can actually see that. We should examine what those two symbol export methods actually do on Linux/ELF (complete support for version script semantics), and on non-ELF systems such as MacOSX dylib or Windows DLL.
* Factor out i18n stuff into separate i18n.h filesHans Ulrich Niedermann2021-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor out the i18n definitions into i18n.h include files: One include file each for libgphoto2 and for libgphoto2_port. This removes the complete #ifdef ENABLE_NLS # include <libintl.h> # undef _ # define _(String) dgettext (GETTEXT_PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define _(String) (String) # define N_(String) (String) #endif block (which in some occasions defines even more macros) and replaces it with a single line #include "libgphoto2/i18n.h" for camlibs and libgphoto2 itself and with #include "libgphoto2_port/i18n.h" for iolibs and libgphoto2_port itself. This gives us two central locations to change the defintions.
* Use a single definition of BayerTile enumHans Ulrich Niedermann2021-10-071-1/+1
| | | | | | | Use a single definition of BayerTile enum inside a new include file bayer-types.h instead of (conditionally!) duplicating the definition from libgphoto2/bayer.h to camlibs/stv680-demosaic-sharpen.h.
* Remove stdint.h shim (#625)Zeranoe2021-02-221-2/+0
| | | stdint.h has wide adoption at this point, so it should be safe to use.
* cleaned up AM_CPPFLAGS and CPPFLAGS usage patterns.Marcus Meissner2013-03-101-0/+2
| | | | | | | | | | AM_CPPFLAGS and CPPFLAGS are used both during build, so no need to use merge them together in configure. also move the -I$(xx) stuff into Makefile* to avoid shell expansion issues. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14269 67ed7778-7388-44ab-90cf-0a291f65f57c
* Hooking up AHD Bayer algorithmTheodore Kilgore2008-04-201-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11115 67ed7778-7388-44ab-90cf-0a291f65f57c
* Remove make dependency on $(LIBLTDL) ("-lltdl") any more (#1548195)Hans Ulrich Niedermann2007-05-141-3/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10210 67ed7778-7388-44ab-90cf-0a291f65f57c
* * Introduce FOO-uninstalled.pc files for both libgphoto2 and libgphoto2_port.Hans Ulrich Niedermann2007-05-141-4/+1
| | | | | | | | * Move FOO.pc to the top source directory. * Get rid of obsolete GP_AUTOGEN_SUBDIR macro. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10199 67ed7778-7388-44ab-90cf-0a291f65f57c
* Make sure AM_CPPFLAGS with the local -I directories comes first.Hans Ulrich Niedermann2006-12-071-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9524 67ed7778-7388-44ab-90cf-0a291f65f57c
* Move header files one last time to reduce file path lengths in tarball.Hans Ulrich Niedermann2006-10-141-32/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9330 67ed7778-7388-44ab-90cf-0a291f65f57c
* ...and clean up gphoto2-endian.h in the right placeHans Ulrich Niedermann2006-09-281-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9225 67ed7778-7388-44ab-90cf-0a291f65f57c
* Consistently use #include <gphoto2/gphoto2-foo.h> everywhere.Hans Ulrich Niedermann2006-09-281-19/+18
| | | | | | | | | | This moves the header files to a new subdirectory gphoto2 in both libgphoto2 and libphoto2_port/libgphoto2. All references are adapted appropriately. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9221 67ed7778-7388-44ab-90cf-0a291f65f57c
* make sure the destination directory exists before symlinkingHans Ulrich Niedermann2006-08-241-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9114 67ed7778-7388-44ab-90cf-0a291f65f57c
* install gphoto2/ -> . symlink in include dirHans Ulrich Niedermann2006-08-181-1/+16
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9100 67ed7778-7388-44ab-90cf-0a291f65f57c
* add *.sym file to _DEPENDENCIESHans Ulrich Niedermann2006-01-031-7/+7
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8401 67ed7778-7388-44ab-90cf-0a291f65f57c
* namespace cleanup still going on:Hans Ulrich Niedermann2005-06-111-2/+11
| | | | | | | | | | | | | | | | | - Add comments to Makefile.am about the different symbol names and their purposes, so that the rationale behind the *.sym contents may be found easily. - Remove libgphoto2/pattrec.[ch] - the only user was camlibs/konica/qm150.c and it hasn't been using it probably for years. - Rename all formerly exported symbols not starting with gp_* to gpi_* or gpe_* and try to export only those which are absolutely required by the camlibs. This still leaves a number of internal symbols exported, but at least their number is a lot lower than it was before. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8073 67ed7778-7388-44ab-90cf-0a291f65f57c
* keep namespace clear: rename GP_SYSTEM_* to gp_system_*Hans Ulrich Niedermann2005-06-111-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8070 67ed7778-7388-44ab-90cf-0a291f65f57c
* link libgphoto2 with explicit symbol listHans Ulrich Niedermann2005-06-111-2/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8068 67ed7778-7388-44ab-90cf-0a291f65f57c
* more new build systemHans Ulrich Niedermann2005-04-141-0/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7835 67ed7778-7388-44ab-90cf-0a291f65f57c
* first part of new build systemHans Ulrich Niedermann2005-04-141-12/+21
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7829 67ed7778-7388-44ab-90cf-0a291f65f57c
* clean up files for distcleancheckHans Ulrich Niedermann2003-08-241-0/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6675 67ed7778-7388-44ab-90cf-0a291f65f57c
* deletes line per Uli's ackArnaud Launay2002-11-231-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5787 67ed7778-7388-44ab-90cf-0a291f65f57c
* add an extra blank lineArnaud Launay2002-11-231-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5783 67ed7778-7388-44ab-90cf-0a291f65f57c
* added version/feature reporting functionalityHans Ulrich Niedermann2002-11-081-0/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5563 67ed7778-7388-44ab-90cf-0a291f65f57c
* define CAMLIBS as camlibdirHans Ulrich Niedermann2002-11-061-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5543 67ed7778-7388-44ab-90cf-0a291f65f57c
* - modify config.h locationArnaud Launay2002-09-141-0/+1
| | | | | | | - add intl dir in include dirs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@5277 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-06-14 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-06-141-1/+1
| | | | | | | | * libgphoto2/Makefile.am: * configure.in: Fix (?) -version-info git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4666 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-02-13 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-02-131-1/+2
| | | | | | | | * libgphoto2/Makefile.am: * configure.in: Introduce versions. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4146 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-29 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-01-291-3/+4
| | | | | | | | | | | | | * Makefile.am * configure.in * libgphoto2/Makefile.am * libgphoto2/gphoto2-filesys.c * acconfig.h * libexif: Remove libexif and check in configure.in if there is a libexif installed on the system. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4033 67ed7778-7388-44ab-90cf-0a291f65f57c
* * **/Makefile.am: Do not use $(prefix)/lib/, but $(libdir).Marcus Meissner2002-01-251-1/+1
| | | | | | | | On some architecturs $(libdir) might not be /lib/, but /lib64/ (on s390x for instance). git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4010 67ed7778-7388-44ab-90cf-0a291f65f57c
* Translation fixes.Lutz Mueller2002-01-161-1/+2
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3924 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-01-161-1/+3
| | | | | | | | * libexif: New * libgphoto2/gphoto2-filesys.c: Use libexif git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3915 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-16 Lutz M�ller <lutz@users.sourceforge.net>Lutz Mueller2002-01-151-2/+0
| | | | | | | | | Black magic by Marcus Meissner <marcus@jet.franken.de>: find . -type f | xargs grep -l gp_debug_printf | xargs perl -pi -e 's/gp_debug_printf\(\s*GP_DEBUG[^,]*,[^,]*,(.*)$/GP_DEBUG(\1/' git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3902 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2002-01-101-0/+2
| | | | | | | | | | | | | * libgphoto2/Makefile.am * libgphoto2/gphoto2-context.[c,h]: New files * libgphoto2/gphoto2-abilities-list.[c,h] (gp_abilities_list_load_ctx): Sample function for showing the benefits of above new files. * frontends/command-line/main.c: Use gp_abilities_list_load_ctx to make that operation cancellable. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3793 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2002-01-02 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2002-01-021-1/+1
| | | | | | | | | * libgphoto2/Makefile.am * camlibs/ * /Makefile.am: Install drivers into versioned subdirectories. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3648 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-13 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-131-0/+1
| | | | | | | * libgphoto2: Use ltdl.h if available git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3502 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-071-1/+3
| | | | | | | | | * configure.in: Remove some cruft that survived my auto[make,conf] cleanup * libgphoto2/Makefile.am: LIBADD libgphoto2_port.la git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3421 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-12-051-1/+2
| | | | | | | $builddir != $srcdir fixes. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3402 67ed7778-7388-44ab-90cf-0a291f65f57c
* * configure.inDan Fandrich2001-11-291-1/+1
| | | | | | | | | | | | * frontends/command-line/Makefile.am * libgphoto2/Makefile.am * libgphoto2_port/configure.in * libgphoto2_port/libgphoto2_port/Makefile.am: libtool won't generate shared dlopenable libraries when given -lintl and libintl is a static library. Now, only use -lintl when linking other targets. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3289 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-11-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-11-121-2/+2
| | | | | | | | | | | * configure.in: * libgphoto2/libgphoto-2.0.pc.in: Renamed to ... * libgphoto2/libgphoto2.pc.in: ... this. It seems that people really want our project to be called libgphoto2 and not libgphoto... Therefore, be consistent here, too. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2999 67ed7778-7388-44ab-90cf-0a291f65f57c
* Remove cruft.Lutz Mueller2001-11-091-5/+3
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2977 67ed7778-7388-44ab-90cf-0a291f65f57c
* Documentation fixesLutz Mueller2001-10-271-1/+0
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2798 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-26 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-261-1/+3
| | | | | | | | * include: Move everything from here ... * libgphoto2: ... to here. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2772 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-23 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-231-2/+0
| | | | | | | | | | | | | * libgphoto2/gphoto2-core.[c,h]: Removed. All functions redirected to gphoto2-abilities-list. Caching of this list should be done in the frontend. * frontends/command-line/main.c: Don't use gp_autodetect, use gp_abilities_list_detect instead. * libgphoto2/setting.c: Move some initialization stuff from gphoto2-core to here. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2705 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-21 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-211-1/+1
| | | | | | | | | | * doc/api: Some additions * libgphoto2/Makefile.am * libgphoto2/gphoto2-library.c: Dummy file, needed by gtk-doc * libgphoto2/gphoto2-camera.[c,h]: Updated documentation git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2680 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-20 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-201-1/+2
| | | | | | | | | | | * camlibs/kodak/dc240/library.c: Don't access a CameraFile directly. This lets us ... * libgphoto2/gphoto2-file.[c,h]: ... make internals of CameraFile private. Header file moved from include over to here in order to prepare for documentation git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2654 67ed7778-7388-44ab-90cf-0a291f65f57c
* moved docs to DOC_DIRHans Ulrich Niedermann2001-10-191-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2626 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-161-1/+1
| | | | | | | | | | | * README: no glib-dependency any more * camlibs: gp_abilities_new doesn't exist any more * doc/api: Even more documentation * libgphoto2/gphoto2-abiltiies.h: Cleaned up. * libgphoto2/gphoto2-abilities-list.c: Documented git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2569 67ed7778-7388-44ab-90cf-0a291f65f57c
* 2001-10-17 Lutz M�ller <urc8@rz.uni-karlsruhe.de>Lutz Mueller2001-10-161-1/+2
| | | | | | | * libgphoto2/gphoto2-camera.[c,h]: Documented git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2566 67ed7778-7388-44ab-90cf-0a291f65f57c
* Use $(includedir)Lutz Mueller2001-10-161-1/+1
| | | | git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2534 67ed7778-7388-44ab-90cf-0a291f65f57c