summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Base/CIAO_Base.mpc
blob: 6b4b0bb86f58d021c05a006312f3275920dff5a9 (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
66
67
68
69
// $Id$

project(CIAO_Base_IDL) : install, ciaoidldefaults, anytypecode {
  idlflags     += -Wb,stub_export_macro=CIAO_BASE_STUB_Export \
                  -Wb,stub_export_include=CIAO_Base_stub_export.h \
                  -SS -Sci
  custom_only=1

  IDL_Files {
    CIAO_Properties.idl
    idlflags += -Gxhst
  }

  IDL_Files {
    CIAO_Exceptions.idl
  }

  specific {
   install_dir = ciao/Base
  }
}

project(CIAO_Base_stub) : install, ciaolib_with_idl, ciao_output, \
				     ciao_logger, ciao_lib, \
				     ccm_cookie, ccm_configvalue {
  dynamicflags += CIAO_BASE_STUB_BUILD_DLL
  after += CIAO_Base_IDL

  IDL_Files {
  }
  Source_Files {
    CIAO_PropertiesC.cpp
    CIAO_ExceptionsC.cpp
    Server_init.cpp
    Client_init.cpp
  }
  Header_Files {
    CIAO_PropertiesC.h
    CIAO_ExceptionsC.h
    Server_init.h
    Client_init.h
    CIAO_Base_stub_export.h
  }

  specific {
   install_dir = ciao/Base
  }
}

project(*_install) : install, install_data {
  custom_only = 1
  specific {
    install_dir = ciao
  }
  InstallData_Files {
    gendir = .
    ../../COPYING
    ../../NEWS
    ../../PROBLEM-REPORT-FORM
    ../../VERSION
    ../../docs
    ../../MPC
  }
  verbatim(gnuace, postinstall) {
"	cp ../../rules.ciao.GNU $(INSTALL_PREFIX)/share/ciao"
"	perl -i -pe's!\\$$[{(]CIAO_ROOT[})]!$(INSTALL_PREFIX)/include!g;' -e'if (/ifndef TAO_IDL3_TO_IDL2\\b/) {print qq!TAO_IDL3_TO_IDL2=$(INSTALL_PREFIX)/share/ciao/bin/tao_idl3_to_idl2\\nTAO_IDL3_TO_IDL2_DEP=\\$$(TAO_IDL3_TO_IDL2)\\$$(EXEEXT)\\n!}' -e'if (/ifndef TAO_IDL3_TO_XMI\\b/) {print qq!TAO_IDL3_TO_XMI=$(INSTALL_PREFIX)/share/ciao/bin/tao_idl3_to_xmi\\nTAO_IDL3_TO_XMI_DEP=\\$$(TAO_IDL3_TO_XMI)\\$$(EXEEXT)\\n!}' $(INSTALL_PREFIX)/share/ciao/rules.ciao.GNU"
"	echo export CIAO_ROOT=$(INSTALL_PREFIX)/share/ciao> $(INSTALL_PREFIX)/share/ciao/ciao-devel.sh"
  }
}