1
0
Fork 0
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:
albfan 2015-03-08 12:22:05 +01:00
parent 1b1751043b
commit f884dd858c
12 changed files with 230 additions and 299 deletions

20
common.am Normal file
View file

@ -0,0 +1,20 @@
AM_CFLAGS = -Wall \
-pipe \
-fno-common \
-ffast-math \
-fdiagnostics-show-option \
-fno-strict-aliasing \
-fvisibility=hidden \
-ffunction-sections \
-fdata-sections
AM_CPPFLAGS = -include $(top_builddir)/config.h \
-I $(top_srcdir)/src \
-I $(top_srcdir)/src/shared \
-DBUILD_ENABLE_DEBUG \
'-DBUILD_BINDIR="$(bindir)"'
AM_LDFLAGS = -Wl,--as-needed \
-Wl,--gc-sections \
-Wl,-z,relro \
-Wl,-z,now