move lpt and logging functions into library

This commit is contained in:
Sergey Popov 2012-03-22 17:33:11 +04:00
parent aacb1299d8
commit 2397a6df06
7 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ include_HEADERS = $(top_srcdir)/yasnd.h
yasnd_LDADD = ${libconfuse_LIBS}
yasnd_LDADD += $(top_srcdir)/lib/libyasnd.la
sbin_PROGRAMS = yasnd
yasnd_SOURCES = yasnd.c yasnd-ipc.c yasnd-log.c yasnd-lpt.c
yasnd_SOURCES = yasnd.c yasnd-ipc.c
yasnd_CPPFLAGS = -I$(top_srcdir)
distclean-local:

View File

@ -1,7 +1,7 @@
INCLUDES=${gammu_CFLAGS}
lib_LTLIBRARIES = libyasnd.la
libyasnd_la_SOURCES = libyasnd.c yasnd-gammu.c
libyasnd_la_SOURCES = libyasnd.c yasnd-gammu.c yasnd-log.c yasnd-lpt.c
libyasnd_la_CPPFLAGS = -I$(top_srcdir)
libyasnd_la_LIBADD = ${gammu_LIBS}

View File

@ -1,5 +1,6 @@
#include <gammu.h>
#include "yasnd.h"
#include "yasnd-log.h"
GSM_Error error; // structure to store possible gammu errors
GSM_StateMachine *state_machine=NULL; // structure to interact with mobile phones