move lpt and logging functions into library
This commit is contained in:
parent
aacb1299d8
commit
2397a6df06
@ -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:
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user