summaryrefslogtreecommitdiffstats
path: root/Makefile.osx
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-09-27 18:09:29 +0000
committerjsorg71 <jsorg71>2007-09-27 18:09:29 +0000
commit5bec95f1237477e6a7c7cd8ad264b6bfbe4a174c (patch)
treedf33831c9e5511ef5d26b19665182712f3798b9f /Makefile.osx
parent41254913673f07318811c1cc06e5ee80b19d87fd (diff)
downloadxrdp-proprietary-5bec95f1237477e6a7c7cd8ad264b6bfbe4a174c.tar.gz
xrdp-proprietary-5bec95f1237477e6a7c7cd8ad264b6bfbe4a174c.zip
added mac makefiles
Diffstat (limited to 'Makefile.osx')
-rw-r--r--Makefile.osx51
1 files changed, 51 insertions, 0 deletions
diff --git a/Makefile.osx b/Makefile.osx
new file mode 100644
index 00000000..d9756950
--- /dev/null
+++ b/Makefile.osx
@@ -0,0 +1,51 @@
+
+DESTDIR = /usr/local/xrdp
+CFGDIR = /etc/xrdp
+PIDDIR = /var/run
+MANDIR = /usr/local/man
+DOCDIR = /usr/doc/xrdp
+
+all: kerberos
+
+world: base
+ ${MAKE} -C sesman
+
+base:
+ ${MAKE} -C vnc -f Makefile.osx
+ ${MAKE} -C libxrdp -f Makefile.osx
+ ${MAKE} -C xrdp -f Makefile.osx
+ ${MAKE} -C rdp -f Makefile.osx
+ ${MAKE} -C xup -f Makefile.osx
+
+nopam: base
+ ${MAKE} -C sesman nopam
+ ${MAKE} -C sesman tools
+
+kerberos: base
+ ${MAKE} -C sesman -f Makefile.osx kerberos
+ ${MAKE} -C sesman -f Makefile.osx tools
+
+clean:
+ ${MAKE} -C vnc -f Makefile.osx clean
+ ${MAKE} -C libxrdp -f Makefile.osx clean
+ ${MAKE} -C xrdp -f Makefile.osx clean
+ ${MAKE} -C rdp -f Makefile.osx clean
+ ${MAKE} -C sesman -f Makefile.osx clean
+ ${MAKE} -C xup -f Makefile.osx clean
+
+install:
+ mkdir -p $(DESTDIR)
+ mkdir -p $(CFGDIR)
+ mkdir -p $(PIDDIR)
+ mkdir -p $(MANDIR)
+ mkdir -p $(DOCDIR)
+ ${MAKE} -C vnc install
+ ${MAKE} -C libxrdp install
+ ${MAKE} -C xrdp install
+ ${MAKE} -C rdp install
+ ${MAKE} -C sesman install
+ ${MAKE} -C xup install
+ ${MAKE} -C docs install
+ if [ -d /etc/pam.d ]; then install instfiles/pam.d/sesman/etc/pam.d/sesman; fi
+ install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
+