summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-04 07:16:05 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-12-04 07:16:05 +0000
commit00efa8f03d10fb83d6ffbdc1eb5bea28a2501ac1 (patch)
treef56eaf32ab3723f07357b749812916541fd61964 /utils
parentf0a3a3f8c4f39dfacf2d370bd23b27cd5b3358bf (diff)
- only link with openct if we need it
- don't try to build the utilities if we're cross-compiling for in-firmware git-svn-id: https://svn.gnumonks.org/trunk/librfid@1931 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 7ad826e..7786f77 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -1,5 +1,7 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include
+if ENABLE_FIRMWARE
+else
bin_PROGRAMS = librfid-tool mifare-tool send_script
librfid_tool_SOURCES = librfid-tool.c common.c
@@ -13,5 +15,4 @@ send_script_LDFLAGS = -dynamic
mifare_tool_SOURCES = mifare-tool.c common.c
mifare_tool_LDADD = ../src/librfid.la
mifare_tool_LDFLAGS = -dynamic
-
-
+endif
personal git repositories of Harald Welte. Your mileage may vary