blob: b45f78bda8dfaacad8ccb9bcbcccbfdd1463343e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
LOCAL_PATH:= $(call my-dir)
#
# libnfc
#
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
#phLibNfc
LOCAL_SRC_FILES:= \
src/phLibNfc.c \
src/phLibNfc_discovery.c \
src/phLibNfc_initiator.c \
src/phLibNfc_llcp.c \
src/phLibNfc_Ioctl.c \
src/phLibNfc_ndef_raw.c \
src/phLibNfc_SE.c \
src/phLibNfc_target.c
#phHalNfc
LOCAL_SRC_FILES += src/phHal4Nfc_ADD.c
LOCAL_SRC_FILES += src/phHal4Nfc.c
LOCAL_SRC_FILES += src/phHal4Nfc_Emulation.c
LOCAL_SRC_FILES += src/phHal4Nfc_P2P.c
LOCAL_SRC_FILES += src/phHal4Nfc_Reader.c
#phDnldNfc
LOCAL_SRC_FILES += src/phDnldNfc.c
#phHciNfc
LOCAL_SRC_FILES += src/phHciNfc_AdminMgmt.c
LOCAL_SRC_FILES += src/phHciNfc.c
LOCAL_SRC_FILES += src/phHciNfc_CE_A.c
LOCAL_SRC_FILES += src/phHciNfc_CE_B.c
LOCAL_SRC_FILES += src/phHciNfc_DevMgmt.c
LOCAL_SRC_FILES += src/phHciNfc_Emulation.c
LOCAL_SRC_FILES += src/phHciNfc_Felica.c
LOCAL_SRC_FILES += src/phHciNfc_Generic.c
LOCAL_SRC_FILES += src/phHciNfc_IDMgmt.c
LOCAL_SRC_FILES += src/phHciNfc_ISO15693.c
LOCAL_SRC_FILES += src/phHciNfc_Jewel.c
LOCAL_SRC_FILES += src/phHciNfc_LinkMgmt.c
LOCAL_SRC_FILES += src/phHciNfc_NfcIPMgmt.c
LOCAL_SRC_FILES += src/phHciNfc_Pipe.c
LOCAL_SRC_FILES += src/phHciNfc_PollingLoop.c
LOCAL_SRC_FILES += src/phHciNfc_RFReaderA.c
LOCAL_SRC_FILES += src/phHciNfc_RFReaderB.c
LOCAL_SRC_FILES += src/phHciNfc_RFReader.c
LOCAL_SRC_FILES += src/phHciNfc_Sequence.c
LOCAL_SRC_FILES += src/phHciNfc_SWP.c
LOCAL_SRC_FILES += src/phHciNfc_WI.c
#phLlcNfc
LOCAL_SRC_FILES += src/phLlcNfc.c
LOCAL_SRC_FILES += src/phLlcNfc_Frame.c
LOCAL_SRC_FILES += src/phLlcNfc_Interface.c
LOCAL_SRC_FILES += src/phLlcNfc_StateMachine.c
LOCAL_SRC_FILES += src/phLlcNfc_Timer.c
#phFricNfc_Llcp
LOCAL_SRC_FILES += src/phFriNfc_Llcp.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpUtils.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpTransport.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpTransport_Connectionless.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpTransport_Connection.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpMac.c
LOCAL_SRC_FILES += src/phFriNfc_LlcpMacNfcip.c
#phFriNfc_NdefMap
LOCAL_SRC_FILES += src/phFriNfc_FelicaMap.c
LOCAL_SRC_FILES += src/phFriNfc_MifareStdMap.c
LOCAL_SRC_FILES += src/phFriNfc_MifareULMap.c
LOCAL_SRC_FILES += src/phFriNfc_MapTools.c
LOCAL_SRC_FILES += src/phFriNfc_TopazMap.c
LOCAL_SRC_FILES += src/phFriNfc_TopazDynamicMap.c
LOCAL_SRC_FILES += src/phFriNfc_DesfireMap.c
LOCAL_SRC_FILES += src/phFriNfc_ISO15693Map.c
LOCAL_SRC_FILES += src/phFriNfc_NdefMap.c
LOCAL_SRC_FILES += src/phFriNfc_IntNdefMap.c
#phFriNfc_NdefReg
LOCAL_SRC_FILES += src/phFriNfc_NdefReg.c
#phFriNfc_SmtCrdFmt
LOCAL_SRC_FILES += src/phFriNfc_DesfireFormat.c
LOCAL_SRC_FILES += src/phFriNfc_MifULFormat.c
LOCAL_SRC_FILES += src/phFriNfc_MifStdFormat.c
LOCAL_SRC_FILES += src/phFriNfc_SmtCrdFmt.c
LOCAL_SRC_FILES += src/phFriNfc_ISO15693Format.c
#phFriNfc_OvrHal
LOCAL_SRC_FILES += src/phFriNfc_OvrHal.c
#phOsalNfc
LOCAL_SRC_FILES += Linux_x86/phOsalNfc_Timer.c
LOCAL_SRC_FILES += Linux_x86/phOsalNfc.c
LOCAL_SRC_FILES += Linux_x86/phOsalNfc_Utils.c
#phDal4Nfc
LOCAL_SRC_FILES += Linux_x86/phDal4Nfc_uart.c
LOCAL_SRC_FILES += Linux_x86/phDal4Nfc.c
LOCAL_SRC_FILES += Linux_x86/phDal4Nfc_i2c.c
LOCAL_SRC_FILES += Linux_x86/phDal4Nfc_messageQueueLib.c
LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -DNFC_TIMER_CONTEXT -fno-strict-aliasing
# Uncomment for Chipset command/responses
# Or use "setprop debug.nfc.LOW_LEVEL_TRACES" at run-time
# LOCAL_CFLAGS += -DLOW_LEVEL_TRACES
# Uncomment for DAL traces
# LOCAL_CFLAGS += -DDEBUG -DDAL_TRACE
# Uncomment for LLC traces
# LOCAL_CFLAGS += -DDEBUG -DLLC_TRACE
# Uncomment for LLCP traces
# LOCAL_CFLAGS += -DDEBUG -DLLCP_TRACE
# Uncomment for HCI traces
# LOCAL_CFLAGS += -DDEBUG -DHCI_TRACE
#includes
LOCAL_CFLAGS += -I$(LOCAL_PATH)/inc
LOCAL_CFLAGS += -I$(LOCAL_PATH)/Linux_x86
LOCAL_CFLAGS += -I$(LOCAL_PATH)/src
LOCAL_MODULE:= libnfc
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libcutils libnfc_ndef libdl libhardware
include $(BUILD_SHARED_LIBRARY)
#
# libnfc_ndef
#
include $(CLEAR_VARS)
LOCAL_SRC_FILES += src/phFriNfc_NdefRecord.c
LOCAL_CFLAGS += -I$(LOCAL_PATH)/inc
LOCAL_CFLAGS += -I$(LOCAL_PATH)/src
LOCAL_MODULE:= libnfc_ndef
LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libcutils
include $(BUILD_SHARED_LIBRARY)
|