diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-30 13:57:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-30 13:57:29 +0000 |
commit | 938553bd69d1484b9d25495da4e7c2f09927638c (patch) | |
tree | caace55defd2b5d38382a27ea1ae384c1f8ecc80 /package/libnl-tiny/src/Makefile | |
parent | 4e12c9d210531b67d6428cb15e763f49decd8199 (diff) | |
download | master-31e0f0ae-938553bd69d1484b9d25495da4e7c2f09927638c.tar.gz master-31e0f0ae-938553bd69d1484b9d25495da4e7c2f09927638c.tar.bz2 master-31e0f0ae-938553bd69d1484b9d25495da4e7c2f09927638c.zip |
add libnl-tiny as a small replacement for libnl with only genl support included
SVN-Revision: 15507
Diffstat (limited to 'package/libnl-tiny/src/Makefile')
-rw-r--r-- | package/libnl-tiny/src/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/libnl-tiny/src/Makefile b/package/libnl-tiny/src/Makefile new file mode 100644 index 0000000000..f684155ecc --- /dev/null +++ b/package/libnl-tiny/src/Makefile @@ -0,0 +1,17 @@ +CC=gcc +WFLAGS=-Wall +CFLAGS=-O2 +INCLUDES=-Iinclude + +LIBNAME=libnl-tiny.so + +all: $(LIBNAME) + +%.o: %.c + $(CC) $(WFLAGS) -c -o $@ $(INCLUDES) $(CFLAGS) $< + +LIBNL_OBJ=nl.o handlers.o msg.o attr.o cache.o cache_mngt.o object.o socket.o error.o +GENL_OBJ=genl.o genl_family.o genl_ctrl.o genl_mngt.o + +$(LIBNAME): $(LIBNL_OBJ) $(GENL_OBJ) + $(CC) -shared -o $@ $^ |