Added headers to */Makefile.am
Include data files in make dist
---
 Makefile.am                 |    5 ++++-
 common/Makefile.am          |   13 +++++++++++++
 docs/man/Makefile.am        |    4 ++--
 instfiles/Makefile.am       |    2 +-
 instfiles/pam.d/Makefile.am |    2 +-
 libxrdp/Makefile.am         |    2 ++
 mc/Makefile.am              |    4 +++-
 rdp/Makefile.am             |    1 +
 sesman/Makefile.am          |   15 ++++++++++++++-
 sesman/libscp/Makefile.am   |   16 ++++++++++++++++
 sesman/tools/Makefile.am    |    1 +
 vnc/Makefile.am             |    4 +++-
 xrdp/Makefile.am            |    6 ++++--
 xup/Makefile.am             |    4 +++-
 14 files changed, 68 insertions(+), 11 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1b6a513..e48eaab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,3 @@
-
 SUBDIRS = \
   common \
   vnc \
@@ -11,3 +10,7 @@ SUBDIRS = \
   keygen \
   docs \
   instfiles
+
+# must be tab below
+dist-hook:
+       cp $(srcdir)/bootstrap $(srcdir)/*.txt $(distdir)
diff --git a/common/Makefile.am b/common/Makefile.am
index 8107e97..830c346 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -2,13 +2,26 @@ lib_LTLIBRARIES = \
   libcommon.la
 
 libcommon_la_SOURCES = \
+  arch.h \
+  defines.h \
+  file_loc.h \
+  parse.h \
+  xrdp_constants.h \
+  d3des.h \
   d3des.c \
+  file.h \
   file.c \
+  list.h \
   list.c \
+  log.h \
   log.c \
+  os_calls.h \
   os_calls.c \
+  ssl_calls.h \
   ssl_calls.c \
+  thread_calls.h \
   thread_calls.c \
+  trans.h \
   trans.c
 
 libcommon_la_LIBADD = \
diff --git a/docs/man/Makefile.am b/docs/man/Makefile.am
index a8aef78..78847c6 100644
--- a/docs/man/Makefile.am
+++ b/docs/man/Makefile.am
@@ -1,13 +1,13 @@
 
 xrdpman5dir=$(mandir)/man5
 
-xrdpman5_DATA = \
+dist_xrdpman5_DATA = \
   sesman.ini.5 \
   xrdp.ini.5
 
 xrdpman8dir=$(mandir)/man8
 
-xrdpman8_DATA = \
+dist_xrdpman8_DATA = \
   xrdp.8 \
   xrdp-sesman.8 \
   xrdp-sesrun.8
diff --git a/instfiles/Makefile.am b/instfiles/Makefile.am
index 8f8616c..05f6515 100644
--- a/instfiles/Makefile.am
+++ b/instfiles/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = \
 
 startscriptdir=$(sysconfdir)/xrdp
 
-startscript_DATA = \
+dist_startscript_DATA = \
   xrdp.sh
 
 # must be tab below
diff --git a/instfiles/pam.d/Makefile.am b/instfiles/pam.d/Makefile.am
index fb1c455..fb717a7 100644
--- a/instfiles/pam.d/Makefile.am
+++ b/instfiles/pam.d/Makefile.am
@@ -15,5 +15,5 @@ endif
 
 pamddir=$(sysconfdir)/pam.d
 
-pamd_DATA = \
+dist_pamd_DATA = \
   $(PAMFILE)
diff --git a/libxrdp/Makefile.am b/libxrdp/Makefile.am
index 9d140d8..fddbe30 100644
--- a/libxrdp/Makefile.am
+++ b/libxrdp/Makefile.am
@@ -5,6 +5,8 @@ lib_LTLIBRARIES = \
   libxrdp.la
 
 libxrdp_la_SOURCES = \
+  libxrdp.h \
+  libxrdpinc.h \
   libxrdp.c \
   xrdp_channel.c \
   xrdp_iso.c \
diff --git a/mc/Makefile.am b/mc/Makefile.am
index 6160518..7ea0803 100644
--- a/mc/Makefile.am
+++ b/mc/Makefile.am
@@ -4,7 +4,9 @@ INCLUDES = \
 lib_LTLIBRARIES = \
   libmc.la
 
-libmc_la_SOURCES = mc.c
+libmc_la_SOURCES = \
+  mc.h \
+  mc.c
 
 libmc_la_LIBADD = \
   $(top_srcdir)/common/libcommon.la
diff --git a/rdp/Makefile.am b/rdp/Makefile.am
index 0ec7357..3ab8e8e 100644
--- a/rdp/Makefile.am
+++ b/rdp/Makefile.am
@@ -5,6 +5,7 @@ lib_LTLIBRARIES = \
   librdp.la
 
 librdp_la_SOURCES = \
+  rdp.h \
   rdp.c \
   rdp_bitmap.c \
   rdp_iso.c \
diff --git a/sesman/Makefile.am b/sesman/Makefile.am
index 0020a48..ad51468 100644
--- a/sesman/Makefile.am
+++ b/sesman/Makefile.am
@@ -24,18 +24,31 @@ sbin_PROGRAMS = \
   xrdp-sesman
 
 xrdp_sesman_SOURCES = \
+  scp.h \
   scp.c \
+  scp_v0.h \
   scp_v0.c \
+  scp_v1.h \
   scp_v1.c \
+  scp_v1_mng.h \
   scp_v1_mng.c \
+  sesman.h \
   sesman.c \
+  session.h \
   session.c \
+  sig.h \
   sig.c \
+  thread.h \
   thread.c \
+  lock.h \
   lock.c \
+  access.h \
   access.c \
+  config.h \
   config.c \
+  env.h \
   env.c \
+  auth.h \
   $(AUTH_C)
 
 xrdp_sesman_LDADD = \
@@ -45,7 +58,7 @@ xrdp_sesman_LDADD = \
 
 sesmansysconfdir=$(sysconfdir)/xrdp
 
-sesmansysconf_DATA = \
+dist_sesmansysconf_DATA = \
   sesman.ini \
   startwm.sh
 
diff --git a/sesman/libscp/Makefile.am b/sesman/libscp/Makefile.am
index f0b87a7..1db04bb 100644
--- a/sesman/libscp/Makefile.am
+++ b/sesman/libscp/Makefile.am
@@ -5,16 +5,32 @@ lib_LTLIBRARIES = \
   libscp.la
 
 libscp_la_SOURCES = \
+  libscp.h \
+  libscp_commands.h \
+  libscp_commands_mng.h \
+  libscp_types.h \
+  libscp_types_mng.h \
+  libscp_connection.h \
   libscp_connection.c \
+  libscp_init.h \
   libscp_init.c \
+  libscp_lock.h \
   libscp_lock.c \
+  libscp_session.h \
   libscp_session.c \
+  libscp_tcp.h \
   libscp_tcp.c \
+  libscp_v0.h \
   libscp_v0.c \
+  libscp_v1c.h \
   libscp_v1c.c \
+  libscp_v1s.h \
   libscp_v1s.c \
+  libscp_v1c_mng.h \
   libscp_v1c_mng.c \
+  libscp_v1s_mng.h \
   libscp_v1s_mng.c \
+  libscp_vX.h \
   libscp_vX.c
 
 libscp_la_LIBADD = \
diff --git a/sesman/tools/Makefile.am b/sesman/tools/Makefile.am
index 81af155..b20d4be 100644
--- a/sesman/tools/Makefile.am
+++ b/sesman/tools/Makefile.am
@@ -10,6 +10,7 @@ bin_PROGRAMS = \
 
 xrdp_sesrun_SOURCES = \
   sesrun.c \
+  tcp.h \
   tcp.c \
   config.c
 
diff --git a/vnc/Makefile.am b/vnc/Makefile.am
index 6f6bc9d..6ffc53d 100644
--- a/vnc/Makefile.am
+++ b/vnc/Makefile.am
@@ -4,7 +4,9 @@ INCLUDES = \
 lib_LTLIBRARIES = \
   libvnc.la
 
-libvnc_la_SOURCES = vnc.c
+libvnc_la_SOURCES = \
+  vnc.h \
+  vnc.c
 
 libvnc_la_LIBADD = \
   $(top_srcdir)/common/libcommon.la
diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am
index 2e6462b..631fde2 100644
--- a/xrdp/Makefile.am
+++ b/xrdp/Makefile.am
@@ -9,6 +9,8 @@ xrdp_SOURCES = \
   funcs.c \
   lang.c \
   xrdp_bitmap.c \
+  xrdp_types.h \
+  xrdp.h \
   xrdp.c \
   xrdp_cache.c \
   xrdp_font.c \
@@ -26,13 +28,13 @@ xrdp_LDADD = \
 
 xrdpsysconfdir=$(sysconfdir)/xrdp
 
-xrdpsysconf_DATA = \
+dist_xrdpsysconf_DATA = \
   xrdp.ini \
   rsakeys.ini
 
 xrdppkgdatadir=$(datadir)/xrdp
 
-xrdppkgdata_DATA = \
+dist_xrdppkgdata_DATA = \
   ad256.bmp \
   xrdp256.bmp \
   sans-10.fv1 \
diff --git a/xup/Makefile.am b/xup/Makefile.am
index 2552b7d..47a9582 100644
--- a/xup/Makefile.am
+++ b/xup/Makefile.am
@@ -4,7 +4,9 @@ INCLUDES = \
 lib_LTLIBRARIES = \
   libxup.la
 
-libxup_la_SOURCES = xup.c
+libxup_la_SOURCES = \
+  xup.h \
+  xup.c
 
 libxup_la_LIBADD = \
   $(top_srcdir)/common/libcommon.la
-- 
1.6.0.6


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to