1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
##
## File: Makefile.am
## Package: Babel Hello example
## Copyright: (c) 2000-2001 The Regents of the University of California
## Revision: $Revision: 4434 $
## Modified: $Date: 2005-03-17 09:05:29 -0800 (Thu, 17 Mar 2005) $
## Description: automake makefile for C++ Hello World server
##
AUTOMAKE_OPTIONS = foreign no-dependencies no-installinfo \
no-installman no-texinfo.tex 1.7
if SUPPORT_CXX
check_LTLIBRARIES = libImpl.la
endif
BABELDIR = $(top_builddir)
INCLUDEDIR = $(top_builddir)/runtime/sidl
LIBSIDL = $(top_builddir)/runtime/sidl/libsidl.la
LIBSIDLSTUBS = $(top_builddir)/lib/sidlstubs/Cxx/libsidlstub_cxx.la
libImpl_la_SOURCES = $(IMPLHDRS) $(IMPLSRCS)
nodist_libImpl_la_SOURCES = $(STUBSRCS) $(STUBHDRS) $(IORSRCS) $(IORHDRS) $(SKELSRCS)
libImpl_la_LIBADD = $(LIBSIDLSTUBS) $(LIBSIDL)
libImpl_la_LDFLAGS = -no-undefined -rpath `pwd`/.libs -release @VERSION@ -module
EXTRA_DIST = babel.make
AM_CPPFLAGS = -I. -I$(INCLUDEDIR) -I $(top_builddir)/lib/sidlstubs/Cxx
$(libImpl_la_SOURCES) $(nodist_libImpl_la_SOURCES) libImpl.scl : babel-stamp
@if test -f $@; then \
touch $@; \
else \
rm -f babel-stamp ; \
$(MAKE) $(AM_MAKEFLAGS) babel-stamp; \
fi
babel-stamp: $(srcdir)/../Hello.sidl
@rm -f babel-temp
@touch babel-temp
$(SHELL) $(BABELDIR)/bin/babel --vpath="$(srcdir)" --server=C++ \
--exclude-external --suppress-timestamp $(srcdir)/../Hello.sidl
$(SHELL) $(top_srcdir)/bin/generate_scl libImpl.scl `pwd`/libImpl.la \
$(IORSRCS)
@mv -f babel-temp $@
update-babel-make: babel-stamp
if test "X$(srcdir)" != "X."; then \
cp babel.make $(srcdir); \
fi
clean-local:
rm -f babel-stamp *.a *.so *.scl
rm -f $(IORHDRS) $(IORSRCS) $(SKELSRCS) $(STUBHDRS) $(STUBSRCS)
rm -rf ti_files
test "X$(srcdir)" = "X." || rm -f $(IMPLSRCS) $(IMPLHDRS) babel.make
include $(srcdir)/babel.make
# Make sure Makefile.in is newer than babel.make
dist-hook:
touch -c $(distdir)/Makefile.in
|