X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=tools%2FMakefile.am;h=82301a610dd249b40d1b629b65609df2fd80ef98;hp=ff743579233e7602d323346e9e145db20d5e274b;hb=4186f8c308d9450353520a88eb5a5ee3940281d3;hpb=3e12c9cf2b9c069a0ca431f907a272daa0cf3776 diff --git a/tools/Makefile.am b/tools/Makefile.am index ff74357..82301a6 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,6 +1,9 @@ -lib_LTLIBRARIES = libopen.la +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 -libopen_la_SOURCES = libopen.c +all: libopen.so.0.0 -install-exec-local: -$(LIBTOOL) --mode=install install libopen.la $(DESTDIR)/usr/lib \ No newline at end of file +CLEANFILES = libopen.so.0.0 + +install: all + $(INSTALL) libopen.so.0.0 $(DESTDIR)/usr/lib