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
15 lines
482 B
Makefile
15 lines
482 B
Makefile
utils_PROGRAMS = print-camera-list
|
|
if HAVE_UDEV
|
|
udevscript_SCRIPTS = check-ptp-camera
|
|
endif
|
|
EXTRA_DIST = check-ptp-camera
|
|
|
|
AM_CPPFLAGS += -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/libgphoto2_port -I$(top_srcdir)/libgphoto2 -I$(top_builddir)/libgphoto2
|
|
|
|
print_camera_list_SOURCE = print-camera-list.c
|
|
print_camera_list_LDADD = \
|
|
$(top_builddir)/libgphoto2/libgphoto2.la \
|
|
$(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
|
|
$(LIBLTDL) \
|
|
$(LIBEXIF_LIBS)
|