summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/Makefile
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-11-13 09:04:54 -0800
committerPavel Roskin <plroskin@gmail.com>2016-11-13 09:04:54 -0800
commitd93bb4cf4bc4ca278dde97308133a1c2d69e96b7 (patch)
tree9648ceb22378b4b2dee720b8dd401bc46f8888b2 /xorg/X11R7.6/rdp/Makefile
parent4f33a9db1dae60040d7252a8f0111ab88967f864 (diff)
downloadxrdp-proprietary-d93bb4cf4bc4ca278dde97308133a1c2d69e96b7.tar.gz
xrdp-proprietary-d93bb4cf4bc4ca278dde97308133a1c2d69e96b7.zip
Check that X11RDPBASE is set, give it a better description
Use BINBASE for the binary install path.
Diffstat (limited to 'xorg/X11R7.6/rdp/Makefile')
-rw-r--r--xorg/X11R7.6/rdp/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/xorg/X11R7.6/rdp/Makefile b/xorg/X11R7.6/rdp/Makefile
index c18e01b6..7992d334 100644
--- a/xorg/X11R7.6/rdp/Makefile
+++ b/xorg/X11R7.6/rdp/Makefile
@@ -1,6 +1,9 @@
+# X11RDPBASE is the top-level X11rdp install directory
+ifeq ($(X11RDPBASE),)
+$(error X11RDPBASE needs to be set)
+endif
-#X11RDPBASE is an environment variable that needs to be set
-
+BINBASE = $(X11RDPBASE)/bin
INCBASE = $(X11RDPBASE)/include
LIBBASE = $(X11RDPBASE)/lib
@@ -113,4 +116,4 @@ fbcmap_mi.o: ../build_dir/xorg-server-1.9.3/fb/fbcmap_mi.c
$(CC) $(CFLAGS) -c ../build_dir/xorg-server-1.9.3/fb/fbcmap_mi.c
install: all
- $(INSTALL) X11rdp $(X11RDPBASE)/bin/X11rdp
+ $(INSTALL) X11rdp $(BINBASE)/X11rdp