From 300a80192acb2d86a90890694199d6054163bce8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 12 Mar 2006 00:37:48 +0000 Subject: Build without lib prefix. --- src/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 330114f..6f10233 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,9 +1,12 @@ INCLUDES = -DCONF_PREFIX=\"$(sysconfdir)\" -lib_LTLIBRARIES = libsnmp_regex.la -libsnmp_regex_la_LDFLAGS = -libsnmp_regex_la_SOURCES = regex_tree.c regex_tree.h regex_oid.h \ - bsnmp-regex.c + +moduledir = $(prefix)/lib +module_LTLIBRARIES = snmp_regex.la + +snmp_regex_la_LDFLAGS = -module +snmp_regex_la_SOURCES = regex_tree.c regex_tree.h regex_oid.h \ + bsnmp-regex.c regex_tree.c: regex-tree.def gensnmptree -p regex_ < regex-tree.def -- cgit v1.2.3