summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-03-12 00:37:48 +0000
committerStef Walter <stef@memberwebs.com>2006-03-12 00:37:48 +0000
commit300a80192acb2d86a90890694199d6054163bce8 (patch)
tree4942c4910d789333b93a6097860bf12926642872 /src/Makefile.am
parent26d89e90d1a253c70b411289b0f049e38344c7f6 (diff)
Build without lib prefix.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am11
1 files 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