Move nfc-emulate-forum-tag2 from utils to examples.

This commit is contained in:
Audrey Diacre 2011-11-24 10:27:02 +00:00
parent 322eec6fb1
commit ce846931bc
5 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
SET(EXAMPLES-SOURCES nfc-anticol nfc-dep-initiator nfc-dep-target nfc-emulate-tag nfc-emulate-uid nfc-poll nfc-relay) SET(EXAMPLES-SOURCES nfc-anticol nfc-dep-initiator nfc-dep-target nfc-emulate-forum-tag2 nfc-emulate-tag nfc-emulate-uid nfc-poll nfc-relay)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libnfc) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libnfc)

View file

@ -4,6 +4,7 @@ bin_PROGRAMS = \
nfc-anticol \ nfc-anticol \
nfc-dep-initiator \ nfc-dep-initiator \
nfc-dep-target \ nfc-dep-target \
nfc-emulate-forum-tag2 \
nfc-emulate-tag \ nfc-emulate-tag \
nfc-emulate-uid \ nfc-emulate-uid \
nfc-poll \ nfc-poll \
@ -33,6 +34,10 @@ nfc_relay_SOURCES = nfc-relay.c
nfc_relay_LDADD = $(top_builddir)/libnfc/libnfc.la \ nfc_relay_LDADD = $(top_builddir)/libnfc/libnfc.la \
$(top_builddir)/utils/libnfcutils.la $(top_builddir)/utils/libnfcutils.la
nfc_emulate_forum_tag2_SOURCES = nfc-emulate-forum-tag2.c
nfc_emulate_forum_tag2_LDADD = $(top_builddir)/libnfc/libnfc.la \
$(top_builddir)/utils/libnfcutils.la
nfc_emulate_tag_SOURCES = nfc-emulate-tag.c nfc_emulate_tag_SOURCES = nfc-emulate-tag.c
nfc_emulate_tag_LDADD = $(top_builddir)/libnfc/libnfc.la \ nfc_emulate_tag_LDADD = $(top_builddir)/libnfc/libnfc.la \
$(top_builddir)/utils/libnfcutils.la $(top_builddir)/utils/libnfcutils.la

View file

@ -69,7 +69,7 @@
#include <nfc/nfc.h> #include <nfc/nfc.h>
#include <nfc/nfc-emulation.h> #include <nfc/nfc-emulation.h>
#include "nfc-utils.h" #include "utils/nfc-utils.h"
static nfc_device *pnd; static nfc_device *pnd;

View file

@ -1,4 +1,4 @@
SET(UTILS-SOURCES nfc-emulate-forum-tag2 nfc-emulate-forum-tag4 nfc-list nfc-relay-picc nfc-mfclassic nfc-mfultralight) SET(UTILS-SOURCES nfc-emulate-forum-tag4 nfc-list nfc-relay-picc nfc-mfclassic nfc-mfultralight)
ADD_LIBRARY(nfcutils STATIC ADD_LIBRARY(nfcutils STATIC
nfc-utils.c nfc-utils.c

View file

@ -1,5 +1,4 @@
bin_PROGRAMS = \ bin_PROGRAMS = \
nfc-emulate-forum-tag2 \
nfc-emulate-forum-tag4 \ nfc-emulate-forum-tag4 \
nfc-list \ nfc-list \
nfc-mfclassic \ nfc-mfclassic \
@ -18,10 +17,6 @@ noinst_LTLIBRARIES = libnfcutils.la
libnfcutils_la_SOURCES = nfc-utils.c libnfcutils_la_SOURCES = nfc-utils.c
nfc_emulate_forum_tag2_SOURCES = nfc-emulate-forum-tag2.c
nfc_emulate_forum_tag2_LDADD = $(top_builddir)/libnfc/libnfc.la \
libnfcutils.la
nfc_emulate_forum_tag4_SOURCES = nfc-emulate-forum-tag4.c nfc_emulate_forum_tag4_SOURCES = nfc-emulate-forum-tag4.c
nfc_emulate_forum_tag4_LDADD = $(top_builddir)/libnfc/libnfc.la \ nfc_emulate_forum_tag4_LDADD = $(top_builddir)/libnfc/libnfc.la \
libnfcutils.la libnfcutils.la