Commit Graph

9 Commits

Author SHA1 Message Date
Uri Lublin
884beed580 spice: server: rename spice.pc to spice-server.pc
Signed-off-by: Yaniv Kamay <ykamay@redhat.com>
Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:47:02 +02:00
Uri Lublin
236b692a78 spice: autogen.sh: call autogen.sh.shared separately from subdirs (subdir config)
Move original autogen.sh to autogen.sh.shared
Create links in each subdir (subdir/autogen.sh --> ../autogem.sh.shared)
Make new autogen.sh which simply
  1. cd subdir && ./autogen.sh
  2. run autogen.sh.shared for the current dir (spice)
Update all Makefile.am accordingly (dist-hook).

Signed-off-by: Yaniv Kamay <ykamay@rehdat.com>
Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:45 +02:00
Uri Lublin
cf60cddbdd spice: configure: mv ffmpeg_inc.h.in from common/ to client/
Moved  common/win/ffmpeg_inc.h      to   client/windows/
Moved  common/linux/ffmpeg_inc.h.in to   client/x11/
Copied common/linux/ffmpeg_inc.h.in to   server/
Update *configure.ac and */Makefile.am accordingly (* is
for {common,server,client}

Signed-off-by: Yaniv Kamay <ykamay@rehdat.com>
Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:36 +02:00
Uri Lublin
ecc4e7d2cf spice: subdirs: support ./autogen.sh in a "make dist" tarball (subdir config)
Each subdir (common, client and server) can "make dist".
This commit adds configure.ac.shared and autogen.sh to the tar file.
Above files are copied from .. (spice/ directory)

Also added configure.ac.shared (which is not part of "distribution" tarball)
that only imports ../configure.ac.shared such that ./autogen.sh still
works (on "git directories").

Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:19 +02:00
Uri Lublin
f0eb948b5c spice: server: common/ files are not needed by "make dist" (subdir config)
Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:46:04 +02:00
Uri Lublin
e2dd219f6b configure.ac: use AC_CONFIG_SUBDIRS to run configure in subdirs (subdir config)
That's about all the work configure.ac does.
Moved config.pc.in to server, and updated Makefile.am and
server/Makefile.am accordingly

Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:45:34 +02:00
Uri Lublin
c854259ba4 configure.ac: use SPICE_COMMON_SRCDIR in server/Makefile.am (subdir config)
Replace all $(top_srcdir)/common.

This would (after following patches) enables building the server from
either spice/ (top directory) or spice/server.

Signed-off-by: Uri Lublin <uril@redhat.com>
2010-01-10 19:44:27 +02:00
Yaniv Kamay
402a201ce6 fix build on Debian 2009-10-27 13:29:39 +02:00
Yaniv Kamay
c1b79eb035 fresh start 2009-10-14 15:06:41 +02:00