summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/CIAO_Events/CIAO_Events_Handlers.mpc
blob: b25f0cb1d97602adeb402d4b17e4ba668f081865 (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
//$Id$

project (CIAO_Events_XML_Generation) : xscdefaults {
   requires += xsc

   xscflags += --cxx-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.cpp
   xscflags += --cxx-header-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.h
   xscflags += --cxx-export-symbol CIAO_Events_Handlers_Export
   xscflags += --cxx-namespace-regex  <%quote%>%.*vanderbilt.*%CIAO/Config_Handlers%<%quote%>
   xscflags += --cxx-export-header CIAO_Events_Handlers_Export.h
   xscflags += --search-path "$(CIAO_ROOT)/docs/schema"
   
   custom_only = 1

   XSC_Files {
        gendir = .
        $(CIAO_ROOT)/docs/schema/CIAOEvents.xsd
   }
}

project (CIAO_Events_Handlers) : acelib, ciao_config_handlers_base, ciao_events_dnc, ciao_deployment_stub {
  sharedname = CIAO_Events_Handlers
  dynamicflags   = CIAO_EVENTS_HANDLERS_BUILD_DLL
  macros   += XML_USE_PTHREADS
  includes += $(CIAO_ROOT)/tools/Config_Handlers

  after += CIAO_Events_XML_Generation 
  Source_Files {
    CIAOEvents.cpp
    CIAOEvents_Handler.cpp
  }

  Header_Files {
  }
}

project (CIAO_Events_Handlers_Tests) : ciao_config_handlers_base, ciao_server_dnc {
  exename = test
  after    += CIAO_Events_Handlers
  macros   += XML_USE_PTHREADS
  includes += $(CIAO_ROOT)/tools/Config_Handlers
  libs     += CIAO_Events_Handlers

  Source_Files {
    test.cpp
  }
}