Add library.
[wrappi.git] / lib / Makefile.am
index 5e79bf3..937c29f 100644 (file)
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+include_HEADERS = wrappi.h
+
+lib_LTLIBRARIES = libwrappi.la
+
+# This produces version numbers of the form libwrappi.so.0.LIB_MINOR.0
+# where LIB_MINOR is a number that always increments but is otherwise
+# not interesting.
+libwrappi_la_LDFLAGS = -version-info $(LIB_MINOR):0:$(LIB_MINOR)
+
+libwrappi_la_SOURCES = \
+       wrappi.h \
+       wrappi.c