summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-12-16 02:47:45 +0000
committerjsorg71 <jsorg71>2008-12-16 02:47:45 +0000
commitaf83cb7cae6c79866518da1627264397b6afc151 (patch)
tree69f87fe0b3ac3b201a866979db3551ac873d6d34 /sesman
parent8090df64a5a74e899d5494570e33b7391dc45a3c (diff)
downloadxrdp-proprietary-af83cb7cae6c79866518da1627264397b6afc151.tar.gz
xrdp-proprietary-af83cb7cae6c79866518da1627264397b6afc151.zip
remove old makefiles
Diffstat (limited to 'sesman')
-rw-r--r--sesman/Makefile78
-rw-r--r--sesman/Makefile.osx77
-rw-r--r--sesman/libscp/Makefile42
-rw-r--r--sesman/libscp/Makefile.osx45
-rw-r--r--sesman/sessvc/Makefile29
-rw-r--r--sesman/tools/Makefile62
-rw-r--r--sesman/tools/Makefile.osx65
7 files changed, 0 insertions, 398 deletions
diff --git a/sesman/Makefile b/sesman/Makefile
deleted file mode 100644
index 9d925ee1..00000000
--- a/sesman/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-# sesman makefile
-
-SESMANOBJ = sesman.o config.o sig.o session.o env.o \
- os_calls.o d3des.o list.o file.o log.o access.o \
- scp.o scp_v0.o scp_v1.o scp_v1_mng.o thread.o lock.o
-
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-LIBDIR = /usr/local/lib/xrdp
-SBINDIR = /usr/local/sbin
-
-DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
- -DSESMAN_PID_FILE=\"$(PIDDIR)/xrdp-sesman.pid\" -DDEBUG
-
-CFLAGS = -Wall -O2 -I../common -I/usr/include/nptl -I./libscp $(DEFINES)
-LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L./libscp -Wl,-rpath,$(LIBDIR) -lpthread -ldl -lscp
-C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc
-
-all: libscp_ pam_base xrdp-sessvc_ tools_
-
-nopam: libscp_ no_pam_base xrdp-sessvc_ tools_
-
-pamuserpass: libscp_ pam_userpass_base xrdp-sessvc_ tools
-
-kerberos: libscp_ kerberos_base xrdp-sessvc_ tools
-
-pam_base: $(SESMANOBJ) verify_user_pam.o
- $(CC) $(LDFLAGS) -o xrdp-sesman $(SESMANOBJ) verify_user_pam.o -lpam
-
-no_pam_base: $(SESMANOBJ) verify_user.o
- make -C libscp
- $(CC) $(LDFLAGS) -o xrdp-sesman $(SESMANOBJ) verify_user.o -lcrypt
-
-pam_userpass_base: $(SESMANOBJ) verify_user_pam_userpass.o
- $(CC) $(LDFLAGS) -o xrdp-sesman $(SESMANOBJ) verify_user_pam_userpass.o -lpam -lpam_userpass
-
-kerberos_base: $(SESMANOBJ) verify_user_kerberos.o
- $(CC) $(LDFLAGS) -o xrdp-sesman $(SESMANOBJ) verify_user_kerberos.o -lkrb5
-
-xrdp-sessvc_:
- make -C sessvc
-
-tools_:
- make -C tools
-
-libscp_:
- make -C libscp
-
-clean:
- rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o verify_user_kerberos.o xrdp-sesman
- make -C tools clean
- make -C libscp clean
- make -C sessvc clean
-
-install:
- install xrdp-sesman $(SBINDIR)/xrdp-sesman
- install startwm.sh $(CFGDIR)/startwm.sh
- install sesman.ini $(CFGDIR)/sesman.ini
- make -C tools install
- make -C libscp install
- make -C sessvc install
-
-os_calls.o: ../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../common/os_calls.c
-
-d3des.o: ../common/d3des.c
- $(CC) $(C_OS_FLAGS) ../common/d3des.c
-
-list.o: ../common/list.c
- $(CC) $(C_OS_FLAGS) ../common/list.c
-
-file.o: ../common/file.c
- $(CC) $(C_OS_FLAGS) ../common/file.c
-
-log.o: ../common/log.c
- $(CC) $(C_OS_FLAGS) -DLOG_ENABLE_THREAD ../common/log.c
-
diff --git a/sesman/Makefile.osx b/sesman/Makefile.osx
deleted file mode 100644
index 5e0b7255..00000000
--- a/sesman/Makefile.osx
+++ /dev/null
@@ -1,77 +0,0 @@
-# sesman $(MAKE)file
-
-SESMANOBJ = sesman.o config.o sig.o session.o env.o \
- os_calls.o d3des.o list.o file.o log.o access.o \
- scp.o scp_v0.o scp_v1.o thread.o lock.o
-
-SESSVCOBJ = sessvc.o os_calls.o
-
-DESTDIR = /usr/local/xrdp
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-MANDIR = /usr/local/man
-DOCDIR = /usr/doc/xrdp
-
-DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
- -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\"
-
-CFLAGS = -Wall -O2 -I../common -I/usr/include/nptl -I./libscp $(DEFINES)
-LDFLAGS = -L./libscp -lpthread -ldl -lscp
-C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc
-
-all: libscp_ pam tools
-
-nopam: libscp_ no-pam tools
-
-kerberos: libscp_ kerberos-base tools
-
-no-pam: $(SESMANOBJ) verify_user.o
- $(MAKE) -C libscp
- $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -lcrypt
-
-pam: $(SESMANOBJ) verify_user_pam.o
- $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -lpam
-
-pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o
- $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -lpam -lpam_userpass
-
-kerberos-base: $(SESMANOBJ) verify_user_kerberos.o
- $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -lkrb5
-
-sessvc: $(SESSVCOBJ)
- $(CC) $(LDFLAGS) -o sessvc $(SESSVCOBJ)
-
-tools: sessvc
- $(MAKE) -C tools -f Makefile.osx
-
-libscp_:
- $(MAKE) -C libscp -f Makefile.osx
-
-clean:
- rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman sesrun.o sesrun sessvc.o sessvc
- $(MAKE) -C tools -f Makefile.osx clean
- $(MAKE) -C libscp -f Makefile.osx clean
-
-install:
- install sesman $(DESTDIR)/sesman
- install startwm.sh $(DESTDIR)/startwm.sh
- install sesman.ini $(CFGDIR)/sesman.ini
- install sessvc $(DESTDIR)/sessvc
- $(MAKE) -C tools install
- $(MAKE) -C libscp install
-
-os_calls.o: ../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../common/os_calls.c
-
-d3des.o: ../common/d3des.c
- $(CC) $(C_OS_FLAGS) ../common/d3des.c
-
-list.o: ../common/list.c
- $(CC) $(C_OS_FLAGS) ../common/list.c
-
-file.o: ../common/file.c
- $(CC) $(C_OS_FLAGS) ../common/file.c
-
-log.o: ../common/log.c
- $(CC) $(C_OS_FLAGS) -DLOG_ENABLE_THREAD ../common/log.c
diff --git a/sesman/libscp/Makefile b/sesman/libscp/Makefile
deleted file mode 100644
index 62702afc..00000000
--- a/sesman/libscp/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# libscp makefile
-LIBSCPOBJ = libscp_vX.o libscp_v0.o \
- libscp_v1s.o libscp_v1c.o \
- libscp_init.o libscp_lock.o libscp_tcp.o \
- libscp_session.o libscp_connection.o \
- os_calls.o \
- libscp_v1s_mng.o libscp_v1c_mng.o
-
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-MANDIR = /usr/local/man
-LIBDIR = /usr/local/lib/xrdp
-
-LIBSCPLNAME = libscp.so
-LIBSCPSONAME = $(LIBSCPLNAME).1
-LIBSCPFNAME = $(LIBSCPSONAME).0.0
-
-DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
- -DSESMAN_PID_FILE=\"$(PIDDIR)/xrdp-sesman.pid\" \
- -DSESMAN_SESSVC_FILE=\"xrdp-sessvc\"
-
-#CFLAGS = -Wall -O2 -I../../common -I/usr/include/nptl -fPIC $(DEFINES)
-CFLAGS = -Wall -g -I../../common -I/usr/include/nptl -fPIC $(DEFINES)
-LDFLAGS = -shared -L/usr/gnu/lib -L/usr/lib/nptl -lpthread
-C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc
-
-all: libscp.so
-
-libscp.so: $(LIBSCPOBJ)
- $(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ)
- ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME)
-
-clean:
- rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME)
-
-install:
- install -D $(LIBSCPFNAME) $(LIBDIR)/$(LIBSCPFNAME)
- ln -f -s $(LIBSCPFNAME) $(LIBDIR)/$(LIBSCPLNAME)
-
-os_calls.o: ../../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
diff --git a/sesman/libscp/Makefile.osx b/sesman/libscp/Makefile.osx
deleted file mode 100644
index d8750563..00000000
--- a/sesman/libscp/Makefile.osx
+++ /dev/null
@@ -1,45 +0,0 @@
-# libscp makefile
-LIBSCPOBJ = libscp_vX.o libscp_v0.o \
- libscp_v1s.o libscp_v1c.o \
- libscp_init.o libscp_lock.o libscp_tcp.o \
- libscp_session.o libscp_connection.o \
- os_calls.o
-
-DESTDIR = /usr/local/xrdp
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-MANDIR = /usr/local/man
-DOCDIR = /usr/doc/xrdp
-
-DESTDIRDEB = /tmp
-
-LIBSCPLNAME = libscp.dylib
-LIBSCPSONAME = libscp.1.dylib
-LIBSCPFNAME = libscp.0.0.dylib
-
-DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \
- -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \
- -DSESMAN_SESSVC_FILE=\"sessvc\"
-
-CFLAGS = -Wall -O2 -I../../common -I/usr/include/nptl -fPIC -fno-common $(DEFINES)
-LDFLAGS = -dynamiclib -Wl,-flat_namespace -Wl,-undefined -Wl,suppress -lpthread
-C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc
-
-all: $(LIBSCPOBJ)
- $(CC) $(LDFLAGS) -o $(LIBSCPFNAME) $(LIBSCPOBJ)
- ln -f -s $(LIBSCPFNAME) $(LIBSCPLNAME)
-
-clean:
- rm -f $(LIBSCPOBJ) $(LIBSCPFNAME) $(LIBSCPLNAME)
-
-install:
- install $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPFNAME)
- ln -f -s $(LIBSCPFNAME) $(DESTDIR)/$(LIBSCPLNAME)
-
-installdeb:
- install $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPFNAME)
- ln -f -s $(LIBSCPFNAME) $(DESTDIRDEB)/usr/lib/xrdp/$(LIBSCPLNAME)
-
-os_calls.o: ../../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
diff --git a/sesman/sessvc/Makefile b/sesman/sessvc/Makefile
deleted file mode 100644
index 39905e94..00000000
--- a/sesman/sessvc/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-
-SESSVCOBJ = sessvc.o os_calls.o log.o
-
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-LIBDIR = /usr/local/lib/xrdp
-SBINDIR = /usr/local/sbin
-
-CFLAGS = -Wall -O2 -I../../common
-LDFLAGS = -lpthread -ldl
-C_OS_FLAGS = $(CFLAGS) -c
-CC = gcc
-
-all: xrdp-sessvc
-
-xrdp-sessvc: $(SESSVCOBJ)
- $(CC) $(LDFLAGS) -o xrdp-sessvc $(SESSVCOBJ)
-
-clean:
- rm -f $(SESSVCOBJ) xrdp-sessvc
-
-install:
- install xrdp-sessvc $(SBINDIR)/xrdp-sessvc
-
-os_calls.o: ../../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
-
-log.o: ../../common/log.c
- $(CC) $(C_OS_FLAGS) -DLOG_ENABLE_THREAD ../../common/log.c
diff --git a/sesman/tools/Makefile b/sesman/tools/Makefile
deleted file mode 100644
index 65705fc6..00000000
--- a/sesman/tools/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-# sesman tools makefile
-SESTESTOBJ = sestest.o \
- os_calls.o log.o
-# d3des.o list.o file.o \
-# libscp_v1c.o tcp.o
-
-SESRUNOBJ = sesrun.o config.o tcp.o \
- os_calls.o d3des.o list.o file.o log.o
-
-SESADMINOBJ = sesadmin.o \
- os_calls.o log.o
-
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-MANDIR = /usr/local/man
-LIBDIR = /usr/local/lib/xrdp
-BINDIR = /usr/local/bin
-
-DEFINES = -DLIBSCP_CLIENT
-
-#CFLAGS = -Wall -O2 -I../../common -I../ -I/usr/include/nptl -I../libscp $(DEFINES)
-CFLAGS = -Wall -g -I../../common -I../ -I/usr/include/nptl -I../libscp $(DEFINES)
-LDFLAGS = -L/usr/gnu/lib -L/usr/lib/nptl -L../libscp -lpthread -ldl -lscp -Wl,-rpath,$(LIBDIR)
-#LDFLAGS = -L /usr/gnu/lib -ldl $(DEFINES)
-C_OS_FLAGS = $(CFLAGS) -c -g
-CC = gcc
-
-all: xrdp-sestest xrdp-sesrun xrdp-sesadmin
-
-xrdp-sestest: $(SESTESTOBJ)
- $(CC) $(LDFLAGS) -o xrdp-sestest $(SESTESTOBJ)
-
-xrdp-sesrun: $(SESRUNOBJ)
- $(CC) $(LDFLAGS) -o xrdp-sesrun $(SESRUNOBJ)
-
-xrdp-sesadmin: $(SESADMINOBJ)
- $(CC) $(LDFLAGS) -o xrdp-sesadmin $(SESADMINOBJ)
-
-clean:
- rm -f *.o xrdp-sestest xrdp-sesrun xrdp-sesadmin
-
-install:
- install xrdp-sesrun $(BINDIR)/xrdp-sesrun
- install xrdp-sestest $(BINDIR)/xrdp-sestest
-
-d3des.o: ../../common/d3des.c
- $(CC) $(C_OS_FLAGS) ../../common/d3des.c
-
-list.o: ../../common/list.c
- $(CC) $(C_OS_FLAGS) ../../common/list.c
-
-file.o: ../../common/file.c
- $(CC) $(C_OS_FLAGS) ../../common/file.c
-
-os_calls.o: ../../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
-
-log.o: ../../common/log.c
- $(CC) $(C_OS_FLAGS) ../../common/log.c
-
-config.o: ../config.c
- $(CC) $(C_OS_FLAGS) ../config.c
diff --git a/sesman/tools/Makefile.osx b/sesman/tools/Makefile.osx
deleted file mode 100644
index 61de0e6b..00000000
--- a/sesman/tools/Makefile.osx
+++ /dev/null
@@ -1,65 +0,0 @@
-# sesman tools makefile
-SESTESTOBJ = sestest.o \
- os_calls.o
-# d3des.o list.o file.o \
-# libscp_v1c.o tcp.o
-
-SESRUNOBJ = sesrun.o config.o tcp.o \
- os_calls.o d3des.o list.o file.o log.o
-
-DESTDIR = /usr/local/xrdp
-CFGDIR = /etc/xrdp
-PIDDIR = /var/run
-MANDIR = /usr/local/man
-DOCDIR = /usr/doc/xrdp
-
-DEFINES = -DLIBSCP_CLIENT
-
-CFLAGS = -Wall -O2 -I../../common -I../ -I../libscp $(DEFINES)
-LDFLAGS = -L../libscp -lpthread -ldl -lscp $(DEFINES)
-#LDFLAGS = -L /usr/gnu/lib -ldl $(DEFINES)
-C_OS_FLAGS = $(CFLAGS) -c -g
-CC = gcc
-
-all: stest srun
-
-stest: $(SESTESTOBJ)
- $(CC) $(LDFLAGS) -o sestest $(SESTESTOBJ)
-
-srun: $(SESRUNOBJ)
- $(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ)
-
-os_calls.o: ../../common/os_calls.c
- $(CC) $(C_OS_FLAGS) ../../common/os_calls.c
-
-#d3des.o: ../../common/d3des.c
-# $(CC) $(C_OS_FLAGS) ../../common/d3des.c
-
-#list.o: ../../common/list.c
-# $(CC) $(C_OS_FLAGS) ../../common/list.c
-
-#file.o: ../../common/file.c
-# $(CC) $(C_OS_FLAGS) ../../common/file.c
-
-log.o: ../../common/log.c
- $(CC) $(C_OS_FLAGS) ../../common/log.c
-
-#tcp.o: tcp.c
-# $(CC) $(C_OS_FLAGS) ../tcp.c
-
-config.o: ../config.c
- $(CC) $(C_OS_FLAGS) ../config.c
-
-#libscp_v1c.o: ../libscp_v1c.c
-# $(CC) $(C_OS_FLAGS) ../libscp_v1c.c
-
-clean:
- rm -f *.o sestest sesrun
-
-install:
- install sesrun $(DESTDIR)/sesrun
- install sestest $(DESTDIR)/sestest
-
-installdeb:
- install sesrun $(DESTDIRDEB)/usr/lib/xrdp/sesrun
- install sestest $(DESTDIRDEB)/usr/lib/xrdp/sestest