2005-06-05 03:51:51 +04:00
|
|
|
|
|
|
|
DESTDIR = /usr/local/xrdp
|
2005-12-02 06:24:41 +03:00
|
|
|
CFGDIR = /etc/xrdp
|
|
|
|
PIDDIR = /var/run
|
|
|
|
MANDIR = /usr/local/man
|
|
|
|
DOCDIR = /usr/doc/xrdp
|
2005-06-05 03:51:51 +04:00
|
|
|
|
|
|
|
all: world
|
|
|
|
|
2005-12-02 06:24:41 +03:00
|
|
|
world: base
|
|
|
|
make -C sesman
|
|
|
|
|
|
|
|
base:
|
2005-06-05 03:51:51 +04:00
|
|
|
make -C vnc
|
2005-06-28 07:11:35 +04:00
|
|
|
make -C libxrdp
|
2005-06-05 03:51:51 +04:00
|
|
|
make -C xrdp
|
2005-11-03 06:33:23 +03:00
|
|
|
make -C rdp
|
2006-02-04 22:08:51 +03:00
|
|
|
make -C xup
|
2005-12-02 06:24:41 +03:00
|
|
|
|
|
|
|
nopam: base
|
|
|
|
make -C sesman nopam
|
2006-02-09 21:01:41 +03:00
|
|
|
make -C sesman tools
|
2005-12-02 06:24:41 +03:00
|
|
|
|
|
|
|
kerberos: base
|
|
|
|
make -C sesman kerberos
|
2006-02-09 21:01:41 +03:00
|
|
|
make -C sesman tools
|
2005-06-05 03:51:51 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C vnc clean
|
2005-06-28 07:11:35 +04:00
|
|
|
make -C libxrdp clean
|
2005-06-05 03:51:51 +04:00
|
|
|
make -C xrdp clean
|
2005-11-03 06:33:23 +03:00
|
|
|
make -C rdp clean
|
2005-06-05 03:51:51 +04:00
|
|
|
make -C sesman clean
|
2006-02-04 22:08:51 +03:00
|
|
|
make -C xup clean
|
2005-06-05 03:51:51 +04:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)
|
2005-12-02 07:57:51 +03:00
|
|
|
mkdir -p $(CFGDIR)
|
2005-12-02 06:24:41 +03:00
|
|
|
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
|
2006-02-04 22:08:51 +03:00
|
|
|
make -C xup install
|
2005-12-02 06:24:41 +03:00
|
|
|
make -C docs install
|
2006-02-09 21:01:41 +03:00
|
|
|
if [ -d /etc/pam.d ]; then install instfiles/pam.d/sesman /etc/pam.d/sesman; fi
|
2005-12-02 07:57:51 +03:00
|
|
|
install instfiles/xrdpstart.sh $(DESTDIR)/xrdpstart.sh
|
2006-02-04 22:19:34 +03:00
|
|
|
install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
|
2006-03-04 04:02:09 +03:00
|
|
|
|
|
|
|
installdeb:
|
|
|
|
mkdir -p $(DESTDIRDEB)/usr/xrdp
|
|
|
|
mkdir -p $(DESTDIRDEB)/etc/xrdp
|
|
|
|
mkdir -p $(DESTDIRDEB)/etc/pam.d
|
|
|
|
mkdir -p $(DESTDIRDEB)/etc/init.d
|
|
|
|
mkdir -p $(DESTDIRDEB)/usr/man
|
|
|
|
mkdir -p $(DESTDIRDEB)/usr/man/man5
|
|
|
|
mkdir -p $(DESTDIRDEB)/usr/man/man8
|
|
|
|
make -C vnc installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C libxrdp installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C xrdp installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C rdp installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C sesman installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C xup installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
make -C docs installdeb DESTDIRDEB=$(DESTDIRDEB)
|
|
|
|
install instfiles/pam.d/sesman $(DESTDIRDEB)/etc/pam.d/sesman
|
|
|
|
install instfiles/xrdp_control1.sh $(DESTDIRDEB)/etc/init.d/xrdp_control.sh
|