summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2003-02-09 12:04:59 +0000
committerdscho <dscho>2003-02-09 12:04:59 +0000
commit0fb516818c43cd908f64a64923a68d0ded52df0a (patch)
tree4966fc29739dc80fafa30130befbdf92d9edd682
parent4f3ac987fba60c77c0fa8556d3888f22828a7a11 (diff)
downloadlibtdevnc-0fb516818c43cd908f64a64923a68d0ded52df0a.tar.gz
libtdevnc-0fb516818c43cd908f64a64923a68d0ded52df0a.zip
small adjustments for autoconf/automake compatibility
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 23b8d11..8bf6bda 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,15 +19,15 @@ ZRLE_SRCS=zrle.cxx rdr/FdInStream.cxx rdr/FdOutStream.cxx rdr/InStream.cxx \
EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
tableinitcmtemplate.c tabletrans24template.c $(ZRLE_SRCS)
-LIB_SOURCES = main.c rfbserver.c sraRegion.c auth.c sockets.c \
+LIB_SRCS = main.c rfbserver.c sraRegion.c auth.c sockets.c \
stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
zlib.c tight.c httpd.c cursor.c font.c \
draw.c selbox.c d3des.c vncauth.c cargs.c
if HAVE_CXX
-libvncserver_a_SOURCES=$(LIB_SOURCES) $(ZRLE_SRCS)
+libvncserver_a_SOURCES=$(LIB_SRCS) $(ZRLE_SRCS)
else
-libvncserver_a_SOURCES=$(LIB_SOURCES)
+libvncserver_a_SOURCES=$(LIB_SRCS)
endif
lib_LIBRARIES=libvncserver.a
@@ -36,7 +36,7 @@ if HAVE_RPM
$(PACKAGE)-$(VERSION).tar.gz: dist
# Rule to build RPM distribution package
-rpm: $(PACKAGE)-$(VERSION).tar.gz
+rpm: $(PACKAGE)-$(VERSION).tar.gz libvncserver.spec
cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
rpm -ba libvncserver.spec
endif
diff --git a/configure.ac b/configure.ac
index 58e0ede..23e4e07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
# Process this file with autoconf to produce a configure script.
AC_INIT(LibVNCServer, 0.5, http://sourceforge.net/projects/libvncserver)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE(LibVNCServer, 0.5)
AM_CONFIG_HEADER([include/rfbconfig.h])
# Checks for programs.