ofono/src/Makefile.am

55 lines
1.4 KiB
Makefile
Raw Normal View History

2009-05-06 01:59:24 +00:00
if DATAFILES
dbusdir = @DBUS_DATADIR@
dbus_DATA = ofono.conf
endif
2009-04-26 19:12:32 +00:00
sbin_PROGRAMS = ofonod
2009-05-06 04:13:14 +00:00
ofonod_SOURCES = main.c ofono.h log.c plugin.c \
modem.c common.h common.c \
2009-07-29 16:10:47 +00:00
manager.c dbus.c util.h util.c \
2009-08-17 22:08:03 +00:00
network.c voicecall.c ussd.c sms.c \
call-settings.c call-forwarding.c call-meter.c \
2009-08-18 22:05:03 +00:00
smsutil.h smsutil.c ssn.c call-barring.c sim.c \
phonebook.c history.c simutil.h simutil.c \
2009-08-04 15:56:07 +00:00
message-waiting.c
2009-04-26 19:12:32 +00:00
2009-05-11 05:35:29 +00:00
ofonod_LDADD = $(top_builddir)/plugins/libbuiltin.la \
2009-05-11 05:44:37 +00:00
$(top_builddir)/drivers/libbuiltin.la \
2009-06-25 07:03:47 +00:00
@GATCHAT_LIBS@ @GDBUS_LIBS@ @GLIB_LIBS@ \
@GISI_LIBS@ @GTHREAD_LIBS@ -ldl
2009-04-26 19:12:32 +00:00
ofonod_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=ofono.ver
ofonod_DEPENDENCIES = ofono.ver \
@GATCHAT_LIBS@ @GISI_LIBS@ ../gdbus/libgdbus.la \
../drivers/libbuiltin.la ../plugins/libbuiltin.la
2009-04-26 19:12:32 +00:00
CLEANFILES = ofono.ver ofono.exp
if MAINTAINER_MODE
plugindir = $(abs_top_srcdir)/plugins/.libs
else
plugindir = $(libdir)/ofono/plugins
endif
AM_CFLAGS = @GTHREAD_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ @GATCHAT_CFLAGS@ \
@GISI_CFLAGS@ -DPLUGINDIR=\""$(plugindir)"\"
2009-04-26 19:12:32 +00:00
2009-05-11 05:35:29 +00:00
INCLUDES = -I$(top_builddir)/include -I$(top_builddir)
2009-04-26 19:12:32 +00:00
2009-05-06 01:59:24 +00:00
EXTRA_DIST = ofono.conf
MAINTAINERCLEANFILES = Makefile.in
2009-04-26 19:12:32 +00:00
ofono.exp: $(ofonod_OBJECTS)
$(AM_V_GEN)$(NM) $^ | $(AWK) '{ print $$3 }' | sort -u | \
$(EGREP) -e '^ofono_' > $@
2009-04-26 19:12:32 +00:00
ofono.ver: ofono.exp
$(AM_V_at)echo "{ global:" > $@
$(AM_V_GEN)$(SED) -e "s/\(.*\)/\1;/" $< >> $@
$(AM_V_at)echo "local: *; };" >> $@