Add packaging
[platform/upstream/libtsm.git] / Makefile.am
index d480820..2c5388b 100644 (file)
@@ -7,7 +7,7 @@
 # Library Version Numbers
 #
 
-LIBTSM_CURRENT = 1
+LIBTSM_CURRENT = 3
 LIBTSM_REVISION = 0
 LIBTSM_AGE = 0
 
@@ -30,6 +30,7 @@ include_HEADERS =
 EXTRA_DIST = \
        README \
        COPYING \
+       LICENSE_htable \
        NEWS \
        docs/libtsm.pc.in \
        docs/libtsm.sym
@@ -64,8 +65,7 @@ AM_CFLAGS = \
        -fno-strict-aliasing \
        -fvisibility=hidden \
        -ffunction-sections \
-       -fdata-sections \
-       -fstack-protector
+       -fdata-sections
 AM_CPPFLAGS = \
        -include $(top_builddir)/config.h \
        -I $(srcdir)/src
@@ -108,21 +108,14 @@ libshl_la_LIBADD = $(AM_LIBADD)
 #
 
 lib_LTLIBRARIES += libtsm.la
-include_HEADERS += \
-       src/tsm_screen.h \
-       src/tsm_unicode.h \
-       src/tsm_vte.h \
-       src/libtsm.h
+include_HEADERS += src/libtsm.h
 pkgconfig_DATA += docs/libtsm.pc
 
 libtsm_la_SOURCES = \
        src/libtsm.h \
        src/libtsm_int.h \
-       src/tsm_unicode.h \
        src/tsm_unicode.c \
-       src/tsm_screen.h \
        src/tsm_screen.c \
-       src/tsm_vte.h \
        src/tsm_vte.c \
        src/tsm_vte_charsets.c \
        external/wcwidth.h \
@@ -146,8 +139,10 @@ endif
 #
 
 if BUILD_HAVE_CHECK
-check_PROGRAMS += test_hashtable
-TESTS += test_hashtable
+check_PROGRAMS += \
+       test_htable
+TESTS += \
+       test_htable
 endif
 
 test_sources = \
@@ -161,10 +156,10 @@ test_cflags = \
 test_lflags = \
        $(AM_LDFLAGS)
 
-test_hashtable_SOURCES = test/test_hashtable.c $(test_sources)
-test_hashtable_CPPFLAGS = $(test_cflags)
-test_hashtable_LDADD = $(test_libs)
-test_hashtable_LDFLAGS = $(test_lflags)
+test_htable_SOURCES = test/test_htable.c $(test_sources)
+test_htable_CPPFLAGS = $(test_cflags)
+test_htable_LDADD = $(test_libs)
+test_htable_LDFLAGS = $(test_lflags)
 
 #
 # Phony targets