File: Makefile.am

package info (click to toggle)
affix 2.1.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,908 kB
  • ctags: 1,247
  • sloc: ansic: 13,807; sh: 7,119; yacc: 232; makefile: 152; lex: 126; python: 56
file content (35 lines) | stat: -rw-r--r-- 874 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
#  $Id: Makefile.am,v 1.17 2003/03/03 07:52:13 kds Exp $
#
#  process this file with automake to produce Makefile.in
#

# check conditions
if CONFIG_AFFIX_AUDIO
btctl_AUDIO = btctl-audio.o
endif
if CONFIG_AFFIX_SDP
btctl_SDP = $(LDFLAGS_AFFIX_SDP) btctl-sdp.o
endif
if CONFIG_AFFIX_OBEX
btctl_OBEX = $(LDFLAGS_AFFIX_OBEX) btctl-obex.o
endif
if CONFIG_AFFIX_PAN
btctl_PAN = $(LDFLAGS_AFFIX_OBEX) btctl-pan.o
endif

bin_PROGRAMS = btctl

btctl_SOURCES = btctl.c btctl.h btctl-dev.c
EXTRA_btctl_SOURCES = btctl-audio.c btctl-sdp.c btctl-obex.c btctl-pan.c
btctl_LDADD = $(btctl_AUDIO) $(btctl_PAN) $(btctl_SDP) $(btctl_OBEX)

install-exec-hook:
	ln -sf $(DESTDIR)$(bindir)/btctl $(DESTDIR)$(bindir)/btftp

uninstall-local:
	rm -f $(DESTDIR)$(bindir)/btftp

LIBS = @LDFLAGS_AFFIX_LIBS@ @LIBS@
CPPFLAGS = @CPPFLAGS@ @CPPFLAGS_OPENOBEX@ -DBTDEBUG_MODULE=BTDEBUG_MODULE_CONTROL