* 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
48 lines
879 B
Makefile
48 lines
879 B
Makefile
## Process this file with automake to create a GNU Makefile
|
|
|
|
EXTRA_DIST = makefile.os2
|
|
|
|
bin_PROGRAMS = gphoto2
|
|
|
|
CFLAGS = @CFLAGS@ -g
|
|
|
|
INCLUDES = \
|
|
-DGPHOTO2_LOCALEDIR=\""$(datadir)/locale"\" \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_srcdir)/libgphoto2 \
|
|
-I$(top_srcdir) \
|
|
$(AA_CFLAGS)
|
|
|
|
if HAVE_CDK
|
|
CDK_FILES = gphoto2-cmd-config.c gphoto2-cmd-config.h
|
|
else
|
|
CDK_FILES =
|
|
endif
|
|
|
|
if HAVE_AA
|
|
AA_FILES = gphoto2-cmd-capture.c gphoto2-cmd-capture.h
|
|
else
|
|
AA_FILES =
|
|
endif
|
|
|
|
LDFLAGS = @LDFLAGS@ -g
|
|
gphoto2_SOURCES = \
|
|
$(AA_FILES) \
|
|
$(CDK_FILES) \
|
|
actions.c actions.h \
|
|
foreach.c foreach.h \
|
|
globals.h \
|
|
interface.c interface.h \
|
|
main.c main.h \
|
|
options.c options.h \
|
|
range.c range.h \
|
|
shell.c shell.h
|
|
|
|
gphoto2_LDFLAGS = -export-dynamic
|
|
|
|
gphoto2_LDADD = \
|
|
../../libgphoto2/libgphoto2.la \
|
|
$(CDK_LIBS) $(AA_LIBS) \
|
|
$(JPEG_LIBS) \
|
|
$(INTLLIBS)
|