File: Makefile.am

package info (click to toggle)
lirc 0.10.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 8,364 kB
  • sloc: ansic: 26,717; cpp: 9,066; sh: 5,521; python: 4,362; makefile: 1,034; xml: 63
file content (141 lines) | stat: -rw-r--r-- 4,415 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
ACLOCAL_AMFLAGS             = -I m4

AM_LDFLAGS                  = -module -avoid-version -L../lib -llirc_driver \
                              -export-symbols-regex hardwares
if BUILD_USB
AM_LDFLAGS                  +=  @LIBUSB_LIBS@
endif

AM_CFLAGS                   = -pthread -Wall @DRIVER_FLAGS@
AM_CFLAGS                   += -DPLUGINDOCS=\"$(docdir)/plugindocs\"
AM_CPPFLAGS                 = -I../lib  -I$(top_srcdir)/lib -I$(top_srcdir) \
			      @kernel_header_flags@
AM_CPPFLAGS                 += -Wall -Wp,-D_FORTIFY_SOURCE=2

DISTCLEANFILES              = pluginlist.am

plugindir                   =  $(pkglibdir)/plugins
EXTRA_DIST                  = pluginlist.am make-pluginlist.sh
plugin_LTLIBRARIES          =

if BUILD_USB

plugin_LTLIBRARIES          += atilibusb.la
atilibusb_la_SOURCES        = atilibusb.c
atilibusb_la_LDFLAGS        = $(AM_LDFLAGS) @LIBUSB_LIBS@
atilibusb_la_CFLAGS         = $(AM_CFLAGS) $(LIBUSB_CFLAGS)

plugin_LTLIBRARIES          += awlibusb.la
awlibusb_la_SOURCES         = awlibusb.c
awlibusb_la_LDFLAGS         = $(AM_LDFLAGS) @LIBUSB_LIBS@
awlibusb_la_CFLAGS          = $(AM_CFLAGS) $(LIBUSB_CFLAGS)

plugin_LTLIBRARIES          += dfclibusb.la
dfclibusb_la_SOURCES        = dfclibusb.c
dfclibusb_la_LDFLAGS        = $(AM_LDFLAGS) @LIBUSB_LIBS@
dfclibusb_la_CFLAGS         = $(AM_CFLAGS) $(LIBUSB_CFLAGS)

plugin_LTLIBRARIES          += srm7500libusb.la
srm7500libusb_la_SOURCES    = srm7500libusb.c
srm7500libusb_la_LDFLAGS    = $(AM_LDFLAGS) @LIBUSB_LIBS@
srm7500libusb_la_CFLAGS     = $(AM_CFLAGS) $(LIBUSB_CFLAGS)

if LINUX_KERNEL
plugin_LTLIBRARIES          += commandir.la
commandir_la_SOURCES        = commandir.c
commandir_la_LDFLAGS        = $(AM_LDFLAGS) @LIBUSB_LIBS@
commandir_la_CFLAGS         = $(AM_CFLAGS) $(LIBUSB_CFLAGS)
endif

endif

if BUILD_FTDI
plugin_LTLIBRARIES          += ftdi.la
ftdi_la_SOURCES             = ftdi.c
ftdi_la_LDFLAGS             = $(AM_LDFLAGS) @FTDI_LIBS@
ftdi_la_CFLAGS              = $(AM_CFLAGS) @FTDI_CFLAGS@
endif

if BUILD_LIBPORTAUDIO
plugin_LTLIBRARIES          += audio.la
audio_la_SOURCES            = audio.c
audio_la_CFLAGS             = $(AM_CFLAGS) $(PORTAUDIO_CFLAGS)
audio_la_LDFLAGS            = $(AM_LDFLAGS) -lportaudio \
                              @PORTAUDIO_LIBS@  @forkpty@
endif

if BUILD_LIBALSA
plugin_LTLIBRARIES          += audio_alsa.la
audio_alsa_la_SOURCES       = audio_alsa.c
audio_alsa_la_LDFLAGS       = $(AM_LDFLAGS) -lasound
endif

if BUILD_ALSA_SB_RC
plugin_LTLIBRARIES          += alsa_usb.la
alsa_usb_la_SOURCES         = alsa_usb.c
alsa_usb_la_LDFLAGS         = $(AM_LDFLAGS) -lasound
endif

if BUILD_I2CUSER
plugin_LTLIBRARIES          += i2cuser.la
i2cuser_la_SOURCES          = i2cuser.c
endif

if BUILD_DSP
plugin_LTLIBRARIES          += dsp.la
dsp_la_SOURCES              = dsp.c
endif

plugin_LTLIBRARIES          += atwf83.la
atwf83_la_SOURCES           = atwf83.c
atwf83_la_LDFLAGS           = $(AM_LDFLAGS) -lpthread

plugin_LTLIBRARIES          += livedrive_midi.la
livedrive_midi_la_SOURCES   = livedrive_midi.c livedrive_common.h \
                              livedrive_common.c

plugin_LTLIBRARIES          += livedrive_seq.la
livedrive_seq_la_SOURCES    = livedrive_seq.c livedrive_common.h \
                              livedrive_common.c

plugin_LTLIBRARIES          += uirt2.la
uirt2_la_SOURCES            = uirt2.c uirt2_common.c uirt2_common.h

plugin_LTLIBRARIES          += uirt2_raw.la
uirt2_raw_la_SOURCES        = uirt2_raw.c uirt2_common.c uirt2_common.h

if HAVE_DEVINPUT
plugin_LTLIBRARIES          += devinput.la
devinput_la_SOURCES         = devinput.c
endif

if HAVE_IOKIT
plugin_LTLIBRARIES          += osx_usbraw.la
osx_usbraw_la_SOURCES       = osx_usbraw.c
osx_usbraw_la_LDFLAGS       = $(AM_LDFLAGS) -framework IOKit -framework Cocoa
endif

if LINUX_KERNEL
plugin_LTLIBRARIES          += default.la
default_la_SOURCES          = default.c

plugin_LTLIBRARIES          += hiddev.la
hiddev_la_SOURCES           = hiddev.c

plugin_LTLIBRARIES          += creative_infracd.la
creative_infracd_la_SOURCES = creative_infracd.c

plugin_LTLIBRARIES          += zotac.la
zotac_la_SOURCES            = zotac.c

plugin_LTLIBRARIES          += mplay.la
mplay_la_SOURCES            = mplay.c
endif

$(srcdir)/pluginlist.am:
	cd $(srcdir); ./make-pluginlist.sh > pluginlist.am

include pluginlist.am

checkfiles:
	../git-tools/checkfiles $(SOURCES)