summaryrefslogtreecommitdiff
path: root/TAO/tests/ORB_Local_Config/Two_DLL_ORB/Two_DLL_ORB.mpc
blob: 43ea58515d0800bab67b9df801021e56b5679490 (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
70
71
72
73
74
75
76
77
78
79
80
81
// -*- MPC -*-
// $Id$

project(*idl): taoidldefaults {
  IDL_Files {
    Test.idl
  }
  custom_only = 1
}

project(ORB_DLL_Server) : taolib_with_idl, portableserver, threads {
  after += *idl
  sharedname   = ORB_DLL_Server
  dynamicflags = SERVICE_CONFIG_ORB_DLL_BUILD_DLL

  verbatim(gnuace, macros) {
    ifeq ($(OSTYPE),VMS)
      SYMVEC_OPT_FILE = LIBORB_DLL_CLIENT_SYMVEC.OPT
    endif
  }

  IDL_Files {
  }

  Source_Files {
    ORB_DLL.cpp
    Test_i.cpp
    TestC.cpp
    TestS.cpp
    server.cpp
    client.cpp
  }
  Header_Files {
    ORB_DLL.h
    ORB_DLL_Export.h
  }
  Resource_Files {
  }
}

project(ORB_DLL_Client) : taolib_with_idl, portableserver {
  after += ORB_DLL_Server *idl
  sharedname   = ORB_DLL_Client
  dynamicflags = SERVICE_CONFIG_ORB_DLL_BUILD_DLL

  IDL_Files {
  }

  Source_Files {
    ORB_DLL.cpp
    Test_i.cpp
    TestC.cpp
    TestS.cpp
    client.cpp
    server.cpp
  }
  Header_Files {
    ORB_DLL.h
    ORB_DLL_Export.h
  }
  Resource_Files {
  }
}

project(*) : taoserver {
  after += lib ORB_DLL_Client ORB_DLL_Server
  exename = Test

  IDL_Files {
  }

  specific (automake) {
    includes += $(srcdir)/../lib
  } else {
    includes += ../lib
  }

  Source_Files {
    Test.cpp
  }
}