summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/INet/inet.mpc
blob: 9492f8a668f39dd683e52fe64a29a7dd30df9073 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//  -*- MPC -*-
// $Id$

project(INet) : acelib, ace_output, install {
  sharedname   = ACE_INet
  dynamicflags += ACE_INET_BUILD_DLL
  includes += $(ACE_ROOT)/protocols
  avoids += wince
  avoids += old_stdstream
  avoids += exclude_inet
  avoids += ace_for_tao
  avoids += corba_e_compact
  Source_Files {
    IOS_util.cpp
    INet_Log.cpp
    HeaderBase.cpp
    Request.cpp
    Response.cpp
    RequestHandler.cpp
    ConnectionCache.cpp
    ClientRequestHandler.cpp
    HTTP_Status.cpp
    HTTP_Header.cpp
    HTTP_Response.cpp
    HTTP_Request.cpp
    HTTP_IOStream.cpp
    HTTP_SessionBase.cpp
    HTTP_BasicAuthentication.cpp
    URLBase.cpp
    AuthenticationBase.cpp
    HTTP_URL.cpp
    HTTP_ClientRequestHandler.cpp
    FTP_Request.cpp
    FTP_Response.cpp
    FTP_IOStream.cpp
    FTP_URL.cpp
    FTP_ClientRequestHandler.cpp
  }
  Template_Files {
    BidirStreamBuffer.cpp
    BufferedStreamBuffer.cpp
    HTTP_Session.cpp
    HTTP_StreamPolicy.cpp
    HTTP_StreamPolicyBase.cpp
    Sock_IOStream.cpp
    StreamHandler.cpp
    StreamInterceptor.cpp
    String_IOStream.cpp
    FTP_Session.cpp
  }
  Header_Files {
    INet_Export.h
  }
  specific {
    install_dir = ace/INet
  }
}

// This project will be generated with and without ssl=1 feature
// but will only build when the ssl macro != 1 (i.e. ssl off)
project(HTTP_Simple_exec) : aceexe, inet {
  exename = http_simple_wget
  Source_Files {
    HTTP_Simple_exec.cpp
  }
  verbatim(gnuace, circuit) {
    "ifeq ($(ssl),1)"
    "override BIN:="
    "ifdef ARCH"
    "override ARCH_BIN:="
    "endif #ARCH"
    "all: avoid_warning"
    "endif"
  }
  
  verbatim(gnuace, local) {
    "ifeq ($(ssl),1)"
    "avoids_enabled_macros += ssl"
    "endif"
  }
}

// This project will only be generated with the ssl=1 feature
// and will only build when the ssl macro = 1 (i.e. ssl on)
project(HTTPS_Simple_exec) : aceexe, inet, inetssl {
  exename = https_simple_wget
  Source_Files {
    HTTP_Simple_exec.cpp
  }
}

project(FTP_Simple_exec) : aceexe, inet {
  exename = ftp_simple_wget
  Source_Files {
    FTP_Simple_exec.cpp
  }
}