summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2012-05-25 22:03:06 +0200
committerGravatar Stefan Richter 2012-05-25 22:19:43 +0200
commitd2936622ab3eb782c56364988d1ea63b3448ea49 (patch)
treeb003b284391b67d004838c31d28b16d051163fb7 /src/Makefile.am
parentAdd firewire-{cdev,constants}.h from Linux v3.4 (diff)
Include local firewire-*.h instead of system-wide <linux/firewire-*.h>
This guarantees that all features of libraw1394 are actually built in. Before, some features and fixes would be silently dropped if too old system headers (typically provided by a package called linux-headers) were present. An alternative would be to keep using system headers but add warnings during the ./configure stage if old headers were encountered. But this helps only the person who builds libraw1394 (if there is a person involved at all), not the users who have no reliable way to determine how the library binary was built. Another alternative would be to change the former soft dependency on certain linux-headers versions into a hard dependency, i.e. fail the build in absence of too old headers. This would add an inconvenience in setting up the build environment though: The system headers would have to be updated or a private copy of linux/firewire-*.h be specified by way of the --with-fw-dir configure switch. Anyhow. The libraw1394 sources now already bring a suitable copy of the two header files. The --with-fw-dir configure switch is no longer useful and is removed. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 79ee407..26deb68 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,12 +6,6 @@ lib_LTLIBRARIES = libraw1394.la
libraw1394_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@
-if WITH_FW_DIR
-INCLUDES = -I$(FW_DIR)
-else
-INCLUDES =
-endif
-
libraw1394_la_SOURCES = \
main.c \
eventloop.c \
@@ -27,8 +21,9 @@ libraw1394_la_SOURCES = \
dispatch.c \
fw.c \
fw-iso.c \
- fw.h
-
+ fw.h \
+ firewire-cdev.h \
+ firewire-constants.h
# headers to be installed
pkginclude_HEADERS = raw1394.h csr.h ieee1394.h
ww.gravatar.com/avatar/057c88e252e6014828d96132dd358a67?s=13&d=retro' width='13' height='13' alt='Gravatar' /> gingerBill 1-386/+526 2016-04-10New gb.h!!!!Gravatar gingerBill 1-370/+1414 2016-04-10License UpdateGravatar gingerBill 1-45/+40 2016-04-08Update README.mdGravatar gingerBill 1-1/+1 2016-04-08Use 64-bit murmur64 version on WIN64Gravatar gingerBill 1-3/+3 2016-04-08Update gb_math.hGravatar gingerBill 1-5/+6 2016-04-08Fix strict aliasing in gb_quake_inv_sqrtGravatar gingerBill 1-11/+13 2016-04-08Update gb_math.hGravatar gingerBill 1-1/+2 2016-04-08gb_math.h v0.04a - Minor bug fixesGravatar gingerBill 1-45/+50 2016-04-08Update README.mdGravatar gingerBill 1-2/+1 2016-04-08Delete gb_math.hppGravatar gingerBill 1-3882/+0 2016-04-08gb_math.h - v0.04 - Namespace everything with gbGravatar gingerBill 1-340/+1484 2016-03-03Update gb.h - v0.02Gravatar gingerBill 1-38/+59 2016-03-03New LibrariesGravatar gingerBill 3-2101/+1219 2016-01-01Explicit Everything!Gravatar gingerBill 4-306/+241 2015-12-17Macro fixesGravatar gingerBill 3-58/+75 2015-12-17Change conventions slightlyGravatar gingerBill 4-1041/+1069 2015-12-15Remove C++ specific macrosGravatar gingerBill 1-19/+2 2015-12-15Allow for no <stdio.h>Gravatar gingerBill 2-18/+32 2015-12-14gb.hpp - Allocators can be passed to gb_alloc/free/etc. without cast using `t...Gravatar gingerBill 3-33/+126 2015-12-14Update README.mdGravatar gingerBill 1-1/+1 2015-12-14gb.h - Implement all functions (from gb.hpp)Gravatar gingerBill 3-247/+1983 2015-12-14Update README.mdGravatar gingerBill 1-0/+1