libqrtr: Extract the lib from the src directory
Extract the libqrtr source and header file to a separate directory, making it more convinient to include the header file from other projects. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
763db9812c
commit
18fc98b858
4
Makefile
4
Makefile
@ -27,9 +27,9 @@ $(proj)-lookup-srcs := \
|
|||||||
src/util.c \
|
src/util.c \
|
||||||
|
|
||||||
lib$(proj).so-srcs := \
|
lib$(proj).so-srcs := \
|
||||||
src/lib.c \
|
lib/libqrtr.c \
|
||||||
|
|
||||||
lib$(proj).so-cflags := -fPIC
|
lib$(proj).so-cflags := -fPIC -Isrc
|
||||||
|
|
||||||
targets := $(proj)-ns $(proj)-lookup lib$(proj).so
|
targets := $(proj)-ns $(proj)-lookup lib$(proj).so
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
|
||||||
#include "qrtr.h"
|
#include "qrtr.h"
|
||||||
#include "lib.h"
|
#include "libqrtr.h"
|
||||||
#include "ns.h"
|
#include "ns.h"
|
||||||
|
|
||||||
#define LOGW(fmt, ...) do { fprintf(stderr, "W|qrtr: " fmt "\n", ##__VA_ARGS__); } while (0)
|
#define LOGW(fmt, ...) do { fprintf(stderr, "W|qrtr: " fmt "\n", ##__VA_ARGS__); } while (0)
|
Loading…
Reference in New Issue
Block a user