mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
split monolithic Makefile.am to follow autotools standards
This commit is contained in:
parent
1b1751043b
commit
f884dd858c
12 changed files with 230 additions and 299 deletions
15
src/Makefile.am
Normal file
15
src/Makefile.am
Normal file
|
@ -0,0 +1,15 @@
|
|||
include $(top_srcdir)/common.am
|
||||
SUBDIRS = shared wifi dhcp ctl
|
||||
|
||||
bin_PROGRAMS = miracled
|
||||
|
||||
miracled_SOURCES = \
|
||||
miracled.h \
|
||||
miracled.c
|
||||
miracled_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(DEPS_CFLAGS)
|
||||
miracled_LDADD = \
|
||||
shared/libmiracle-shared.la \
|
||||
$(DEPS_LIBS)
|
||||
|
31
src/ctl/Makefile.am
Normal file
31
src/ctl/Makefile.am
Normal file
|
@ -0,0 +1,31 @@
|
|||
include $(top_srcdir)/common.am
|
||||
bin_PROGRAMS = miracle-wifictl miracle-sinkctl
|
||||
|
||||
miracle_wifictl_SOURCES = \
|
||||
ctl.h \
|
||||
ctl-cli.c \
|
||||
ctl-wifi.c \
|
||||
wifictl.c
|
||||
miracle_wifictl_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(DEPS_CFLAGS)
|
||||
miracle_wifictl_LDADD = \
|
||||
../shared/libmiracle-shared.la \
|
||||
-lreadline \
|
||||
$(DEPS_LIBS)
|
||||
|
||||
miracle_sinkctl_SOURCES = \
|
||||
ctl.h \
|
||||
ctl-cli.c \
|
||||
ctl-sink.c \
|
||||
ctl-wifi.c \
|
||||
sinkctl.c
|
||||
miracle_sinkctl_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(DEPS_CFLAGS)
|
||||
miracle_sinkctl_LDADD = \
|
||||
../shared/libmiracle-shared.la \
|
||||
-lreadline \
|
||||
$(DEPS_LIBS)
|
||||
|
||||
|
24
src/dhcp/Makefile.am
Normal file
24
src/dhcp/Makefile.am
Normal file
|
@ -0,0 +1,24 @@
|
|||
include $(top_srcdir)/common.am
|
||||
bin_PROGRAMS = miracle-dhcp
|
||||
|
||||
miracle_dhcp_SOURCES = \
|
||||
dhcp.c \
|
||||
gdhcp.h \
|
||||
unaligned.h \
|
||||
common.h \
|
||||
common.c \
|
||||
ipv4ll.h \
|
||||
ipv4ll.c \
|
||||
client.c \
|
||||
server.c
|
||||
miracle_dhcp_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(DEPS_CFLAGS) \
|
||||
$(GDHCP_CFLAGS)
|
||||
miracle_dhcp_LDADD = \
|
||||
../shared/libmiracle-shared.la \
|
||||
$(DEPS_LIBS) \
|
||||
$(GDHCP_LIBS)
|
||||
|
||||
|
||||
|
23
src/shared/Makefile.am
Normal file
23
src/shared/Makefile.am
Normal file
|
@ -0,0 +1,23 @@
|
|||
include $(top_srcdir)/common.am
|
||||
noinst_LTLIBRARIES = libmiracle-shared.la
|
||||
|
||||
libmiracle_shared_la_SOURCES = \
|
||||
rtsp.h \
|
||||
rtsp.c \
|
||||
shl_dlist.h \
|
||||
shl_htable.h \
|
||||
shl_htable.c \
|
||||
shl_log.h \
|
||||
shl_log.c \
|
||||
shl_macro.h \
|
||||
shl_ring.h \
|
||||
shl_ring.c \
|
||||
shl_util.h \
|
||||
shl_util.c \
|
||||
util.h \
|
||||
wpas.h \
|
||||
wpas.c
|
||||
libmiracle_shared_la_LIBADD = -lsystemd
|
||||
|
||||
|
||||
|
17
src/wifi/Makefile.am
Normal file
17
src/wifi/Makefile.am
Normal file
|
@ -0,0 +1,17 @@
|
|||
include $(top_srcdir)/common.am
|
||||
bin_PROGRAMS = miracle-wifid
|
||||
|
||||
miracle_wifid_SOURCES = \
|
||||
wifid.h \
|
||||
wifid.c \
|
||||
wifid-dbus.c \
|
||||
wifid-link.c \
|
||||
wifid-peer.c \
|
||||
wifid-supplicant.c
|
||||
miracle_wifid_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
$(DEPS_CFLAGS)
|
||||
miracle_wifid_LDADD = \
|
||||
../shared/libmiracle-shared.la \
|
||||
$(DEPS_LIBS)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue