2 AM_MAKEFLAGS = --no-print-directory
4 pkginclude_HEADERS = include/log.h include/plugin.h include/history.h \
5 include/dbus.h include/modem.h include/types.h \
6 include/call-barring.h include/call-forwarding.h \
7 include/call-meter.h include/call-settings.h \
8 include/phonebook.h include/ussd.h \
9 include/sms.h include/sim.h include/message-waiting.h \
10 include/netreg.h include/voicecall.h include/devinfo.h \
11 include/cbs.h include/call-volume.h \
12 include/gprs.h include/gprs-context.h \
13 include/radio-settings.h include/stk.h \
14 include/audio-settings.h include/nettime.h \
15 include/ctm.h include/cdma-voicecall.h \
16 include/cdma-sms.h include/sim-auth.h \
17 include/gprs-provision.h include/emulator.h \
18 include/location-reporting.h \
19 include/cdma-connman.h include/gnss.h \
20 include/private-network.h include/cdma-netreg.h \
21 include/cdma-provision.h include/handsfree.h
23 nodist_pkginclude_HEADERS = include/version.h
25 local_headers = $(foreach file,$(pkginclude_HEADERS) \
26 $(nodist_pkginclude_HEADERS), \
27 include/ofono/$(notdir $(file)))
29 pkgconfigdir = $(libdir)/pkgconfig
30 pkgconfig_DATA = ofono.pc
34 dbusconfdir = @DBUS_CONFDIR@
36 dist_dbusconf_DATA = src/ofono.conf
39 systemdunitdir = @SYSTEMD_UNITDIR@
41 systemdunit_DATA = src/ofono.service
44 confdir = $(sysconfdir)/ofono
48 statedir = $(localstatedir)/lib/ofono
58 gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \
59 gdbus/object.c gdbus/polkit.c
61 gatchat_sources = gatchat/gatchat.h gatchat/gatchat.c \
62 gatchat/gatresult.h gatchat/gatresult.c \
63 gatchat/gatsyntax.h gatchat/gatsyntax.c \
64 gatchat/ringbuffer.h gatchat/ringbuffer.c \
65 gatchat/gatio.h gatchat/gatio.c \
66 gatchat/crc-ccitt.h gatchat/crc-ccitt.c \
67 gatchat/gatmux.h gatchat/gatmux.c \
68 gatchat/gsm0710.h gatchat/gsm0710.c \
69 gatchat/gattty.h gatchat/gattty.c \
70 gatchat/gatutil.h gatchat/gatutil.c \
72 gatchat/gatserver.h gatchat/gatserver.c \
73 gatchat/gatrawip.h gatchat/gatrawip.c \
74 gatchat/gathdlc.c gatchat/gathdlc.h \
75 gatchat/gatppp.c gatchat/gatppp.h \
76 gatchat/ppp.h gatchat/ppp_cp.h \
77 gatchat/ppp_cp.c gatchat/ppp_lcp.c \
78 gatchat/ppp_auth.c gatchat/ppp_net.c \
79 gatchat/ppp_ipcp.c gatchat/ppp_ipv6cp.c
81 gisi_sources = gisi/client.c gisi/client.h gisi/common.h \
82 gisi/iter.c gisi/iter.h \
83 gisi/message.c gisi/message.h \
84 gisi/modem.c gisi/modem.h \
85 gisi/netlink.c gisi/netlink.h \
86 gisi/pep.c gisi/pep.h \
88 gisi/pipe.c gisi/pipe.h \
89 gisi/server.c gisi/server.h \
90 gisi/socket.c gisi/socket.h
92 btio_sources = btio/btio.h btio/btio.c
95 builtin_modules += udev
96 builtin_sources += plugins/udev.c
97 builtin_cflags += @UDEV_CFLAGS@
98 builtin_libadd += @UDEV_LIBS@
100 builtin_modules += udevng
101 builtin_sources += plugins/udevng.c
105 builtin_modules += isimodem
106 builtin_sources += $(gisi_sources) \
107 drivers/isimodem/isimodem.h \
108 drivers/isimodem/isimodem.c \
109 drivers/isimodem/mtc.h \
110 drivers/isimodem/debug.h \
111 drivers/isimodem/isiutil.h \
112 drivers/isimodem/debug.c \
113 drivers/isimodem/phonebook.c \
114 drivers/isimodem/devinfo.c \
115 drivers/isimodem/info.h \
116 drivers/isimodem/network-registration.c \
117 drivers/isimodem/network.h \
118 drivers/isimodem/infoserver.h \
119 drivers/isimodem/infoserver.c \
120 drivers/isimodem/voicecall.c \
121 drivers/isimodem/call.h \
122 drivers/isimodem/sms.c \
123 drivers/isimodem/sms.h \
124 drivers/isimodem/cbs.c \
125 drivers/isimodem/sim.c \
126 drivers/isimodem/sim.h \
127 drivers/isimodem/ussd.c \
128 drivers/isimodem/call-forwarding.c \
129 drivers/isimodem/call-settings.c \
130 drivers/isimodem/call-barring.c \
131 drivers/isimodem/call-meter.c \
132 drivers/isimodem/ss.h \
133 drivers/isimodem/radio-settings.c \
134 drivers/isimodem/gss.h \
135 drivers/isimodem/gprs.c \
136 drivers/isimodem/gprs-context.c \
137 drivers/isimodem/gpds.h \
138 drivers/isimodem/audio-settings.c \
139 drivers/isimodem/uicc.h \
140 drivers/isimodem/uicc.c \
141 drivers/isimodem/uicc-util.h \
142 drivers/isimodem/uicc-util.c
144 builtin_modules += isiusb
145 builtin_sources += plugins/isiusb.c
147 builtin_modules += n900
148 builtin_sources += plugins/n900.c plugins/nokia-gpio.h plugins/nokia-gpio.c
150 builtin_modules += u8500
151 builtin_sources += plugins/u8500.c
155 builtin_modules += atmodem
156 builtin_sources += $(gatchat_sources) \
157 drivers/atmodem/atmodem.h \
158 drivers/atmodem/atmodem.c \
159 drivers/atmodem/call-settings.c \
160 drivers/atmodem/sms.c \
161 drivers/atmodem/cbs.c \
162 drivers/atmodem/call-forwarding.c \
163 drivers/atmodem/call-meter.c \
164 drivers/atmodem/network-registration.c \
165 drivers/atmodem/sim.c \
166 drivers/atmodem/stk.c \
167 drivers/atmodem/stk.h \
168 drivers/atmodem/ussd.c \
169 drivers/atmodem/voicecall.c \
170 drivers/atmodem/call-barring.c \
171 drivers/atmodem/phonebook.c \
172 drivers/atmodem/devinfo.c \
173 drivers/atmodem/call-volume.c \
174 drivers/atmodem/vendor.h \
175 drivers/atmodem/atutil.h \
176 drivers/atmodem/atutil.c \
177 drivers/atmodem/gprs.c \
178 drivers/atmodem/gprs-context.c \
179 drivers/atmodem/sim-auth.c \
180 drivers/atmodem/gnss.c
182 builtin_modules += nwmodem
183 builtin_sources += drivers/atmodem/atutil.h \
184 drivers/nwmodem/nwmodem.h \
185 drivers/nwmodem/nwmodem.c \
186 drivers/nwmodem/radio-settings.c
188 builtin_modules += huaweimodem
189 builtin_sources += drivers/atmodem/atutil.h \
190 drivers/huaweimodem/huaweimodem.h \
191 drivers/huaweimodem/huaweimodem.c \
192 drivers/huaweimodem/voicecall.c \
193 drivers/huaweimodem/audio-settings.c \
194 drivers/huaweimodem/gprs-context.c \
195 drivers/huaweimodem/radio-settings.c \
196 drivers/huaweimodem/cdma-netreg.c
198 builtin_modules += calypsomodem
199 builtin_sources += drivers/atmodem/atutil.h \
200 drivers/calypsomodem/calypsomodem.h \
201 drivers/calypsomodem/calypsomodem.c \
202 drivers/calypsomodem/voicecall.c \
203 drivers/calypsomodem/stk.c
205 builtin_modules += mbmmodem
206 builtin_sources += drivers/atmodem/atutil.h \
207 drivers/mbmmodem/mbmmodem.h \
208 drivers/mbmmodem/mbmmodem.c \
209 drivers/mbmmodem/gprs-context.c \
210 drivers/mbmmodem/stk.c \
211 drivers/mbmmodem/location-reporting.c
213 builtin_modules += hsomodem
214 builtin_sources += drivers/atmodem/atutil.h \
215 drivers/hsomodem/hsomodem.h \
216 drivers/hsomodem/hsomodem.c \
217 drivers/hsomodem/gprs-context.c \
218 drivers/hsomodem/radio-settings.c
220 builtin_modules += ifxmodem
221 builtin_sources += drivers/atmodem/atutil.h \
222 drivers/ifxmodem/ifxmodem.h \
223 drivers/ifxmodem/ifxmodem.c \
224 drivers/ifxmodem/voicecall.c \
225 drivers/ifxmodem/audio-settings.c \
226 drivers/ifxmodem/radio-settings.c \
227 drivers/ifxmodem/gprs-context.c \
228 drivers/ifxmodem/stk.c \
229 drivers/ifxmodem/ctm.c
231 builtin_modules += stemodem
232 builtin_sources += drivers/atmodem/atutil.h \
233 drivers/stemodem/stemodem.h \
234 drivers/stemodem/stemodem.c \
235 drivers/stemodem/voicecall.c \
236 drivers/stemodem/radio-settings.c \
237 drivers/stemodem/caif_rtnl.c \
238 drivers/stemodem/caif_rtnl.h \
239 drivers/stemodem/gprs-context.c \
240 drivers/stemodem/caif_socket.h \
241 drivers/stemodem/if_caif.h
243 builtin_modules += dunmodem
244 builtin_sources += drivers/atmodem/atutil.h \
245 drivers/dunmodem/dunmodem.h \
246 drivers/dunmodem/dunmodem.c \
247 drivers/dunmodem/network-registration.c \
248 drivers/dunmodem/gprs.c
250 builtin_modules += hfpmodem
251 builtin_sources += drivers/atmodem/atutil.h \
252 drivers/hfpmodem/hfpmodem.h \
253 drivers/hfpmodem/hfpmodem.c \
254 drivers/hfpmodem/slc.h \
255 drivers/hfpmodem/slc.c \
256 drivers/hfpmodem/voicecall.c \
257 drivers/hfpmodem/network-registration.c \
258 drivers/hfpmodem/call-volume.c \
259 drivers/hfpmodem/devinfo.c \
260 drivers/hfpmodem/handsfree.c
263 builtin_modules += phonesim
264 builtin_sources += plugins/phonesim.c
267 dist_conf_DATA += plugins/phonesim.conf
272 builtin_modules += cdmamodem
273 builtin_sources += drivers/cdmamodem/cdmamodem.h \
274 drivers/cdmamodem/cdmamodem.c \
275 drivers/cdmamodem/voicecall.c \
276 drivers/cdmamodem/devinfo.c \
277 drivers/cdmamodem/connman.c
280 builtin_modules += g1
281 builtin_sources += plugins/g1.c
283 builtin_modules += gobi
284 builtin_sources += plugins/gobi.c
286 builtin_modules += wavecom
287 builtin_sources += plugins/wavecom.c
289 builtin_modules += calypso
290 builtin_sources += plugins/calypso.c
292 builtin_modules += mbm
293 builtin_sources += plugins/mbm.c
295 builtin_modules += hso
296 builtin_sources += plugins/hso.c
298 builtin_modules += zte
299 builtin_sources += plugins/zte.c
301 builtin_modules += huawei
302 builtin_sources += plugins/huawei.c
304 builtin_modules += sierra
305 builtin_sources += plugins/sierra.c
307 builtin_modules += novatel
308 builtin_sources += plugins/novatel.c
310 builtin_modules += palmpre
311 builtin_sources += plugins/palmpre.c
313 builtin_modules += ifx
314 builtin_sources += plugins/ifx.c
316 builtin_modules += ste
317 builtin_sources += plugins/ste.c
319 builtin_modules += stemgr
320 builtin_sources += plugins/stemgr.c
322 builtin_modules += caif
323 builtin_sources += plugins/caif.c
325 builtin_modules += tc65
326 builtin_sources += plugins/tc65.c
328 builtin_modules += nokia
329 builtin_sources += plugins/nokia.c
331 builtin_modules += nokiacdma
332 builtin_sources += plugins/nokiacdma.c
334 builtin_modules += linktop
335 builtin_sources += plugins/linktop.c
337 builtin_modules += alcatel
338 builtin_sources += plugins/alcatel.c
340 builtin_modules += speedup
341 builtin_sources += plugins/speedup.c
343 builtin_modules += speedupcdma
344 builtin_sources += plugins/speedupcdma.c
346 builtin_modules += samsung
347 builtin_sources += plugins/samsung.c
350 builtin_modules += bluetooth
351 builtin_sources += plugins/bluetooth.c plugins/bluetooth.h
353 builtin_modules += telit
354 builtin_sources += plugins/telit.c plugins/bluetooth.h
356 builtin_modules += sap
357 builtin_sources += plugins/sap.c plugins/bluetooth.h
359 builtin_modules += hfp
360 builtin_sources += plugins/hfp_hf.c plugins/bluetooth.h
362 builtin_modules += hfp_ag
363 builtin_sources += plugins/hfp_ag.c plugins/bluetooth.h
365 builtin_modules += dun_gw
366 builtin_sources += plugins/dun_gw.c plugins/bluetooth.h
368 builtin_modules += connman
369 builtin_sources += plugins/connman.c
371 builtin_sources += $(btio_sources)
372 builtin_cflags += @BLUEZ_CFLAGS@
373 builtin_libadd += @BLUEZ_LIBS@
378 builtin_sources += plugins/mbpi.h plugins/mbpi.c
380 builtin_modules += provision
381 builtin_sources += plugins/provision.c
383 builtin_modules += cdma_provision
384 builtin_sources += plugins/cdma-provision.c
388 builtin_modules += example_history
389 builtin_sources += examples/history.c
391 builtin_modules += example_nettime
392 builtin_sources += examples/nettime.c
394 builtin_modules += example_provision
395 builtin_sources += examples/provision.c
397 builtin_modules += example_emulator
398 builtin_sources += examples/emulator.c
400 builtin_modules += example_private_network
401 builtin_sources += examples/private-network.c
404 builtin_modules += smart_messaging
405 builtin_sources += plugins/smart-messaging.c
407 builtin_modules += push_notification
408 builtin_sources += plugins/push-notification.c
410 sbin_PROGRAMS = src/ofonod
412 src_ofonod_SOURCES = $(gdbus_sources) $(builtin_sources) src/ofono.ver \
413 src/main.c src/ofono.h src/log.c src/plugin.c \
414 src/modem.c src/common.h src/common.c \
415 src/manager.c src/dbus.c src/util.h src/util.c \
416 src/network.c src/voicecall.c src/ussd.c src/sms.c \
417 src/call-settings.c src/call-forwarding.c \
418 src/call-meter.c src/smsutil.h src/smsutil.c \
419 src/call-barring.c src/sim.c src/stk.c \
420 src/phonebook.c src/history.c src/message-waiting.c \
421 src/simutil.h src/simutil.c src/storage.h \
422 src/storage.c src/cbs.c src/watch.c src/call-volume.c \
423 src/gprs.c src/idmap.h src/idmap.c \
424 src/radio-settings.c src/stkutil.h src/stkutil.c \
425 src/nettime.c src/stkagent.c src/stkagent.h \
426 src/simfs.c src/simfs.h src/audio-settings.c \
427 src/smsagent.c src/smsagent.h src/ctm.c \
428 src/cdma-voicecall.c src/sim-auth.c \
429 src/message.h src/message.c src/gprs-provision.c \
430 src/emulator.c src/location-reporting.c \
431 src/cdma-connman.c src/gnss.c \
432 src/gnssagent.c src/gnssagent.h \
433 src/cdma-smsutil.h src/cdma-smsutil.c \
434 src/cdma-sms.c src/private-network.c src/cdma-netreg.c \
435 src/cdma-provision.c src/handsfree.c
437 src_ofonod_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ @CAPNG_LIBS@ -ldl
439 src_ofonod_LDFLAGS = -Wl,--export-dynamic \
440 -Wl,--version-script=$(srcdir)/src/ofono.ver
442 BUILT_SOURCES = $(local_headers) src/builtin.h
444 CLEANFILES = $(BUILT_SOURCES) $(rules_DATA)
446 plugindir = $(pkglibdir)/plugins
449 build_plugindir = $(abs_top_srcdir)/plugins/.libs
451 build_plugindir = $(plugindir)
454 AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @CAPNG_CFLAGS@ @USB_CFLAGS@ \
456 -DOFONO_PLUGIN_BUILTIN \
457 -DPLUGINDIR=\""$(build_plugindir)"\"
459 INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/src \
460 -I$(srcdir)/gdbus -I$(srcdir)/gisi -I$(srcdir)/gatchat \
463 doc_files = doc/overview.txt doc/ofono-paper.txt doc/release-faq.txt \
464 doc/manager-api.txt doc/modem-api.txt doc/network-api.txt \
465 doc/voicecallmanager-api.txt doc/voicecall-api.txt \
466 doc/call-forwarding-api.txt doc/call-settings-api.txt \
467 doc/call-meter-api.txt doc/call-barring-api.txt \
468 doc/supplementaryservices-api.txt \
469 doc/connman-api.txt doc/features.txt \
470 doc/pushnotification-api.txt \
471 doc/smartmessaging-api.txt \
472 doc/call-volume-api.txt doc/cell-broadcast-api.txt \
473 doc/messagemanager-api.txt doc/message-waiting-api.txt \
474 doc/phonebook-api.txt doc/radio-settings-api.txt \
475 doc/sim-api.txt doc/stk-api.txt \
476 doc/audio-settings-api.txt doc/text-telephony-api.txt \
477 doc/calypso-modem.txt doc/message-api.txt \
478 doc/location-reporting-api.txt
481 test_scripts = test/backtrace \
482 test/create-internet-context \
483 test/create-mms-context \
484 test/activate-context \
485 test/deactivate-context \
486 test/deactivate-all \
491 test/create-multiparty \
499 test/set-mms-details \
500 test/set-roaming-allowed \
503 test/list-operators \
504 test/scan-for-operators \
507 test/process-context-settings \
509 test/remove-contexts \
511 test/set-mic-volume \
512 test/set-speaker-volume \
514 test/test-advice-of-charge \
515 test/test-call-barring \
516 test/test-call-forwarding \
517 test/test-call-settings \
519 test/test-network-registration \
520 test/test-phonebook \
522 test/test-ss-control-cb \
523 test/test-ss-control-cf \
524 test/test-ss-control-cs \
525 test/test-voicecall \
531 test/get-tech-preference \
532 test/set-tech-preference \
533 test/set-use-sms-reports \
534 test/set-cbs-topics \
541 test/set-fast-dormancy \
542 test/test-push-notification \
543 test/test-smart-messaging \
549 test/lockdown-modem \
550 test/set-call-forwarding \
551 test/cdma-list-call \
552 test/cdma-dial-number \
554 test/cdma-set-credentials \
555 test/disable-call-forwarding \
558 test/test-message-waiting \
559 test/cdma-connman-disable \
560 test/cdma-connman-enable \
561 test/set-context-property \
566 testdir = $(pkglibdir)/test
567 test_SCRIPTS = $(test_scripts)
570 EXTRA_DIST = src/genbuiltin plugins/ofono.rules plugins/ofono-speedup.rules \
571 $(doc_files) $(test_scripts)
573 dist_man_MANS = doc/ofonod.8
578 unit_tests = unit/test-common unit/test-util unit/test-idmap \
579 unit/test-simutil unit/test-stkutil \
580 unit/test-sms unit/test-cdmasms
582 noinst_PROGRAMS = $(unit_tests) \
583 unit/test-sms-root unit/test-mux unit/test-caif
585 unit_test_common_SOURCES = unit/test-common.c src/common.c src/util.c
586 unit_test_common_LDADD = @GLIB_LIBS@
587 unit_objects += $(unit_test_common_OBJECTS)
589 unit_test_util_SOURCES = unit/test-util.c src/util.c
590 unit_test_util_LDADD = @GLIB_LIBS@
591 unit_objects += $(unit_test_utils_OBJECTS)
593 unit_test_idmap_SOURCES = unit/test-idmap.c src/idmap.c
594 unit_test_idmap_LDADD = @GLIB_LIBS@
595 unit_objects += $(unit_test_idmap_OBJECTS)
597 unit_test_simutil_SOURCES = unit/test-simutil.c src/util.c \
598 src/simutil.c src/smsutil.c src/storage.c
599 unit_test_simutil_LDADD = @GLIB_LIBS@
600 unit_objects += $(unit_test_simutil_OBJECTS)
602 unit_test_stkutil_SOURCES = unit/test-stkutil.c src/util.c \
603 src/storage.c src/smsutil.c \
604 src/simutil.c src/stkutil.c
605 unit_test_stkutil_LDADD = @GLIB_LIBS@
606 unit_objects += $(unit_test_stkutil_OBJECTS)
608 unit_test_sms_SOURCES = unit/test-sms.c src/util.c src/smsutil.c src/storage.c
609 unit_test_sms_LDADD = @GLIB_LIBS@
610 unit_objects += $(unit_test_sms_OBJECTS)
612 unit_test_cdmasms_SOURCES = unit/test-cdmasms.c src/cdma-smsutil.c
613 unit_test_cdmasms_LDADD = @GLIB_LIBS@
614 unit_objects += $(unit_test_cdmasms_OBJECTS)
616 unit_test_sms_root_SOURCES = unit/test-sms.c src/util.c src/smsutil.c src/storage.c
617 unit_test_sms_root_LDADD = @GLIB_LIBS@
618 unit_objects += $(unit_test_sms_root_OBJECTS)
620 unit_test_mux_SOURCES = unit/test-mux.c $(gatchat_sources)
621 unit_test_mux_LDADD = @GLIB_LIBS@
622 unit_objects += $(unit_test_mux_OBJECTS)
624 unit_test_caif_SOURCES = unit/test-caif.c $(gatchat_sources) \
625 drivers/stemodem/caif_socket.h \
626 drivers/stemodem/if_caif.h
627 unit_test_caif_LDADD = @GLIB_LIBS@
628 unit_objects += $(unit_test_caif_OBJECTS)
630 TESTS = $(unit_tests)
633 noinst_PROGRAMS += tools/huawei-audio tools/auto-enable \
634 tools/get-location tools/lookup-apn \
635 tools/lookup-provider-name
637 tools_huawei_audio_SOURCES = $(gdbus_sources) tools/huawei-audio.c
638 tools_huawei_audio_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
640 tools_auto_enable_SOURCES = $(gdbus_sources) tools/auto-enable.c
641 tools_auto_enable_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
643 tools_get_location_SOURCES = tools/get-location.c
644 tools_get_location_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
646 tools_lookup_apn_SOURCES = plugins/mbpi.c plugins/mbpi.h tools/lookup-apn.c
647 tools_lookup_apn_LDADD = @GLIB_LIBS@
649 tools_lookup_provider_name_SOURCES = plugins/mbpi.c plugins/mbpi.h \
650 tools/lookup-provider-name.c
651 tools_lookup_provider_name_LDADD = @GLIB_LIBS@
654 noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server gatchat/test-qcdm
656 gatchat_gsmdial_SOURCES = gatchat/gsmdial.c $(gatchat_sources)
657 gatchat_gsmdial_LDADD = @GLIB_LIBS@
659 gatchat_test_server_SOURCES = gatchat/test-server.c $(gatchat_sources)
660 gatchat_test_server_LDADD = @GLIB_LIBS@ -lutil
662 gatchat_test_qcdm_SOURCES = gatchat/test-qcdm.c $(gatchat_sources)
663 gatchat_test_qcdm_LDADD = @GLIB_LIBS@
666 DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles
668 MAINTAINERCLEANFILES = Makefile.in \
669 aclocal.m4 configure config.h.in config.sub config.guess \
670 ltmain.sh depcomp compile missing install-sh mkinstalldirs
673 src/builtin.h: src/genbuiltin config.status
674 $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
677 $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
679 include/ofono/version.h: include/version.h
680 $(AM_V_at)$(MKDIR_P) include/ofono
681 $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@
683 include/ofono/%.h: $(abs_top_srcdir)/include/%.h
684 $(AM_V_at)$(MKDIR_P) include/ofono
685 $(AM_V_GEN)$(LN_S) $< $@
688 @$(RM) -rf include/ofono