From 685d1c4a5a48426c0aee0724528b1195bcef3c38 Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 26 Jan 2008 19:23:54 +0000 Subject: * Add spidev reader driver * restructure automake usage, introduce shared Makefile.flags.am git-svn-id: https://svn.gnumonks.org/trunk/librfid@2047 e0336214-984f-0b4b-a45f-81c69e1f0ede --- Makefile.flags.am | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile.flags.am (limited to 'Makefile.flags.am') diff --git a/Makefile.flags.am b/Makefile.flags.am new file mode 100644 index 0000000..c6c4844 --- /dev/null +++ b/Makefile.flags.am @@ -0,0 +1,18 @@ +LIBVERSION= 0:0:0 + +AM_CFLAGS = -std=gnu99 +INCLUDES = $(all_includes) -I$(top_srcdir)/include + +if ENABLE_WIN32 +AM_LDFLAGS = -mno-cygwin +AM_CFLAGS += -mno-cygwin +else +if HAVE_LIBUSB +AM_LDFLAGS = -lusb +AM_CFLAGS += -DHAVE_LIBUSB +endif +endif + +if ENABLE_FIRMWARE +AM_CFLAGS += -DLIBRFID_FIRMWARE +endif -- cgit v1.2.3