Skip to content

Commit

Permalink
Soooo fragile :-))))
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Sep 12, 2011
1 parent e8eec58 commit f6fc637
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
5 changes: 5 additions & 0 deletions examples/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,9 @@ dist_man_MANS = \
pn53x-sam.1 \
pn53x-tamashell.1

if HAS_LOG4C
AM_CFLAGS += @log4c_CFLAGS@
LIBADD = @log4c_LIBS@
endif

EXTRA_DIST = CMakeLists.txt
1 change: 1 addition & 0 deletions include/nfc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

nfcinclude_HEADERS = \
iso7816.h \
nfc.h \
nfc-emulation.h \
nfc-types.h
Expand Down
4 changes: 2 additions & 2 deletions libnfc/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ if LIBUSB_ENABLED
endif

if HAS_LOG4C
libnfc_la_CFLAGS += $(log4c_CFLAGS)
libnfc_la_LIBADD += $(log4c_LIBS)
libnfc_la_CFLAGS += @log4c_CFLAGS@
libnfc_la_LIBADD += @log4c_LIBS@

libnfc_la_SOURCES += log.c
endif
Expand Down
5 changes: 5 additions & 0 deletions libnfc/buses/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ libnfcbuses_la_SOURCES = uart.c
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc

EXTRA_DIST = uart_posix.c uart_win32.c

if HAS_LOG4C
libnfcbuses_la_CFLAGS += @log4c_CFLAGS@
libnfcbuses_la_LIBADD = @log4c_LIBS@
endif
7 changes: 7 additions & 0 deletions libnfc/chips/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ noinst_HEADERS = pn53x.h pn53x-internal.h
noinst_LTLIBRARIES = libnfcchips.la
libnfcchips_la_SOURCES = pn53x.c
libnfcchips_la_CFLAGS = -I$(top_srcdir)/libnfc


if HAS_LOG4C
libnfcchips_la_CFLAGS += @log4c_CFLAGS@
libnfcchips_la_LIBADD = @log4c_LIBS@
endif

5 changes: 5 additions & 0 deletions libnfc/drivers/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ if LIBUSB_ENABLED
libnfcdrivers_la_LIBADD += @libusb_LIBS@
endif

if HAS_LOG4C
libnfcdrivers_la_CFLAGS += @log4c_CFLAGS@
libnfcdrivers_la_LIBADD += @log4c_LIBS@
endif

0 comments on commit f6fc637

Please sign in to comment.