summaryrefslogtreecommitdiffstats
path: root/libvncclient/Makefile.am
diff options
context:
space:
mode:
authordscho <dscho>2009-02-03 12:22:29 +0000
committerdscho <dscho>2009-02-03 12:22:29 +0000
commit3d2eab575e4af80707bcfcd112d0e2873c8562a6 (patch)
treed165d3db80c82fd4c199306d597ab7fd73f14e2c /libvncclient/Makefile.am
parent2475d2c288953e6bf903c36e6e08816dd798abfb (diff)
downloadlibtdevnc-3d2eab575e4af80707bcfcd112d0e2873c8562a6.tar.gz
libtdevnc-3d2eab575e4af80707bcfcd112d0e2873c8562a6.zip
clean up build flags
The flag handling (both compiler options and include paths) are a mess at the moment. There is no point in forcing "-O2 -g" when these are already the defaults, and if someone changes the defaults, chances are good they don't want you clobbering their choices. The -Wall flag should be handled in configure and thrown into CFLAGS once rather than every Makefile.am. Plus, this way we can control which compilers the flag actually gets used with. Finally, the INCLUDES variable is for -I paths, not AM_CFLAGS. Nor should it contain -I. as this is already in the default includes setup. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncclient/Makefile.am')
-rw-r--r--libvncclient/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/Makefile.am b/libvncclient/Makefile.am
index e9a6467..24dc8cf 100644
--- a/libvncclient/Makefile.am
+++ b/libvncclient/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS=-g -I $(top_srcdir) -I. -Wall
+INCLUDES = -I$(top_srcdir)
libvncclient_la_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c