hamlib/src/Android.mk
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00

46 lines
1.1 KiB
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
../android/ltdl.c \
rig.c \
serial.c \
misc.c \
register.c \
event.c \
cal.c \
conf.c \
tones.c \
rotator.c \
locator.c \
rot_reg.c \
rot_conf.c \
iofunc.c \
ext.c \
mem.c \
settings.c \
parallel.c \
debug.c \
network.c \
sleep.c \
gpio.c \
microham.c \
rot_ext.c \
cm108.c \
sprintflst.c
LOCAL_MODULE := libhamlib
LOCAL_CFLAGS :=
LOCAL_C_INCLUDES := android include
LOCAL_STATIC_LIBRARIES := adat alinco amsat aor ars barrett celestron cnctrk \
dorji drake dummy easycomm elad ether6 flexradio fodtrack \
gs232a heathkit icmarine icom ioptron jrc kachina kenwood kit \
lowe m2 meade pcr prm80 prosistel racal rft \
rotorez rs sartek satel skanti spid tapr tentec ts7400 tuner \
uniden wj yaesu radant androidsensor
LOCAL_LDLIBS := -llog -landroid
include $(BUILD_SHARED_LIBRARY)