~ubuntu-branches/ubuntu/karmic/apache2/karmic-proposed

« back to all changes in this revision

Viewing changes to srclib/apr/test/nwgnusockchild

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-08-04 20:04:24 UTC
  • mfrom: (14.3.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090804200424-8t635jc8zq5kjq06
Tags: 2.2.12-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/{control,rules}: enable PIE hardening.
  - debian/{control, rules, apache2.2-common.ufw.profile}: add ufw profiles.
  - Dropped debian/patches/203_fix-ssl-timeftm-ignored.dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Make sure all needed macro's are defined
3
 
#
4
 
 
5
 
#
6
 
# Get the 'head' of the build environment if necessary.  This includes default
7
 
# targets and paths to tools
8
 
#
9
 
 
10
 
ifndef EnvironmentDefined
11
 
include $(APR_WORK)\build\NWGNUhead.inc
12
 
endif
13
 
 
14
 
#
15
 
# These directories will be at the beginning of the include list, followed by
16
 
# INCDIRS
17
 
#
18
 
XINCDIRS        += \
19
 
                        $(APR)/include \
20
 
                        $(APR)/include/arch/NetWare \
21
 
                        $(EOLIST)
22
 
 
23
 
#
24
 
# These flags will come after CFLAGS
25
 
#
26
 
XCFLAGS         += \
27
 
                        $(EOLIST)
28
 
 
29
 
#
30
 
# These defines will come after DEFINES
31
 
#
32
 
XDEFINES        += \
33
 
                        $(EOLIST)
34
 
 
35
 
#
36
 
# These flags will be added to the link.opt file
37
 
#
38
 
XLFLAGS         += \
39
 
                        $(EOLIST)
40
 
 
41
 
#
42
 
# These values will be appended to the correct variables based on the value of
43
 
# RELEASE
44
 
#
45
 
ifeq "$(RELEASE)" "debug"
46
 
XINCDIRS        += \
47
 
                        $(EOLIST)
48
 
 
49
 
XCFLAGS         += \
50
 
                        $(EOLIST)
51
 
 
52
 
XDEFINES        += \
53
 
                        $(EOLIST)
54
 
 
55
 
XLFLAGS         += \
56
 
                        $(EOLIST)
57
 
                                                
58
 
endif
59
 
 
60
 
ifeq "$(RELEASE)" "noopt"
61
 
XINCDIRS        += \
62
 
                        $(EOLIST)
63
 
 
64
 
XCFLAGS         += \
65
 
                        $(EOLIST)
66
 
 
67
 
XDEFINES        += \
68
 
                        $(EOLIST)
69
 
 
70
 
XLFLAGS         += \
71
 
                        $(EOLIST)
72
 
 
73
 
                        $(EOLIST)
74
 
endif
75
 
 
76
 
ifeq "$(RELEASE)" "release"
77
 
XINCDIRS        += \
78
 
                        $(EOLIST)
79
 
 
80
 
XCFLAGS         += \
81
 
                        $(EOLIST)
82
 
 
83
 
XDEFINES        += \
84
 
                        $(EOLIST)
85
 
 
86
 
XLFLAGS         += \
87
 
                        $(EOLIST)
88
 
endif
89
 
 
90
 
#
91
 
# These are used by the link target if an NLM is being generated
92
 
# This is used by the link 'name' directive to name the nlm.  If left blank
93
 
# TARGET_nlm (see below) will be used.
94
 
#
95
 
NLM_NAME                =       sockchild
96
 
 
97
 
#
98
 
# This is used by the link '-desc ' directive. 
99
 
# If left blank, NLM_NAME will be used.
100
 
#
101
 
NLM_DESCRIPTION =  socket NLM to test sockets
102
 
 
103
 
#
104
 
# This is used by the '-threadname' directive.  If left blank,
105
 
# NLM_NAME Thread will be used.
106
 
#
107
 
NLM_THREAD_NAME = sockchild
108
 
 
109
 
#
110
 
# This is used by the '-screenname' directive.  If left blank,
111
 
# 'Apache for NetWare' Thread will be used.
112
 
#
113
 
NLM_SCREEN_NAME = DEFAULT
114
 
 
115
 
#
116
 
# If this is specified, it will override VERSION value in 
117
 
# $(APR_WORK)\build\NWGNUenvironment.inc
118
 
#
119
 
NLM_VERSION             = 1,0,0
120
 
 
121
 
#
122
 
# If this is specified, it will override the default of 64K
123
 
#
124
 
NLM_STACK_SIZE  = 
125
 
 
126
 
#
127
 
# If this is specified it will be used by the link '-entry' directive
128
 
#
129
 
NLM_ENTRY_SYM   = _LibCPrelude
130
 
 
131
 
#
132
 
# If this is specified it will be used by the link '-exit' directive
133
 
#
134
 
NLM_EXIT_SYM    = _LibCPostlude
135
 
 
136
 
#
137
 
# If this is specified it will be used by the link '-check' directive
138
 
#
139
 
NLM_CHECK_SYM   =
140
 
 
141
 
#
142
 
# If this is specified it will be used by the link '-flags' directive
143
 
#
144
 
NLM_FLAGS               = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
145
 
 
146
 
#
147
 
# If this is specified it will be linked in with the XDCData option in the def 
148
 
# file instead of the default of $(APR)/misc/netware/apache.xdc.  XDCData can 
149
 
# be disabled by setting APACHE_UNIPROC in the environment
150
 
#
151
 
XDCDATA         = 
152
 
 
153
 
#
154
 
# Declare all target files (you must add your files here)
155
 
#
156
 
 
157
 
#
158
 
# If there is an NLM target, put it here
159
 
#
160
 
TARGET_nlm = \
161
 
        $(OBJDIR)/sockchild.nlm \
162
 
        $(EOLIST)
163
 
 
164
 
#
165
 
# If there is an LIB target, put it here
166
 
#
167
 
TARGET_lib = \
168
 
        $(EOLIST)
169
 
 
170
 
#
171
 
# These are the OBJ files needed to create the NLM target above.
172
 
# Paths must all use the '/' character
173
 
#
174
 
FILES_nlm_objs = \
175
 
        $(OBJDIR)/sockchild.o \
176
 
        $(EOLIST)
177
 
 
178
 
#
179
 
# These are the LIB files needed to create the NLM target above.
180
 
# These will be added as a library command in the link.opt file.
181
 
#
182
 
FILES_nlm_libs = \
183
 
        libcpre.o \
184
 
        $(EOLIST)
185
 
 
186
 
#
187
 
# These are the modules that the above NLM target depends on to load.
188
 
# These will be added as a module command in the link.opt file.
189
 
#
190
 
FILES_nlm_modules = \
191
 
        aprlib \
192
 
        Libc \
193
 
        $(EOLIST)
194
 
 
195
 
#
196
 
# If the nlm has a msg file, put it's path here
197
 
#
198
 
FILE_nlm_msg =
199
 
 
200
 
#
201
 
# If the nlm has a hlp file put it's path here
202
 
#
203
 
FILE_nlm_hlp =
204
 
 
205
 
#
206
 
# If this is specified, it will override the default copyright.
207
 
#
208
 
FILE_nlm_copyright =
209
 
 
210
 
#
211
 
# Any additional imports go here
212
 
#
213
 
FILES_nlm_Ximports = \
214
 
        @$(APR)/aprlib.imp \
215
 
        @libc.imp \
216
 
        $(EOLIST)
217
 
 
218
 
#   
219
 
# Any symbols exported to here
220
 
#
221
 
FILES_nlm_exports = \
222
 
        $(EOLIST)
223
 
        
224
 
#   
225
 
# These are the OBJ files needed to create the LIB target above.
226
 
# Paths must all use the '/' character
227
 
#
228
 
FILES_lib_objs = \
229
 
        $(EOLIST)
230
 
 
231
 
#
232
 
# implement targets and dependancies (leave this section alone)
233
 
#
234
 
 
235
 
libs :: $(OBJDIR) $(TARGET_lib)
236
 
 
237
 
nlms :: libs $(TARGET_nlm)
238
 
 
239
 
#
240
 
# Updated this target to create necessary directories and copy files to the 
241
 
# correct place.  (See $(APR_WORK)\build\NWGNUhead.inc for examples)
242
 
#
243
 
install :: nlms FORCE
244
 
 
245
 
#
246
 
# Any specialized rules here
247
 
#
248
 
 
249
 
#
250
 
# Include the 'tail' makefile that has targets that depend on variables defined
251
 
# in this makefile
252
 
#
253
 
 
254
 
include $(APR_WORK)\build\NWGNUtail.inc
255