port of liblo

A lightweight Open Sound Control implementation

http://liblo.sourceforge.net/

Ref #47
This commit is contained in:
Emery Hemingway
2016-10-30 11:48:29 +01:00
committed by Norman Feske
parent 9c917acc37
commit aa91eb1857
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
LIBLO_PORT_DIR := $(call select_from_ports,liblo)
INC_DIR += $(LIBLO_PORT_DIR)/include

20
lib/mk/liblo.mk Normal file
View File

@@ -0,0 +1,20 @@
include $(REP_DIR)/lib/import/import-liblo.mk
LIBLO_SRC_DIR := $(LIBLO_PORT_DIR)/src/lib/liblo/src
LIBS := libc
CC_OPT += \
-DHAVE_CONFIG_H \
-D_POSIX_C_SOURCE=200112 \
-D__BSD_VISIBLE \
INC_DIR += \
$(REP_DIR)/src/lib/liblo \
$(LIBLO_PORT_DIR)/include/lo \
$(LIBLO_PORT_DIR)/include \
SRC_C := \
address.c send.c message.c server.c method.c \
blob.c bundle.c timetag.c pattern_match.c version.c
vpath %.c $(LIBLO_SRC_DIR)