From c5fceb31ece2af9cd9101007dc9c1750ae778ea7 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 3 Aug 2008 07:48:32 +0000 Subject: [PATCH] autotools --- common/Makefile.am | 15 +++++++++++++++ libxrdp/Makefile.am | 24 ++++++++++++++++++++++++ rdp/Makefile.am | 22 ++++++++++++++++++++++ sesman/Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ sesman/libscp/Makefile.am | 19 +++++++++++++++++++ vnc/Makefile.am | 13 +++++++++++++ xrdp/Makefile.am | 28 ++++++++++++++++++++++++++++ xup/Makefile.am | 13 +++++++++++++ 8 files changed, 171 insertions(+) create mode 100644 common/Makefile.am create mode 100644 libxrdp/Makefile.am create mode 100644 rdp/Makefile.am create mode 100644 sesman/Makefile.am create mode 100644 sesman/libscp/Makefile.am create mode 100644 vnc/Makefile.am create mode 100644 xrdp/Makefile.am create mode 100644 xup/Makefile.am diff --git a/common/Makefile.am b/common/Makefile.am new file mode 100644 index 00000000..bdecbda4 --- /dev/null +++ b/common/Makefile.am @@ -0,0 +1,15 @@ + +INCLUDES = \ + -fPIC + +noinst_LIBRARIES = \ + libxrdp-common.a + +libxrdp_common_a_SOURCES = \ + d3des.c \ + file.c \ + list.c \ + log.c \ + os_calls.c \ + ssl_calls.c \ + thread_calls.c diff --git a/libxrdp/Makefile.am b/libxrdp/Makefile.am new file mode 100644 index 00000000..96ec7cd2 --- /dev/null +++ b/libxrdp/Makefile.am @@ -0,0 +1,24 @@ +INCLUDES = \ + -I$(top_srcdir)/common \ + -DXRDP_CFG_FILE=\"/etc/xrdp/xrdp.ini\" \ + -DXRDP_KEY_FILE=\"/etc/xrdp/rsakeys.ini\" + +lib_LTLIBRARIES = \ + libxrdp.la + +libxrdp_la_SOURCES = \ + libxrdp.c \ + xrdp_channel.c \ + xrdp_iso.c \ + xrdp_mcs.c \ + xrdp_orders.c \ + xrdp_rdp.c \ + xrdp_sec.c \ + xrdp_tcp.c \ + xrdp_bitmap_compress.c + +libxrdp_la_LIBADD = \ + $(top_srcdir)/common/libxrdp-common.a + +libxrdp_la_LDFLAGS = \ + -version-info 5:0:5 diff --git a/rdp/Makefile.am b/rdp/Makefile.am new file mode 100644 index 00000000..f149a931 --- /dev/null +++ b/rdp/Makefile.am @@ -0,0 +1,22 @@ +INCLUDES = \ + -I$(top_srcdir)/common + +lib_LTLIBRARIES = \ + librdp.la + +librdp_la_SOURCES = \ + rdp.c \ + rdp_bitmap.c \ + rdp_iso.c \ + rdp_lic.c \ + rdp_mcs.c \ + rdp_orders.c \ + rdp_rdp.c \ + rdp_sec.c \ + rdp_tcp.c + +librdp_la_LIBADD = \ + $(top_srcdir)/common/libxrdp-common.a + +librdp_la_LDFLAGS = \ + -version-info 5:0:5 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 diff --git a/vnc/Makefile.am b/vnc/Makefile.am new file mode 100644 index 00000000..790a9ba8 --- /dev/null +++ b/vnc/Makefile.am @@ -0,0 +1,13 @@ +INCLUDES = \ + -I$(top_srcdir)/common + +lib_LTLIBRARIES = \ + libvnc.la + +libvnc_la_SOURCES = vnc.c + +libvnc_la_LIBADD = \ + $(top_srcdir)/common/libxrdp-common.a + +libvnc_la_LDFLAGS = \ + -version-info 5:0:5 diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am new file mode 100644 index 00000000..98092c93 --- /dev/null +++ b/xrdp/Makefile.am @@ -0,0 +1,28 @@ +INCLUDES = \ + -I$(top_srcdir)/common \ + -I$(top_srcdir)/libxrdp + +bin_PROGRAMS = \ + xrdp + +xrdp_SOURCES = \ + funcs.c \ + lang.c \ + xrdp_bitmap.c \ + xrdp.c \ + xrdp_cache.c \ + xrdp_font.c \ + xrdp_listen.c \ + xrdp_login_wnd.c \ + xrdp_mm.c \ + xrdp_painter.c \ + xrdp_process.c \ + xrdp_region.c \ + xrdp_wm.c + +xrdp_LDADD = \ + $(top_srcdir)/common/libxrdp-common.a \ + $(top_srcdir)/libxrdp/libxrdp.la \ + -ldl \ + -lpthread \ + -lcrypto diff --git a/xup/Makefile.am b/xup/Makefile.am new file mode 100644 index 00000000..13652c53 --- /dev/null +++ b/xup/Makefile.am @@ -0,0 +1,13 @@ +INCLUDES = \ + -I$(top_srcdir)/common + +lib_LTLIBRARIES = \ + libxup.la + +libxup_la_SOURCES = xup.c + +libxup_la_LIBADD = \ + $(top_srcdir)/common/libxrdp-common.a + +libxup_la_LDFLAGS = \ + -version-info 5:0:5