summaryrefslogtreecommitdiff
path: root/TAO/Makefile.am
blob: f3c62adda15137461f42394a8b2db5c8b705dc58 (plain)
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
63
64
65
##---------------------------------------------------------------------------
##       $Id$
##
##       Top-level Makefile for TAO
##
##---------------------------------------------------------------------------

##
##  Process this file with automake to create Makefile.in
##

AUTOMAKE_OPTIONS = 1.9 foreign

ACLOCAL = @ACLOCAL@
ACLOCAL_AMFLAGS = -I ../m4

bin_SCRIPTS = tao-config

man_MANS = tao-config.1

SUBDIRS = \
        TAO_IDL \
        tao \
	orbsvcs

## For some reason, automake doesn't include acconfig.h in the distribution
EXTRA_DIST =  \
  PROBLEM-REPORT-FORM \
  VERSION \
  COPYING.sun \
  LICENSE.sun \
  README.sun \
  tao-config.in \
  tao-config.1.in \
  taoConf.sh.in 

DISTCLEANFILES = tao-config taoConf.sh tao-config.1

## release:
##         $(MAKE) dist distdir=$(PACKAGE)$(VERSION)
release:
	$(MAKE) dist

## Put `exec' in the name because this should be installed by
## `install-exec', not `install-data'.
confexecdir=$(libdir)
confexec_DATA = taoConf.sh

## Directories to include in the distribution but which I am too lazy to
## create Makefile.am files for.  A Makefile.am for these directories isn't
## needed anyway.
TAO_EXTRA_DIST = docs

dist-hook:
	(cd $(top_srcdir); tar cf - $(TAO_EXTRA_DIST)) | (cd $(distdir); \
          tar xfBp -)
	list=`find $(distdir) -type d -name CVS -print`; for p in $$list; do \
          rm -rf $$p; \
        done

## Clean up some additional files/directories possibly created during
## the configure script tests.
clean-local:
	-rm -f *.bak *.rpo *.sym lib*.*_pure_* Makefile.old core
	-rm -rf ptrepository Templates.DB gcctemp.c gcctemp so_locations