move gammu-related code to shared library

This commit is contained in:
Sergey Popov 2012-02-23 22:03:31 +04:00
parent 525675c96f
commit dad8fb8329
3 changed files with 7 additions and 4 deletions

View File

@ -1,11 +1,11 @@
SUBDIRS = lib
INCLUDES=${gammu_CFLAGS}
include_HEADERS = yasnd.h
yasnd_LDADD = ${libconfuse_LIBS}
yasnd_LDADD += ${gammu_LIBS}
yasnd_LDADD += lib/libyasnd.la
sbin_PROGRAMS = yasnd
yasnd_SOURCES = yasnd.c yasnd-gammu.c yasnd-ipc.c
yasnd_SOURCES = yasnd.c yasnd-ipc.c
distclean-local:
rm -rf aclocal.m4 m4 autom4te.cache depcomp install-sh missing configure Makefile.in config.h* &>/dev/null

View File

@ -1,6 +1,9 @@
INCLUDES=${gammu_CFLAGS}
lib_LTLIBRARIES = libyasnd.la
libyasnd_la_SOURCES = libyasnd.c
libyasnd_la_SOURCES = libyasnd.c yasnd-gammu.c
libyasnd_la_CPPFLAGS = -I$(top_srcdir)
libyasnd_la_LIBADD = ${gammu_LIBS}
distclean-local:
rm -f Makefile.in &>/dev/null