libopen: build with libtool
[enigma2.git] / tools / Makefile.am
index 82301a6..4e1e8ef 100644 (file)
@@ -1,9 +1,4 @@
-libopen.so.0.0: libopen.c
-       $(CXX) -Wall -W libopen.c -O2 -nostartfiles -shared -fPIC -Wl,-soname,libopen.so.0 -o libopen.so.0.0 -ldl
+lib_LTLIBRARIES = libopen.la
 
-all: libopen.so.0.0
-
-CLEANFILES = libopen.so.0.0
-
-install: all
-       $(INSTALL) libopen.so.0.0 $(DESTDIR)/usr/lib
+libopen_la_SOURCES = libopen.c
+libopen_la_LIBADD = -ldl