57 lines
841 B
Makefile
57 lines
841 B
Makefile
#
|
|
# config.mk
|
|
# Löwenware Makefile Config, 2019-03-02 17:35
|
|
#
|
|
|
|
PREFIX = /usr/
|
|
PKG_CONFIG = pkg-config
|
|
|
|
PROJECT_NAME = aisl
|
|
|
|
# Version
|
|
|
|
PROJECT_VERSION_MAJOR = 1
|
|
PROJECT_VERSION_MINOR = 0
|
|
PROJECT_VERSION_TWEAK = 0
|
|
PROJECT_VERSION_LABEL = 0
|
|
|
|
#SRC_DIR = src
|
|
#SDK_DIR = sdk
|
|
#OUT_DIR = ./build
|
|
|
|
|
|
# Source files
|
|
|
|
PROJECT_SOURCES := \
|
|
$(SRC_DIR)/instance.c \
|
|
$(SRC_DIR)/server.c \
|
|
$(SRC_DIR)/client.c \
|
|
$(SRC_DIR)/stream.c \
|
|
$(SRC_DIR)/http.c \
|
|
$(SRC_DIR)/ssl.c \
|
|
$(SRC_DIR)/list.c \
|
|
$(SRC_DIR)/str-utils.c \
|
|
$(SRC_DIR)/buffer.c \
|
|
$(SRC_DIR)/types.c \
|
|
|
|
|
|
# includes
|
|
PROJECT_INCLUDES = -I./ \
|
|
-I./include \
|
|
`$(PKG_CONFIG) --cflags openssl` \
|
|
|
|
# libraries
|
|
PROJECT_LIBRARIES = \
|
|
`$(PKG_CONFIG) --libs openssl` \
|
|
|
|
|
|
# flags
|
|
PROJECT_CFLAGS = -D_POSIX_C_SOURCE=200809L \
|
|
|
|
|
|
# PROJECT_LDFLAGS = -L
|
|
|
|
|
|
# vim:ft=make
|
|
#
|