diff options
author | Adam Tkac <atkac@redhat.com> | 2008-04-14 14:49:52 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-04-14 14:49:52 +0000 |
commit | 47e7ee8e73c77202d2b07998cfb9efbe496ae849 (patch) | |
tree | 23fe0ff941a577a4a817a250c9af99e70aa0c63f /common | |
parent | 4cb954c36761f041eba50f374b5d2f4b3510757f (diff) | |
download | tigervnc-47e7ee8e73c77202d2b07998cfb9efbe496ae849.tar.gz tigervnc-47e7ee8e73c77202d2b07998cfb9efbe496ae849.zip |
- generate Makefile.in from Makefile.am template
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2466 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile.am (renamed from common/Makefile.in) | 3 | ||||
-rw-r--r-- | common/Xregion/Makefile.am | 3 | ||||
-rw-r--r-- | common/Xregion/Makefile.in | 15 | ||||
-rw-r--r-- | common/configure.ac | 24 | ||||
-rw-r--r-- | common/network/Makefile.am | 6 | ||||
-rw-r--r-- | common/network/Makefile.in | 17 | ||||
-rw-r--r-- | common/rdr/Makefile.am | 7 | ||||
-rw-r--r-- | common/rdr/Makefile.in | 19 | ||||
-rw-r--r-- | common/rfb/Makefile.am | 31 | ||||
-rw-r--r-- | common/rfb/Makefile.in | 88 |
10 files changed, 59 insertions, 154 deletions
diff --git a/common/Makefile.in b/common/Makefile.am index 29aa2632..ef1cdaa4 100644 --- a/common/Makefile.in +++ b/common/Makefile.am @@ -1,4 +1 @@ - SUBDIRS = @ZLIB_DIR@ @JPEG_DIR@ rdr network Xregion rfb - -# followed by boilerplate.mk diff --git a/common/Xregion/Makefile.am b/common/Xregion/Makefile.am new file mode 100644 index 00000000..03151e2c --- /dev/null +++ b/common/Xregion/Makefile.am @@ -0,0 +1,3 @@ +noinst_LTLIBRARIES = libXregion.la + +libXregion_la_SOURCES = Region.c diff --git a/common/Xregion/Makefile.in b/common/Xregion/Makefile.in deleted file mode 100644 index 878a29b6..00000000 --- a/common/Xregion/Makefile.in +++ /dev/null @@ -1,15 +0,0 @@ - -SRCS = Region.c - -OBJS = $(SRCS:.c=.o) - -library = libXregion.a - -all:: $(library) - -$(library): $(OBJS) - rm -f $(library) - $(AR) $(library) $(OBJS) - $(RANLIB) $(library) - -# followed by boilerplate.mk diff --git a/common/configure.ac b/common/configure.ac index 4be7128b..8e81bd81 100644 --- a/common/configure.ac +++ b/common/configure.ac @@ -2,11 +2,13 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.61]) AC_INIT([librfb], [1.5.0a1], [http://www.tightvnc.com/bugs.html]) +AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2]) + dnl Checks for programs. AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL -AC_PROG_RANLIB +AC_PROG_LIBTOOL AC_PROG_MAKE_SET AC_LANG([C++]) @@ -45,17 +47,16 @@ fi dnl Checks for IRIX-specific Compression Library. AC_CHECK_LIB(cl, clQuerySchemeFromName, [AC_DEFINE(HAVE_CL) - PLATFORM_CXXSRCS="$PLATFORM_CXXSRCS IrixCLJpegCompressor.cxx" + IRIX_COMPRESS=yes LIBS="$LIBS -lcl"]) +AM_CONDITIONAL([IRIX_COMPRESS], [ test "x$IRIX_COMPRESS" = xyes ]) dnl Checks for IRIX-specific Digital Media libraries. AC_CHECK_LIB(dmedia, dmICCreate, [AC_DEFINE(HAVE_DMEDIA) - PLATFORM_CXXSRCS="$PLATFORM_CXXSRCS IrixDMJpegCompressor.cxx" - PLATFORM_CXXSRCS="$PLATFORM_CXXSRCS IrixDMIC_RawToJpeg.cxx" + IRIX_MEDIA=yes LIBS="$LIBS -ldmedia"]) - -AC_SUBST(PLATFORM_CXXSRCS) +AM_CONDITIONAL([IRIX_MEDIA], [ test "x$IRIX_MEDIA" = xyes ]) AC_ARG_WITH([tight-zlib], AS_HELP_STRING([--with-tight-zlib], @@ -134,9 +135,8 @@ if (sh -c "make --version" 2>/dev/null | grep GNU 2>&1 >/dev/null); then fi fi -AC_OUTPUT(Makefile:Makefile.in:$BOILERPLATE \ - rdr/Makefile:rdr/Makefile.in:$BOILERPLATE \ - network/Makefile:network/Makefile.in:$BOILERPLATE \ - Xregion/Makefile:Xregion/Makefile.in:$BOILERPLATE \ - rfb/Makefile:rfb/Makefile.in:$BOILERPLATE \ -) +AC_OUTPUT([Makefile + rdr/Makefile + network/Makefile + Xregion/Makefile + rfb/Makefile]) diff --git a/common/network/Makefile.am b/common/network/Makefile.am new file mode 100644 index 00000000..716e8ba8 --- /dev/null +++ b/common/network/Makefile.am @@ -0,0 +1,6 @@ +noinst_LTLIBRARIES = libnetwork.la + +libnetwork_la_SOURCES = TcpSocket.cxx + +libnetwork_la_CPPFLAGS = -I$(top_srcdir) @SOCKLEN_T_DEFINE@ + diff --git a/common/network/Makefile.in b/common/network/Makefile.in deleted file mode 100644 index 8aed303a..00000000 --- a/common/network/Makefile.in +++ /dev/null @@ -1,17 +0,0 @@ - -SRCS = TcpSocket.cxx - -OBJS = $(SRCS:.cxx=.o) - -DIR_CPPFLAGS = -I$(top_srcdir) @SOCKLEN_T_DEFINE@ - -library = libnetwork.a - -all:: $(library) - -$(library): $(OBJS) - rm -f $(library) - $(AR) $(library) $(OBJS) - $(RANLIB) $(library) - -# followed by boilerplate.mk diff --git a/common/rdr/Makefile.am b/common/rdr/Makefile.am new file mode 100644 index 00000000..0e888963 --- /dev/null +++ b/common/rdr/Makefile.am @@ -0,0 +1,7 @@ +noinst_LTLIBRARIES = librdr.la + +librdr_la_SOURCES = Exception.cxx FdInStream.cxx FdOutStream.cxx InStream.cxx \ + RandomStream.cxx ZlibInStream.cxx ZlibOutStream.cxx HexInStream.cxx \ + HexOutStream.cxx + +librdr_la_CPPFLAGS = -I$(top_srcdir) @ZLIB_INCLUDE@ diff --git a/common/rdr/Makefile.in b/common/rdr/Makefile.in deleted file mode 100644 index 09fa5544..00000000 --- a/common/rdr/Makefile.in +++ /dev/null @@ -1,19 +0,0 @@ - -SRCS = Exception.cxx FdInStream.cxx FdOutStream.cxx InStream.cxx \ - RandomStream.cxx ZlibInStream.cxx ZlibOutStream.cxx \ - HexInStream.cxx HexOutStream.cxx - -OBJS = $(SRCS:.cxx=.o) - -DIR_CPPFLAGS = -I$(top_srcdir) @ZLIB_INCLUDE@ - -library = librdr.a - -all:: $(library) - -$(library): $(OBJS) - rm -f $(library) - $(AR) $(library) $(OBJS) - $(RANLIB) $(library) - -# followed by boilerplate.mk diff --git a/common/rfb/Makefile.am b/common/rfb/Makefile.am new file mode 100644 index 00000000..8226fa6c --- /dev/null +++ b/common/rfb/Makefile.am @@ -0,0 +1,31 @@ +noinst_LTLIBRARIES = librfb.la + +librfb_la_SOURCES = Blacklist.cxx CConnection.cxx CMsgHandler.cxx \ + CMsgReader.cxx CMsgReaderV3.cxx CMsgWriter.cxx CMsgWriterV3.cxx \ + CSecurityVncAuth.cxx CapsContainer.cxx CapsList.cxx \ + ComparingUpdateTracker.cxx Configuration.cxx ConnParams.cxx \ + Cursor.cxx Decoder.cxx d3des.c Encoder.cxx FileInfo.cxx \ + FileManager.cxx FileReader.cxx FileWriter.cxx JpegCompressor.cxx \ + JpegEncoder.cxx HTTPServer.cxx HextileDecoder.cxx HextileEncoder.cxx \ + KeyRemapper.cxx LogWriter.cxx Logger.cxx Logger_file.cxx \ + Logger_stdio.cxx Password.cxx PixelBuffer.cxx PixelFormat.cxx \ + RREEncoder.cxx RREDecoder.cxx RawDecoder.cxx RawEncoder.cxx \ + Region.cxx SConnection.cxx SFTMsgReader.cxx SFTMsgWriter.cxx \ + SFileTransfer.cxx SFileTransferManager.cxx SMsgHandler.cxx \ + SMsgReader.cxx SMsgReaderV3.cxx SMsgWriter.cxx SMsgWriterV3.cxx \ + ServerCore.cxx SSecurityFactoryStandard.cxx SSecurityVncAuth.cxx \ + ScaledPixelBuffer.cxx ScaleFilters.cxx Timer.cxx TightDecoder.cxx \ + TightEncoder.cxx TightPalette.cxx TransImageGetter.cxx \ + TransferQueue.cxx UpdateTracker.cxx VNCSConnectionST.cxx \ + VNCServerST.cxx ZRLEEncoder.cxx ZRLEDecoder.cxx encodings.cxx \ + secTypes.cxx util.cxx + +if IRIX_COMPRESS +librfb_la_SOURCES += IrixCLJpegCompressor.cxx +endif +if IRIX_MEDIA +librfb_la_SOURCES += IrixDMJpegCompressor.cxx IrixDMIC_RawToJpeg.cxx +endif + +librfb_la_CPPFLAGS = -I$(top_srcdir) @JPEG_INCLUDE@ @VSNPRINTF_DEFINE@ \ + @STRCASECMP_DEFINE@ @STRNCASECMP_DEFINE@ diff --git a/common/rfb/Makefile.in b/common/rfb/Makefile.in deleted file mode 100644 index 65dfafc2..00000000 --- a/common/rfb/Makefile.in +++ /dev/null @@ -1,88 +0,0 @@ - -CXXSRCS = \ - Blacklist.cxx \ - CConnection.cxx \ - CMsgHandler.cxx \ - CMsgReader.cxx \ - CMsgReaderV3.cxx \ - CMsgWriter.cxx \ - CMsgWriterV3.cxx \ - CSecurityVncAuth.cxx \ - CapsContainer.cxx \ - CapsList.cxx \ - ComparingUpdateTracker.cxx \ - Configuration.cxx \ - ConnParams.cxx \ - Cursor.cxx \ - Decoder.cxx \ - Encoder.cxx \ - FileInfo.cxx \ - FileManager.cxx \ - FileReader.cxx \ - FileWriter.cxx \ - JpegCompressor.cxx \ - JpegEncoder.cxx \ - HTTPServer.cxx \ - HextileDecoder.cxx \ - HextileEncoder.cxx \ - KeyRemapper.cxx \ - LogWriter.cxx \ - Logger.cxx \ - Logger_file.cxx \ - Logger_stdio.cxx \ - Password.cxx \ - PixelBuffer.cxx \ - PixelFormat.cxx \ - RREEncoder.cxx \ - RREDecoder.cxx \ - RawDecoder.cxx \ - RawEncoder.cxx \ - Region.cxx \ - SConnection.cxx \ - SFTMsgReader.cxx \ - SFTMsgWriter.cxx \ - SFileTransfer.cxx \ - SFileTransferManager.cxx \ - SMsgHandler.cxx \ - SMsgReader.cxx \ - SMsgReaderV3.cxx \ - SMsgWriter.cxx \ - SMsgWriterV3.cxx \ - ServerCore.cxx \ - SSecurityFactoryStandard.cxx \ - SSecurityVncAuth.cxx \ - ScaledPixelBuffer.cxx \ - ScaleFilters.cxx \ - Timer.cxx \ - TightDecoder.cxx \ - TightEncoder.cxx \ - TightPalette.cxx \ - TransImageGetter.cxx \ - TransferQueue.cxx \ - UpdateTracker.cxx \ - VNCSConnectionST.cxx \ - VNCServerST.cxx \ - ZRLEEncoder.cxx \ - ZRLEDecoder.cxx \ - encodings.cxx \ - secTypes.cxx \ - util.cxx \ - @PLATFORM_CXXSRCS@ - -SRCS = d3des.c $(CXXSRCS) - -OBJS = d3des.o $(CXXSRCS:.cxx=.o) - -DIR_CPPFLAGS = -I$(top_srcdir) @JPEG_INCLUDE@ @VSNPRINTF_DEFINE@ \ - @STRCASECMP_DEFINE@ @STRNCASECMP_DEFINE@ - -library = librfb.a - -all:: $(library) - -$(library): $(OBJS) - rm -f $(library) - $(AR) $(library) $(OBJS) - $(RANLIB) $(library) - -# followed by boilerplate.mk |