summaryrefslogtreecommitdiff
path: root/pkg/libnl/gen.rc
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/libnl/gen.rc')
-rw-r--r--pkg/libnl/gen.rc55
1 files changed, 0 insertions, 55 deletions
diff --git a/pkg/libnl/gen.rc b/pkg/libnl/gen.rc
deleted file mode 100644
index 90abf3ea..00000000
--- a/pkg/libnl/gen.rc
+++ /dev/null
@@ -1,55 +0,0 @@
-cflags\
- -D _GNU_SOURCE\
- -D 'SYSCONFDIR=''"/etc/libnl"''' \
- -I include\
- -I '$dir' \
- -I '$outdir'/include\
- -I '$srcdir'/include\
- -I '$srcdir'/include/linux-private
-
-hdrs=include/netlink/^(\
- addr.h\
- attr.h\
- cache.h\
- cache-api.h\
- data.h\
- errno.h\
- handlers.h\
- hash.h\
- hashtable.h\
- list.h\
- msg.h\
- netlink.h\
- netlink-compat.h\
- netlink-kernel.h\
- object.h\
- object-api.h\
- socket.h\
- types.h\
- utils.h\
- genl/^(ctrl.h family.h genl.h mngt.h)\
-)
-for(hdr in $hdrs) build '$outdir'/$hdr copy '$srcdir'/$hdr
-build '$outdir'/include/netlink/version.h sed '$srcdir'/include/netlink/version.h.in ; exprs=(\
- -e s,@PACKAGE_STRING@,'''libnl 3.3.0''',\
- -e s,@PACKAGE_VERSION@,3.3.0,\
- -e s,@MAJ_VERSION@,3,\
- -e s,@MIN_VERSION@,3,\
- -e s,@MIC_VERSION@,0,\
- -e s,@LT_CURRENT@,225,\
- -e s,@LT_REVISION@,0,\
- -e s,@LT_AGE@,25,\
-) with expr $"exprs
-hdrs=($hdrs include/netlink/version.h)
-phony headers '$outdir'/$hdrs
-
-lib libnl-3.a -d '$dir'/headers lib/^(\
- addr.c attr.c cache.c cache_mngr.c cache_mngt.c data.c\
- error.c handlers.c msg.c nl.c object.c socket.c utils.c\
- version.c hash.c hashtable.c\
-)
-
-lib libnl-genl-3.a -d '$dir'/headers\
- lib/genl/^(ctrl.c family.c genl.c mngt.c)
-
-fetch git