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