[openrtm-commit:00070] r2087 - in trunk/OpenRTM-aist: . docs packages packages/deb packages/macports packages/rpm src/lib/coil src/lib/coil/lib src/lib/coil/posix/coil src/lib/coil/utils/coil-config src/lib/rtm/idl/device_interfaces
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 5月 10日 (火) 00:28:52 JST
Author: n-ando
Date: 2011-05-10 00:28:52 +0900 (Tue, 10 May 2011)
New Revision: 2087
Added:
trunk/OpenRTM-aist/README.packages
trunk/OpenRTM-aist/packages/
trunk/OpenRTM-aist/packages/Makefile
trunk/OpenRTM-aist/packages/Makefile.am
trunk/OpenRTM-aist/packages/Makefile.in
trunk/OpenRTM-aist/packages/deb/
trunk/OpenRTM-aist/packages/deb/Makefile
trunk/OpenRTM-aist/packages/deb/Makefile.am
trunk/OpenRTM-aist/packages/deb/Makefile.in
trunk/OpenRTM-aist/packages/deb/README.Debian
trunk/OpenRTM-aist/packages/deb/changelog
trunk/OpenRTM-aist/packages/deb/compat
trunk/OpenRTM-aist/packages/deb/control
trunk/OpenRTM-aist/packages/deb/copyright
trunk/OpenRTM-aist/packages/deb/debian_debcp.sh
trunk/OpenRTM-aist/packages/deb/debian_repo.sh
trunk/OpenRTM-aist/packages/deb/dirs
trunk/OpenRTM-aist/packages/deb/docs
trunk/OpenRTM-aist/packages/deb/dpkg_build.sh
trunk/OpenRTM-aist/packages/deb/dpkgbuild.sh
trunk/OpenRTM-aist/packages/deb/dpkgbuild2.sh
trunk/OpenRTM-aist/packages/deb/files
trunk/OpenRTM-aist/packages/deb/rules
trunk/OpenRTM-aist/packages/deb/ubuntu_debcp.sh
trunk/OpenRTM-aist/packages/deb/ubuntu_repo.sh
trunk/OpenRTM-aist/packages/macports/
trunk/OpenRTM-aist/packages/macports/Portfile
trunk/OpenRTM-aist/packages/macports/port_install.sh
trunk/OpenRTM-aist/packages/macports/ports.tgz
trunk/OpenRTM-aist/packages/macports/ports/
trunk/OpenRTM-aist/packages/ports/
trunk/OpenRTM-aist/packages/rpm/
trunk/OpenRTM-aist/packages/rpm/BUILD/
trunk/OpenRTM-aist/packages/rpm/Makefile
trunk/OpenRTM-aist/packages/rpm/Makefile.am
trunk/OpenRTM-aist/packages/rpm/Makefile.in
trunk/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in
trunk/OpenRTM-aist/packages/rpm/dist_key.sh
trunk/OpenRTM-aist/packages/rpm/fedora_repo.sh
trunk/OpenRTM-aist/packages/rpm/fedora_rpmcp.sh
trunk/OpenRTM-aist/packages/rpm/pkgbuild.sh
trunk/OpenRTM-aist/packages/rpm/rpm_build.sh.in
trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh
trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh.in
trunk/OpenRTM-aist/packages/rpm/vine_repo.sh
trunk/OpenRTM-aist/packages/rpm/vine_rpmcp.sh
Modified:
trunk/OpenRTM-aist/Makefile.am
trunk/OpenRTM-aist/configure.ac
trunk/OpenRTM-aist/docs/Makefile.am
trunk/OpenRTM-aist/src/lib/coil/configure.ac
trunk/OpenRTM-aist/src/lib/coil/lib/Makefile.am
trunk/OpenRTM-aist/src/lib/coil/posix/coil/Makefile.am
trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/Makefile.am
trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/libcoil.pc.in
trunk/OpenRTM-aist/src/lib/rtm/idl/device_interfaces/Makefile.am
Log:
deb package and rpm package build scripts have been added.
For package build, some variables for installation paths in Makefiles
have been added and installation paths have been changed.
refs #2092 refs #2093 refs #2096
Modified: trunk/OpenRTM-aist/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -9,6 +9,8 @@
SUBDIRS = build src utils examples etc docs win32
+DIST_SUBDIRS = packages $(SUBDIRS)
+
EXTRA_DIST = \
README \
README.jp \
Added: trunk/OpenRTM-aist/README.packages
===================================================================
--- trunk/OpenRTM-aist/README.packages (rev 0)
+++ trunk/OpenRTM-aist/README.packages 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,28 @@
+1. Pacakge build system
+This source package includes some kind of package build scripts. Now
+deb (Debian package) and rpm (RPM package) are supported. Script
+automatically detects distribution and package maangement system, you
+just enter "packages" directory and run make in the directory.
+
+1) configure
+$ ./configure <options>
+
+2) enter package directory
+$ cd packages
+
+3) make
+$ make
+
+
+2. Supported OS and Distribution
+
+- Debian (deb package)
+- Ubuntu (deb package)
+- Fedora (rpm package)
+- Vine (rpm package)
+
+will be supported soon
+
+- Mac OS X (macports)
+- FreeBSD (ports)
+
Property changes on: trunk/OpenRTM-aist/README.packages
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/OpenRTM-aist/configure.ac
===================================================================
--- trunk/OpenRTM-aist/configure.ac 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/configure.ac 2011-05-09 15:28:52 UTC (rev 2087)
@@ -22,7 +22,15 @@
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2 tar-pax])
AM_CONFIG_HEADER([src/lib/rtm/config_rtc.h])
+
+dnl ------------------------------------------------------------
+dnl Config files created at configure
+dnl ------------------------------------------------------------
+dnl pkgconfig pc file
AC_CONFIG_FILES([utils/rtm-config/openrtm-aist.pc:utils/rtm-config/openrtm-aist.pc.in])
+dnl RPM package spec file and build script
+dnl AC_CONFIG_FILES([packages/rpm/OpenRTM-aist.spec:packages/rpm/OpenRTM-aist.spec.in])
+dnl AC_CONFIG_FILES([packages/rpm/rpm_build.sh:packages/rpm/rpm_build.sh.in])
dnl ------------------------------------------------------------
dnl rename config header's PACKAGE_* definition
@@ -1076,11 +1084,17 @@
dnl ------------------------------------------------------------
dnl omniORB setup complete
dnl ------------------------------------------------------------
+ dnl omniidl and commandline options
PATH_NORM($omniidl)
+ omniidl=$n_path
+ IDLC=$omniidl
+ IDL_FLAGS="-bcxx -Wba -nf"
+
+ dnl omniNames
PATH_NORM($omniNames)
- IDLC=$n_path
- IDL_FLAGS="-bcxx -Wba -nf"
+ omniNames=$n_path
COSNAMES=$omniNames
+
dnl Compiler/Linker options
CPPFLAGS="-I$omniORB4_CORBA_h_dir $CPPFLAGS"
CXXFLAGS="-I$omniORB4_CORBA_h_dir $CXXFLAGS"
@@ -1531,6 +1545,7 @@
rtm_includedir=$includedir"/openrtm-"$major_version"."$minor_version
rtm_libdir=$libdir"/openrtm-"$major_version"."$minor_version
rtm_datadir=$datadir"/openrtm-"$major_version"."$minor_version
+coil_includedir=$includedir"/coil-"$major_version"."$minor_version
dnl under lib/openrtm-x.y directories
rtm_rtcdir=$rtm_libdir"/rtc"
@@ -1544,6 +1559,7 @@
AC_SUBST(rtm_libdir)
AC_SUBST(rtm_datadir)
AC_SUBST(rtm_includedir)
+AC_SUBST(coil_includedir)
AC_SUBST(rtm_rtcdir)
AC_SUBST(rtm_ecdir)
AC_SUBST(rtm_rtmdir)
@@ -1609,6 +1625,9 @@
AC_OUTPUT([Makefile
build/Makefile
+ packages/Makefile
+ packages/deb/Makefile
+ packages/rpm/Makefile
src/Makefile
src/lib/Makefile
src/lib/rtm/Makefile
Modified: trunk/OpenRTM-aist/docs/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/docs/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/docs/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -46,40 +46,40 @@
install-class-reference:
if test -d ClassReference; then \
- $(mkinstalldirs) $(rtm_docdir)/ClassReference/html; \
+ $(mkinstalldirs) $(DESTDIR)$(rtm_docdir)/ClassReference/html; \
for x in ClassReference/html/*; do \
if test -f $$x; then \
- $(INSTALL_DATA) $$x $(rtm_docdir)/ClassReference/html/;\
+ $(INSTALL_DATA) $$x $(DESTDIR)$(rtm_docdir)/ClassReference/html/;\
fi \
done \
fi
install-class-reference-en:
if test -d ClassReference-en; then \
- $(mkinstalldirs) $(rtm_docdir)/ClassReference-en/html; \
+ $(mkinstalldirs) $(DESTDIR)$(rtm_docdir)/ClassReference-en/html; \
for x in ClassReference-en/html/*; do \
if test -f $$x; then \
- $(INSTALL_DATA) $$x $(rtm_docdir)/ClassReference-en/html/;\
+ $(INSTALL_DATA) $$x $(DESTDIR)$(rtm_docdir)/ClassReference-en/html/;\
fi \
done \
fi
install-idl-reference:
if test -d IDLReference; then \
- $(mkinstalldirs) $(rtm_docdir)/IDLReference/html; \
+ $(mkinstalldirs) $(DESTDIR)$(rtm_docdir)/IDLReference/html; \
for x in IDLReference/html/*; do \
if test -f $$x; then \
- $(INSTALL_DATA) $$x $(rtm_docdir)/IDLReference/html/;\
+ $(INSTALL_DATA) $$x $(DESTDIR)$(rtm_docdir)/IDLReference/html/;\
fi \
done \
fi
install-idl-reference-en:
if test -d IDLReference-en; then \
- $(mkinstalldirs) $(rtm_docdir)/IDLReference-en/html; \
+ $(mkinstalldirs) $(DESTDIR)$(rtm_docdir)/IDLReference-en/html; \
for x in IDLReference-en/html/*; do \
if test -f $$x; then \
- $(INSTALL_DATA) $$x $(rtm_docdir)/IDLReference-en/html/;\
+ $(INSTALL_DATA) $$x $(DESTDIR)$(rtm_docdir)/IDLReference-en/html/;\
fi \
done \
fi
Added: trunk/OpenRTM-aist/packages/Makefile
===================================================================
--- trunk/OpenRTM-aist/packages/Makefile (rev 0)
+++ trunk/OpenRTM-aist/packages/Makefile 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,531 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# packages/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+srcdir = .
+top_srcdir = ..
+
+pkgdatadir = $(datadir)/OpenRTM-aist
+pkglibdir = $(libdir)/OpenRTM-aist
+pkgincludedir = $(includedir)/OpenRTM-aist
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = i386-unknown-freebsd7.2
+host_triplet = i386-unknown-freebsd7.2
+subdir = packages
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-exec-recursive install-info-recursive \
+ install-recursive installcheck-recursive installdirs-recursive \
+ pdf-recursive ps-recursive uninstall-info-recursive \
+ uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run tar
+AR = ar
+ARTLIB =
+ARTLINUX =
+AS = as
+AUTOCONF = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoconf
+AUTOHEADER = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoheader
+AUTOMAKE = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run automake-1.9
+AWK = nawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+COSNAMES = /usr/local/bin/omniNames
+CPP = gcc -E
+CPPFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /usr/bin/grep -E
+EXEEXT =
+F77 =
+FFLAGS =
+GREP = /usr/bin/grep
+IDLC = /usr/local/bin/omniidl
+IDL_FLAGS = -bcxx -Wba -nf
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LD = /usr/bin/ld
+LDFLAGS = -L/usr/local/lib -export-dynamic
+LDSO =
+LDSOLIBS = -lomniORB4 -lomnithread -lomniDynamic4
+LDSOOPTS =
+LIBOBJS =
+LIBRARY =
+LIBS = -lpthread -lomniORB4 -lomnithread -lomniDynamic4
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run makeinfo
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+ORB = omniORB
+ORB_IS_MICO_FALSE =
+ORB_IS_MICO_TRUE = #
+ORB_IS_OMNIORB_FALSE = #
+ORB_IS_OMNIORB_TRUE =
+ORB_IS_ORBACUS_FALSE =
+ORB_IS_ORBACUS_TRUE = #
+ORB_IS_ORBEXPRESS_FALSE =
+ORB_IS_ORBEXPRESS_TRUE = #
+ORB_IS_ORBIT2_FALSE =
+ORB_IS_ORBIT2_TRUE = #
+ORB_IS_ORBIX_FALSE =
+ORB_IS_ORBIX_TRUE = #
+ORB_IS_RTORB_FALSE =
+ORB_IS_RTORB_TRUE = #
+ORB_IS_TAO_FALSE =
+ORB_IS_TAO_TRUE = #
+PACKAGE = OpenRTM-aist
+PACKAGE_BUGREPORT = n-ando at aist.go.jp
+PACKAGE_NAME = OpenRTM-aist
+PACKAGE_STRING = OpenRTM-aist 1.1.0
+PACKAGE_TARNAME = OpenRTM-aist
+PACKAGE_VERSION = 1.1.0
+PATH_SEPARATOR = :
+PYTHON_FLAGS =
+RANLIB = ranlib
+RTM_DESCRIPTION = An OMG RTC compliant middleware for robots.
+RTM_MAJOR_VERSION = 1
+RTM_MINOR_VERSION = 1
+RTM_REVISION_NUM = 0
+RTM_SHORT_VERSION = 110
+RTM_VERSION = 1.1.0
+RTPREEMPTEC =
+SED = /usr/bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SOEXT =
+STRIP = strip
+TARGET =
+UNITTEST =
+VERSION = 1.1.0
+WRAPPERS =
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 =
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=posix -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = i386-unknown-freebsd7.2
+build_alias =
+build_cpu = i386
+build_os = freebsd7.2
+build_vendor = unknown
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = i386-unknown-freebsd7.2
+host_alias =
+host_cpu = i386
+host_os = freebsd7.2
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = /usr/home/n-ando/work/trunk/OpenRTM-aist/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(install_sh) -d
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+pkgconfigdir = ${libdir}/pkgconfig
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+rtm_datadir = ${datarootdir}/openrtm-1.1
+rtm_docdir = ${datarootdir}/openrtm-1.1/doc
+rtm_ecdir = ${exec_prefix}/lib/openrtm-1.1/ec
+rtm_exampledir = ${datarootdir}/openrtm-1.1/example
+rtm_includedir = ${prefix}/include/openrtm-1.1
+rtm_libdir = ${exec_prefix}/lib/openrtm-1.1
+rtm_rtcdir = ${exec_prefix}/lib/openrtm-1.1/rtc
+rtm_rtmdir = ${exec_prefix}/lib/openrtm-1.1/rtm
+rtm_sdodir = ${exec_prefix}/lib/openrtm-1.1/sdo
+rtm_svcdir = ${exec_prefix}/lib/openrtm-1.1/svc
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+subdirs = src/lib/coil
+sysconfdir = ${prefix}/etc
+target_alias =
+AUTOMAKE_OPTIONS = 1.4
+SUBDIRS = deb rpm
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(mkdir_p) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+ clean clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive distclean distclean-generic distclean-libtool \
+ distclean-recursive distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive \
+ mostlyclean mostlyclean-generic mostlyclean-libtool \
+ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/packages/Makefile.am (rev 0)
+++ trunk/OpenRTM-aist/packages/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,10 @@
+## -*- Makefile -*-
+##------------------------------------------------------------
+## Makefile.am for libRTC
+##
+## $Id: Makefile.am 2068 2011-04-01 12:59:05Z n-ando $
+##------------------------------------------------------------
+
+AUTOMAKE_OPTIONS = 1.4
+
+SUBDIRS = deb rpm
Added: trunk/OpenRTM-aist/packages/Makefile.in
===================================================================
--- trunk/OpenRTM-aist/packages/Makefile.in (rev 0)
+++ trunk/OpenRTM-aist/packages/Makefile.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,531 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = packages
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-exec-recursive install-info-recursive \
+ install-recursive installcheck-recursive installdirs-recursive \
+ pdf-recursive ps-recursive uninstall-info-recursive \
+ uninstall-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTLIB = @ARTLIB@
+ARTLINUX = @ARTLINUX@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COSNAMES = @COSNAMES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+IDLC = @IDLC@
+IDL_FLAGS = @IDL_FLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LDSO = @LDSO@
+LDSOLIBS = @LDSOLIBS@
+LDSOOPTS = @LDSOOPTS@
+LIBOBJS = @LIBOBJS@
+LIBRARY = @LIBRARY@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+ORB = @ORB@
+ORB_IS_MICO_FALSE = @ORB_IS_MICO_FALSE@
+ORB_IS_MICO_TRUE = @ORB_IS_MICO_TRUE@
+ORB_IS_OMNIORB_FALSE = @ORB_IS_OMNIORB_FALSE@
+ORB_IS_OMNIORB_TRUE = @ORB_IS_OMNIORB_TRUE@
+ORB_IS_ORBACUS_FALSE = @ORB_IS_ORBACUS_FALSE@
+ORB_IS_ORBACUS_TRUE = @ORB_IS_ORBACUS_TRUE@
+ORB_IS_ORBEXPRESS_FALSE = @ORB_IS_ORBEXPRESS_FALSE@
+ORB_IS_ORBEXPRESS_TRUE = @ORB_IS_ORBEXPRESS_TRUE@
+ORB_IS_ORBIT2_FALSE = @ORB_IS_ORBIT2_FALSE@
+ORB_IS_ORBIT2_TRUE = @ORB_IS_ORBIT2_TRUE@
+ORB_IS_ORBIX_FALSE = @ORB_IS_ORBIX_FALSE@
+ORB_IS_ORBIX_TRUE = @ORB_IS_ORBIX_TRUE@
+ORB_IS_RTORB_FALSE = @ORB_IS_RTORB_FALSE@
+ORB_IS_RTORB_TRUE = @ORB_IS_RTORB_TRUE@
+ORB_IS_TAO_FALSE = @ORB_IS_TAO_FALSE@
+ORB_IS_TAO_TRUE = @ORB_IS_TAO_TRUE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PYTHON_FLAGS = @PYTHON_FLAGS@
+RANLIB = @RANLIB@
+RTM_DESCRIPTION = @RTM_DESCRIPTION@
+RTM_MAJOR_VERSION = @RTM_MAJOR_VERSION@
+RTM_MINOR_VERSION = @RTM_MINOR_VERSION@
+RTM_REVISION_NUM = @RTM_REVISION_NUM@
+RTM_SHORT_VERSION = @RTM_SHORT_VERSION@
+RTM_VERSION = @RTM_VERSION@
+RTPREEMPTEC = @RTPREEMPTEC@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SOEXT = @SOEXT@
+STRIP = @STRIP@
+TARGET = @TARGET@
+UNITTEST = @UNITTEST@
+VERSION = @VERSION@
+WRAPPERS = @WRAPPERS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgconfigdir = @pkgconfigdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+rtm_datadir = @rtm_datadir@
+rtm_docdir = @rtm_docdir@
+rtm_ecdir = @rtm_ecdir@
+rtm_exampledir = @rtm_exampledir@
+rtm_includedir = @rtm_includedir@
+rtm_libdir = @rtm_libdir@
+rtm_rtcdir = @rtm_rtcdir@
+rtm_rtmdir = @rtm_rtmdir@
+rtm_sdodir = @rtm_sdodir@
+rtm_svcdir = @rtm_svcdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+AUTOMAKE_OPTIONS = 1.4
+SUBDIRS = deb rpm
+all: all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+
+# This directory's subdirectories are mostly independent; you can cd
+# into them and run `make' without going through this Makefile.
+# To change the values of `make' variables: instead of editing Makefiles,
+# (1) if the variable is set in `config.status', edit `config.status'
+# (which will cause the Makefiles to be regenerated when you run `make');
+# (2) otherwise, pass the desired values on the `make' command line.
+$(RECURSIVE_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ target=`echo $@ | sed s/-recursive//`; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ dot_seen=yes; \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+mostlyclean-recursive clean-recursive distclean-recursive \
+maintainer-clean-recursive:
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ dot_seen=no; \
+ case "$@" in \
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
+ *) list='$(SUBDIRS)' ;; \
+ esac; \
+ rev=''; for subdir in $$list; do \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
+ done; \
+ rev="$$rev ."; \
+ target=`echo $@ | sed s/-recursive//`; \
+ for subdir in $$rev; do \
+ echo "Making $$target in $$subdir"; \
+ if test "$$subdir" = "."; then \
+ local_target="$$target-am"; \
+ else \
+ local_target="$$target"; \
+ fi; \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(mkdir_p) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+installdirs: installdirs-recursive
+installdirs-am:
+install: install-recursive
+install-exec: install-exec-recursive
+install-data: install-data-recursive
+uninstall: uninstall-recursive
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-recursive
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-recursive
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-recursive
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+uninstall-info: uninstall-info-recursive
+
+.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
+ clean clean-generic clean-libtool clean-recursive ctags \
+ ctags-recursive distclean distclean-generic distclean-libtool \
+ distclean-recursive distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic maintainer-clean-recursive \
+ mostlyclean mostlyclean-generic mostlyclean-libtool \
+ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/deb/Makefile
===================================================================
--- trunk/OpenRTM-aist/packages/deb/Makefile (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/Makefile 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,428 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# packages/deb/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+#
+# Debian package control files
+#
+# the following files are constant
+# - README.Debian
+# - changelog
+# - compat
+# - control
+# - copyright
+# - dirs
+# - docs
+# - rules
+#
+# the following files shoud be generated at make-dist
+# - files
+#
+# Package build process
+#
+# 1. edit "changelog" file with appropriate package version number
+# like "1.1.0-2." This version number will be used for actual
+# deb package files.
+#
+# 2. Check permissions of the parent directory of distribution sourcecode
+# extracted directory. (ex. parent of OpenRTM-aist-1.0.0)
+# Package build script create deb packages there.
+#
+# 3. Run package build script debpkg_build.sh
+# This script do everithings.
+#
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/OpenRTM-aist
+pkglibdir = $(libdir)/OpenRTM-aist
+pkgincludedir = $(includedir)/OpenRTM-aist
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = i386-unknown-freebsd7.2
+host_triplet = i386-unknown-freebsd7.2
+subdir = packages/deb
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run tar
+AR = ar
+ARTLIB =
+ARTLINUX =
+AS = as
+AUTOCONF = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoconf
+AUTOHEADER = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoheader
+AUTOMAKE = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run automake-1.9
+AWK = nawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+COSNAMES = /usr/local/bin/omniNames
+CPP = gcc -E
+CPPFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /usr/bin/grep -E
+EXEEXT =
+F77 =
+FFLAGS =
+GREP = /usr/bin/grep
+IDLC = /usr/local/bin/omniidl
+IDL_FLAGS = -bcxx -Wba -nf
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LD = /usr/bin/ld
+LDFLAGS = -L/usr/local/lib -export-dynamic
+LDSO =
+LDSOLIBS = -lomniORB4 -lomnithread -lomniDynamic4
+LDSOOPTS =
+LIBOBJS =
+LIBRARY =
+LIBS = -lpthread -lomniORB4 -lomnithread -lomniDynamic4
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run makeinfo
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+ORB = omniORB
+ORB_IS_MICO_FALSE =
+ORB_IS_MICO_TRUE = #
+ORB_IS_OMNIORB_FALSE = #
+ORB_IS_OMNIORB_TRUE =
+ORB_IS_ORBACUS_FALSE =
+ORB_IS_ORBACUS_TRUE = #
+ORB_IS_ORBEXPRESS_FALSE =
+ORB_IS_ORBEXPRESS_TRUE = #
+ORB_IS_ORBIT2_FALSE =
+ORB_IS_ORBIT2_TRUE = #
+ORB_IS_ORBIX_FALSE =
+ORB_IS_ORBIX_TRUE = #
+ORB_IS_RTORB_FALSE =
+ORB_IS_RTORB_TRUE = #
+ORB_IS_TAO_FALSE =
+ORB_IS_TAO_TRUE = #
+PACKAGE = OpenRTM-aist
+PACKAGE_BUGREPORT = n-ando at aist.go.jp
+PACKAGE_NAME = OpenRTM-aist
+PACKAGE_STRING = OpenRTM-aist 1.1.0
+PACKAGE_TARNAME = OpenRTM-aist
+PACKAGE_VERSION = 1.1.0
+PATH_SEPARATOR = :
+PYTHON_FLAGS =
+RANLIB = ranlib
+RTM_DESCRIPTION = An OMG RTC compliant middleware for robots.
+RTM_MAJOR_VERSION = 1
+RTM_MINOR_VERSION = 1
+RTM_REVISION_NUM = 0
+RTM_SHORT_VERSION = 110
+RTM_VERSION = 1.1.0
+RTPREEMPTEC =
+SED = /usr/bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SOEXT =
+STRIP = strip
+TARGET =
+UNITTEST =
+VERSION = 1.1.0
+WRAPPERS =
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 =
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=posix -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = i386-unknown-freebsd7.2
+build_alias =
+build_cpu = i386
+build_os = freebsd7.2
+build_vendor = unknown
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = i386-unknown-freebsd7.2
+host_alias =
+host_cpu = i386
+host_os = freebsd7.2
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = /usr/home/n-ando/work/trunk/OpenRTM-aist/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(install_sh) -d
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+pkgconfigdir = ${libdir}/pkgconfig
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+rtm_datadir = ${datarootdir}/openrtm-1.1
+rtm_docdir = ${datarootdir}/openrtm-1.1/doc
+rtm_ecdir = ${exec_prefix}/lib/openrtm-1.1/ec
+rtm_exampledir = ${datarootdir}/openrtm-1.1/example
+rtm_includedir = ${prefix}/include/openrtm-1.1
+rtm_libdir = ${exec_prefix}/lib/openrtm-1.1
+rtm_rtcdir = ${exec_prefix}/lib/openrtm-1.1/rtc
+rtm_rtmdir = ${exec_prefix}/lib/openrtm-1.1/rtm
+rtm_sdodir = ${exec_prefix}/lib/openrtm-1.1/sdo
+rtm_svcdir = ${exec_prefix}/lib/openrtm-1.1/svc
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+subdirs = src/lib/coil
+sysconfdir = ${prefix}/etc
+target_alias =
+AUTOMAKE_OPTIONS = 1.4
+PKGVER = `head -n 1 changelog | sed 's/.*(\([0-9\.\-]*\).*/\1/'`
+EXTRA_DIST = \
+ README.Debian \
+ changelog \
+ compat \
+ control \
+ copyright \
+ dirs \
+ docs \
+ rules \
+ dpkg_build.sh
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/deb/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/deb/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-libtool clean-local distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ uninstall uninstall-am uninstall-info-am
+
+
+all-local: ${EXTRA_DIST} files
+ sh dpkg_build.sh
+
+files: changelog
+ echo "openrtm-aist_"${PKGVER}"_amd64.deb main extra" > files
+ echo "openrtm-aist-dev_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-example_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-doc_"${PKGVER}"_all.deb main extra" >> files
+
+clean-local:
+ rm -f *~
+ rm -f files
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/deb/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/packages/deb/Makefile.am (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,64 @@
+## -*- Makefile -*-
+##------------------------------------------------------------
+## Makefile.am for deb package
+##
+## $Id$
+##------------------------------------------------------------
+
+#
+# Debian package control files
+#
+# the following files are constant
+# - README.Debian
+# - changelog
+# - compat
+# - control
+# - copyright
+# - dirs
+# - docs
+# - rules
+#
+# the following files shoud be generated at make-dist
+# - files
+#
+# Package build process
+#
+# 1. edit "changelog" file with appropriate package version number
+# like "1.1.0-2." This version number will be used for actual
+# deb package files.
+#
+# 2. Check permissions of the parent directory of distribution sourcecode
+# extracted directory. (ex. parent of OpenRTM-aist-1.0.0)
+# Package build script create deb packages there.
+#
+# 3. Run package build script debpkg_build.sh
+# This script do everithings.
+#
+
+AUTOMAKE_OPTIONS = 1.4
+
+PKGVER=`head -n 1 changelog | sed 's/.*(\([0-9\.\-]*\).*/\1/'`
+
+all-local: ${EXTRA_DIST} files
+ sh dpkg_build.sh
+
+files: changelog
+ echo "openrtm-aist_"${PKGVER}"_amd64.deb main extra" > files
+ echo "openrtm-aist-dev_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-example_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-doc_"${PKGVER}"_all.deb main extra" >> files
+
+clean-local:
+ rm -f *~
+ rm -f files
+
+EXTRA_DIST = \
+ README.Debian \
+ changelog \
+ compat \
+ control \
+ copyright \
+ dirs \
+ docs \
+ rules \
+ dpkg_build.sh
Added: trunk/OpenRTM-aist/packages/deb/Makefile.in
===================================================================
--- trunk/OpenRTM-aist/packages/deb/Makefile.in (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/Makefile.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,428 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+
+#
+# Debian package control files
+#
+# the following files are constant
+# - README.Debian
+# - changelog
+# - compat
+# - control
+# - copyright
+# - dirs
+# - docs
+# - rules
+#
+# the following files shoud be generated at make-dist
+# - files
+#
+# Package build process
+#
+# 1. edit "changelog" file with appropriate package version number
+# like "1.1.0-2." This version number will be used for actual
+# deb package files.
+#
+# 2. Check permissions of the parent directory of distribution sourcecode
+# extracted directory. (ex. parent of OpenRTM-aist-1.0.0)
+# Package build script create deb packages there.
+#
+# 3. Run package build script debpkg_build.sh
+# This script do everithings.
+#
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = packages/deb
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTLIB = @ARTLIB@
+ARTLINUX = @ARTLINUX@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COSNAMES = @COSNAMES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+IDLC = @IDLC@
+IDL_FLAGS = @IDL_FLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LDSO = @LDSO@
+LDSOLIBS = @LDSOLIBS@
+LDSOOPTS = @LDSOOPTS@
+LIBOBJS = @LIBOBJS@
+LIBRARY = @LIBRARY@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+ORB = @ORB@
+ORB_IS_MICO_FALSE = @ORB_IS_MICO_FALSE@
+ORB_IS_MICO_TRUE = @ORB_IS_MICO_TRUE@
+ORB_IS_OMNIORB_FALSE = @ORB_IS_OMNIORB_FALSE@
+ORB_IS_OMNIORB_TRUE = @ORB_IS_OMNIORB_TRUE@
+ORB_IS_ORBACUS_FALSE = @ORB_IS_ORBACUS_FALSE@
+ORB_IS_ORBACUS_TRUE = @ORB_IS_ORBACUS_TRUE@
+ORB_IS_ORBEXPRESS_FALSE = @ORB_IS_ORBEXPRESS_FALSE@
+ORB_IS_ORBEXPRESS_TRUE = @ORB_IS_ORBEXPRESS_TRUE@
+ORB_IS_ORBIT2_FALSE = @ORB_IS_ORBIT2_FALSE@
+ORB_IS_ORBIT2_TRUE = @ORB_IS_ORBIT2_TRUE@
+ORB_IS_ORBIX_FALSE = @ORB_IS_ORBIX_FALSE@
+ORB_IS_ORBIX_TRUE = @ORB_IS_ORBIX_TRUE@
+ORB_IS_RTORB_FALSE = @ORB_IS_RTORB_FALSE@
+ORB_IS_RTORB_TRUE = @ORB_IS_RTORB_TRUE@
+ORB_IS_TAO_FALSE = @ORB_IS_TAO_FALSE@
+ORB_IS_TAO_TRUE = @ORB_IS_TAO_TRUE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PYTHON_FLAGS = @PYTHON_FLAGS@
+RANLIB = @RANLIB@
+RTM_DESCRIPTION = @RTM_DESCRIPTION@
+RTM_MAJOR_VERSION = @RTM_MAJOR_VERSION@
+RTM_MINOR_VERSION = @RTM_MINOR_VERSION@
+RTM_REVISION_NUM = @RTM_REVISION_NUM@
+RTM_SHORT_VERSION = @RTM_SHORT_VERSION@
+RTM_VERSION = @RTM_VERSION@
+RTPREEMPTEC = @RTPREEMPTEC@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SOEXT = @SOEXT@
+STRIP = @STRIP@
+TARGET = @TARGET@
+UNITTEST = @UNITTEST@
+VERSION = @VERSION@
+WRAPPERS = @WRAPPERS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgconfigdir = @pkgconfigdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+rtm_datadir = @rtm_datadir@
+rtm_docdir = @rtm_docdir@
+rtm_ecdir = @rtm_ecdir@
+rtm_exampledir = @rtm_exampledir@
+rtm_includedir = @rtm_includedir@
+rtm_libdir = @rtm_libdir@
+rtm_rtcdir = @rtm_rtcdir@
+rtm_rtmdir = @rtm_rtmdir@
+rtm_sdodir = @rtm_sdodir@
+rtm_svcdir = @rtm_svcdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+AUTOMAKE_OPTIONS = 1.4
+PKGVER = `head -n 1 changelog | sed 's/.*(\([0-9\.\-]*\).*/\1/'`
+EXTRA_DIST = \
+ README.Debian \
+ changelog \
+ compat \
+ control \
+ copyright \
+ dirs \
+ docs \
+ rules \
+ dpkg_build.sh
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/deb/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/deb/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-libtool clean-local distclean distclean-generic \
+ distclean-libtool distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am install-man \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ uninstall uninstall-am uninstall-info-am
+
+
+all-local: ${EXTRA_DIST} files
+ sh dpkg_build.sh
+
+files: changelog
+ echo "openrtm-aist_"${PKGVER}"_amd64.deb main extra" > files
+ echo "openrtm-aist-dev_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-example_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-doc_"${PKGVER}"_all.deb main extra" >> files
+
+clean-local:
+ rm -f *~
+ rm -f files
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/deb/README.Debian
===================================================================
--- trunk/OpenRTM-aist/packages/deb/README.Debian (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/README.Debian 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,28 @@
+openrtm-aist for Debian
+-----------------------
+Debian package of OpenRTM-aist
+
+OpenRTM-aist supports Debian and Ubuntu distribution.
+
+OpenRTM-aist official deb packages might be provided for the newest
+and former major releases of Debian under the following URL. For the
+Ubuntu distribution, deb packages might be provided for desktop
+versions of officially supported Ubuntu.
+
+- Debian package repository
+http://www.openrtm.org/pub/Linux/debian/
+
+- Ubuntu package repository
+http://www.openrtm.org/pub/Linux/ubuntu/
+
+The easyest way to install OpenRTM-aist to your Debian/Ubuntu systems
+is to download installation shell script from the following URL.
+
+- Ubuntu installation script: pkg_install100_ubuntu.sh
+- Debian installation script: pkg_install100_debian.sh
+http://openrtm.org/svnroot/OpenRTM-aist/trunk/OpenRTM-aist/build/
+
+For more details about OpenRTM-aist please visit the official site.
+http://www.openrtm.org
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Mon, 23 Jun 2008 16:18:55 +0900
Added: trunk/OpenRTM-aist/packages/deb/changelog
===================================================================
--- trunk/OpenRTM-aist/packages/deb/changelog (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/changelog 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,29 @@
+openrtm-aist (1.1.0-0) experimental; urgency=low
+
+ * 1.1.0-0 (1.1.0-RELEASE). OpenRTM-aist-1.1.0-RELEASE
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2010 16:58:44 +0900
+
+openrtm-aist (1.0.0-2) unstable; urgency=low
+
+ * 1.0.0-2 (1.0.0-RELEASE). A bug (rtcprof not included) has been fixed.
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2010 16:58:44 +0900
+
+openrtm-aist (1.0.0-1) unstable; urgency=low
+
+ * 1.0.0-1 (1.0.0-RELEASE).
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2010 16:58:44 +0900
+
+openrtm-aist (1.0.0-0) unstable; urgency=low
+
+ * 1.0.0-0 (1.0.0-RC1).
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2009 11:58:55 +0900
+
+openrtm-aist (0.4.2-0) unstable; urgency=low
+
+ * Initial release.
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Mon, 23 Jun 2008 16:18:55 +0900
Added: trunk/OpenRTM-aist/packages/deb/compat
===================================================================
--- trunk/OpenRTM-aist/packages/deb/compat (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/compat 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1 @@
+4
Added: trunk/OpenRTM-aist/packages/deb/control
===================================================================
--- trunk/OpenRTM-aist/packages/deb/control (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/control 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,39 @@
+Source: openrtm-aist
+Section: main
+Priority: extra
+Maintainer: Noriaki Ando <n-ando at aist.go.jp>
+Build-Depends: debhelper, omniidl4, python
+Standards-Version: 3.8.4
+Homepage: http://www.openrtm.org
+
+Package: openrtm-aist
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: OpenRTM-aist, RT-Middleware distributed by AIST
+ OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+ Component) specification which is OMG standard. OpenRTM-aist includes
+ RT-Middleware runtime environment and RTC framework. The OMG standard
+ defines a component model and certain important infrastructure
+ services applicable to the domain of robotics software development.
+ OpenRTM-aist is being developed and distributed by Intelligent
+ Systems Research Institute, National Institute of Advanced Industrial
+ Science and Technology (AIST), Japan.
+ Please see http://www.openrtm.org/ for more detail.
+
+Package: openrtm-aist-dev
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist headers for development
+ The header files and libraries needed for developing programs using
+ OpenRTM-aist.
+
+Package: openrtm-aist-example
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist examples
+ Example components and sources
+
+Package: openrtm-aist-doc
+Architecture: all
+Description: Documentation for openrtm-aist
+ Developer documentation.
Added: trunk/OpenRTM-aist/packages/deb/copyright
===================================================================
--- trunk/OpenRTM-aist/packages/deb/copyright (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/copyright 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,35 @@
+This package was debianized by Noriaki Ando <n-ando at aist.go.jp> on
+Mon, 23 Jun 2008 16:18:55 +0900.
+
+It was downloaded from http://www.openrtm.org
+
+Upstream Author(s):
+
+ Noriaki Ando <n-ando at aist.go.jp>
+
+Copyright:
+
+ Copyright (C) 2003-2011
+ Noriaki Ando and the OpenRTM-aist Project team
+ Intelligent Systems Research Institute,
+ National Institute of Advanced Industrial Science and Technology (AIST),
+ Tsukuba, Japan, All rights reserved.
+
+License:
+
+ The OpenRTM-aist is the dual-licensed open source software. You can
+ use, copy, distribute and/or modify this library under the terms and
+ conditions of either of the licenses below.
+
+ 1) LGPL (GNU Lesser General Public License - v 2.1)
+ See COPYING.LIB.
+
+ 2) Individual Licnese
+ You can purchase license from AIST and/or AIST's TLO to copy,
+ distribute, modify and/or sublicense the library without any
+ limitation in the terms of LGPL. The individual license should be
+ concluded with a negotiated agreement between you and AIST and/or AIST
+ TLO. To conclude individual license, contact the person responsible of
+ AIST.
+
+
Added: trunk/OpenRTM-aist/packages/deb/debian_debcp.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/debian_debcp.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/debian_debcp.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,101 @@
+#!/bin/sh
+#
+# @file vine_repo
+# @brief apt-rpm repository database creation for VineLinux
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir="/exports/pub/repository/pub/Linux/debian/dists"
+pkgdir="/usr/users/builder/PackageBuild/"
+# debian versions
+codenames="etch sarge lenny"
+# VineLinux architectures
+darchs="i386 amd64"
+
+debcode2ver () {
+ case $1 in
+ "sarge")
+ echo "3.1"
+ ;;
+ "etch")
+ echo "4.0"
+ ;;
+ "lenny")
+ echo "5.0"
+ ;;
+ *)
+ echo "unknown code name"
+ exit 1
+ ;;
+ esac
+}
+
+debarch2arch () {
+ case $1 in
+ "i386")
+ echo "i686"
+ ;;
+ "amd64")
+ echo "x86_64"
+ ;;
+ *)
+ echo "unknown arch"
+ exit 1
+ ;;
+ esac
+}
+
+
+
+for codename in $codenames; do
+ for darch in $darchs ; do
+ version=`debcode2ver $codename`
+ arch=`debarch2arch $darch`
+
+ debs="$pkgdir/Debian$version-$arch/"
+ repo="$basedir/$codename/main/binary-$darch"
+
+ # ディレクトリが存在しないならスキップ
+ if test ! -d $debs ; then
+ echo $debs "does not exists. skiped."
+ continue
+ fi
+
+ # ディレクトリが存在しないなら作成
+ if test ! -d $repo ; then
+ mkdir -p $repo
+ fi
+
+ echo ""
+ echo "Copying debs to repository:"
+ echo "dir: "$repo
+
+ for deb in $debs/* ; do
+ debname=`basename $deb`
+ if test -f $repo/$debname ; then
+ echo "$repo/$debname already exists"
+ read -p "Overwrite? $rpmname [Y/n]" ow
+ if test ! "$ow" = "n" ; then
+ echo "copying $debname"
+ cp $debs/$debname $repo
+ echo "copy done"
+ fi
+ else
+ cp $debs/$debname $repo
+ echo "copy done"
+ fi
+ done
+ done
+done
Added: trunk/OpenRTM-aist/packages/deb/debian_repo.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/debian_repo.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/debian_repo.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# @file debian_repo
+# @brief apt-deb repository database creation for debian
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+cd /exports/pub/repository/pub/Linux/debian
+
+# debian versions
+versions="etch sarge lenny"
+
+# debian architectures
+archs="binary-i386 binary-amd64"
+
+for version in $versions; do
+ for arch in $archs ; do
+ debs="dists/$version/main/$arch"
+ echo ""
+ echo "Creating apt-dev database under:"
+ echo $debs
+ apt-ftparchive packages $debs | gzip -c9 > $debs/Packages.gz
+ done
+# dpkg-scansources $version/main/source | gzip > $version/main/source/Sources.gz
+done
Added: trunk/OpenRTM-aist/packages/deb/dirs
===================================================================
--- trunk/OpenRTM-aist/packages/deb/dirs (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/dirs 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
Added: trunk/OpenRTM-aist/packages/deb/docs
===================================================================
--- trunk/OpenRTM-aist/packages/deb/docs (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/docs 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,3 @@
+NEWS
+README
+README.jp
Added: trunk/OpenRTM-aist/packages/deb/dpkg_build.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/dpkg_build.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/dpkg_build.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,117 @@
+#!/bin/sh
+#
+# Debian package build script
+#
+# the following files are constant
+# - README.Debian
+# - changelog
+# - compat
+# - control
+# - copyright
+# - dirs
+# - docs
+# - rules
+#
+# the following files shoud be generated at make-dist
+# - files
+#
+# Package build process
+#
+# 1. edit "changelog" file with appropriate package version number
+# like "1.1.0-2." This version number will be used for actual
+# deb package files.
+#
+# 2. Check permissions of the parent directory of distribution sourcecode
+# extracted directory. (ex. parent of OpenRTM-aist-1.0.0)
+# Package build script create deb packages there.
+#
+# 3. Run package build script debpkg_build.sh
+# This script do everithings.
+#
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+# system information
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ dist_key=$DISTRIB_ID
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\).*/fc\1/' /etc/fedora-release`
+fi
+# Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key="Debian"
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test ! "x$dist_key" = "xDebian" -a ! "x$dist_key" = "xUbuntu" ; then
+ echo $dist_key
+ echo "This is not debian/ubuntu"
+ exit 0
+fi
+
+#------------------------------------------------------------
+# create "files" file
+#------------------------------------------------------------
+if test ! -f "files" ; then
+ PKGVER=`head -n 1 changelog | sed 's/.*(\([0-9\.\-]*\).*/\1/'`
+ echo "openrtm-aist_"${PKGVER}"_amd64.deb main extra" > files
+ echo "openrtm-aist-dev_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-example_"${PKGVER}"_amd64.deb main extra" >> files
+ echo "openrtm-aist-doc_"${PKGVER}"_all.deb main extra" >> files
+fi
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+packagedir=../../
+mkdir $packagedir/debian
+
+cp README.Debian $packagedir/debian/
+cp changelog $packagedir/debian/
+cp compat $packagedir/debian/
+cp control $packagedir/debian/
+cp copyright $packagedir/debian/
+cp dirs $packagedir/debian/
+cp docs $packagedir/debian/
+cp files $packagedir/debian/
+chmod 444 $packagedir/debian/files
+cp rules $packagedir/debian/
+chmod 755 $packagedir/debian/rules
+
+cd $packagedir
+
+dpkg-buildpackage -W -us -uc -rfakeroot
Added: trunk/OpenRTM-aist/packages/deb/dpkgbuild.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/dpkgbuild.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/dpkgbuild.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+# system information
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ dist_key=$DISTRIB_ID
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key="Debian"
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test ! "x$dist_key" = "xDebian" -a ! "x$dist_key" = "xUbuntu" ; then
+ echo $dist_key
+ echo "This is not debian/ubuntu"
+ exit 0
+fi
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+$packagedir=../../
+mkdir $packagedir/debian
+
+cp README.Debian $packagedir/debian/
+cp changelog $packagedir/debian/
+cp compat $packagedir/debian/
+cp control $packagedir/debian/
+cp copyright $packagedir/debian/
+cp dirs $packagedir/debian/
+cp docs $packagedir/debian/
+cp files $packagedir/debian/
+chmod 444 $packagedir/debian/files
+cp rules $packagedir/debian/
+chmod 755 $packagedir/debian/rules
+
+cd $packagedir
+
+dpkg-buildpackage -W -us -uc -rfakeroot
Added: trunk/OpenRTM-aist/packages/deb/dpkgbuild2.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/dpkgbuild2.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/dpkgbuild2.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,469 @@
+#!/bin/sh
+
+openrtm_deb_readme () {
+cat <<'EOF'
+openrtm-aist for Debian
+-----------------------
+Debian package of OpenRTM-aist
+
+ -- Noriaki Ando <n-ando at aist.go.jp> Mon, 23 Jun 2008 16:18:55 +0900
+EOF
+}
+
+openrtm_deb_changelog () {
+cat <<'EOF'
+openrtm-aist (1.1.0-0) unstable; urgency=low
+
+ * 1.0.0-2 (1.0.0-RELEASE). A bug (rtcprof not included) has been fixed.
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2010 16:58:44 +0900
+
+ * 1.0.0-1 (1.0.0-RELEASE).
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2010 16:58:44 +0900
+
+ * 1.0.0-0 (1.0.0-RC1).
+ -- Noriaki Ando <n-ando at aist.go.jp> Thu, 28 May 2009 11:58:55 +0900
+
+ * Initial release.
+ -- Noriaki Ando <n-ando at aist.go.jp> Mon, 23 Jun 2008 16:18:55 +0900
+EOF
+}
+
+openrtm_deb_compat () {
+cat <<EOF
+4
+EOF
+}
+
+openrtm_deb_control () {
+cat<<'EOF'
+Source: openrtm-aist
+Section: main
+Priority: extra
+Maintainer: Noriaki Ando <n-ando at aist.go.jp>
+Build-Depends: debhelper, omniidl4, python
+Standards-Version: 3.7.2
+
+Package: openrtm-aist
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: OpenRTM-aist, RT-Middleware distributed by AIST
+ OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+ Component) specification which is OMG standard. OpenRTM-aist includes
+ RT-Middleware runtime environment and RTC framework. The OMG standard
+ defines a component model and certain important infrastructure services
+ applicable to the domain of robotics software development.
+ OpenRTM-aist is being developed and distributed by
+ Task Intelligence Research Group, Intelligent Systems Research Institute,
+ National Institute of Advanced Industrial Science and Technology (AIST), Japan.
+ Please see http://www.openrtm.org/ for more detail.
+
+Package: openrtm-aist-dev
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist headers for development
+ The header files and libraries needed for developing programs using
+ OpenRTM-aist.
+
+Package: openrtm-aist-example
+Architecture: any
+Depends: openrtm-aist
+Description: OpenRTM-aist examples
+ Example components and sources
+
+Package: openrtm-aist-doc
+Architecture: all
+Description: Documentation for openrtm-aist
+ Developer documentation.
+EOF
+}
+
+openrtm_deb_copyright () {
+cat <<'EOF'
+This package was debianized by Noriaki Ando <n-ando at aist.go.jp> on
+Mon, 23 Jun 2008 16:18:55 +0900.
+
+It was downloaded from <http://www.openrtm.org>
+
+Upstream Author(s):
+
+ Noriaki Ando <n-ando at aist.go.jp>
+
+Copyright:
+
+ Copyright (C) 2003-2010
+ Noriaki Ando and the OpenRTM-aist Project team
+ Intelligent Systems Research Institute,
+ National Institute of Advanced Industrial Science and Technology (AIST),
+ Tsukuba, Japan, All rights reserved.
+
+License:
+
+ The OpenRTM-aist is the dual-licensed open source software. You can
+ use, copy, distribute and/or modify this library under the terms and
+ conditions of either of the licenses below.
+
+ 1) EPL (Eclipse Public License - v 1.0)
+ See
+ http://www.eclipse.org/legal/epl-v10.html
+ http://www.eclipse.org/org/documents/epl-v10.php
+ or
+ COPYING.LIB.
+
+ 2) Individual Licnese
+ You can purchase license from AIST and/or AIST's TLO to copy,
+ distribute, modify and/or sublicense the library without any
+ limitation in the terms of LGPL. The individual license should be
+ concluded with a negotiated agreement between you and AIST and/or AIST
+ TLO. To conclude individual license, contact the person responsible of
+ AIST.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+EOF
+}
+
+openrtm_deb_dirs () {
+cat <<EOF
+usr/bin
+usr/sbin
+EOF
+}
+
+openrtm_deb_docs () {
+cat <<EOF
+NEWS
+README
+README.jp
+EOF
+}
+
+openrtm_deb_files () {
+cat <<EOF
+openrtm-aist_1.1.0-0_amd64.deb main extra
+openrtm-aist-dev_1.1.0-0_amd64.deb main extra
+openrtm-aist-example_1.1.0-0_amd64.deb main extra
+openrtm-aist-doc_1.1.0-0_all.deb main extra
+EOF
+}
+
+openrtm_deb_rules () {
+cat <<'EOF'
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+#Architecture
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: config.status
+
+ # Add here commands to compile the arch part of the package.
+ #$(MAKE)
+ touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+
+ # Add here commands to compile the indep part of the package.
+ #$(MAKE) doc
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+
+ # Add here commands to clean up after the build process.
+ # -$(MAKE) distclean
+ #rm -f config.sub config.guess
+
+ dh_clean
+
+install: install-indep install-arch
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+
+ # Add here commands to install the indep part of the package into
+ # debian/<package>-doc.
+ #INSTALLDOC#
+ # for openrtm-aist-doc package
+ (cd $(CURDIR)/docs ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-doc install)
+
+ dh_install -i
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+
+ # Add here commands to install the arch part of the package into
+ # debian/tmp.
+ $(MAKE)
+
+ # for openrtm-aist package
+ (cd $(CURDIR)/src/lib/coil/posix ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/etc ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/utils/rtcd ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+ (cd $(CURDIR)/utils/rtcprof ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+ (cd $(CURDIR)/utils/rtm-naming ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+
+ # for openrtm-dev package
+ #$(MAKE)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install-data-recursive)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install-data)
+ (cd $(CURDIR)/utils/rtc-template ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/utils/rtm-skelwrapper ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/utils/rtm-config ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/src/lib/coil/utils/coil-config ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+
+ # for openrtm-aist-example package
+ #$(MAKE)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install-exec)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install-exec)
+ (cd $(CURDIR)/examples ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example uninstall)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example uninstall)
+
+ dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
+
+EOF
+}
+
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+# date
+date=`date "+%y%m%d%H%M"`
+time=/usr/bin/time
+# package location and build directory
+package=/usr/users/builder/PackageBuild/src/OpenRTM-aist-1.1.0-RELEASE.tar.gz
+packagedir=OpenRTM-aist-1.1.0
+package_date=`ls -al $package | awk '{printf("%s/%s %s\n",$6,$7,$8);}'`
+package_date=`diff -ac $package /dev/null | head -1 |awk '{print $3,$4,$5,$6,$7,$8;}'`
+package_name=`basename $package`
+buildroot=/usr/users/builder/PackageBuild
+
+logheader="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\"><html><body><pre>"
+logfooter="</pre></body></html>"
+
+# system information
+hostname=`hostname`
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ dist_key=$DISTRIB_ID
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key="Debian"
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test ! "x$dist_key" = "xDebian" -a ! "x$dist_key" = "xUbuntu" ; then
+ echo $dist_key
+ echo "This is not debian/ubuntu"
+ exit 0
+fi
+
+echo $dist_key
+
+distname=`echo $dist_name | sed 's/[ |\(|\)]//g'`
+# system dependent build directory and log file name
+builddir=$buildroot/$distname
+timestamp=$buildroot/.$distname
+logfile=$distname-$date.log
+
+build=""
+echo $dist_key
+# check package
+if test -f $package ; then
+ echo "Package found: " $package
+else
+ echo "Package not found: " $pacakge
+ exit 1
+fi
+cd $buildroot
+
+# check if package is new
+if test -f $timestamp ; then
+ if test $package -nt $timestamp ; then
+ build=yes
+ echo "New source file was found."
+ touch $timestamp
+ fi
+else
+ echo "Timestamp not found."
+ touch $timestamp
+ build=yes
+fi
+
+if test "x$build" = "x" ; then
+ echo "No new package."
+ exit 1
+fi
+
+# cleanup
+echo "cleanup " $builddir/$packagedir
+rm -rf $builddir
+
+mkdir -p $builddir
+cd $builddir
+
+echo "distribution: " $dist_name >> $buildroot/$logfile
+echo "package: $package_date " >> $buildroot/$logfile
+
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+echo $logheader > $buildroot/make-$logfile
+
+tar xvzf $package
+mkdir $packagedir/debian
+openrtm_deb_readme > $packagedir/debian/README.Debian
+openrtm_deb_changelog > $packagedir/debian/changelog
+openrtm_deb_compat > $packagedir/debian/compat
+openrtm_deb_control > $packagedir/debian/control
+openrtm_deb_copyright > $packagedir/debian/copyright
+openrtm_deb_dirs > $packagedir/debian/dirs
+openrtm_deb_docs > $packagedir/debian/docs
+openrtm_deb_files > $packagedir/debian/files
+chmod 444 $packagedir/debian/files
+openrtm_deb_rules > $packagedir/debian/rules
+chmod 755 $packagedir/debian/rules
+
+cd $packagedir
+
+if $time -p -o make_time-$logfile dpkg-buildpackage -W -us -uc -rfakeroot >> $buildroot/make-$logfile 2>&1 ; then
+ echo $logfooter >> $buildroot/make-$logfile
+ make_time=`awk '/real/{printf("%s[s] ", $0);}' make_time-$logfile`
+ echo "make: OK" >> $buildroot/$logfile
+ echo "make_time: $make_time" >> $buildroot/$logfile
+ rm -f make_time-$logfile
+else
+ echo "make: NG" >> $buildroot/$logfile
+ rm -f make_time-$logfile
+ exit 1
+fi
+
Added: trunk/OpenRTM-aist/packages/deb/files
===================================================================
--- trunk/OpenRTM-aist/packages/deb/files (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/files 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,4 @@
+openrtm-aist_1.1.0-0_amd64.deb main extra
+openrtm-aist-dev_1.1.0-0_amd64.deb main extra
+openrtm-aist-example_1.1.0-0_amd64.deb main extra
+openrtm-aist-doc_1.1.0-0_all.deb main extra
Added: trunk/OpenRTM-aist/packages/deb/rules
===================================================================
--- trunk/OpenRTM-aist/packages/deb/rules (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/rules 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,166 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+#Architecture
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: config.status
+
+ # Add here commands to compile the arch part of the package.
+ #$(MAKE)
+ touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+
+ # Add here commands to compile the indep part of the package.
+ #$(MAKE) doc
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+
+ # Add here commands to clean up after the build process.
+ # -$(MAKE) distclean
+ #rm -f config.sub config.guess
+
+ dh_clean
+
+install: install-indep install-arch
+install-indep:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -i
+ dh_installdirs -i
+
+ # Add here commands to install the indep part of the package into
+ # debian/<package>-doc.
+ #INSTALLDOC#
+ # for openrtm-aist-doc package
+ (cd $(CURDIR)/docs ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-doc install)
+
+ dh_install -i
+
+install-arch:
+ dh_testdir
+ dh_testroot
+ dh_clean -k -s
+ dh_installdirs -s
+
+ # Add here commands to install the arch part of the package into
+ # debian/tmp.
+ $(MAKE)
+
+ # for openrtm-aist package
+ (cd $(CURDIR)/src/lib/coil/posix ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/etc ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+ (cd $(CURDIR)/utils/rtcd ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+ (cd $(CURDIR)/utils/rtcprof ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+ (cd $(CURDIR)/utils/rtm-naming ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+ (cd $(CURDIR)/src/ext ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install-exec)
+
+ # for openrtm-dev package
+ #$(MAKE)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install-data-recursive)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install-data)
+ (cd $(CURDIR)/utils/rtc-template ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/utils/rtm-skelwrapper ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/utils/rtm-config ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+ (cd $(CURDIR)/src/lib/coil/utils/coil-config ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-dev install)
+
+ # for openrtm-aist-example package
+ #$(MAKE)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install-exec)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install-exec)
+ (cd $(CURDIR)/examples ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example install)
+ (cd $(CURDIR)/src/lib/rtm ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example uninstall)
+ (cd $(CURDIR)/src/lib/coil ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist-example uninstall)
+
+ dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
+
Added: trunk/OpenRTM-aist/packages/deb/ubuntu_debcp.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/ubuntu_debcp.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/ubuntu_debcp.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,120 @@
+#!/bin/sh
+#
+# @file vine_repo
+# @brief apt-rpm repository database creation for VineLinux
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir="/exports/pub/repository/pub/Linux/ubuntu/dists"
+pkgdir="/usr/users/builder/PackageBuild/"
+# debian versions
+codenames="edgy feisty gutsy hardy intrepid jaunty karmic lucid"
+codenames="lucid maverick"
+# VineLinux architectures
+darchs="i386 amd64"
+
+debcode2ver () {
+ case $1 in
+ "edgy")
+ echo "6.10"
+ ;;
+ "feisty")
+ echo "7.04"
+ ;;
+ "gutsy")
+ echo "7.10"
+ ;;
+ "hardy")
+ echo "8.04"
+ ;;
+ "intrepid")
+ echo "8.10"
+ ;;
+ "jaunty")
+ echo "9.04"
+ ;;
+ "karmic")
+ echo "9.10"
+ ;;
+ "lucid")
+ echo "10.04LTS"
+ ;;
+ "maverick")
+ echo "10.10"
+ ;;
+ *)
+ echo "unknown code name"
+ exit 1
+ ;;
+ esac
+}
+
+debarch2arch () {
+ case $1 in
+ "i386")
+ echo "i686"
+ ;;
+ "amd64")
+ echo "x86_64"
+ ;;
+ *)
+ echo "unknown arch"
+ exit 1
+ ;;
+ esac
+}
+
+
+
+for codename in $codenames; do
+ for darch in $darchs ; do
+ version=`debcode2ver $codename`
+ arch=`debarch2arch $darch`
+
+ debs="$pkgdir/Ubuntu$version-$arch/"
+ repo="$basedir/$codename/main/binary-$darch"
+
+ # ディレクトリが存在しないならスキップ
+ if test ! -d $debs ; then
+ echo $debs "does not exists. skiped."
+ continue
+ fi
+
+ # ディレクトリが存在しないなら作成
+ if test ! -d $repo ; then
+ mkdir -p $repo
+ fi
+
+ echo ""
+ echo "Copying debs to repository:"
+ echo "dir: "$repo
+
+ for deb in $debs* ; do
+ debname=`basename $deb`
+ if test -f $repo/$debname ; then
+ echo "$repo/$debname already exists"
+ read -p "Overwrite? $rpmname [Y/n]" ow
+ if test ! "$ow" = "n" ; then
+ echo "copying $debname"
+ cp $debs/$debname $repo
+ echo "copy done"
+ fi
+ else
+ cp $debs/$debname $repo
+ echo "copy done"
+ fi
+ done
+ done
+done
Added: trunk/OpenRTM-aist/packages/deb/ubuntu_repo.sh
===================================================================
--- trunk/OpenRTM-aist/packages/deb/ubuntu_repo.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/deb/ubuntu_repo.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# @file Ubuntu_repo
+# @brief apt-deb repository database creation for Ubuntu
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+cd /exports/pub/repository/pub/Linux/ubuntu
+
+# Ubuntu versions
+versions="edgy feisty gutsy hardy intrepid jaunty karmic lucid maverick"
+
+# Ubuntu architectures
+archs="binary-i386 binary-amd64"
+
+for version in $versions; do
+ for arch in $archs ; do
+ debs=dists/$version/main/$arch
+ echo ""
+ echo "Creating apt-dev database under:"
+ echo $debs
+ touch package
+ dpkg-scanpackages -m $debs package | gzip > $debs/Packages.gz
+# apt-ftparchive packages $debs | gzip -c9 > $debs/Packages.gz
+ done
+# dpkg-scansources $version/main/source | gzip > $version/main/source/Sources.gz
+done
Added: trunk/OpenRTM-aist/packages/macports/Portfile
===================================================================
--- trunk/OpenRTM-aist/packages/macports/Portfile (rev 0)
+++ trunk/OpenRTM-aist/packages/macports/Portfile 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,41 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+PortSystem 1.0
+name OpenRTM-aist
+version 1.0.0
+revision 2
+
+categories devel
+platforms darwin
+maintainers Noriaki Ando
+description OpenRTM-aist: RT-Middleware distributed by AIST
+
+long_description OpenRTM-aist is a reference implementation of RTC \
+ (Robotic Technology Component) specification which \
+ is OMG standard. OpenRTM-aist includes RT-Middleware \
+ runtime environment and RTC framework. The OMG \
+ standard defines a component model and certain \
+ important infrastructure services applicable to the \
+ domain of robotics software development. \
+ OpenRTM-aist is being developed and distributed by \
+ Task Intelligence Research Group, Intelligent \
+ Systems Research Institute, National Institute of \
+ Advanced Industrial Science and Technology (AIST), \
+ Japan.
+
+distname OpenRTM-aist-${version}
+distfiles OpenRTM-aist-${version}-RELEASE.tar.gz
+homepage http://www.openrtm.org/
+master_sites http://www.openrtm.org/pub/OpenRTM-aist/cxx/1.0.0/
+checksums md5 dc399aa818fa57f5d24fd752a3a2257b
+
+depends_lib port:omniORB
+patchfiles patch-examples-Composite-Makefile.in \
+ patch-examples-ConfigSample-Makefile.in \
+ patch-examples-SeqIO-Makefile.in \
+ patch-examples-SimpleIO-Makefile.in \
+ patch-examples-SimpleService-Makefile.in \
+ patch-src-lib-coil-posix-coil-Routing.cpp \
+ patch-src-lib-coil-posix-coil-UUID.cpp \
+ patch-src-lib-rtm-InPortConsumer.h \
+ patch-src-lib-rtm-idl-Makefile.in
Added: trunk/OpenRTM-aist/packages/macports/port_install.sh
===================================================================
--- trunk/OpenRTM-aist/packages/macports/port_install.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/macports/port_install.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,74 @@
+#!/bin/sh
+#
+# @file port_install.sh
+# @brief MacPorts ported OpenRTM-aist installer script
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2010
+# Noriaki Ando
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+port_cmd=`which port`
+wget_cmd=`which wget`
+ports_site=http://www.openrtm.org/pub/MacOSX/macports/
+ports_file=ports.tgz
+sources_entry=file://`pwd`/ports/
+sources_conf=/opt/local/etc/macports/sources.conf
+
+if test "x$port_cmd" = "x"; then
+ echo "MacPorts required, but not installed."
+ echo "Pleae install MacPorts: http://www.macports.org/"
+ exit -1
+fi
+
+installed=`port installed |grep OpenRTM-aist`
+
+if test "x$installed" != "x" ; then
+ echo "OpenRTM-aist is already installed. exiting."
+ exit 0
+fi
+
+if test "x$wget_cmd" = "x"; then
+ echo "wget command not found. Installing wget."
+ echo "# A password may be required for sudo. Input your password."
+ sudo port install wget
+fi
+
+echo $sources_entry
+echo "Getting Portfile from: " $ports_site/$ports_file
+wget $ports_site/$ports_file
+tar xvzf $ports_file
+cd ports
+portindex
+
+has_entry=`grep -e "^$sources_entry$" $sources_conf`
+
+if test "x$has_entry" = "x" ; then
+ echo "Adding local ports repository entry to sources.conf"
+ echo "# A password may be required for sudo. Input your password."
+ sudo chmod 666 $sources_conf
+ sudo echo $sources_entry >> $sources_conf
+ sudo chmod 444 $sources_conf
+fi
+
+echo "Installing OpemRTM-aist...it may take several minutes."
+echo "# A password may be required for sudo. Input your password."
+sudo port install OpenRTM-aist
+
+has_entry=`grep -e "^$sources_entry$" $sources_conf`
+if test "x$has_entry" != "x" ; then
+ echo "Cleaning local ports repository entry in sources.conf"
+ echo "# A password may be required for sudo. Input your password."
+ sudo chmod 666 $sources_conf
+ sudo grep -v $sources_entry $sources_conf > /tmp/sources.conf
+ sudo mv /tmp/sources.conf $sources_conf
+ sudo chown root:admin $sources_conf
+ sudo chmod 444 $sources_conf
+fi
+
Added: trunk/OpenRTM-aist/packages/macports/ports.tgz
===================================================================
(Binary files differ)
Property changes on: trunk/OpenRTM-aist/packages/macports/ports.tgz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/OpenRTM-aist/packages/rpm/Makefile
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/Makefile (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/Makefile 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,413 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# packages/rpm/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+srcdir = .
+top_srcdir = ../..
+
+pkgdatadir = $(datadir)/OpenRTM-aist
+pkglibdir = $(libdir)/OpenRTM-aist
+pkgincludedir = $(includedir)/OpenRTM-aist
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = i386-unknown-freebsd7.2
+host_triplet = i386-unknown-freebsd7.2
+subdir = packages/rpm
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run aclocal-1.9
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run tar
+AR = ar
+ARTLIB =
+ARTLINUX =
+AS = as
+AUTOCONF = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoconf
+AUTOHEADER = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run autoheader
+AUTOMAKE = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run automake-1.9
+AWK = nawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+COSNAMES = /usr/local/bin/omniNames
+CPP = gcc -E
+CPPFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -I/usr/local/include -Wall -fPIC -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = dlltool
+DSYMUTIL =
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = /usr/bin/grep -E
+EXEEXT =
+F77 =
+FFLAGS =
+GREP = /usr/bin/grep
+IDLC = /usr/local/bin/omniidl
+IDL_FLAGS = -bcxx -Wba -nf
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LD = /usr/bin/ld
+LDFLAGS = -L/usr/local/lib -export-dynamic
+LDSO =
+LDSOLIBS = -lomniORB4 -lomnithread -lomniDynamic4
+LDSOOPTS =
+LIBOBJS =
+LIBRARY =
+LIBS = -lpthread -lomniORB4 -lomnithread -lomniDynamic4
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAKEINFO = ${SHELL} /usr/home/n-ando/work/trunk/OpenRTM-aist/missing --run makeinfo
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+ORB = omniORB
+ORB_IS_MICO_FALSE =
+ORB_IS_MICO_TRUE = #
+ORB_IS_OMNIORB_FALSE = #
+ORB_IS_OMNIORB_TRUE =
+ORB_IS_ORBACUS_FALSE =
+ORB_IS_ORBACUS_TRUE = #
+ORB_IS_ORBEXPRESS_FALSE =
+ORB_IS_ORBEXPRESS_TRUE = #
+ORB_IS_ORBIT2_FALSE =
+ORB_IS_ORBIT2_TRUE = #
+ORB_IS_ORBIX_FALSE =
+ORB_IS_ORBIX_TRUE = #
+ORB_IS_RTORB_FALSE =
+ORB_IS_RTORB_TRUE = #
+ORB_IS_TAO_FALSE =
+ORB_IS_TAO_TRUE = #
+PACKAGE = OpenRTM-aist
+PACKAGE_BUGREPORT = n-ando at aist.go.jp
+PACKAGE_NAME = OpenRTM-aist
+PACKAGE_STRING = OpenRTM-aist 1.1.0
+PACKAGE_TARNAME = OpenRTM-aist
+PACKAGE_VERSION = 1.1.0
+PATH_SEPARATOR = :
+PYTHON_FLAGS =
+RANLIB = ranlib
+RTM_DESCRIPTION = An OMG RTC compliant middleware for robots.
+RTM_MAJOR_VERSION = 1
+RTM_MINOR_VERSION = 1
+RTM_REVISION_NUM = 0
+RTM_SHORT_VERSION = 110
+RTM_VERSION = 1.1.0
+RTPREEMPTEC =
+SED = /usr/bin/sed
+SET_MAKE =
+SHELL = /bin/sh
+SOEXT =
+STRIP = strip
+TARGET =
+UNITTEST =
+VERSION = 1.1.0
+WRAPPERS =
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 =
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=posix -chf - "$$tardir"
+am__untar = tar -xf -
+bindir = ${exec_prefix}/bin
+build = i386-unknown-freebsd7.2
+build_alias =
+build_cpu = i386
+build_os = freebsd7.2
+build_vendor = unknown
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = i386-unknown-freebsd7.2
+host_alias =
+host_cpu = i386
+host_os = freebsd7.2
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = /usr/home/n-ando/work/trunk/OpenRTM-aist/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(install_sh) -d
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+pkgconfigdir = ${libdir}/pkgconfig
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+rtm_datadir = ${datarootdir}/openrtm-1.1
+rtm_docdir = ${datarootdir}/openrtm-1.1/doc
+rtm_ecdir = ${exec_prefix}/lib/openrtm-1.1/ec
+rtm_exampledir = ${datarootdir}/openrtm-1.1/example
+rtm_includedir = ${prefix}/include/openrtm-1.1
+rtm_libdir = ${exec_prefix}/lib/openrtm-1.1
+rtm_rtcdir = ${exec_prefix}/lib/openrtm-1.1/rtc
+rtm_rtmdir = ${exec_prefix}/lib/openrtm-1.1/rtm
+rtm_sdodir = ${exec_prefix}/lib/openrtm-1.1/sdo
+rtm_svcdir = ${exec_prefix}/lib/openrtm-1.1/svc
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+subdirs = src/lib/coil
+sysconfdir = ${prefix}/etc
+target_alias =
+AUTOMAKE_OPTIONS = 1.4
+dist_key = `sh dist_key.sh`
+EXTRA_DIST = \
+ OpenRTM-aist.spec.in \
+ rpm_build.sh.in \
+ dist_key.sh \
+ fedora_repo.sh \
+ fedora_rpmcp.sh \
+ pkgbuild.sh \
+ vine_repo.sh \
+ vine_rpmcp.sh
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/rpm/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/rpm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-libtool clean-local dist-hook distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am
+
+
+all-local: OpenRTM-aist.spec rpm_build.sh
+ sh rpm_build.sh
+
+OpenRTM-aist.spec: OpenRTM-aist.spec.in
+ echo "%define version $(RTM_VERSION)" > $@
+ echo "%define shortversion $(RTM_MAJOR_VERSION).$(RTM_MINOR_VERSION)" >> $@
+ echo "%define distname $(dist_key)" >> $@
+ echo "%define rtm_includedir $(rtm_includedir)" >> $@
+ echo "%define rtm_libdir $(rtm_libdir)" >> $@
+ echo "%define rtm_datadir $(rtm_datadir)" >> $@
+ cat OpenRTM-aist.spec.in >> $@
+
+rpm_build.sh: rpm_build.sh.in
+ echo "#!/bin/sh" > $@
+ echo "" >> $@
+ echo "version=$(RTM_VERSION)" >> $@
+ echo "" >> $@
+ cat rpm_build.sh.in >> $@
+
+dist-hook: rpmpkg_build.sh
+
+clean-local:
+ rm -f *~
+ rm -f files
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/rpm/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/Makefile.am (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,55 @@
+## -*- Makefile -*-
+##------------------------------------------------------------
+## Makefile.am for deb package
+##
+##
+## rpmpkg_build.sh.in : RPM package build script template
+## Only __VERSION__ is undefined.
+## rpmpkg_build.sh : RPM package build script created from
+## rpmpkg_build.sh.in replacing __VERSION__.
+## OpenRTM-aist.spec.in : RPM spec file template
+##
+## OpenRTM-aist.spec : RPM spec file created from OpenRTM-aist.spec
+##
+## $Id$
+##------------------------------------------------------------
+
+AUTOMAKE_OPTIONS = 1.4
+
+dist_key=`sh dist_key.sh`
+
+all-local: OpenRTM-aist.spec rpm_build.sh
+ sh rpm_build.sh
+
+OpenRTM-aist.spec: OpenRTM-aist.spec.in
+ echo "%define version $(RTM_VERSION)" > $@
+ echo "%define shortversion $(RTM_MAJOR_VERSION).$(RTM_MINOR_VERSION)" >> $@
+ echo "%define distname $(dist_key)" >> $@
+ echo "%define rtm_includedir $(rtm_includedir)" >> $@
+ echo "%define coil_includedir $(coil_includedir)" >> $@
+ echo "%define rtm_libdir $(rtm_libdir)" >> $@
+ echo "%define rtm_datadir $(rtm_datadir)" >> $@
+ cat OpenRTM-aist.spec.in >> $@
+
+rpm_build.sh: rpm_build.sh.in
+ echo "#!/bin/sh" > $@
+ echo "" >> $@
+ echo "version=$(RTM_VERSION)" >> $@
+ echo "" >> $@
+ cat rpm_build.sh.in >> $@
+
+dist-hook: rpmpkg_build.sh
+
+clean-local:
+ rm -f *~
+ rm -f files
+
+EXTRA_DIST = \
+ OpenRTM-aist.spec.in \
+ rpm_build.sh.in \
+ dist_key.sh \
+ fedora_repo.sh \
+ fedora_rpmcp.sh \
+ pkgbuild.sh \
+ vine_repo.sh \
+ vine_rpmcp.sh
Property changes on: trunk/OpenRTM-aist/packages/rpm/Makefile.am
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/Makefile.in
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/Makefile.in (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/Makefile.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,413 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ../..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = packages/rpm
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/libtool.m4 $(top_srcdir)/openrtm.m4 \
+ $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/src/lib/rtm/config_rtc.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTLIB = @ARTLIB@
+ARTLINUX = @ARTLINUX@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+COSNAMES = @COSNAMES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+GREP = @GREP@
+IDLC = @IDLC@
+IDL_FLAGS = @IDL_FLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LDSO = @LDSO@
+LDSOLIBS = @LDSOLIBS@
+LDSOOPTS = @LDSOOPTS@
+LIBOBJS = @LIBOBJS@
+LIBRARY = @LIBRARY@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+ORB = @ORB@
+ORB_IS_MICO_FALSE = @ORB_IS_MICO_FALSE@
+ORB_IS_MICO_TRUE = @ORB_IS_MICO_TRUE@
+ORB_IS_OMNIORB_FALSE = @ORB_IS_OMNIORB_FALSE@
+ORB_IS_OMNIORB_TRUE = @ORB_IS_OMNIORB_TRUE@
+ORB_IS_ORBACUS_FALSE = @ORB_IS_ORBACUS_FALSE@
+ORB_IS_ORBACUS_TRUE = @ORB_IS_ORBACUS_TRUE@
+ORB_IS_ORBEXPRESS_FALSE = @ORB_IS_ORBEXPRESS_FALSE@
+ORB_IS_ORBEXPRESS_TRUE = @ORB_IS_ORBEXPRESS_TRUE@
+ORB_IS_ORBIT2_FALSE = @ORB_IS_ORBIT2_FALSE@
+ORB_IS_ORBIT2_TRUE = @ORB_IS_ORBIT2_TRUE@
+ORB_IS_ORBIX_FALSE = @ORB_IS_ORBIX_FALSE@
+ORB_IS_ORBIX_TRUE = @ORB_IS_ORBIX_TRUE@
+ORB_IS_RTORB_FALSE = @ORB_IS_RTORB_FALSE@
+ORB_IS_RTORB_TRUE = @ORB_IS_RTORB_TRUE@
+ORB_IS_TAO_FALSE = @ORB_IS_TAO_FALSE@
+ORB_IS_TAO_TRUE = @ORB_IS_TAO_TRUE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PYTHON_FLAGS = @PYTHON_FLAGS@
+RANLIB = @RANLIB@
+RTM_DESCRIPTION = @RTM_DESCRIPTION@
+RTM_MAJOR_VERSION = @RTM_MAJOR_VERSION@
+RTM_MINOR_VERSION = @RTM_MINOR_VERSION@
+RTM_REVISION_NUM = @RTM_REVISION_NUM@
+RTM_SHORT_VERSION = @RTM_SHORT_VERSION@
+RTM_VERSION = @RTM_VERSION@
+RTPREEMPTEC = @RTPREEMPTEC@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SOEXT = @SOEXT@
+STRIP = @STRIP@
+TARGET = @TARGET@
+UNITTEST = @UNITTEST@
+VERSION = @VERSION@
+WRAPPERS = @WRAPPERS@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+pkgconfigdir = @pkgconfigdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+rtm_datadir = @rtm_datadir@
+rtm_docdir = @rtm_docdir@
+rtm_ecdir = @rtm_ecdir@
+rtm_exampledir = @rtm_exampledir@
+rtm_includedir = @rtm_includedir@
+rtm_libdir = @rtm_libdir@
+rtm_rtcdir = @rtm_rtcdir@
+rtm_rtmdir = @rtm_rtmdir@
+rtm_sdodir = @rtm_sdodir@
+rtm_svcdir = @rtm_svcdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+subdirs = @subdirs@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+AUTOMAKE_OPTIONS = 1.4
+dist_key = `sh dist_key.sh`
+EXTRA_DIST = \
+ OpenRTM-aist.spec.in \
+ rpm_build.sh.in \
+ dist_key.sh \
+ fedora_repo.sh \
+ fedora_rpmcp.sh \
+ pkgbuild.sh \
+ vine_repo.sh \
+ vine_rpmcp.sh
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu packages/rpm/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu packages/rpm/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$(top_distdir)" distdir="$(distdir)" \
+ dist-hook
+check-am: all-am
+check: check-am
+all-am: Makefile all-local
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-libtool
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am:
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am
+
+.PHONY: all all-am all-local check check-am clean clean-generic \
+ clean-libtool clean-local dist-hook distclean \
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-exec install-exec-am install-info \
+ install-info-am install-man install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
+ uninstall-info-am
+
+
+all-local: OpenRTM-aist.spec rpm_build.sh
+ sh rpm_build.sh
+
+OpenRTM-aist.spec: OpenRTM-aist.spec.in
+ echo "%define version $(RTM_VERSION)" > $@
+ echo "%define shortversion $(RTM_MAJOR_VERSION).$(RTM_MINOR_VERSION)" >> $@
+ echo "%define distname $(dist_key)" >> $@
+ echo "%define rtm_includedir $(rtm_includedir)" >> $@
+ echo "%define rtm_libdir $(rtm_libdir)" >> $@
+ echo "%define rtm_datadir $(rtm_datadir)" >> $@
+ cat OpenRTM-aist.spec.in >> $@
+
+rpm_build.sh: rpm_build.sh.in
+ echo "#!/bin/sh" > $@
+ echo "" >> $@
+ echo "version=$(RTM_VERSION)" >> $@
+ echo "" >> $@
+ cat rpm_build.sh.in >> $@
+
+dist-hook: rpmpkg_build.sh
+
+clean-local:
+ rm -f *~
+ rm -f files
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
Added: trunk/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,153 @@
+#------------------------------------------------------------
+#
+# @file RPM spec file for OpenRTM-aist
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# $Id$
+#
+%define pkgname OpenRTM-aist
+
+%define builddir %{_topdir}/BUILD/%{distname}
+%define pkgver 0
+%define _unpackaged_files_terminate_build 1
+%define __os_install_post %{nil}
+
+#------------------------------------------------------------
+# Package information
+Name: OpenRTM-aist
+Version: %{version}
+Release: %{pkgver}.%{distname}
+Summary: OpenRTM-aist: RT-Component development environment
+Group: Development/Libraries
+License: LGPL
+URL: http://www.openrtm.org/
+Source0: %{pkgname}-%{version}-RELEASE.tar.gz
+Vendor: AIST
+
+#------------------------------------------------------------
+# Build environment
+Prefix: /usr
+Buildroot: %{_tmppath}/%{pkgname}-%{version}-%{release}-root
+Requires: omniORB
+Requires: omniORB-servers
+BuildRequires: omniORB-devel
+BuildRequires: python
+
+%description
+OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+Component) specification which is OMG standard. OpenRTM-aist includes
+RT-Middleware runtime environment and RTC framework. The OMG standard
+defines a component model and certain important infrastructure services
+applicable to the domain of robotics software development.
+OpenRTM-aist is being developed and distributed by
+Task Intelligence Research Group, Intelligent Systems Research Institute,
+National Institute of Advanced Industrial Science and Technology (AIST), Japan.
+Please see http://www.is.aist.go.jp/rt/OpenRTM-aist/html/ for more detail.
+
+#------------------------------------------------------------
+# devel package
+%package devel
+Summary: Header files
+Group: Development/Libraries
+%description devel
+The header files and libraries needed for developing programs using
+OpenRTM-aist.
+
+#------------------------------------------------------------
+# doc package
+%package doc
+Summary: Documentation
+Group: Development/Libraries
+%description doc
+Developer documentation.
+
+#------------------------------------------------------------
+# example package
+%package example
+Summary: Example
+Group: Development/Libraries
+%description example
+Example components and sources
+
+#------------------------------------------------------------
+# prep section
+%prep
+%{__rm} -rf %{buildroot}
+%setup -n %{pkgname}-%{version} -q
+
+#------------------------------------------------------------
+# build section
+%build
+%configure --prefix=/usr
+%{__make}
+
+#------------------------------------------------------------
+# install section
+%install
+export DONT_STRIP=1
+%{__make} DESTDIR=%{buildroot} install
+
+#------------------------------------------------------------
+# clean section
+%clean
+%{__rm} -rf %{buildroot}
+
+#------------------------------------------------------------
+# files section
+%files
+/etc/rtc.conf.sample
+%defattr(-,root,root,-)
+%{_libdir}/libRTC*
+%{_libdir}/libcoil*
+%{rtm_libdir}/ec/*
+%{rtm_libdir}/sdo/*
+#%{_libdir}/openrtm-%{shortversion}/ec/*
+#%{_libdir}/openrtm-%{shortversion}/sdo/*
+
+
+#------------------------------------------------------------
+# devel package file list
+%files devel
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_bindir}/*
+%{rtm_includedir}/*
+%{coil_includedir}/*
+%{rtm_libdir}/py_helper/*
+%{_libdir}/pkgconfig/*
+#%{rtm_libdir}/
+#%{_includedir}/*
+#%{_libdir}/openrtm-%{shortversion}/
+
+
+#------------------------------------------------------------
+# doc package file list
+%files doc
+%defattr(-,root,root,-)
+%{rtm_datadir}/doc/*
+#%{_datadir}/openrtm-%{shortversion}/doc/*
+
+#------------------------------------------------------------
+# example package file list
+%files example
+%defattr(-,root,root,-)
+%attr(755,root,root) %{rtm_datadir}/example/*Comp*
+%{rtm_datadir}/example/*.conf
+%{rtm_datadir}/example/*.conf.org
+%{rtm_datadir}/example/src/*
+%{rtm_datadir}/example/rtc/*
+%{rtm_datadir}/example/templates/*
+#%attr(755,root,root) %{_datadir}/openrtm-%{shortversion}/example/*Comp*
+#%{_datadir}/openrtm-%{shortversion}/example/*.conf
+#%{_datadir}/openrtm-%{shortversion}/example/*.conf.org
+#%{_datadir}/openrtm-%{shortversion}/example/src/*
+#%{_datadir}/openrtm-%{shortversion}/example/rtc/*
+#%{_datadir}/openrtm-%{shortversion}/example/templates/*
+
+#------------------------------------------------------------
+# changelog section
+%changelog
+* Thu May 7 2011 Noriaki Ando <n-ando at aist.go.jp> - 1.1.0-0._distname
+- The 1.1.0 release of OpenRTM-aist.
+
+* Thu Sep 27 2007 Noriaki Ando <n-ando at aist.go.jp> - 0.4.1-1._distname
+- The second public release version of OpenRTM-aist-0.4.1.
Property changes on: trunk/OpenRTM-aist/packages/rpm/OpenRTM-aist.spec.in
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/dist_key.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/dist_key.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/dist_key.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+# system information
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+ echo $dist_key
+ exit 0
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key=""
+ echo $dist_key
+ exit -1
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+ echo $dist_key
+ exit 0
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ echo $dist_key
+ exit -1
+fi
+
+exit -1
\ No newline at end of file
Property changes on: trunk/OpenRTM-aist/packages/rpm/dist_key.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/fedora_repo.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/fedora_repo.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/fedora_repo.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,42 @@
+#!/bin/sh
+#
+# @file fedora_repo
+# @brief yum repository database creation for Fedora
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir=/exports/pub/repository/pub/Linux/Fedora/releases/
+
+# Fedora releases
+versions="4 5 6 7 8 9 10 11 12 13"
+
+# Fedora architectures
+archs="i386 x86_64"
+
+for version in $versions ; do
+ for arch in $archs ; do
+ rpmdir=$basedir/$version/Fedora/$arch/os/Packages/
+ echo ""
+ echo "Creating yum database under:"
+ echo $rpmdir
+ createrepo -v $rpmdir
+ done
+ srpmdir=$basedir/$version/Fedora/source/SRPMS/
+ echo ""
+ echo "Creating yum database under:"
+ echo $rpmdir
+ createrepo -v $srpmdir
+done
+
Property changes on: trunk/OpenRTM-aist/packages/rpm/fedora_repo.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/fedora_rpmcp.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/fedora_rpmcp.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/fedora_rpmcp.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,80 @@
+#!/bin/sh
+#
+# @file vine_repo
+# @brief apt-rpm repository database creation for VineLinux
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir=/exports/pub/repository/pub/Linux/Fedora/releases
+pkgdir="/usr/users/builder/PackageBuild/"
+
+# Fedora releases
+versions="4 5 6 7 8 9 10 11 12 13"
+versions="13"
+
+# Fedora architectures
+archs="i386 x86_64 source"
+
+
+
+for version in $versions; do
+ for arch in $archs ; do
+ if test "x$arch" = "xsource"; then
+ rpmdir=$basedir/$version/Fedora/$arch/SRPMS
+ sarch="src"
+ else
+# rpmdir=$basedir/$version/Fedora/$arch/os/Packages
+ rpmdir=$basedir/$version/Fedora/$arch/os/Packages/OpenRTM-aist-1.0
+ sarch=$arch
+ if test "x$arch" = "xi386"; then
+ karch="i686"
+ sarch="i*86"
+ else
+ karch=$sarch
+ fi
+ fi
+ if ! test -d $rpmdir ; then
+ mkdir -p $rpmdir
+ echo "Directory created."
+ echo " "$rpmdir
+ fi
+ echo ""
+ echo "Copying rpms to repository:"
+ echo "dir: "$rpmdir
+ name="*.fc$version.$sarch.rpm"
+ echo "name: "$name
+ rpms=`/usr/bin/find $pkgdir -name $name`
+ rpms_noarch=""
+ if test ! "x$arch" = "xsource"; then
+ name_noarch="*.fc$version.noarch.rpm"
+ rpms_noarch=`/usr/bin/find $pkgdir -name $name_noarch |grep $karch`
+ fi
+ rpms="$rpms $rpms_noarch"
+ for rpm in $rpms ; do
+ rpmname=`basename $rpm`
+ echo $rpmname
+ if test -f $rpmdir/$rpmname ; then
+ read -p "Overwrite? $rpmname [Y/n]" ow
+ if test ! "$ow" = "n" ; then
+ cp $rpm $rpmdir
+ echo "copy done"
+ fi
+ else
+ cp $rpm $rpmdir
+ echo "copy done"
+ fi
+ done
+ done
+done
Property changes on: trunk/OpenRTM-aist/packages/rpm/fedora_rpmcp.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/pkgbuild.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/pkgbuild.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/pkgbuild.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,497 @@
+#!/bin/sh
+
+openrtm_spec_old () {
+cat <<EOF
+#------------------------------------------------------------
+#
+# @file RPM spec file for OpenRTM-aist
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# $Id$
+#
+%define pkgname OpenRTM-aist
+%define version 1.0.0
+%define distname __DISTNAME__
+%define builddir %{_topdir}/BUILD/%{distname}
+%define pkgver 1
+%define _unpackaged_files_terminate_build 1
+%define __os_install_post %{nil}
+
+#------------------------------------------------------------
+# Package information
+Name: OpenRTM-aist
+Version: %{version}
+Release: %{pkgver}.%{distname}
+Summary: OpenRTM-aist: RT-Component development environment
+Group: Development/Libraries
+License: LGPL
+URL: http://www.is.aist.go.jp/rt/OpenRTM-aist/
+Source0: %{pkgname}-%{version}-RELEASE.tar.gz
+Vendor: AIST
+
+#------------------------------------------------------------
+# Build environment
+Prefix: /usr
+Buildroot: %{_tmppath}/%{pkgname}-%{version}-%{release}-root
+Requires: omniORB
+Requires: omniORB-servers
+#Requires: ace >= 5.4.0
+BuildRequires: omniORB-devel
+#BuildRequires: ace-devel >= 5.4.0
+BuildRequires: python
+
+%description
+OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+Component) specification which is OMG standard. OpenRTM-aist includes
+RT-Middleware runtime environment and RTC framework. The OMG standard
+defines a component model and certain important infrastructure services
+applicable to the domain of robotics software development.
+OpenRTM-aist is being developed and distributed by
+Task Intelligence Research Group, Intelligent Systems Research Institute,
+National Institute of Advanced Industrial Science and Technology (AIST), Japan.
+Please see http://www.is.aist.go.jp/rt/OpenRTM-aist/html/ for more detail.
+
+#------------------------------------------------------------
+# devel package
+%package devel
+Summary: Header files
+Group: Development/Libraries
+%description devel
+The header files and libraries needed for developing programs using
+OpenRTM-aist.
+
+#------------------------------------------------------------
+# doc package
+%package doc
+Summary: Documentation
+Group: Development/Libraries
+%description doc
+Developer documentation.
+
+#------------------------------------------------------------
+# example package
+%package example
+Summary: Example
+Group: Development/Libraries
+%description example
+Example components and sources
+
+#------------------------------------------------------------
+# prep section
+%prep
+%{__rm} -rf %{buildroot}
+%setup -n %{pkgname}-%{version} -q
+
+#------------------------------------------------------------
+# build section
+%build
+%configure --prefix=/usr
+%{__make}
+
+#------------------------------------------------------------
+# install section
+%install
+export DONT_STRIP=1
+%{__make} DESTDIR=%{buildroot} install
+
+#------------------------------------------------------------
+# clean section
+%clean
+%{__rm} -rf %{buildroot}
+
+#------------------------------------------------------------
+# files section
+%files
+/etc/rtc.conf.sample
+%defattr(-,root,root,-)
+%{_libdir}/libRTC*
+%{_libdir}/libcoil*
+
+#------------------------------------------------------------
+# devel package file list
+%files devel
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/*
+%{_libdir}/OpenRTM-aist/*
+%{_libdir}/pkgconfig/*
+
+#------------------------------------------------------------
+# doc package file list
+%files doc
+%defattr(-,root,root,-)
+%{_datadir}/OpenRTM-aist/docs/*
+
+#------------------------------------------------------------
+# example package file list
+%files example
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_datadir}/OpenRTM-aist/examples/*Comp*
+%{_datadir}/OpenRTM-aist/examples/*.conf
+%{_datadir}/OpenRTM-aist/examples/*.conf.org
+%{_datadir}/OpenRTM-aist/examples/src/*
+%{_datadir}/OpenRTM-aist/examples/rtcs/*
+%{_datadir}/OpenRTM-aist/examples/templates/*
+
+#------------------------------------------------------------
+# changelog section
+%changelog
+* Thu Sep 27 2007 Noriaki Ando <n-ando at aist.go.jp> - 0.4.1-1._distname
+- The second public release version of OpenRTM-aist-0.4.1.
+EOF
+}
+openrtm_spec () {
+cat <<EOF
+#------------------------------------------------------------
+#
+# @file RPM spec file for OpenRTM-aist
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# $Id$
+#
+%define pkgname OpenRTM-aist
+%define version 1.0.0
+%define distname __DISTNAME__
+%define builddir %{_topdir}/BUILD/%{distname}
+%define pkgver 1
+%define _unpackaged_files_terminate_build 1
+
+#------------------------------------------------------------
+# Package information
+Name: OpenRTM-aist
+Version: %{version}
+Release: %{pkgver}.%{distname}
+Summary: OpenRTM-aist: RT-Component development environment
+Group: Development/Libraries
+License: LGPL
+URL: http://www.is.aist.go.jp/rt/OpenRTM-aist/
+Source0: %{pkgname}-%{version}-RELEASE.tar.gz
+Vendor: AIST
+
+#------------------------------------------------------------
+# Build environment
+Prefix: /usr
+Buildroot: %{_tmppath}/%{pkgname}-%{version}-%{release}-root
+Requires: libomniORB4.1
+Requires: omniORB-servers
+#Requires: ace >= 5.4.0
+BuildRequires: libomniORB4.1-devel
+#BuildRequires: ace-devel >= 5.4.0
+BuildRequires: python
+
+%description
+OpenRTM-aist is a reference implementation of RTC (Robotic Technology
+Component) specification which is OMG standard. OpenRTM-aist includes
+RT-Middleware runtime environment and RTC framework. The OMG standard
+defines a component model and certain important infrastructure services
+applicable to the domain of robotics software development.
+OpenRTM-aist is being developed and distributed by
+Task Intelligence Research Group, Intelligent Systems Research Institute,
+National Institute of Advanced Industrial Science and Technology (AIST), Japan.
+Please see http://www.is.aist.go.jp/rt/OpenRTM-aist/html/ for more detail.
+
+#------------------------------------------------------------
+# devel package
+%package devel
+Summary: Header files
+Group: Development/Libraries
+%description devel
+The header files and libraries needed for developing programs using
+OpenRTM-aist.
+
+#------------------------------------------------------------
+# doc package
+%package doc
+Summary: Documentation
+Group: Development/Libraries
+%description doc
+Developer documentation.
+
+#------------------------------------------------------------
+# example package
+%package example
+Summary: Example
+Group: Development/Libraries
+%description example
+Example components and sources
+
+#------------------------------------------------------------
+# prep section
+%prep
+%{__rm} -rf %{buildroot}
+%setup -n %{pkgname}-%{version} -q
+
+#------------------------------------------------------------
+# build section
+%build
+%configure --prefix=/usr
+%{__make}
+
+#------------------------------------------------------------
+# install section
+%install
+%{__make} DESTDIR=%{buildroot} install
+
+#------------------------------------------------------------
+# clean section
+%clean
+%{__rm} -rf %{buildroot}
+
+#------------------------------------------------------------
+# files section
+%files
+/etc/rtc.conf.sample
+%defattr(-,root,root,-)
+%{_libdir}/libRTC*
+%{_libdir}/libcoil*
+
+#------------------------------------------------------------
+# devel package file list
+%files devel
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/*
+%{_libdir}/OpenRTM-aist/*
+%{_libdir}/pkgconfig/*
+
+#------------------------------------------------------------
+# doc package file list
+%files doc
+%defattr(-,root,root,-)
+%{_datadir}/OpenRTM-aist/docs/*
+
+#------------------------------------------------------------
+# example package file list
+%files example
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_datadir}/OpenRTM-aist/examples/*Comp*
+%{_datadir}/OpenRTM-aist/examples/*.conf
+%{_datadir}/OpenRTM-aist/examples/*.conf.org
+%{_datadir}/OpenRTM-aist/examples/src/*
+%{_datadir}/OpenRTM-aist/examples/rtcs/*
+%{_datadir}/OpenRTM-aist/examples/templates/*
+
+#------------------------------------------------------------
+# changelog section
+%changelog
+* Thu Sep 27 2007 Noriaki Ando <n-ando at aist.go.jp> - 0.4.1-1._distname
+- The second public release version of OpenRTM-aist-0.4.1.
+EOF
+}
+
+pyyaml_spec () {
+cat <<EOF
+%define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
+
+%define distname __DISTNAME__
+%define real_name PyYAML
+%define pkgver 1
+
+Summary: Python package implementing YAML parser and emitter
+Name: PyYAML
+Version: 3.05
+Release: %{pkgver}.%{distname}
+License: GPL
+Group: Development/Libraries
+URL: http://pyyaml.org/wiki/PyYAML
+
+Source: http://pyyaml.org/download/pyyaml/PyYAML-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: python-devel >= 2.2
+Requires: python >= 2.2
+
+Provides: PyYAML = %{name}-%{version}
+Obsoletes: PyYAML <= %{name}-%{version}
+
+%description
+PyYAML is a YAML parser and emitter for the Python programming language.
+
+YAML is a data serialization format designed for human readability
+and interaction with scripting languages.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc LICENSE README examples/
+%{python_sitelib}/yaml/
+
+%changelog
+* Tue May 27 2008 Noriaki Ando <n-ando at aist.go.jp> 3.05-distname.0
+- Distribution named package.
+* Sun May 13 2007 Dag Wieers <dag at wieers.com> - 3.05-1
+- Initial package. (using DAR)
+EOF
+}
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+# date
+date=`date "+%y%m%d%H%M"`
+time=/usr/bin/time
+# package location and build directory
+package=/usr/users/builder/PackageBuild/src/OpenRTM-aist-1.0.0-RELEASE.tar.gz
+packagedir=OpenRTM-aist-1.0.0
+#packagedir=PyYAML-3.05
+package_date=`ls -al $package | awk '{printf("%s/%s %s\n",$6,$7,$8);}'`
+package_date=`diff -ac $package /dev/null | head -1 |awk '{print $3,$4,$5,$6,$7,$8;}'`
+package_name=`basename $package`
+buildroot=/usr/users/builder/PackageBuild
+
+logheader="<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\"><html><body><pre>"
+logfooter="</pre></body></html>"
+
+# system information
+hostname=`hostname`
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key=""
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test "x$dist_key" = "x" ; then
+ exit 0
+fi
+
+distname=`echo $dist_name | sed 's/[ |\(|\)]//g'`
+# system dependent build directory and log file name
+builddir=$buildroot/$distname
+timestamp=$buildroot/.$distname
+logfile=$distname-$date.log
+
+
+echo $dist_key
+
+build=""
+echo $dist_key
+# check package
+if test -f $package ; then
+ echo "Package found: " $package
+else
+ echo "Package not found: " $pacakge
+ exit 1
+fi
+cd $buildroot
+
+# check if package is new
+if test -f $timestamp ; then
+ if test $package -nt $timestamp ; then
+ build=yes
+ echo "New source file was found."
+ touch $timestamp
+ fi
+else
+ echo "Timestamp not found."
+ touch $timestamp
+ build=yes
+fi
+
+if test "x$build" = "x" ; then
+ echo "No new package."
+ exit 1
+fi
+
+# cleanup
+echo "cleanup " $builddir/$packagedir
+rm -rf $builddir
+
+mkdir -p $builddir
+cd $builddir
+
+echo "distribution: " $dist_name >> $buildroot/$logfile
+echo "package: $package_date " >> $buildroot/$logfile
+
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+echo $logheader > $buildroot/make-$logfile
+
+mkdir {BUILD,RPMS,SOURCES,SPECS,SRPMS}
+mkdir RPMS/{i386,i586,i686,x86_64,noarch}
+ln -s $package SOURCES/
+cd SPECS
+echo "-----------------------------"
+echo $dist_key
+
+
+if test "x$dist_key" = "xfc10" || test "x$dist_key" = "xfc11" \
+|| test "x$dist_key" = "xvl40" || test "x$dist_key" = "xvl42" ; then
+ openrtm_spec_old > OpenRTM-aist.spec.tmp
+ echo $dist_key
+else
+ openrtm_spec > OpenRTM-aist.spec.tmp
+ echo $dist_key
+fi
+
+#openrtm_spec > python-yaml.spec.tmp
+sed "s/__DISTNAME__/$dist_key/g" OpenRTM-aist.spec.tmp > OpenRTM-aist.spec
+#sed "s/__DISTNAME__/$dist_key/g" python-yaml.spec.tmp > python-yaml.spec
+echo "%_topdir $builddir" > .rpmrc
+
+rpm_def="_topdir $builddir"
+if $time -p -o make_time-$logfile rpmbuild --define "$rpm_def" -ba OpenRTM-aist.spec >> $buildroot/make-$logfile 2>&1 ; then
+#if $time -p -o make_time-$logfile rpmbuild --define "$rpm_def" -ba python-yaml.spec >> $buildroot/make-$logfile 2>&1 ; then
+ echo $logfooter >> $buildroot/make-$logfile
+ make_time=`awk '/real/{printf("%s[s] ", $0);}' make_time-$logfile`
+ echo "make: OK" >> $buildroot/$logfile
+ echo "make_time: $make_time" >> $buildroot/$logfile
+ rm -f make_time-$logfile
+else
+ echo "make: NG" >> $buildroot/$logfile
+ rm -f make_time-$logfile
+ exit 1
+fi
+
Property changes on: trunk/OpenRTM-aist/packages/rpm/pkgbuild.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/rpm_build.sh.in
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/rpm_build.sh.in (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/rpm_build.sh.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,97 @@
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+packagename=OpenRTM-aist-$version
+tarballname=$packagename-RELEASE.tar.gz
+
+# system information
+hostname=`hostname`
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key=""
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test "x$dist_key" = "x" ; then
+ echo "This is not Feodra/Vine/Scientific/RedHat distribution"
+ exit 0
+fi
+
+distname=`echo $dist_name | sed 's/[ |\(|\)]//g'`
+# system dependent build directory and log file name
+
+echo "distribution: " $dist_name
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+mkdir -p {BUILD,RPMS,SOURCES,SPECS,SRPMS}
+mkdir -p RPMS/{i386,i586,i686,x86_64,noarch}
+
+# fake tar-ball is created under SOURCES dir
+rm $packagename
+ln -s ../../../ $packagename
+tar cvzf $tarballname $packagename
+cp $tarballname SOURCES
+
+#------------------------------------------------------------
+# Selecting and adding dist key to the spec file
+#
+# Fedora12/13's omniORB package names are odd.
+#------------------------------------------------------------
+if test "x$dist_key" = "xfc12" || test "x$dist_key" = "xfc13" ; then
+ sed -e 's/Requires: omniORB$/Requires: libomniORB/g' > tmp.spec
+ sed -e 's/BuildRequires: omniORB-devel$/BuildRequires: libomniORB-devel/' tmp.spec > SPECS/OpenRTM-aist.spec
+ rm tmp.spec
+else
+ cp OpenRTM-aist.spec SPECS/OpenRTM-aist.spec
+fi
+
+#------------------------------------------------------------
+# Copying spec file to SPEC and goto SPEC dir to build rpm
+#------------------------------------------------------------
+builddir=`pwd`
+cd SPECS
+echo "%_topdir $builddir" > .rpmrc
+
+# We have already extracted source under BUILD directory.
+# %prep process can be skiped. = --short-circuit -bc
+rpm_def="_topdir $builddir"
+rpmbuild --define "$rpm_def" -ba OpenRTM-aist.spec
Property changes on: trunk/OpenRTM-aist/packages/rpm/rpm_build.sh.in
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+version="1.1.0"
+packagename="OpenRTM-aist$version"
+tarballname=$packagename-RELEASE
+
+# system information
+hostname=`hostname`
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key=""
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test "x$dist_key" = "x" ; then
+ echo "This is not Feodra/Vine/Scientific/RedHat distribution"
+ exit 0
+fi
+
+distname=`echo $dist_name | sed 's/[ |\(|\)]//g'`
+# system dependent build directory and log file name
+
+echo "distribution: " $dist_name
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+mkdir {BUILD,RPMS,SOURCES,SPECS,SRPMS}
+mkdir RPMS/{i386,i586,i686,x86_64,noarch}
+
+# fake tar-ball is created under SOURCES dir
+ln -s ../../../ $packagename
+tar cvzf $tarballname $packagename
+cp $tarballname SOURCES
+
+#------------------------------------------------------------
+# Selecting and adding dist key to the spec file
+#
+# Fedora12/13's omniORB package names are odd.
+#------------------------------------------------------------
+if test "x$dist_key" = "xfc12" || test "x$dist_key" = "xfc13" ; then
+ cp OpenRTM-aist_libomniORB41.spec OpenRTM-aist.spec.tmp
+ echo $dist_key
+else
+ cp OpenRTM-aist_omniORB.spec OpenRTM-aist.spec.tmp
+ echo $dist_key
+fi
+sed "s/__DISTNAME__/$dist_key/g" OpenRTM-aist.spec.tmp > OpenRTM-aist.spec
+
+#------------------------------------------------------------
+# Copying spec file to SPEC and goto SPEC dir to build rpm
+#------------------------------------------------------------
+builddir=`pwd`
+cp OpenRTM-aist.spec SPECS
+cd SPECS
+echo "%_topdir $builddir" > .rpmrc
+
+# We have already extracted source under BUILD directory.
+# %prep process can be skiped. = --short-circuit -bc
+rpm_def="_topdir $builddir"
+rpmbuild --define "$rpm_def" --short-circuit -bc OpenRTM-aist.spec
Added: trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh.in
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh.in (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/rpmpkg_build.sh.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,102 @@
+#!/bin/sh
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/X11R6/bin:/usr/local/sbin:/usr/sbin:/sbin
+export LANG=C
+export LC_ALL=C
+
+version="__VERSION__"
+packagename=OpenRTM-aist-$version
+tarballname=$packagename-RELEASE.tar.gz
+
+# system information
+hostname=`hostname`
+os=`uname -s`
+release=`uname -r`-`uname -p`
+
+dist_name=""
+dist_key=""
+# Check the lsb distribution name
+if test -f /etc/lsb-release ; then
+ . /etc/lsb-release
+ if test "x$DISTRIB_DESCRIPTION" != "x" ; then
+ dist_name=$DISTRIB_DESCRIPTION-`uname -m`
+ fi
+fi
+# Check the Fedora version
+if test "x$dist_name" = "x" && test -f /etc/fedora-release ; then
+ dist_name=`cat /etc/fedora-release`-`uname -m`
+ dist_key=`sed -e 's/.[^0-9]*\([0-9]\+\).*/fc\1/' /etc/fedora-release`
+fi
+#Check the Debian version
+if test "x$dist_name" = "x" && test -f /etc/debian_version ; then
+ dist_name="Debian"`cat /etc/debian_version`-`uname -m`
+ dist_key=""
+fi
+# Check the Vine version
+if test "x$dist_name" = "x" && test -f /etc/vine-release ; then
+ dist_name=`cat /etc/vine-release`-`uname -m`
+ dist_key=`sed -e 's/.*\([0-9]\)\.\([0-9]\).*/vl\1\2/' /etc/vine-release`
+fi
+# Check the TuboLinux version
+if test "x$dist_name" = "x" && test -f /etc/turbolinux-release ; then
+ dist_name=`cat /etc/tubolinux-release`-`uname -m`
+ dist_key=""
+fi
+
+if test "x$dist_name" = "x" ; then
+ dist_name=$os$release
+fi
+# Check the RedHat/Fedora version
+if test "x$dist_name" = "x" && test -f /etc/redhat-release ; then
+ dist_name=`cat /etc/redhat-release`-`uname -m`
+fi
+
+# only fedora and vine
+if test "x$dist_key" = "x" ; then
+ echo "This is not Feodra/Vine/Scientific/RedHat distribution"
+ exit 0
+fi
+
+distname=`echo $dist_name | sed 's/[ |\(|\)]//g'`
+# system dependent build directory and log file name
+
+echo "distribution: " $dist_name
+
+#------------------------------------------------------------
+# package build process
+#------------------------------------------------------------
+mkdir -p {BUILD,RPMS,SOURCES,SPECS,SRPMS}
+mkdir -p RPMS/{i386,i586,i686,x86_64,noarch}
+
+# fake tar-ball is created under SOURCES dir
+rm $packagename
+ln -s ../../../ $packagename
+tar cvzf $tarballname $packagename
+cp $tarballname SOURCES
+
+#------------------------------------------------------------
+# Selecting and adding dist key to the spec file
+#
+# Fedora12/13's omniORB package names are odd.
+#------------------------------------------------------------
+if test "x$dist_key" = "xfc12" || test "x$dist_key" = "xfc13" ; then
+ cp OpenRTM-aist_libomniORB41.spec OpenRTM-aist.spec.tmp
+ echo $dist_key
+else
+ cp OpenRTM-aist_omniORB.spec OpenRTM-aist.spec.tmp
+ echo $dist_key
+fi
+sed "s/__DISTNAME__/$dist_key/g" OpenRTM-aist.spec.tmp > OpenRTM-aist.spec
+
+#------------------------------------------------------------
+# Copying spec file to SPEC and goto SPEC dir to build rpm
+#------------------------------------------------------------
+builddir=`pwd`
+cp OpenRTM-aist.spec SPECS
+cd SPECS
+echo "%_topdir $builddir" > .rpmrc
+
+# We have already extracted source under BUILD directory.
+# %prep process can be skiped. = --short-circuit -bc
+rpm_def="_topdir $builddir"
+rpmbuild --define "$rpm_def" -ba OpenRTM-aist.spec
Added: trunk/OpenRTM-aist/packages/rpm/vine_repo.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/vine_repo.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/vine_repo.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,37 @@
+#!/bin/sh
+#
+# @file vine_repo
+# @brief apt-rpm repository database creation for VineLinux
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir="/exports/pub/repository/pub/Linux/Vine/apt"
+
+# VineLinux versions
+versions="3.2 4.0 4.2 5.0"
+
+# VineLinux architectures
+archs="x86_64 i386 SRPMS"
+
+for version in $versions; do
+ for arch in $archs ; do
+ rpmdir=$basedir/$version/$arch
+
+ echo ""
+ echo "Creating apt-rpm database under:"
+ echo $rpmdir
+ genbasedir --progress $rpmdir main
+ done
+done
Property changes on: trunk/OpenRTM-aist/packages/rpm/vine_repo.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/OpenRTM-aist/packages/rpm/vine_rpmcp.sh
===================================================================
--- trunk/OpenRTM-aist/packages/rpm/vine_rpmcp.sh (rev 0)
+++ trunk/OpenRTM-aist/packages/rpm/vine_rpmcp.sh 2011-05-09 15:28:52 UTC (rev 2087)
@@ -0,0 +1,61 @@
+#!/bin/sh
+#
+# @file vine_repo
+# @brief apt-rpm repository database creation for VineLinux
+# @date $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# Copyright (C) 2008
+# Noriaki Ando
+# Task-intelligence Research Group,
+# Intelligent Systems Research Institute,
+# National Institute of
+# Advanced Industrial Science and Technology (AIST), Japan
+# All rights reserved.
+#
+# $Id$
+#
+
+# Base directory of repository
+basedir="/exports/pub/repository/pub/Linux/Vine/apt"
+pkgdir="/usr/users/builder/PackageBuild/"
+# VineLinux versions
+versions="3.1 4.2 5.0"
+
+# VineLinux architectures
+archs="i386 SRPMS"
+
+for version in $versions; do
+ for arch in $archs ; do
+ sver=`echo $version | sed 's/\.//g'`
+ if test "x$arch" = "xSRPMS"; then
+ rpmdir=$basedir/$version/$arch/SRPMS.main
+ sarch="src"
+ else
+ rpmdir=$basedir/$version/$arch/RPMS.main
+ sarch=$arch
+ fi
+
+ echo ""
+ echo "Copying rpms to repository:"
+ echo "dir: "$rpmdir
+ name="*.vl$sver.$sarch.rpm"
+ name_noarch="*.vl$sver.noarch.rpm"
+ rpms=`/usr/bin/find $pkgdir -name $name`
+ rpms_noarch=`/usr/bin/find $pkgdir -name $name_noarch | grep i686`
+ rpms="${rpms} ${rpms_noarch}"
+ for rpm in $rpms ; do
+ rpmname=`basename $rpm`
+ if test -f $rpmdir/$rpmname ; then
+ read -p "Overwrite? $rpmname [Y/n]" ow
+ if test ! "$ow" = "n" ; then
+ cp $rpm $rpmdir
+ echo "copy done"
+ fi
+ else
+ cp $rpm $rpmdir
+ echo "copy done"
+ fi
+ done
+ done
+done
Property changes on: trunk/OpenRTM-aist/packages/rpm/vine_rpmcp.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/OpenRTM-aist/src/lib/coil/configure.ac
===================================================================
--- trunk/OpenRTM-aist/src/lib/coil/configure.ac 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/coil/configure.ac 2011-05-09 15:28:52 UTC (rev 2087)
@@ -18,7 +18,7 @@
dnl ------------------------------------------------------------
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT(coil, 1.1, n-ando at aist.go.jp, coil)
+AC_INIT(coil, 1.1.0, n-ando at aist.go.jp, coil)
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([dist-bzip2 tar-pax])
AM_CONFIG_HEADER([include/coil/config_coil.h])
@@ -498,6 +498,15 @@
UNIQUE($IDL_FLAGS)
IDL_FLAGS=$u_list
+dnl OpenRTM's includedir/libdir/datadir definition
+coil_includedir=$includedir"/coil-"$major_version"."$minor_version
+coil_libdir=$libdir"/coil-"$major_version"."$minor_version
+coil_datadir=$datadir"/coil-"$major_version"."$minor_version
+
+AC_SUBST(coil_libdir)
+AC_SUBST(coil_datadir)
+AC_SUBST(coil_includedir)
+
echo ''
echo '------------------------------------------------------------'
echo ''
Modified: trunk/OpenRTM-aist/src/lib/coil/lib/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/coil/lib/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/coil/lib/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -13,12 +13,6 @@
endif
all-local:
-# rm -rf .libs
-# mkdir .libs
-# cp $(top_srcdir)/$(PLATFORM)/coil/.libs/*.so* ./.libs/
-# cp $(top_srcdir)/$(PLATFORM)/coil/.libs/*.a ./.libs/
-# cp $(top_srcdir)/$(PLATFORM)/coil/*.la .
-
rm -rf .libs
rm -f libcoil.la
ln -s $(top_srcdir)/$(PLATFORM)/coil/.libs .
Modified: trunk/OpenRTM-aist/src/lib/coil/posix/coil/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/coil/posix/coil/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/coil/posix/coil/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -71,7 +71,7 @@
cp -p $(top_srcdir)/common/*.h .
-coilheaderdir = $(prefix)/include/coil
+coilheaderdir = $(coil_includedir)/coil
coilheader_HEADERS = $(COIL_H) $(top_srcdir)/include/coil/config_coil.h
Modified: trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -18,9 +18,9 @@
echo 'coil_prefix="'${prefix}'"' >> $@
echo 'coil_exec_prefix="'${exec_prefix}'"' >> $@
echo 'coil_cxx="'${CXX}'"' >> $@
- echo 'coil_cflags="'${CXXFLAGS}' -I'${prefix}'/include"' >> $@
+ echo 'coil_cflags="'${CXXFLAGS}' -I'${coil_includedir}'"' >> $@
echo 'coil_libs="'${LDFLAGS}' -L'${prefix}'/lib '${LIBS}' -lRTC"' >> $@
- echo 'coil_libdir="'${pkglibdir}'"' >> $@
+ echo 'coil_libdir="'${coil_libdir}'"' >> $@
echo 'coil_version="'${COIL_VERSION}'"' >> $@
cat coil-config.in >> $@
chmod 755 $@
Modified: trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/libcoil.pc.in
===================================================================
--- trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/libcoil.pc.in 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/coil/utils/coil-config/libcoil.pc.in 2011-05-09 15:28:52 UTC (rev 2087)
@@ -1,13 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
+libdir=@coil_libdir@
+includedir=@coil_includedir@
coil_prefix=@prefix@
coil_exec_prefix=@exec_prefix@
coil_cxx=@CXX@
-coil_cflags=@CXXFLAGS@ -I${prefix}/include
+coil_cflags=@CXXFLAGS@ -I at coil_includedir@
coil_libs=@LDFLAGS@ -L${prefix}/lib @LIBS@ -lcoil
-coil_libdir=@pkglibdir@
+coil_libdir=@coil_libdir@
coil_version=@COIL_VERSION@
Name: @PACKAGE@
Modified: trunk/OpenRTM-aist/src/lib/rtm/idl/device_interfaces/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/idl/device_interfaces/Makefile.am 2011-05-09 04:46:15 UTC (rev 2086)
+++ trunk/OpenRTM-aist/src/lib/rtm/idl/device_interfaces/Makefile.am 2011-05-09 15:28:52 UTC (rev 2087)
@@ -28,8 +28,7 @@
Ranger.idl
# Install directory of device idl files
-rtmheaderdir = $(prefix)/include/rtm
-idldir = $(rtmheaderdir)/idl/device_interfaces
+idldir = $(rtm_includedir)/rtm/idl/device_interfaces
idl_DATA = $(IDL_SOURCES)
openrtm-commit メーリングリストの案内