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 \
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
197 builtin_modules += calypsomodem
198 builtin_sources += drivers/atmodem/atutil.h \
199 drivers/calypsomodem/calypsomodem.h \
200 drivers/calypsomodem/calypsomodem.c \
201 drivers/calypsomodem/voicecall.c \
202 drivers/calypsomodem/stk.c
204 builtin_modules += mbmmodem
205 builtin_sources += drivers/atmodem/atutil.h \
206 drivers/mbmmodem/mbmmodem.h \
207 drivers/mbmmodem/mbmmodem.c \
208 drivers/mbmmodem/gprs-context.c \
209 drivers/mbmmodem/stk.c \
210 drivers/mbmmodem/location-reporting.c
212 builtin_modules += hsomodem
213 builtin_sources += drivers/atmodem/atutil.h \
214 drivers/hsomodem/hsomodem.h \
215 drivers/hsomodem/hsomodem.c \
216 drivers/hsomodem/gprs-context.c \
217 drivers/hsomodem/radio-settings.c
219 builtin_modules += ifxmodem
220 builtin_sources += drivers/atmodem/atutil.h \
221 drivers/ifxmodem/ifxmodem.h \
222 drivers/ifxmodem/ifxmodem.c \
223 drivers/ifxmodem/voicecall.c \
224 drivers/ifxmodem/audio-settings.c \
225 drivers/ifxmodem/radio-settings.c \
226 drivers/ifxmodem/gprs-context.c \
227 drivers/ifxmodem/stk.c \
228 drivers/ifxmodem/ctm.c
230 builtin_modules += stemodem
231 builtin_sources += drivers/atmodem/atutil.h \
232 drivers/stemodem/stemodem.h \
233 drivers/stemodem/stemodem.c \
234 drivers/stemodem/voicecall.c \
235 drivers/stemodem/radio-settings.c \
236 drivers/stemodem/caif_rtnl.c \
237 drivers/stemodem/caif_rtnl.h \
238 drivers/stemodem/gprs-context.c \
239 drivers/stemodem/caif_socket.h \
240 drivers/stemodem/if_caif.h
242 builtin_modules += dunmodem
243 builtin_sources += drivers/atmodem/atutil.h \
244 drivers/dunmodem/dunmodem.h \
245 drivers/dunmodem/dunmodem.c \
246 drivers/dunmodem/network-registration.c \
247 drivers/dunmodem/gprs.c
249 builtin_modules += hfpmodem
250 builtin_sources += drivers/atmodem/atutil.h \
251 drivers/hfpmodem/hfpmodem.h \
252 drivers/hfpmodem/hfpmodem.c \
253 drivers/hfpmodem/slc.h \
254 drivers/hfpmodem/slc.c \
255 drivers/hfpmodem/voicecall.c \
256 drivers/hfpmodem/network-registration.c \
257 drivers/hfpmodem/call-volume.c \
258 drivers/hfpmodem/devinfo.c \
259 drivers/hfpmodem/handsfree.c
262 builtin_modules += phonesim
263 builtin_sources += plugins/phonesim.c
266 dist_conf_DATA += plugins/phonesim.conf
271 builtin_modules += cdmamodem
272 builtin_sources += drivers/cdmamodem/cdmamodem.h \
273 drivers/cdmamodem/cdmamodem.c \
274 drivers/cdmamodem/voicecall.c \
275 drivers/cdmamodem/devinfo.c \
276 drivers/cdmamodem/connman.c
278 builtin_modules += huaweicdmamodem
279 builtin_sources += drivers/huaweicdmamodem/huaweicdmamodem.h \
280 drivers/huaweicdmamodem/huaweicdmamodem.c \
281 drivers/huaweicdmamodem/network-registration.c
285 builtin_modules += g1
286 builtin_sources += plugins/g1.c
288 builtin_modules += gobi
289 builtin_sources += plugins/gobi.c
291 builtin_modules += wavecom
292 builtin_sources += plugins/wavecom.c
294 builtin_modules += calypso
295 builtin_sources += plugins/calypso.c
297 builtin_modules += mbm
298 builtin_sources += plugins/mbm.c
300 builtin_modules += hso
301 builtin_sources += plugins/hso.c
303 builtin_modules += zte
304 builtin_sources += plugins/zte.c
306 builtin_modules += huawei
307 builtin_sources += plugins/huawei.c
309 builtin_modules += huaweicdma
310 builtin_sources += plugins/huaweicdma.c
312 builtin_modules += sierra
313 builtin_sources += plugins/sierra.c
315 builtin_modules += novatel
316 builtin_sources += plugins/novatel.c
318 builtin_modules += palmpre
319 builtin_sources += plugins/palmpre.c
321 builtin_modules += ifx
322 builtin_sources += plugins/ifx.c
324 builtin_modules += ste
325 builtin_sources += plugins/ste.c
327 builtin_modules += stemgr
328 builtin_sources += plugins/stemgr.c
330 builtin_modules += caif
331 builtin_sources += plugins/caif.c
333 builtin_modules += tc65
334 builtin_sources += plugins/tc65.c
336 builtin_modules += nokia
337 builtin_sources += plugins/nokia.c
339 builtin_modules += nokiacdma
340 builtin_sources += plugins/nokiacdma.c
342 builtin_modules += linktop
343 builtin_sources += plugins/linktop.c
345 builtin_modules += telit
346 builtin_sources += plugins/telit.c
348 builtin_modules += alcatel
349 builtin_sources += plugins/alcatel.c
351 builtin_modules += speedup
352 builtin_sources += plugins/speedup.c
354 builtin_modules += speedupcdma
355 builtin_sources += plugins/speedupcdma.c
357 builtin_modules += samsung
358 builtin_sources += plugins/samsung.c
361 builtin_modules += bluetooth
362 builtin_sources += plugins/bluetooth.c plugins/bluetooth.h
364 builtin_modules += hfp
365 builtin_sources += plugins/hfp_hf.c plugins/bluetooth.h
367 builtin_modules += hfp_ag
368 builtin_sources += plugins/hfp_ag.c plugins/bluetooth.h
370 builtin_modules += dun_gw
371 builtin_sources += plugins/dun_gw.c plugins/bluetooth.h
373 builtin_modules += sap
374 builtin_sources += plugins/sap.c plugins/bluetooth.h
376 builtin_modules += connman
377 builtin_sources += plugins/connman.c
379 builtin_sources += $(btio_sources)
380 builtin_cflags += @BLUEZ_CFLAGS@
381 builtin_libadd += @BLUEZ_LIBS@
386 builtin_modules += example_history
387 builtin_sources += examples/history.c
389 builtin_modules += example_nettime
390 builtin_sources += examples/nettime.c
392 builtin_modules += example_provision
393 builtin_sources += examples/provision.c
395 builtin_modules += example_emulator
396 builtin_sources += examples/emulator.c
398 builtin_modules += example_private_network
399 builtin_sources += examples/private-network.c
402 builtin_modules += smart_messaging
403 builtin_sources += plugins/smart-messaging.c
405 builtin_modules += push_notification
406 builtin_sources += plugins/push-notification.c
408 sbin_PROGRAMS = src/ofonod
410 src_ofonod_SOURCES = $(gdbus_sources) $(builtin_sources) src/ofono.ver \
411 src/main.c src/ofono.h src/log.c src/plugin.c \
412 src/modem.c src/common.h src/common.c \
413 src/manager.c src/dbus.c src/util.h src/util.c \
414 src/network.c src/voicecall.c src/ussd.c src/sms.c \
415 src/call-settings.c src/call-forwarding.c \
416 src/call-meter.c src/smsutil.h src/smsutil.c \
417 src/call-barring.c src/sim.c src/stk.c \
418 src/phonebook.c src/history.c src/message-waiting.c \
419 src/simutil.h src/simutil.c src/storage.h \
420 src/storage.c src/cbs.c src/watch.c src/call-volume.c \
421 src/gprs.c src/idmap.h src/idmap.c \
422 src/radio-settings.c src/stkutil.h src/stkutil.c \
423 src/nettime.c src/stkagent.c src/stkagent.h \
424 src/simfs.c src/simfs.h src/audio-settings.c \
425 src/smsagent.c src/smsagent.h src/ctm.c \
426 src/cdma-voicecall.c src/sim-auth.c \
427 src/message.h src/message.c src/gprs-provision.c \
428 src/emulator.c src/location-reporting.c \
429 src/cdma-connman.c src/gnss.c \
430 src/gnssagent.c src/gnssagent.h \
431 src/cdma-smsutil.h src/cdma-smsutil.c \
432 src/cdma-sms.c src/private-network.c src/cdma-netreg.c \
435 src_ofonod_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ @CAPNG_LIBS@ -ldl
437 src_ofonod_LDFLAGS = -Wl,--export-dynamic \
438 -Wl,--version-script=$(srcdir)/src/ofono.ver
440 BUILT_SOURCES = $(local_headers) src/builtin.h
442 CLEANFILES = $(BUILT_SOURCES) $(rules_DATA)
444 plugindir = $(pkglibdir)/plugins
447 build_plugindir = $(abs_top_srcdir)/plugins/.libs
449 build_plugindir = $(plugindir)
452 AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @CAPNG_CFLAGS@ @USB_CFLAGS@ \
454 -DOFONO_PLUGIN_BUILTIN \
455 -DPLUGINDIR=\""$(build_plugindir)"\"
457 INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/src \
458 -I$(srcdir)/gdbus -I$(srcdir)/gisi -I$(srcdir)/gatchat \
461 doc_files = doc/overview.txt doc/ofono-paper.txt doc/release-faq.txt \
462 doc/manager-api.txt doc/modem-api.txt doc/network-api.txt \
463 doc/voicecallmanager-api.txt doc/voicecall-api.txt \
464 doc/call-forwarding-api.txt doc/call-settings-api.txt \
465 doc/call-meter-api.txt doc/call-barring-api.txt \
466 doc/supplementaryservices-api.txt \
467 doc/connman-api.txt doc/features.txt \
468 doc/pushnotification-api.txt \
469 doc/smartmessaging-api.txt \
470 doc/call-volume-api.txt doc/cell-broadcast-api.txt \
471 doc/messagemanager-api.txt doc/message-waiting-api.txt \
472 doc/phonebook-api.txt doc/radio-settings-api.txt \
473 doc/sim-api.txt doc/stk-api.txt \
474 doc/audio-settings-api.txt doc/text-telephony-api.txt \
475 doc/calypso-modem.txt doc/message-api.txt \
476 doc/location-reporting-api.txt
479 test_scripts = test/backtrace \
480 test/create-internet-context \
481 test/create-mms-context \
482 test/activate-context \
483 test/deactivate-context \
484 test/deactivate-all \
488 test/create-multiparty \
496 test/set-mms-details \
497 test/set-roaming-allowed \
500 test/list-operators \
501 test/scan-for-operators \
504 test/process-context-settings \
506 test/remove-contexts \
508 test/set-mic-volume \
509 test/set-speaker-volume \
511 test/test-advice-of-charge \
512 test/test-call-barring \
513 test/test-call-forwarding \
514 test/test-call-settings \
516 test/test-network-registration \
517 test/test-phonebook \
519 test/test-ss-control-cb \
520 test/test-ss-control-cf \
521 test/test-ss-control-cs \
522 test/test-voicecall \
528 test/get-tech-preference \
529 test/set-tech-preference \
530 test/set-use-sms-reports \
531 test/set-cbs-topics \
538 test/set-fast-dormancy \
539 test/test-push-notification \
540 test/test-smart-messaging \
546 test/lockdown-modem \
547 test/set-call-forwarding \
548 test/cdma-list-call \
549 test/cdma-dial-number \
551 test/cdma-set-credentials \
552 test/disable-call-forwarding \
555 test/test-message-waiting \
556 test/cdma-connman-disable \
557 test/cdma-connman-enable \
558 test/set-context-property \
563 testdir = $(pkglibdir)/test
564 test_SCRIPTS = $(test_scripts)
567 EXTRA_DIST = src/genbuiltin plugins/ofono.rules plugins/ofono-speedup.rules \
568 $(doc_files) $(test_scripts)
570 dist_man_MANS = doc/ofonod.8
575 unit_tests = unit/test-common unit/test-util unit/test-idmap \
576 unit/test-simutil unit/test-stkutil \
577 unit/test-sms unit/test-cdmasms
579 noinst_PROGRAMS = $(unit_tests) \
580 unit/test-sms-root unit/test-mux unit/test-caif
582 unit_test_common_SOURCES = unit/test-common.c src/common.c src/util.c
583 unit_test_common_LDADD = @GLIB_LIBS@
584 unit_objects += $(unit_test_common_OBJECTS)
586 unit_test_util_SOURCES = unit/test-util.c src/util.c
587 unit_test_util_LDADD = @GLIB_LIBS@
588 unit_objects += $(unit_test_utils_OBJECTS)
590 unit_test_idmap_SOURCES = unit/test-idmap.c src/idmap.c
591 unit_test_idmap_LDADD = @GLIB_LIBS@
592 unit_objects += $(unit_test_idmap_OBJECTS)
594 unit_test_simutil_SOURCES = unit/test-simutil.c src/util.c \
595 src/simutil.c src/smsutil.c src/storage.c
596 unit_test_simutil_LDADD = @GLIB_LIBS@
597 unit_objects += $(unit_test_simutil_OBJECTS)
599 unit_test_stkutil_SOURCES = unit/test-stkutil.c src/util.c \
600 src/storage.c src/smsutil.c \
601 src/simutil.c src/stkutil.c
602 unit_test_stkutil_LDADD = @GLIB_LIBS@
603 unit_objects += $(unit_test_stkutil_OBJECTS)
605 unit_test_sms_SOURCES = unit/test-sms.c src/util.c src/smsutil.c src/storage.c
606 unit_test_sms_LDADD = @GLIB_LIBS@
607 unit_objects += $(unit_test_sms_OBJECTS)
609 unit_test_cdmasms_SOURCES = unit/test-cdmasms.c src/cdma-smsutil.c
610 unit_test_cdmasms_LDADD = @GLIB_LIBS@
611 unit_objects += $(unit_test_cdmasms_OBJECTS)
613 unit_test_sms_root_SOURCES = unit/test-sms.c src/util.c src/smsutil.c src/storage.c
614 unit_test_sms_root_LDADD = @GLIB_LIBS@
615 unit_objects += $(unit_test_sms_root_OBJECTS)
617 unit_test_mux_SOURCES = unit/test-mux.c $(gatchat_sources)
618 unit_test_mux_LDADD = @GLIB_LIBS@
619 unit_objects += $(unit_test_mux_OBJECTS)
621 unit_test_caif_SOURCES = unit/test-caif.c $(gatchat_sources) \
622 drivers/stemodem/caif_socket.h \
623 drivers/stemodem/if_caif.h
624 unit_test_caif_LDADD = @GLIB_LIBS@
625 unit_objects += $(unit_test_caif_OBJECTS)
627 TESTS = $(unit_tests)
630 noinst_PROGRAMS += tools/huawei-audio tools/auto-enable \
631 tools/get-location tools/lookup-apn \
632 tools/lookup-provider-name
634 tools_huawei_audio_SOURCES = $(gdbus_sources) tools/huawei-audio.c
635 tools_huawei_audio_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
637 tools_auto_enable_SOURCES = $(gdbus_sources) tools/auto-enable.c
638 tools_auto_enable_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
640 tools_get_location_SOURCES = tools/get-location.c
641 tools_get_location_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
643 tools_lookup_apn_SOURCES = plugins/mbpi.c plugins/mbpi.h tools/lookup-apn.c
644 tools_lookup_apn_LDADD = @GLIB_LIBS@
646 tools_lookup_provider_name_SOURCES = plugins/mbpi.c plugins/mbpi.h \
647 tools/lookup-provider-name.c
648 tools_lookup_provider_name_LDADD = @GLIB_LIBS@
651 noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server gatchat/test-qcdm
653 gatchat_gsmdial_SOURCES = gatchat/gsmdial.c $(gatchat_sources)
654 gatchat_gsmdial_LDADD = @GLIB_LIBS@
656 gatchat_test_server_SOURCES = gatchat/test-server.c $(gatchat_sources)
657 gatchat_test_server_LDADD = @GLIB_LIBS@ -lutil
659 gatchat_test_qcdm_SOURCES = gatchat/test-qcdm.c $(gatchat_sources)
660 gatchat_test_qcdm_LDADD = @GLIB_LIBS@
663 DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles
665 MAINTAINERCLEANFILES = Makefile.in \
666 aclocal.m4 configure config.h.in config.sub config.guess \
667 ltmain.sh depcomp compile missing install-sh mkinstalldirs
670 src/builtin.h: src/genbuiltin config.status
671 $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
674 $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
676 include/ofono/version.h: include/version.h
677 $(AM_V_at)$(MKDIR_P) include/ofono
678 $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@
680 include/ofono/%.h: $(abs_top_srcdir)/include/%.h
681 $(AM_V_at)$(MKDIR_P) include/ofono
682 $(AM_V_GEN)$(LN_S) $< $@
685 @$(RM) -rf include/ofono