summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
Diffstat (limited to 'sesman')
-rw-r--r--sesman/Makefile.am37
-rw-r--r--sesman/libscp/Makefile.am19
2 files changed, 56 insertions, 0 deletions
diff --git a/sesman/Makefile.am b/sesman/Makefile.am
new file mode 100644
index 00000000..98f34e79
--- /dev/null
+++ b/sesman/Makefile.am
@@ -0,0 +1,37 @@
+INCLUDES = \
+ -I$(top_srcdir)/common \
+ -I$(top_srcdir)/sesman/libscp
+
+bin_PROGRAMS = \
+ xrdp-sesman \
+ xrdp-sessvc
+
+xrdp_sesman_SOURCES = \
+ scp.c \
+ scp_v0.c \
+ scp_v1.c \
+ sesman.c \
+ session.c \
+ sig.c \
+ thread.c \
+ verify_user_pam.c \
+ lock.c \
+ access.c \
+ config.c \
+ env.c
+
+xrdp_sessvc_SOURCES = \
+ sessvc.c
+
+xrdp_sesman_LDADD = \
+ $(top_srcdir)/common/libxrdp-common.a \
+ $(top_srcdir)/sesman/libscp/libscp.la \
+ -ldl \
+ -lpthread \
+ -lpam
+
+xrdp_sessvc_LDADD = \
+ $(top_srcdir)/common/libxrdp-common.a \
+ -ldl
+
+SUBDIRS = libscp
diff --git a/sesman/libscp/Makefile.am b/sesman/libscp/Makefile.am
new file mode 100644
index 00000000..e5d22116
--- /dev/null
+++ b/sesman/libscp/Makefile.am
@@ -0,0 +1,19 @@
+INCLUDES = \
+ -I$(top_srcdir)/common
+
+lib_LTLIBRARIES = \
+ libscp.la
+
+libscp_la_SOURCES = \
+ libscp_connection.c \
+ libscp_init.c \
+ libscp_lock.c \
+ libscp_session.c \
+ libscp_tcp.c \
+ libscp_v0.c \
+ libscp_v1c.c \
+ libscp_v1s.c \
+ libscp_vX.c
+
+libscp_la_LDFLAGS = \
+ -version-info 5:0:5