summaryrefslogtreecommitdiffstats
path: root/Makefile.am
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 /Makefile.am
parent4f3ac987fba60c77c0fa8556d3888f22828a7a11 (diff)
downloadlibtdevnc-0fb51681.tar.gz
libtdevnc-0fb51681.zip
small adjustments for autoconf/automake compatibility
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 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