1 PORT_SRC_DIR
= $(SRC
)/Device
/Port
4 $(SRC
)/Device
/Port
/Port.
cpp \
5 $(SRC
)/Device
/Port
/BufferedPort.
cpp \
6 $(SRC
)/Device
/Port
/SocketPort.
cpp \
7 $(SRC
)/Device
/Port
/TCPPort.
cpp \
8 $(SRC
)/Device
/Port
/K6BtPort.
cpp \
9 $(SRC
)/Device
/Port
/NullPort.
cpp
11 ifeq ($(HAVE_POSIX
),y
)
13 $(SRC
)/Device
/Port
/TTYEnumerator.
cpp \
14 $(SRC
)/Device
/Port
/TTYPort.
cpp
16 PORT_SOURCES
+= $(SRC
)/Device
/Port
/SerialPort.
cpp
20 PORT_SOURCES
+= $(SRC
)/Device
/Port
/Widcomm.
cpp
24 PORT_SOURCES
+= $(SRC
)/Device
/Port
/DumpPort.
cpp
27 $(eval
$(call link-library
,port
,PORT
))
29 ifeq ($(TARGET
),ANDROID
)
30 # broken Android headers
31 $(call SRC_TO_OBJ
,$(SRC
)/Device
/Port
/SocketPort.
cpp): CXXFLAGS
+= -Wno-cast-align
32 $(call SRC_TO_OBJ
,$(SRC
)/Device
/Port
/TCPPort.
cpp): CXXFLAGS
+= -Wno-cast-align
35 ifeq ($(HAVE_POSIX
),n
)
36 # broken mingw32 4.4 headers
37 $(call SRC_TO_OBJ
,$(SRC
)/Device
/Port
/SocketPort.
cpp): CXXFLAGS
+= -Wno-sign-compare
38 $(call SRC_TO_OBJ
,$(SRC
)/Device
/Port
/TCPPort.
cpp): CXXFLAGS
+= -Wno-sign-compare