summaryrefslogtreecommitdiff
path: root/vmwarectrl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'vmwarectrl/Makefile.am')
-rw-r--r--vmwarectrl/Makefile.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/vmwarectrl/Makefile.am b/vmwarectrl/Makefile.am
index 9df209d..ed19384 100644
--- a/vmwarectrl/Makefile.am
+++ b/vmwarectrl/Makefile.am
@@ -1,8 +1,12 @@
-## Process this file with automake to produce Makefile.in
-AUTOMAKE_OPTIONS = dist-bzip2
+if BUILD_VMWARECTRL
bin_PROGRAMS = vmwarectrl
+
+AM_CPPFLAGS = -I$(top_srcdir)/src
+AM_CFLAGS = $(X11_CFLAGS)
+AM_LDFLAGS = $(X11_LIBS)
+
vmwarectrl_SOURCES = vmwarectrl.c libvmwarectrl.c libvmwarectrl.h
-vmwarectrl_CPPFLAGS = @X11_CFLAGS@ -I../src/
-vmwarectrl_LDADD = @X11_LIBS@
+
+endif BUILD_VMWARECTRL