Codebase list libsdl2-net / upstream/2.0.0+dfsg1
Imported Upstream version 2.0.0+dfsg1 Manuel A. Fernandez Montecelo 10 years ago
34 changed file(s) with 67 addition(s) and 2685 deletion(s). Raw diff Collapse all Expand all
0 Sam Lantinga - Sat Jun 1 19:11:26 PDT 2013
1 * Updated for SDL 2.0 release
2
03 1.2.9:
14 Simeon Maxein - Mon Jul 2 08:02:57 EDT 2012
25 * Made it possible to use SDL_net without SDL
304304 PATH_SEPARATOR = @PATH_SEPARATOR@
305305 PKG_CONFIG = @PKG_CONFIG@
306306 RANLIB = @RANLIB@
307 SDL2_CONFIG = @SDL2_CONFIG@
307308 SDL_CFLAGS = @SDL_CFLAGS@
308 SDL_CONFIG = @SDL_CONFIG@
309309 SDL_LIBS = @SDL_LIBS@
310310 SDL_VERSION = @SDL_VERSION@
311311 SED = @SED@
44 http://www.libsdl.org/projects/SDL_net/
55
66 This is an example portable network library for use with SDL.
7 It is available under the zlib license, found in the file COPYING.
7 It is available under the zlib license, found in the file COPYING.txt.
88 The API can be found in the file SDL_net.h
99 This library supports UNIX, Windows, MacOS Classic, MacOS X,
1010 BeOS and QNX.
4343
4444 %files
4545 %defattr(-,root,root)
46 %doc README CHANGES COPYING
46 %doc README.txt CHANGES.txt COPYING.txt
4747 %{prefix}/lib/lib*.so.*
4848
4949 %files devel
5050 %defattr(-,root,root)
51 %doc README CHANGES COPYING
5251 %{prefix}/lib/lib*.a
5352 %{prefix}/lib/lib*.la
5453 %{prefix}/lib/lib*.so
4343
4444 %files
4545 %defattr(-,root,root)
46 %doc README CHANGES COPYING
46 %doc README.txt CHANGES.txt COPYING.txt
4747 %{prefix}/lib/lib*.so.*
4848
4949 %files devel
5050 %defattr(-,root,root)
51 %doc README CHANGES COPYING
5251 %{prefix}/lib/lib*.a
5352 %{prefix}/lib/lib*.la
5453 %{prefix}/lib/lib*.so
391391 *(Uint32 *)areap = SDL_SwapBE32(value);
392392 }
393393
394 static __inline__ Uint16 _SDLNet_Read16(void *areap)
395 {
396 return SDL_SwapBE16(*(Uint16 *)areap);
397 }
398
399 static __inline__ Uint32 _SDLNet_Read32(void *areap)
400 {
401 return SDL_SwapBE32(*(Uint32 *)areap);
394 static __inline__ Uint16 _SDLNet_Read16(const void *areap)
395 {
396 return SDL_SwapBE16(*(const Uint16 *)areap);
397 }
398
399 static __inline__ Uint32 _SDLNet_Read32(const void *areap)
400 {
401 return SDL_SwapBE32(*(const Uint32 *)areap);
402402 }
403403
404404 #else /* !defined(WITHOUT_SDL) && !SDL_DATA_ALIGNED */
425425 return ((Uint16)area[0]) << 8 | ((Uint16)area[1]);
426426 }
427427
428 static __inline__ Uint32 _SDLNet_Read32(void *areap)
429 {
430 Uint8 *area = (Uint8*)areap;
428 static __inline__ Uint32 _SDLNet_Read32(const void *areap)
429 {
430 const Uint8 *area = (const Uint8*)areap;
431431 return ((Uint32)area[0]) << 24 | ((Uint32)area[1]) << 16 | ((Uint32)area[2]) << 8 | ((Uint32)area[3]);
432432 }
433433
271271
272272 /* Read a 16/32 bit value from network packet buffer */
273273 extern DECLSPEC Uint16 SDLCALL SDLNet_Read16(void *area);
274 extern DECLSPEC Uint32 SDLCALL SDLNet_Read32(void *area);
274 extern DECLSPEC Uint32 SDLCALL SDLNet_Read32(const void *area);
275275
276276 void SDLNet_Write16(Uint16 value, void *areap)
277277 {
288288 return (SDL_SwapBE16(*(Uint16 *)(areap)));
289289 }
290290
291 Uint32 SDLNet_Read32(void *areap)
291 Uint32 SDLNet_Read32(const void *areap)
292292 {
293293 return (SDL_SwapBE32(*(Uint32 *)(areap)));
294294 }
+0
-39
VisualC/SDL_net_VS2008.sln less more
0 
1 Microsoft Visual Studio Solution File, Format Version 10.00
2 # Visual Studio 2008
3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL_net", "SDL_net_VS2008.vcproj", "{8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}"
4 EndProject
5 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "showinterfaces", "showinterfaces\showinterfaces.vcproj", "{7B1F60CD-2A09-4514-937C-D9DD044428FB}"
6 ProjectSection(ProjectDependencies) = postProject
7 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4} = {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}
8 EndProjectSection
9 EndProject
10 Global
11 GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 Debug|Win32 = Debug|Win32
13 Debug|x64 = Debug|x64
14 Release|Win32 = Release|Win32
15 Release|x64 = Release|x64
16 EndGlobalSection
17 GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Debug|Win32.ActiveCfg = Debug|Win32
19 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Debug|Win32.Build.0 = Debug|Win32
20 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Debug|x64.ActiveCfg = Debug|x64
21 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Debug|x64.Build.0 = Debug|x64
22 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Release|Win32.ActiveCfg = Release|Win32
23 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Release|Win32.Build.0 = Release|Win32
24 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Release|x64.ActiveCfg = Release|x64
25 {8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}.Release|x64.Build.0 = Release|x64
26 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Debug|Win32.ActiveCfg = Debug|Win32
27 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Debug|Win32.Build.0 = Debug|Win32
28 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Debug|x64.ActiveCfg = Debug|x64
29 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Debug|x64.Build.0 = Debug|x64
30 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Release|Win32.ActiveCfg = Release|Win32
31 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Release|Win32.Build.0 = Release|Win32
32 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Release|x64.ActiveCfg = Release|x64
33 {7B1F60CD-2A09-4514-937C-D9DD044428FB}.Release|x64.Build.0 = Release|x64
34 EndGlobalSection
35 GlobalSection(SolutionProperties) = preSolution
36 HideSolutionNode = FALSE
37 EndGlobalSection
38 EndGlobal
+0
-566
VisualC/SDL_net_VS2008.vcproj less more
0 <?xml version="1.0" encoding="Windows-1252"?>
1 <VisualStudioProject
2 ProjectType="Visual C++"
3 Version="9.00"
4 Name="SDL2_net"
5 ProjectGUID="{8AB3504F-5E58-4910-AFE8-7A1E595AC3F4}"
6 RootNamespace="SDL_net"
7 TargetFrameworkVersion="131072"
8 >
9 <Platforms>
10 <Platform
11 Name="Win32"
12 />
13 <Platform
14 Name="x64"
15 />
16 </Platforms>
17 <ToolFiles>
18 </ToolFiles>
19 <Configurations>
20 <Configuration
21 Name="Debug|Win32"
22 OutputDirectory=".\Debug"
23 IntermediateDirectory=".\Debug"
24 ConfigurationType="2"
25 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
26 UseOfMFC="0"
27 ATLMinimizesCRunTimeLibraryUsage="false"
28 >
29 <Tool
30 Name="VCPreBuildEventTool"
31 />
32 <Tool
33 Name="VCCustomBuildTool"
34 />
35 <Tool
36 Name="VCXMLDataGeneratorTool"
37 />
38 <Tool
39 Name="VCWebServiceProxyGeneratorTool"
40 />
41 <Tool
42 Name="VCMIDLTool"
43 PreprocessorDefinitions="_DEBUG"
44 MkTypLibCompatible="true"
45 SuppressStartupBanner="true"
46 TargetEnvironment="1"
47 TypeLibraryName=".\Debug/SDL_net.tlb"
48 HeaderFileName=""
49 />
50 <Tool
51 Name="VCCLCompilerTool"
52 Optimization="0"
53 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
54 MinimalRebuild="true"
55 RuntimeLibrary="2"
56 PrecompiledHeaderFile=".\Debug/SDL_net.pch"
57 WarningLevel="3"
58 SuppressStartupBanner="true"
59 DebugInformationFormat="4"
60 />
61 <Tool
62 Name="VCManagedResourceCompilerTool"
63 />
64 <Tool
65 Name="VCResourceCompilerTool"
66 PreprocessorDefinitions="_DEBUG"
67 Culture="1031"
68 />
69 <Tool
70 Name="VCPreLinkEventTool"
71 />
72 <Tool
73 Name="VCLinkerTool"
74 AdditionalDependencies="wsock32.lib iphlpapi.lib SDL2.lib"
75 LinkIncremental="2"
76 SuppressStartupBanner="true"
77 GenerateDebugInformation="true"
78 ProgramDatabaseFile=".\Debug/SDL_net.pdb"
79 SubSystem="2"
80 TargetMachine="1"
81 />
82 <Tool
83 Name="VCALinkTool"
84 />
85 <Tool
86 Name="VCManifestTool"
87 />
88 <Tool
89 Name="VCXDCMakeTool"
90 />
91 <Tool
92 Name="VCBscMakeTool"
93 SuppressStartupBanner="true"
94 OutputFile=".\Debug/SDL_net.bsc"
95 />
96 <Tool
97 Name="VCFxCopTool"
98 />
99 <Tool
100 Name="VCAppVerifierTool"
101 />
102 <Tool
103 Name="VCPostBuildEventTool"
104 />
105 </Configuration>
106 <Configuration
107 Name="Debug|x64"
108 OutputDirectory="$(PlatformName)\$(ConfigurationName)"
109 IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
110 ConfigurationType="2"
111 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
112 UseOfMFC="0"
113 ATLMinimizesCRunTimeLibraryUsage="false"
114 >
115 <Tool
116 Name="VCPreBuildEventTool"
117 />
118 <Tool
119 Name="VCCustomBuildTool"
120 />
121 <Tool
122 Name="VCXMLDataGeneratorTool"
123 />
124 <Tool
125 Name="VCWebServiceProxyGeneratorTool"
126 />
127 <Tool
128 Name="VCMIDLTool"
129 PreprocessorDefinitions="_DEBUG"
130 MkTypLibCompatible="true"
131 SuppressStartupBanner="true"
132 TargetEnvironment="3"
133 TypeLibraryName=".\Debug/SDL_net.tlb"
134 HeaderFileName=""
135 />
136 <Tool
137 Name="VCCLCompilerTool"
138 Optimization="0"
139 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
140 MinimalRebuild="true"
141 RuntimeLibrary="2"
142 PrecompiledHeaderFile=".\Debug/SDL_net.pch"
143 AssemblerListingLocation=".\Debug/"
144 ObjectFile=".\Debug/"
145 ProgramDataBaseFileName=".\Debug/"
146 WarningLevel="3"
147 SuppressStartupBanner="true"
148 DebugInformationFormat="3"
149 />
150 <Tool
151 Name="VCManagedResourceCompilerTool"
152 />
153 <Tool
154 Name="VCResourceCompilerTool"
155 PreprocessorDefinitions="_DEBUG"
156 Culture="1031"
157 />
158 <Tool
159 Name="VCPreLinkEventTool"
160 />
161 <Tool
162 Name="VCLinkerTool"
163 AdditionalDependencies="ws2_32.lib iphlpapi.lib SDL.lib"
164 OutputFile=".\Debug/SDL_net.dll"
165 LinkIncremental="2"
166 SuppressStartupBanner="true"
167 GenerateDebugInformation="true"
168 ProgramDatabaseFile=".\Debug/SDL_net.pdb"
169 SubSystem="2"
170 TargetMachine="17"
171 />
172 <Tool
173 Name="VCALinkTool"
174 />
175 <Tool
176 Name="VCManifestTool"
177 />
178 <Tool
179 Name="VCXDCMakeTool"
180 />
181 <Tool
182 Name="VCBscMakeTool"
183 SuppressStartupBanner="true"
184 OutputFile=".\Debug/SDL_net.bsc"
185 />
186 <Tool
187 Name="VCFxCopTool"
188 />
189 <Tool
190 Name="VCAppVerifierTool"
191 />
192 <Tool
193 Name="VCPostBuildEventTool"
194 />
195 </Configuration>
196 <Configuration
197 Name="Release|Win32"
198 OutputDirectory=".\Release"
199 IntermediateDirectory=".\Release"
200 ConfigurationType="2"
201 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
202 UseOfMFC="0"
203 ATLMinimizesCRunTimeLibraryUsage="false"
204 >
205 <Tool
206 Name="VCPreBuildEventTool"
207 />
208 <Tool
209 Name="VCCustomBuildTool"
210 />
211 <Tool
212 Name="VCXMLDataGeneratorTool"
213 />
214 <Tool
215 Name="VCWebServiceProxyGeneratorTool"
216 />
217 <Tool
218 Name="VCMIDLTool"
219 PreprocessorDefinitions="NDEBUG"
220 MkTypLibCompatible="true"
221 SuppressStartupBanner="true"
222 TargetEnvironment="1"
223 TypeLibraryName=".\Release/SDL_net.tlb"
224 HeaderFileName=""
225 />
226 <Tool
227 Name="VCCLCompilerTool"
228 Optimization="2"
229 InlineFunctionExpansion="1"
230 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
231 StringPooling="true"
232 RuntimeLibrary="2"
233 EnableFunctionLevelLinking="true"
234 PrecompiledHeaderFile=".\Release/SDL_net.pch"
235 WarningLevel="3"
236 SuppressStartupBanner="true"
237 />
238 <Tool
239 Name="VCManagedResourceCompilerTool"
240 />
241 <Tool
242 Name="VCResourceCompilerTool"
243 PreprocessorDefinitions="NDEBUG"
244 Culture="1031"
245 />
246 <Tool
247 Name="VCPreLinkEventTool"
248 />
249 <Tool
250 Name="VCLinkerTool"
251 AdditionalDependencies="wsock32.lib iphlpapi.lib SDL2.lib"
252 OutputFile="$(OutDir)\$(ProjectName).dll"
253 LinkIncremental="1"
254 SuppressStartupBanner="true"
255 ProgramDatabaseFile=".\Release/SDL_net.pdb"
256 SubSystem="2"
257 TargetMachine="1"
258 />
259 <Tool
260 Name="VCALinkTool"
261 />
262 <Tool
263 Name="VCManifestTool"
264 />
265 <Tool
266 Name="VCXDCMakeTool"
267 />
268 <Tool
269 Name="VCBscMakeTool"
270 SuppressStartupBanner="true"
271 OutputFile=".\Release/SDL_net.bsc"
272 />
273 <Tool
274 Name="VCFxCopTool"
275 />
276 <Tool
277 Name="VCAppVerifierTool"
278 />
279 <Tool
280 Name="VCPostBuildEventTool"
281 />
282 </Configuration>
283 <Configuration
284 Name="Release|x64"
285 OutputDirectory="$(PlatformName)\$(ConfigurationName)"
286 IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
287 ConfigurationType="2"
288 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
289 UseOfMFC="0"
290 ATLMinimizesCRunTimeLibraryUsage="false"
291 >
292 <Tool
293 Name="VCPreBuildEventTool"
294 />
295 <Tool
296 Name="VCCustomBuildTool"
297 />
298 <Tool
299 Name="VCXMLDataGeneratorTool"
300 />
301 <Tool
302 Name="VCWebServiceProxyGeneratorTool"
303 />
304 <Tool
305 Name="VCMIDLTool"
306 PreprocessorDefinitions="NDEBUG"
307 MkTypLibCompatible="true"
308 SuppressStartupBanner="true"
309 TargetEnvironment="3"
310 TypeLibraryName=".\Release/SDL_net.tlb"
311 HeaderFileName=""
312 />
313 <Tool
314 Name="VCCLCompilerTool"
315 Optimization="2"
316 InlineFunctionExpansion="1"
317 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
318 StringPooling="true"
319 RuntimeLibrary="2"
320 EnableFunctionLevelLinking="true"
321 PrecompiledHeaderFile=".\Release/SDL_net.pch"
322 WarningLevel="3"
323 SuppressStartupBanner="true"
324 />
325 <Tool
326 Name="VCManagedResourceCompilerTool"
327 />
328 <Tool
329 Name="VCResourceCompilerTool"
330 PreprocessorDefinitions="NDEBUG"
331 Culture="1031"
332 />
333 <Tool
334 Name="VCPreLinkEventTool"
335 />
336 <Tool
337 Name="VCLinkerTool"
338 AdditionalDependencies="ws2_32.lib iphlpapi.lib SDL.lib"
339 OutputFile=".\Release/SDL_net.dll"
340 LinkIncremental="1"
341 SuppressStartupBanner="true"
342 ProgramDatabaseFile=".\Release/SDL_net.pdb"
343 SubSystem="2"
344 TargetMachine="17"
345 />
346 <Tool
347 Name="VCALinkTool"
348 />
349 <Tool
350 Name="VCManifestTool"
351 />
352 <Tool
353 Name="VCXDCMakeTool"
354 />
355 <Tool
356 Name="VCBscMakeTool"
357 SuppressStartupBanner="true"
358 OutputFile=".\Release/SDL_net.bsc"
359 />
360 <Tool
361 Name="VCFxCopTool"
362 />
363 <Tool
364 Name="VCAppVerifierTool"
365 />
366 <Tool
367 Name="VCPostBuildEventTool"
368 />
369 </Configuration>
370 </Configurations>
371 <References>
372 </References>
373 <Files>
374 <File
375 RelativePath="..\SDL_net.h"
376 >
377 </File>
378 <File
379 RelativePath="..\SDLnet.c"
380 >
381 <FileConfiguration
382 Name="Debug|Win32"
383 >
384 <Tool
385 Name="VCCLCompilerTool"
386 PreprocessorDefinitions=""
387 />
388 </FileConfiguration>
389 <FileConfiguration
390 Name="Debug|x64"
391 >
392 <Tool
393 Name="VCCLCompilerTool"
394 PreprocessorDefinitions=""
395 />
396 </FileConfiguration>
397 <FileConfiguration
398 Name="Release|Win32"
399 >
400 <Tool
401 Name="VCCLCompilerTool"
402 PreprocessorDefinitions=""
403 />
404 </FileConfiguration>
405 <FileConfiguration
406 Name="Release|x64"
407 >
408 <Tool
409 Name="VCCLCompilerTool"
410 PreprocessorDefinitions=""
411 />
412 </FileConfiguration>
413 </File>
414 <File
415 RelativePath="..\SDLnetselect.c"
416 >
417 <FileConfiguration
418 Name="Debug|Win32"
419 >
420 <Tool
421 Name="VCCLCompilerTool"
422 PreprocessorDefinitions=""
423 />
424 </FileConfiguration>
425 <FileConfiguration
426 Name="Debug|x64"
427 >
428 <Tool
429 Name="VCCLCompilerTool"
430 PreprocessorDefinitions=""
431 />
432 </FileConfiguration>
433 <FileConfiguration
434 Name="Release|Win32"
435 >
436 <Tool
437 Name="VCCLCompilerTool"
438 PreprocessorDefinitions=""
439 />
440 </FileConfiguration>
441 <FileConfiguration
442 Name="Release|x64"
443 >
444 <Tool
445 Name="VCCLCompilerTool"
446 PreprocessorDefinitions=""
447 />
448 </FileConfiguration>
449 </File>
450 <File
451 RelativePath="..\SDLnetsys.h"
452 >
453 </File>
454 <File
455 RelativePath="..\SDLnetTCP.c"
456 >
457 <FileConfiguration
458 Name="Debug|Win32"
459 >
460 <Tool
461 Name="VCCLCompilerTool"
462 PreprocessorDefinitions=""
463 />
464 </FileConfiguration>
465 <FileConfiguration
466 Name="Debug|x64"
467 >
468 <Tool
469 Name="VCCLCompilerTool"
470 PreprocessorDefinitions=""
471 />
472 </FileConfiguration>
473 <FileConfiguration
474 Name="Release|Win32"
475 >
476 <Tool
477 Name="VCCLCompilerTool"
478 PreprocessorDefinitions=""
479 />
480 </FileConfiguration>
481 <FileConfiguration
482 Name="Release|x64"
483 >
484 <Tool
485 Name="VCCLCompilerTool"
486 PreprocessorDefinitions=""
487 />
488 </FileConfiguration>
489 </File>
490 <File
491 RelativePath="..\SDLnetUDP.c"
492 >
493 <FileConfiguration
494 Name="Debug|Win32"
495 >
496 <Tool
497 Name="VCCLCompilerTool"
498 PreprocessorDefinitions=""
499 />
500 </FileConfiguration>
501 <FileConfiguration
502 Name="Debug|x64"
503 >
504 <Tool
505 Name="VCCLCompilerTool"
506 PreprocessorDefinitions=""
507 />
508 </FileConfiguration>
509 <FileConfiguration
510 Name="Release|Win32"
511 >
512 <Tool
513 Name="VCCLCompilerTool"
514 PreprocessorDefinitions=""
515 />
516 </FileConfiguration>
517 <FileConfiguration
518 Name="Release|x64"
519 >
520 <Tool
521 Name="VCCLCompilerTool"
522 PreprocessorDefinitions=""
523 />
524 </FileConfiguration>
525 </File>
526 <File
527 RelativePath="Version.rc"
528 >
529 <FileConfiguration
530 Name="Debug|Win32"
531 >
532 <Tool
533 Name="VCResourceCompilerTool"
534 PreprocessorDefinitions=""
535 />
536 </FileConfiguration>
537 <FileConfiguration
538 Name="Debug|x64"
539 >
540 <Tool
541 Name="VCResourceCompilerTool"
542 PreprocessorDefinitions=""
543 />
544 </FileConfiguration>
545 <FileConfiguration
546 Name="Release|Win32"
547 >
548 <Tool
549 Name="VCResourceCompilerTool"
550 PreprocessorDefinitions=""
551 />
552 </FileConfiguration>
553 <FileConfiguration
554 Name="Release|x64"
555 >
556 <Tool
557 Name="VCResourceCompilerTool"
558 PreprocessorDefinitions=""
559 />
560 </FileConfiguration>
561 </File>
562 </Files>
563 <Globals>
564 </Globals>
565 </VisualStudioProject>
+0
-105
VisualC/Version.rc less more
0 //Microsoft Developer Studio generated resource script.
1 //
2 #include "resource.h"
3
4 #define APSTUDIO_READONLY_SYMBOLS
5 /////////////////////////////////////////////////////////////////////////////
6 //
7 // Generated from the TEXTINCLUDE 2 resource.
8 //
9 #include "winresrc.h"
10
11 /////////////////////////////////////////////////////////////////////////////
12 #undef APSTUDIO_READONLY_SYMBOLS
13
14 /////////////////////////////////////////////////////////////////////////////
15 // English (U.S.) resources
16
17 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
18 #ifdef _WIN32
19 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20 #pragma code_page(1252)
21 #endif //_WIN32
22
23 #ifndef _MAC
24 /////////////////////////////////////////////////////////////////////////////
25 //
26 // Version
27 //
28
29 VS_VERSION_INFO VERSIONINFO
30 FILEVERSION 2,0,0,0
31 PRODUCTVERSION 2,0,0,0
32 FILEFLAGSMASK 0x3fL
33 #ifdef _DEBUG
34 FILEFLAGS 0x1L
35 #else
36 FILEFLAGS 0x0L
37 #endif
38 FILEOS 0x40004L
39 FILETYPE 0x2L
40 FILESUBTYPE 0x0L
41 BEGIN
42 BLOCK "StringFileInfo"
43 BEGIN
44 BLOCK "040904b0"
45 BEGIN
46 VALUE "CompanyName", "\0"
47 VALUE "FileDescription", "SDL_net\0"
48 VALUE "FileVersion", "2, 0, 0, 0\0"
49 VALUE "InternalName", "SDL_net\0"
50 VALUE "LegalCopyright", "Copyright © 2013 Sam Lantinga\0"
51 VALUE "OriginalFilename", "SDL_net.dll\0"
52 VALUE "ProductName", "Simple DirectMedia Layer\0"
53 VALUE "ProductVersion", "2, 0, 0, 0\0"
54 END
55 END
56 BLOCK "VarFileInfo"
57 BEGIN
58 VALUE "Translation", 0x409, 1200
59 END
60 END
61
62 #endif // !_MAC
63
64
65 #ifdef APSTUDIO_INVOKED
66 /////////////////////////////////////////////////////////////////////////////
67 //
68 // TEXTINCLUDE
69 //
70
71 1 TEXTINCLUDE DISCARDABLE
72 BEGIN
73 "resource.h\0"
74 END
75
76 2 TEXTINCLUDE DISCARDABLE
77 BEGIN
78 "#include ""afxres.h""\r\n"
79 "\0"
80 END
81
82 3 TEXTINCLUDE DISCARDABLE
83 BEGIN
84 "\r\n"
85 "\0"
86 END
87
88 #endif // APSTUDIO_INVOKED
89
90 #endif // English (U.S.) resources
91 /////////////////////////////////////////////////////////////////////////////
92
93
94
95 #ifndef APSTUDIO_INVOKED
96 /////////////////////////////////////////////////////////////////////////////
97 //
98 // Generated from the TEXTINCLUDE 3 resource.
99 //
100
101
102 /////////////////////////////////////////////////////////////////////////////
103 #endif // not APSTUDIO_INVOKED
104
+0
-15
VisualC/resource.h less more
0 //{{NO_DEPENDENCIES}}
1 // Microsoft Developer Studio generated include file.
2 // Used by Version.rc
3 //
4
5 // Next default values for new objects
6 //
7 #ifdef APSTUDIO_INVOKED
8 #ifndef APSTUDIO_READONLY_SYMBOLS
9 #define _APS_NEXT_RESOURCE_VALUE 101
10 #define _APS_NEXT_COMMAND_VALUE 40001
11 #define _APS_NEXT_CONTROL_VALUE 1000
12 #define _APS_NEXT_SYMED_VALUE 101
13 #endif
14 #endif
+0
-408
VisualC/showinterfaces/showinterfaces.vcproj less more
0 <?xml version="1.0" encoding="Windows-1252"?>
1 <VisualStudioProject
2 ProjectType="Visual C++"
3 Version="9.00"
4 Name="showinterfaces"
5 ProjectGUID="{7B1F60CD-2A09-4514-937C-D9DD044428FB}"
6 RootNamespace="showinterfaces"
7 TargetFrameworkVersion="131072"
8 >
9 <Platforms>
10 <Platform
11 Name="Win32"
12 />
13 <Platform
14 Name="x64"
15 />
16 </Platforms>
17 <ToolFiles>
18 </ToolFiles>
19 <Configurations>
20 <Configuration
21 Name="Release|Win32"
22 OutputDirectory=".\Release"
23 IntermediateDirectory=".\Release"
24 ConfigurationType="1"
25 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
26 UseOfMFC="0"
27 ATLMinimizesCRunTimeLibraryUsage="false"
28 >
29 <Tool
30 Name="VCPreBuildEventTool"
31 />
32 <Tool
33 Name="VCCustomBuildTool"
34 />
35 <Tool
36 Name="VCXMLDataGeneratorTool"
37 />
38 <Tool
39 Name="VCWebServiceProxyGeneratorTool"
40 />
41 <Tool
42 Name="VCMIDLTool"
43 PreprocessorDefinitions="NDEBUG"
44 MkTypLibCompatible="true"
45 SuppressStartupBanner="true"
46 TargetEnvironment="1"
47 TypeLibraryName=".\Release/showinterfaces.tlb"
48 HeaderFileName=""
49 />
50 <Tool
51 Name="VCCLCompilerTool"
52 Optimization="2"
53 InlineFunctionExpansion="1"
54 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
55 StringPooling="true"
56 RuntimeLibrary="2"
57 EnableFunctionLevelLinking="true"
58 PrecompiledHeaderFile=".\Release/showinterfaces.pch"
59 WarningLevel="3"
60 SuppressStartupBanner="true"
61 />
62 <Tool
63 Name="VCManagedResourceCompilerTool"
64 />
65 <Tool
66 Name="VCResourceCompilerTool"
67 PreprocessorDefinitions="NDEBUG"
68 Culture="1033"
69 />
70 <Tool
71 Name="VCPreLinkEventTool"
72 />
73 <Tool
74 Name="VCLinkerTool"
75 AdditionalDependencies="SDL2.lib SDL2main.lib"
76 ProgramDatabaseFile=".\Release/showinterfaces.pdb"
77 SubSystem="2"
78 TargetMachine="1"
79 />
80 <Tool
81 Name="VCALinkTool"
82 />
83 <Tool
84 Name="VCManifestTool"
85 />
86 <Tool
87 Name="VCXDCMakeTool"
88 />
89 <Tool
90 Name="VCBscMakeTool"
91 SuppressStartupBanner="true"
92 OutputFile=".\Release/showinterfaces.bsc"
93 />
94 <Tool
95 Name="VCFxCopTool"
96 />
97 <Tool
98 Name="VCAppVerifierTool"
99 />
100 <Tool
101 Name="VCPostBuildEventTool"
102 Description="Copy SDL_net"
103 CommandLine="copy &quot;$(SolutionDir)\$(ConfigurationName)\SDL_net.dll&quot; &quot;$(TargetDir)\SDL_net.dll&quot;"
104 />
105 </Configuration>
106 <Configuration
107 Name="Release|x64"
108 OutputDirectory="$(PlatformName)\$(ConfigurationName)"
109 IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
110 ConfigurationType="1"
111 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
112 UseOfMFC="0"
113 ATLMinimizesCRunTimeLibraryUsage="false"
114 >
115 <Tool
116 Name="VCPreBuildEventTool"
117 />
118 <Tool
119 Name="VCCustomBuildTool"
120 />
121 <Tool
122 Name="VCXMLDataGeneratorTool"
123 />
124 <Tool
125 Name="VCWebServiceProxyGeneratorTool"
126 />
127 <Tool
128 Name="VCMIDLTool"
129 PreprocessorDefinitions="NDEBUG"
130 MkTypLibCompatible="true"
131 SuppressStartupBanner="true"
132 TargetEnvironment="3"
133 TypeLibraryName=".\Release/showinterfaces.tlb"
134 HeaderFileName=""
135 />
136 <Tool
137 Name="VCCLCompilerTool"
138 Optimization="2"
139 InlineFunctionExpansion="1"
140 PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
141 StringPooling="true"
142 RuntimeLibrary="2"
143 EnableFunctionLevelLinking="true"
144 PrecompiledHeaderFile=".\Release/showinterfaces.pch"
145 WarningLevel="3"
146 SuppressStartupBanner="true"
147 />
148 <Tool
149 Name="VCManagedResourceCompilerTool"
150 />
151 <Tool
152 Name="VCResourceCompilerTool"
153 PreprocessorDefinitions="NDEBUG"
154 Culture="1033"
155 />
156 <Tool
157 Name="VCPreLinkEventTool"
158 />
159 <Tool
160 Name="VCLinkerTool"
161 AdditionalDependencies="SDL.lib SDLmain.lib"
162 ProgramDatabaseFile=".\Release/showinterfaces.pdb"
163 SubSystem="2"
164 TargetMachine="17"
165 />
166 <Tool
167 Name="VCALinkTool"
168 />
169 <Tool
170 Name="VCManifestTool"
171 />
172 <Tool
173 Name="VCXDCMakeTool"
174 />
175 <Tool
176 Name="VCBscMakeTool"
177 SuppressStartupBanner="true"
178 OutputFile=".\Release/showinterfaces.bsc"
179 />
180 <Tool
181 Name="VCFxCopTool"
182 />
183 <Tool
184 Name="VCAppVerifierTool"
185 />
186 <Tool
187 Name="VCPostBuildEventTool"
188 Description="Copy SDL_net"
189 CommandLine="copy &quot;$(SolutionDir)\$(ConfigurationName)\SDL_net.dll&quot; &quot;$(TargetDir)\SDL_net.dll&quot;"
190 />
191 </Configuration>
192 <Configuration
193 Name="Debug|Win32"
194 OutputDirectory=".\Debug"
195 IntermediateDirectory=".\Debug"
196 ConfigurationType="1"
197 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
198 UseOfMFC="0"
199 ATLMinimizesCRunTimeLibraryUsage="false"
200 >
201 <Tool
202 Name="VCPreBuildEventTool"
203 />
204 <Tool
205 Name="VCCustomBuildTool"
206 />
207 <Tool
208 Name="VCXMLDataGeneratorTool"
209 />
210 <Tool
211 Name="VCWebServiceProxyGeneratorTool"
212 />
213 <Tool
214 Name="VCMIDLTool"
215 PreprocessorDefinitions="_DEBUG"
216 MkTypLibCompatible="true"
217 SuppressStartupBanner="true"
218 TargetEnvironment="1"
219 TypeLibraryName=".\Debug/showinterfaces.tlb"
220 HeaderFileName=""
221 />
222 <Tool
223 Name="VCCLCompilerTool"
224 Optimization="0"
225 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
226 MinimalRebuild="true"
227 RuntimeLibrary="2"
228 PrecompiledHeaderFile=".\Debug/showinterfaces.pch"
229 WarningLevel="3"
230 SuppressStartupBanner="true"
231 DebugInformationFormat="4"
232 />
233 <Tool
234 Name="VCManagedResourceCompilerTool"
235 />
236 <Tool
237 Name="VCResourceCompilerTool"
238 PreprocessorDefinitions="_DEBUG"
239 Culture="1033"
240 />
241 <Tool
242 Name="VCPreLinkEventTool"
243 />
244 <Tool
245 Name="VCLinkerTool"
246 AdditionalDependencies="SDL2.lib SDL2main.lib"
247 GenerateDebugInformation="true"
248 ProgramDatabaseFile=".\Debug/showinterfaces.pdb"
249 SubSystem="2"
250 TargetMachine="1"
251 />
252 <Tool
253 Name="VCALinkTool"
254 />
255 <Tool
256 Name="VCManifestTool"
257 />
258 <Tool
259 Name="VCXDCMakeTool"
260 />
261 <Tool
262 Name="VCBscMakeTool"
263 SuppressStartupBanner="true"
264 OutputFile=".\Debug/showinterfaces.bsc"
265 />
266 <Tool
267 Name="VCFxCopTool"
268 />
269 <Tool
270 Name="VCAppVerifierTool"
271 />
272 <Tool
273 Name="VCPostBuildEventTool"
274 Description="Copy SDL_net"
275 CommandLine="copy &quot;$(SolutionDir)\$(ConfigurationName)\SDL_net.dll&quot; &quot;$(TargetDir)\SDL_net.dll&quot;"
276 />
277 </Configuration>
278 <Configuration
279 Name="Debug|x64"
280 OutputDirectory="$(PlatformName)\$(ConfigurationName)"
281 IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
282 ConfigurationType="1"
283 InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC60.vsprops"
284 UseOfMFC="0"
285 ATLMinimizesCRunTimeLibraryUsage="false"
286 >
287 <Tool
288 Name="VCPreBuildEventTool"
289 />
290 <Tool
291 Name="VCCustomBuildTool"
292 />
293 <Tool
294 Name="VCXMLDataGeneratorTool"
295 />
296 <Tool
297 Name="VCWebServiceProxyGeneratorTool"
298 />
299 <Tool
300 Name="VCMIDLTool"
301 PreprocessorDefinitions="_DEBUG"
302 MkTypLibCompatible="true"
303 SuppressStartupBanner="true"
304 TargetEnvironment="3"
305 TypeLibraryName=".\Debug/showinterfaces.tlb"
306 HeaderFileName=""
307 />
308 <Tool
309 Name="VCCLCompilerTool"
310 Optimization="0"
311 PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS"
312 MinimalRebuild="true"
313 RuntimeLibrary="2"
314 PrecompiledHeaderFile=".\Debug/showinterfaces.pch"
315 WarningLevel="3"
316 SuppressStartupBanner="true"
317 DebugInformationFormat="3"
318 />
319 <Tool
320 Name="VCManagedResourceCompilerTool"
321 />
322 <Tool
323 Name="VCResourceCompilerTool"
324 PreprocessorDefinitions="_DEBUG"
325 Culture="1033"
326 />
327 <Tool
328 Name="VCPreLinkEventTool"
329 />
330 <Tool
331 Name="VCLinkerTool"
332 AdditionalDependencies="SDL.lib SDLmain.lib"
333 GenerateDebugInformation="true"
334 ProgramDatabaseFile=".\Debug/showinterfaces.pdb"
335 SubSystem="2"
336 TargetMachine="17"
337 />
338 <Tool
339 Name="VCALinkTool"
340 />
341 <Tool
342 Name="VCManifestTool"
343 />
344 <Tool
345 Name="VCXDCMakeTool"
346 />
347 <Tool
348 Name="VCBscMakeTool"
349 SuppressStartupBanner="true"
350 OutputFile=".\Debug/showinterfaces.bsc"
351 />
352 <Tool
353 Name="VCFxCopTool"
354 />
355 <Tool
356 Name="VCAppVerifierTool"
357 />
358 <Tool
359 Name="VCPostBuildEventTool"
360 Description="Copy SDL_net"
361 CommandLine="copy &quot;$(SolutionDir)\$(ConfigurationName)\SDL_net.dll&quot; &quot;$(TargetDir)\SDL_net.dll&quot;"
362 />
363 </Configuration>
364 </Configurations>
365 <References>
366 </References>
367 <Files>
368 <File
369 RelativePath="..\..\showinterfaces.c"
370 >
371 <FileConfiguration
372 Name="Release|Win32"
373 >
374 <Tool
375 Name="VCCLCompilerTool"
376 PreprocessorDefinitions=""
377 />
378 </FileConfiguration>
379 <FileConfiguration
380 Name="Release|x64"
381 >
382 <Tool
383 Name="VCCLCompilerTool"
384 PreprocessorDefinitions=""
385 />
386 </FileConfiguration>
387 <FileConfiguration
388 Name="Debug|Win32"
389 >
390 <Tool
391 Name="VCCLCompilerTool"
392 PreprocessorDefinitions=""
393 />
394 </FileConfiguration>
395 <FileConfiguration
396 Name="Debug|x64"
397 >
398 <Tool
399 Name="VCCLCompilerTool"
400 PreprocessorDefinitions=""
401 />
402 </FileConfiguration>
403 </File>
404 </Files>
405 <Globals>
406 </Globals>
407 </VisualStudioProject>
+0
-22
Xcode/Info-Framework.plist less more
0 <?xml version="1.0" encoding="UTF-8"?>
1 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
2 <plist version="1.0">
3 <dict>
4 <key>CFBundleDevelopmentRegion</key>
5 <string>English</string>
6 <key>CFBundleExecutable</key>
7 <string>SDL2_net</string>
8 <key>CFBundleIdentifier</key>
9 <string>org.libsdl.SDL2-net</string>
10 <key>CFBundleInfoDictionaryVersion</key>
11 <string>6.0</string>
12 <key>CFBundleName</key>
13 <string>SDL2_net</string>
14 <key>CFBundlePackageType</key>
15 <string>FMWK</string>
16 <key>CFBundleShortVersionString</key>
17 <string>2.0.0</string>
18 <key>CFBundleVersion</key>
19 <string>2.0.0</string>
20 </dict>
21 </plist>
+0
-536
Xcode/SDL_net.xcodeproj/project.pbxproj less more
0 // !$*UTF8*$!
1 {
2 archiveVersion = 1;
3 classes = {
4 };
5 objectVersion = 46;
6 objects = {
7
8 /* Begin PBXBuildFile section */
9 BE48FF5807AFA9A800BB41DA /* SDL_net.h in Headers */ = {isa = PBXBuildFile; fileRef = 1014BAEA010A4B677F000001 /* SDL_net.h */; settings = {ATTRIBUTES = (Public, ); }; };
10 BE48FF5907AFA9A800BB41DA /* SDLnetsys.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E06A2830119C8317F000001 /* SDLnetsys.h */; };
11 BE48FF5C07AFA9A800BB41DA /* SDLnet.c in Sources */ = {isa = PBXBuildFile; fileRef = 1014BAEB010A4B677F000001 /* SDLnet.c */; };
12 BE48FF5D07AFA9A800BB41DA /* SDLnetselect.c in Sources */ = {isa = PBXBuildFile; fileRef = 1014BAEC010A4B677F000001 /* SDLnetselect.c */; };
13 BE48FF5E07AFA9A800BB41DA /* SDLnetTCP.c in Sources */ = {isa = PBXBuildFile; fileRef = 1014BAED010A4B677F000001 /* SDLnetTCP.c */; };
14 BE48FF5F07AFA9A800BB41DA /* SDLnetUDP.c in Sources */ = {isa = PBXBuildFile; fileRef = 1014BAEE010A4B677F000001 /* SDLnetUDP.c */; };
15 BE48FF6707AFA9A800BB41DA /* SDLnetsys.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E06A2830119C8317F000001 /* SDLnetsys.h */; };
16 BE48FF6907AFA9A800BB41DA /* SDLnet.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2810119C8317F000001 /* SDLnet.c */; };
17 BE48FF6A07AFA9A800BB41DA /* SDLnetselect.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2820119C8317F000001 /* SDLnetselect.c */; };
18 BE48FF6B07AFA9A800BB41DA /* SDLnetTCP.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2840119C8317F000001 /* SDLnetTCP.c */; };
19 BE48FF6C07AFA9A800BB41DA /* SDLnetUDP.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2850119C8317F000001 /* SDLnetUDP.c */; };
20 BE48FF8307AFAA6F00BB41DA /* SDL2.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE48FF8207AFAA6F00BB41DA /* SDL2.framework */; };
21 /* End PBXBuildFile section */
22
23 /* Begin PBXContainerItemProxy section */
24 BE48FF7A07AFA9A900BB41DA /* PBXContainerItemProxy */ = {
25 isa = PBXContainerItemProxy;
26 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
27 proxyType = 1;
28 remoteGlobalIDString = BE48FF5607AFA9A800BB41DA;
29 remoteInfo = "Framework";
30 };
31 /* End PBXContainerItemProxy section */
32
33 /* Begin PBXFileReference section */
34 0E06A2810119C8317F000001 /* SDLnet.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnet.c; path = ../SDLnet.c; sourceTree = SOURCE_ROOT; };
35 0E06A2820119C8317F000001 /* SDLnetselect.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetselect.c; path = ../SDLnetselect.c; sourceTree = SOURCE_ROOT; };
36 0E06A2830119C8317F000001 /* SDLnetsys.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDLnetsys.h; path = ../SDLnetsys.h; sourceTree = SOURCE_ROOT; };
37 0E06A2840119C8317F000001 /* SDLnetTCP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetTCP.c; path = ../SDLnetTCP.c; sourceTree = SOURCE_ROOT; };
38 0E06A2850119C8317F000001 /* SDLnetUDP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetUDP.c; path = ../SDLnetUDP.c; sourceTree = SOURCE_ROOT; };
39 1014BAEA010A4B677F000001 /* SDL_net.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_net.h; path = ../SDL_net.h; sourceTree = SOURCE_ROOT; };
40 1014BAEB010A4B677F000001 /* SDLnet.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnet.c; path = ../SDLnet.c; sourceTree = SOURCE_ROOT; };
41 1014BAEC010A4B677F000001 /* SDLnetselect.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetselect.c; path = ../SDLnetselect.c; sourceTree = SOURCE_ROOT; };
42 1014BAED010A4B677F000001 /* SDLnetTCP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetTCP.c; path = ../SDLnetTCP.c; sourceTree = SOURCE_ROOT; };
43 1014BAEE010A4B677F000001 /* SDLnetUDP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetUDP.c; path = ../SDLnetUDP.c; sourceTree = SOURCE_ROOT; };
44 BE48FF6307AFA9A800BB41DA /* Info-Framework.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-Framework.plist"; sourceTree = "<group>"; };
45 BE48FF6407AFA9A800BB41DA /* SDL2_net.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL2_net.framework; sourceTree = BUILT_PRODUCTS_DIR; };
46 BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2_net.a; sourceTree = BUILT_PRODUCTS_DIR; };
47 BE48FF7307AFA9A900BB41DA /* Create DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Create DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
48 BE48FF8207AFAA6F00BB41DA /* SDL2.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL2.framework; path = /Library/Frameworks/SDL2.framework; sourceTree = "<absolute>"; };
49 F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
50 F59C710400D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = "<group>"; };
51 F59C710600D5CB5801000001 /* SDL_net.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SDL_net.info; sourceTree = "<group>"; };
52 /* End PBXFileReference section */
53
54 /* Begin PBXFrameworksBuildPhase section */
55 BE48FF6007AFA9A800BB41DA /* Frameworks */ = {
56 isa = PBXFrameworksBuildPhase;
57 buildActionMask = 2147483647;
58 files = (
59 BE48FF8307AFAA6F00BB41DA /* SDL2.framework in Frameworks */,
60 );
61 runOnlyForDeploymentPostprocessing = 0;
62 };
63 BE48FF6D07AFA9A800BB41DA /* Frameworks */ = {
64 isa = PBXFrameworksBuildPhase;
65 buildActionMask = 2147483647;
66 files = (
67 );
68 runOnlyForDeploymentPostprocessing = 0;
69 };
70 /* End PBXFrameworksBuildPhase section */
71
72 /* Begin PBXGroup section */
73 0153844A006D81B07F000001 /* Public Headers */ = {
74 isa = PBXGroup;
75 children = (
76 1014BAEA010A4B677F000001 /* SDL_net.h */,
77 );
78 name = "Public Headers";
79 sourceTree = "<group>";
80 };
81 034768DDFF38A45A11DB9C8B /* Products */ = {
82 isa = PBXGroup;
83 children = (
84 089C1665FE841158C02AAC07 /* Resources */,
85 BE48FF6407AFA9A800BB41DA /* SDL2_net.framework */,
86 BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */,
87 BE48FF7307AFA9A900BB41DA /* Create DMG */,
88 );
89 name = Products;
90 sourceTree = "<group>";
91 };
92 0867D691FE84028FC02AAC07 /* SDL_netFramework */ = {
93 isa = PBXGroup;
94 children = (
95 F59C70FC00D5CB5801000001 /* pkg-support */,
96 0153844A006D81B07F000001 /* Public Headers */,
97 08FB77ACFE841707C02AAC07 /* Library Source */,
98 BE48FF8007AFAA4100BB41DA /* Frameworks */,
99 034768DDFF38A45A11DB9C8B /* Products */,
100 BE48FF6307AFA9A800BB41DA /* Info-Framework.plist */,
101 );
102 name = SDL_netFramework;
103 sourceTree = "<group>";
104 };
105 089C1665FE841158C02AAC07 /* Resources */ = {
106 isa = PBXGroup;
107 children = (
108 );
109 name = Resources;
110 sourceTree = "<group>";
111 };
112 08FB77ACFE841707C02AAC07 /* Library Source */ = {
113 isa = PBXGroup;
114 children = (
115 0E06A2830119C8317F000001 /* SDLnetsys.h */,
116 1014BAEB010A4B677F000001 /* SDLnet.c */,
117 1014BAEC010A4B677F000001 /* SDLnetselect.c */,
118 1014BAED010A4B677F000001 /* SDLnetTCP.c */,
119 1014BAEE010A4B677F000001 /* SDLnetUDP.c */,
120 0E06A2810119C8317F000001 /* SDLnet.c */,
121 0E06A2820119C8317F000001 /* SDLnetselect.c */,
122 0E06A2840119C8317F000001 /* SDLnetTCP.c */,
123 0E06A2850119C8317F000001 /* SDLnetUDP.c */,
124 );
125 name = "Library Source";
126 sourceTree = "<group>";
127 };
128 BE48FF8007AFAA4100BB41DA /* Frameworks */ = {
129 isa = PBXGroup;
130 children = (
131 BE48FF8107AFAA4A00BB41DA /* Linked Frameworks */,
132 );
133 name = Frameworks;
134 sourceTree = "<group>";
135 };
136 BE48FF8107AFAA4A00BB41DA /* Linked Frameworks */ = {
137 isa = PBXGroup;
138 children = (
139 BE48FF8207AFAA6F00BB41DA /* SDL2.framework */,
140 );
141 name = "Linked Frameworks";
142 sourceTree = "<group>";
143 };
144 F59C70FC00D5CB5801000001 /* pkg-support */ = {
145 isa = PBXGroup;
146 children = (
147 F59C710100D5CB5801000001 /* resources */,
148 F59C710600D5CB5801000001 /* SDL_net.info */,
149 );
150 path = "pkg-support";
151 sourceTree = SOURCE_ROOT;
152 };
153 F59C710100D5CB5801000001 /* resources */ = {
154 isa = PBXGroup;
155 children = (
156 F59C710300D5CB5801000001 /* ReadMe.txt */,
157 F59C710400D5CB5801000001 /* Welcome.txt */,
158 );
159 path = resources;
160 sourceTree = "<group>";
161 };
162 /* End PBXGroup section */
163
164 /* Begin PBXHeadersBuildPhase section */
165 BE48FF5707AFA9A800BB41DA /* Headers */ = {
166 isa = PBXHeadersBuildPhase;
167 buildActionMask = 2147483647;
168 files = (
169 BE48FF5807AFA9A800BB41DA /* SDL_net.h in Headers */,
170 BE48FF5907AFA9A800BB41DA /* SDLnetsys.h in Headers */,
171 );
172 runOnlyForDeploymentPostprocessing = 0;
173 };
174 BE48FF6607AFA9A800BB41DA /* Headers */ = {
175 isa = PBXHeadersBuildPhase;
176 buildActionMask = 2147483647;
177 files = (
178 BE48FF6707AFA9A800BB41DA /* SDLnetsys.h in Headers */,
179 );
180 runOnlyForDeploymentPostprocessing = 0;
181 };
182 /* End PBXHeadersBuildPhase section */
183
184 /* Begin PBXNativeTarget section */
185 BE48FF5607AFA9A800BB41DA /* Framework */ = {
186 isa = PBXNativeTarget;
187 buildConfigurationList = 00F071FD0992C7C800D99510 /* Build configuration list for PBXNativeTarget "Framework" */;
188 buildPhases = (
189 BE48FF5707AFA9A800BB41DA /* Headers */,
190 BE48FF5A07AFA9A800BB41DA /* Resources */,
191 BE48FF5B07AFA9A800BB41DA /* Sources */,
192 BE48FF6007AFA9A800BB41DA /* Frameworks */,
193 BE48FF6107AFA9A800BB41DA /* Rez */,
194 AAF0666114D4748600475C7D /* Convert SDL includes to SDL Framework includes */,
195 );
196 buildRules = (
197 );
198 comments = "Installed into ~/Library/Frameworks/SDL_net.framework\n\nAdd -framework SDL_net to your linker flags\nAdd ~/Library/Frameworks/SDL_net.framework/Headers to your header search path\nAdd ~/Library/Frameworks to your library search path";
199 dependencies = (
200 );
201 name = Framework;
202 productInstallPath = "@executable_path/../Frameworks";
203 productName = SDL_net;
204 productReference = BE48FF6407AFA9A800BB41DA /* SDL2_net.framework */;
205 productType = "com.apple.product-type.framework";
206 };
207 BE48FF6507AFA9A800BB41DA /* Static Library */ = {
208 isa = PBXNativeTarget;
209 buildConfigurationList = 00F072010992C7C800D99510 /* Build configuration list for PBXNativeTarget "Static Library" */;
210 buildPhases = (
211 BE48FF6607AFA9A800BB41DA /* Headers */,
212 BE48FF6807AFA9A800BB41DA /* Sources */,
213 BE48FF6D07AFA9A800BB41DA /* Frameworks */,
214 BE48FF6E07AFA9A800BB41DA /* Rez */,
215 );
216 buildRules = (
217 );
218 dependencies = (
219 );
220 name = "Static Library";
221 productInstallPath = /usr/local/lib;
222 productName = "Static Library";
223 productReference = BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */;
224 productType = "com.apple.product-type.library.static";
225 };
226 BE48FF7007AFA9A900BB41DA /* Create DMG */ = {
227 isa = PBXNativeTarget;
228 buildConfigurationList = 00F072050992C7C800D99510 /* Build configuration list for PBXNativeTarget "Create DMG" */;
229 buildPhases = (
230 BE48FF7207AFA9A900BB41DA /* ShellScript */,
231 );
232 buildRules = (
233 );
234 dependencies = (
235 BE48FF7B07AFA9A900BB41DA /* PBXTargetDependency */,
236 );
237 name = "Create DMG";
238 productInstallPath = /usr/local/bin;
239 productName = "Standard Package";
240 productReference = BE48FF7307AFA9A900BB41DA /* Create DMG */;
241 productType = "com.apple.product-type.tool";
242 };
243 /* End PBXNativeTarget section */
244
245 /* Begin PBXProject section */
246 0867D690FE84028FC02AAC07 /* Project object */ = {
247 isa = PBXProject;
248 attributes = {
249 LastUpgradeCheck = 0420;
250 };
251 buildConfigurationList = 00F072090992C7C800D99510 /* Build configuration list for PBXProject "SDL_net" */;
252 compatibilityVersion = "Xcode 3.2";
253 developmentRegion = English;
254 hasScannedForEncodings = 1;
255 knownRegions = (
256 en,
257 );
258 mainGroup = 0867D691FE84028FC02AAC07 /* SDL_netFramework */;
259 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
260 projectDirPath = "";
261 projectRoot = "";
262 targets = (
263 BE48FF5607AFA9A800BB41DA /* Framework */,
264 BE48FF6507AFA9A800BB41DA /* Static Library */,
265 BE48FF7007AFA9A900BB41DA /* Create DMG */,
266 );
267 };
268 /* End PBXProject section */
269
270 /* Begin PBXResourcesBuildPhase section */
271 BE48FF5A07AFA9A800BB41DA /* Resources */ = {
272 isa = PBXResourcesBuildPhase;
273 buildActionMask = 2147483647;
274 files = (
275 );
276 runOnlyForDeploymentPostprocessing = 0;
277 };
278 /* End PBXResourcesBuildPhase section */
279
280 /* Begin PBXRezBuildPhase section */
281 BE48FF6107AFA9A800BB41DA /* Rez */ = {
282 isa = PBXRezBuildPhase;
283 buildActionMask = 2147483647;
284 files = (
285 );
286 runOnlyForDeploymentPostprocessing = 0;
287 };
288 BE48FF6E07AFA9A800BB41DA /* Rez */ = {
289 isa = PBXRezBuildPhase;
290 buildActionMask = 2147483647;
291 files = (
292 );
293 runOnlyForDeploymentPostprocessing = 0;
294 };
295 /* End PBXRezBuildPhase section */
296
297 /* Begin PBXShellScriptBuildPhase section */
298 AAF0666114D4748600475C7D /* Convert SDL includes to SDL Framework includes */ = {
299 isa = PBXShellScriptBuildPhase;
300 buildActionMask = 2147483647;
301 files = (
302 );
303 inputPaths = (
304 );
305 name = "Convert SDL includes to SDL Framework includes";
306 outputPaths = (
307 );
308 runOnlyForDeploymentPostprocessing = 0;
309 shellPath = /bin/sh;
310 shellScript = "cd $SYMROOT/$CONFIGURATION/$PUBLIC_HEADERS_FOLDER_PATH\nHEADER=SDL_net.h\nsed 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' <$HEADER >$HEADER.new\nmv $HEADER.new $HEADER";
311 };
312 BE48FF7207AFA9A900BB41DA /* ShellScript */ = {
313 isa = PBXShellScriptBuildPhase;
314 buildActionMask = 2147483647;
315 files = (
316 );
317 runOnlyForDeploymentPostprocessing = 0;
318 shellPath = /bin/sh;
319 shellScript = "# clean up the framework, remove headers, extra files\nPRODUCT_NAME=SDL2_net\nmkdir -p build/dmg-tmp\n`xcode-select -print-path`/Tools/CpMac -r $TARGET_BUILD_DIR/$PRODUCT_NAME.framework build/dmg-tmp/\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nrm -rf build/dmg-tmp/.DS_Store\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname $PRODUCT_NAME -srcfolder build/dmg-tmp build/$PRODUCT_NAME.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
320 };
321 /* End PBXShellScriptBuildPhase section */
322
323 /* Begin PBXSourcesBuildPhase section */
324 BE48FF5B07AFA9A800BB41DA /* Sources */ = {
325 isa = PBXSourcesBuildPhase;
326 buildActionMask = 2147483647;
327 files = (
328 BE48FF5C07AFA9A800BB41DA /* SDLnet.c in Sources */,
329 BE48FF5D07AFA9A800BB41DA /* SDLnetselect.c in Sources */,
330 BE48FF5E07AFA9A800BB41DA /* SDLnetTCP.c in Sources */,
331 BE48FF5F07AFA9A800BB41DA /* SDLnetUDP.c in Sources */,
332 );
333 runOnlyForDeploymentPostprocessing = 0;
334 };
335 BE48FF6807AFA9A800BB41DA /* Sources */ = {
336 isa = PBXSourcesBuildPhase;
337 buildActionMask = 2147483647;
338 files = (
339 BE48FF6907AFA9A800BB41DA /* SDLnet.c in Sources */,
340 BE48FF6A07AFA9A800BB41DA /* SDLnetselect.c in Sources */,
341 BE48FF6B07AFA9A800BB41DA /* SDLnetTCP.c in Sources */,
342 BE48FF6C07AFA9A800BB41DA /* SDLnetUDP.c in Sources */,
343 );
344 runOnlyForDeploymentPostprocessing = 0;
345 };
346 /* End PBXSourcesBuildPhase section */
347
348 /* Begin PBXTargetDependency section */
349 BE48FF7B07AFA9A900BB41DA /* PBXTargetDependency */ = {
350 isa = PBXTargetDependency;
351 target = BE48FF5607AFA9A800BB41DA /* Framework */;
352 targetProxy = BE48FF7A07AFA9A900BB41DA /* PBXContainerItemProxy */;
353 };
354 /* End PBXTargetDependency section */
355
356 /* Begin XCBuildConfiguration section */
357 00F071FE0992C7C800D99510 /* Debug */ = {
358 isa = XCBuildConfiguration;
359 buildSettings = {
360 DYLIB_COMPATIBILITY_VERSION = 1;
361 DYLIB_CURRENT_VERSION = 9;
362 FRAMEWORK_VERSION = A;
363 INFOPLIST_FILE = "Info-Framework.plist";
364 INSTALL_PATH = "@executable_path/../Frameworks";
365 WRAPPER_EXTENSION = framework;
366 };
367 name = Debug;
368 };
369 00F071FF0992C7C800D99510 /* Release */ = {
370 isa = XCBuildConfiguration;
371 buildSettings = {
372 DYLIB_COMPATIBILITY_VERSION = 1;
373 DYLIB_CURRENT_VERSION = 9;
374 FRAMEWORK_VERSION = A;
375 INFOPLIST_FILE = "Info-Framework.plist";
376 INSTALL_PATH = "@executable_path/../Frameworks";
377 WRAPPER_EXTENSION = framework;
378 };
379 name = Release;
380 };
381 00F072020992C7C800D99510 /* Debug */ = {
382 isa = XCBuildConfiguration;
383 buildSettings = {
384 DYLIB_COMPATIBILITY_VERSION = 1;
385 DYLIB_CURRENT_VERSION = 1;
386 LIBRARY_STYLE = STATIC;
387 OTHER_LIBTOOL_FLAGS = "";
388 OTHER_REZFLAGS = "";
389 REZ_EXECUTABLE = YES;
390 SECTORDER_FLAGS = "";
391 SKIP_INSTALL = YES;
392 };
393 name = Debug;
394 };
395 00F072030992C7C800D99510 /* Release */ = {
396 isa = XCBuildConfiguration;
397 buildSettings = {
398 DYLIB_COMPATIBILITY_VERSION = 1;
399 DYLIB_CURRENT_VERSION = 1;
400 LIBRARY_STYLE = STATIC;
401 OTHER_LIBTOOL_FLAGS = "";
402 OTHER_REZFLAGS = "";
403 REZ_EXECUTABLE = YES;
404 SECTORDER_FLAGS = "";
405 SKIP_INSTALL = YES;
406 };
407 name = Release;
408 };
409 00F072060992C7C800D99510 /* Debug */ = {
410 isa = XCBuildConfiguration;
411 buildSettings = {
412 GCC_DYNAMIC_NO_PIC = NO;
413 GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
414 GCC_OPTIMIZATION_LEVEL = 0;
415 OTHER_CFLAGS = "";
416 OTHER_LDFLAGS = "";
417 OTHER_REZFLAGS = "";
418 PRODUCT_NAME = "Create DMG";
419 REZ_EXECUTABLE = YES;
420 SECTORDER_FLAGS = "";
421 WARNING_CFLAGS = (
422 "-Wmost",
423 "-Wno-four-char-constants",
424 "-Wno-unknown-pragmas",
425 );
426 ZERO_LINK = YES;
427 };
428 name = Debug;
429 };
430 00F072070992C7C800D99510 /* Release */ = {
431 isa = XCBuildConfiguration;
432 buildSettings = {
433 OTHER_CFLAGS = "";
434 OTHER_LDFLAGS = "";
435 OTHER_REZFLAGS = "";
436 PRODUCT_NAME = "Create DMG";
437 REZ_EXECUTABLE = YES;
438 SECTORDER_FLAGS = "";
439 WARNING_CFLAGS = (
440 "-Wmost",
441 "-Wno-four-char-constants",
442 "-Wno-unknown-pragmas",
443 );
444 ZERO_LINK = NO;
445 };
446 name = Release;
447 };
448 00F0720A0992C7C800D99510 /* Debug */ = {
449 isa = XCBuildConfiguration;
450 buildSettings = {
451 ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
452 FRAMEWORK_SEARCH_PATHS = (
453 "$(HOME)/Library/Frameworks",
454 /Library/Frameworks,
455 );
456 GCC_OPTIMIZATION_LEVEL = 0;
457 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
458 HEADER_SEARCH_PATHS = (
459 "$(HOME)/Library/Frameworks/SDL.framework/Headers",
460 /Library/Frameworks/SDL.framework/Headers,
461 );
462 MACOSX_DEPLOYMENT_TARGET = 10.5;
463 PRODUCT_NAME = SDL2_net;
464 SDKROOT = macosx;
465 USER_HEADER_SEARCH_PATHS = "$(HOME)/Library/Frameworks/SDL2.framework/Headers /Library/Frameworks/SDL2.framework/Headers";
466 };
467 name = Debug;
468 };
469 00F0720B0992C7C800D99510 /* Release */ = {
470 isa = XCBuildConfiguration;
471 buildSettings = {
472 ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
473 DEPLOYMENT_POSTPROCESSING = YES;
474 FRAMEWORK_SEARCH_PATHS = (
475 "$(HOME)/Library/Frameworks",
476 /Library/Frameworks,
477 );
478 GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
479 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
480 HEADER_SEARCH_PATHS = (
481 "$(HOME)/Library/Frameworks/SDL.framework/Headers",
482 /Library/Frameworks/SDL.framework/Headers,
483 );
484 MACOSX_DEPLOYMENT_TARGET = 10.5;
485 PRODUCT_NAME = SDL2_net;
486 SDKROOT = macosx;
487 SEPARATE_STRIP = YES;
488 STRIP_STYLE = "non-global";
489 USER_HEADER_SEARCH_PATHS = "$(HOME)/Library/Frameworks/SDL2.framework/Headers /Library/Frameworks/SDL2.framework/Headers";
490 };
491 name = Release;
492 };
493 /* End XCBuildConfiguration section */
494
495 /* Begin XCConfigurationList section */
496 00F071FD0992C7C800D99510 /* Build configuration list for PBXNativeTarget "Framework" */ = {
497 isa = XCConfigurationList;
498 buildConfigurations = (
499 00F071FE0992C7C800D99510 /* Debug */,
500 00F071FF0992C7C800D99510 /* Release */,
501 );
502 defaultConfigurationIsVisible = 0;
503 defaultConfigurationName = Debug;
504 };
505 00F072010992C7C800D99510 /* Build configuration list for PBXNativeTarget "Static Library" */ = {
506 isa = XCConfigurationList;
507 buildConfigurations = (
508 00F072020992C7C800D99510 /* Debug */,
509 00F072030992C7C800D99510 /* Release */,
510 );
511 defaultConfigurationIsVisible = 0;
512 defaultConfigurationName = Debug;
513 };
514 00F072050992C7C800D99510 /* Build configuration list for PBXNativeTarget "Create DMG" */ = {
515 isa = XCConfigurationList;
516 buildConfigurations = (
517 00F072060992C7C800D99510 /* Debug */,
518 00F072070992C7C800D99510 /* Release */,
519 );
520 defaultConfigurationIsVisible = 0;
521 defaultConfigurationName = Debug;
522 };
523 00F072090992C7C800D99510 /* Build configuration list for PBXProject "SDL_net" */ = {
524 isa = XCConfigurationList;
525 buildConfigurations = (
526 00F0720A0992C7C800D99510 /* Debug */,
527 00F0720B0992C7C800D99510 /* Release */,
528 );
529 defaultConfigurationIsVisible = 0;
530 defaultConfigurationName = Debug;
531 };
532 /* End XCConfigurationList section */
533 };
534 rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
535 }
+0
-272
Xcode/package less more
0 #! /bin/csh -ef
1
2 set prog = `/usr/bin/basename $0`
3 set usage = "Usage: $prog [-f] root-dir info-file [tiff-file] [-d dest-dir] [-r resource-dir] [-traditional | -gnutar]"
4 set noglob
5
6 if (-x /usr/bin/mkbom) then
7 set mkbom=/usr/bin/mkbom
8 set lsbom=/usr/bin/lsbom
9 else
10 set mkbom=/usr/etc/mkbom
11 set lsbom=/usr/etc/lsbom
12 endif
13
14 if (-x /usr/bin/awk) then
15 set awk=/usr/bin/awk
16 else
17 set awk=/bin/awk
18 endif
19
20 set gnutar=/usr/bin/gnutar
21 set tar=/usr/bin/tar
22 set pax=/bin/pax
23
24 # gather parameters
25 if ($#argv == 0) then
26 echo $usage
27 exit(1)
28 endif
29
30 while ( $#argv > 0 )
31 switch ( $argv[1] )
32 case -d:
33 if ( $?destDir ) then
34 echo ${prog}: dest-dir parameter already set to ${destDir}.
35 echo $usage
36 exit(1)
37 else if ( $#argv < 2 ) then
38 echo ${prog}: -d option requires destination directory.
39 echo $usage
40 exit(1)
41 else
42 set destDir = $argv[2]
43 shift; shift
44 breaksw
45 endif
46 case -f:
47 if ( $?rootDir ) then
48 echo ${prog}: root-dir parameter already set to ${rootDir}.
49 echo $usage
50 exit(1)
51 else if ( $#argv < 2 ) then
52 echo ${prog}: -f option requires package root directory.
53 echo $usage
54 exit(1)
55 else
56 set rootDir = $argv[2]
57 set fflag
58 shift; shift
59 breaksw
60 endif
61 case -r:
62 if ( $?resDir ) then
63 echo ${prog}: resource-dir parameter already set to ${resDir}.
64 echo $usage
65 exit(1)
66 else if ( $#argv < 2 ) then
67 echo ${prog}: -r option requires package resource directory.
68 echo $usage
69 exit(1)
70 else
71 set resDir = $argv[2]
72 shift; shift
73 breaksw
74 endif
75 case -traditional:
76 set usetar
77 unset usegnutar
78 unset usepax
79 breaksw
80 case -gnutar:
81 set usegnutar
82 unset usepax
83 unset usetar
84 case -B:
85 # We got long file names, better use bigtar instead
86 #set archiver = /NextAdmin/Installer.app/Resources/installer_bigtar
87 echo 2>&1 ${prog}: -B flag is no longer relevant.
88 shift
89 breaksw
90 case -*:
91 echo ${prog}: Unknown option: $argv[1]
92 echo $usage
93 exit(1)
94 case *.info:
95 if ( $?info ) then
96 echo ${prog}: info-file parameter already set to ${info}.
97 echo $usage
98 exit(1)
99 else
100 set info = "$argv[1]"
101 shift
102 breaksw
103 endif
104 case *.tiff:
105 if ( $?tiff ) then
106 echo ${prog}: tiff-file parameter already set to ${tiff}.
107 echo $usage
108 exit(1)
109 else
110 set tiff = "$argv[1]"
111 shift
112 breaksw
113 endif
114 default:
115 if ( $?rootDir ) then
116 echo ${prog}: unrecognized parameter: $argv[1]
117 echo $usage
118 exit(1)
119 else
120 set rootDir = "$argv[1]"
121 shift
122 breaksw
123 endif
124 endsw
125 end
126
127 # check for mandatory parameters
128 if ( ! $?rootDir ) then
129 echo ${prog}: missing root-dir parameter.
130 echo $usage
131 exit(1)
132 else if ( ! $?info) then
133 echo ${prog}: missing info-file parameter.
134 echo $usage
135 exit(1)
136 endif
137
138 # destDir gets default value if unset on command line
139 if ( $?destDir ) then
140 /bin/mkdir -p $destDir
141 else
142 set destDir = .
143 endif
144
145 # derive the root name for the package from the root name of the info file
146 set root = `/usr/bin/basename $info .info`
147
148 # create package directory
149 set pkg = ${destDir}/${root}.pkg
150 echo Generating Installer package $pkg ...
151 if ( -e $pkg ) /bin/rm -rf $pkg
152 /bin/mkdir -p -m 755 $pkg
153
154 # (gnu)tar/pax and compress root directory to package archive
155 echo -n " creating package archive ... "
156 if ( $?fflag ) then
157 set pkgTop = ${rootDir:t}
158 set parent = ${rootDir:h}
159 if ( "$parent" == "$pkgTop" ) set parent = "."
160 else
161 set parent = $rootDir
162 set pkgTop = .
163 endif
164 if ( $?usetar ) then
165 set pkgArchive = $pkg/$root.tar.Z
166 (cd $parent; $tar -w $pkgTop) | /usr/bin/compress -f -c > $pkgArchive
167 else if ( $?usegnutar ) then
168 set pkgArchive = $pkg/$root.tar.gz
169 (cd $parent; $gnutar zcf $pkgArchive $pkgTop)
170 else
171 set pkgArchive = $pkg/$root.pax.gz
172 (cd $parent; $pax -w -z -x cpio $pkgTop) > $pkgArchive
173 endif
174 /bin/chmod 444 $pkgArchive
175 echo done.
176
177 # copy info file to package
178 set pkgInfo = $pkg/$root.info
179 echo -n " copying ${info:t} ... "
180 /bin/cp $info $pkgInfo
181 /bin/chmod 444 $pkgInfo
182 echo done.
183
184 # copy tiff file to package
185 if ( $?tiff ) then
186 set pkgTiff = $pkg/$root.tiff
187 echo -n " copying ${tiff:t} ... "
188 /bin/cp $tiff $pkgTiff
189 /bin/chmod 444 $pkgTiff
190 echo done.
191 endif
192
193 # copy resources to package
194 if ( $?resDir ) then
195 echo -n " copying ${resDir:t} ... "
196
197 # don't want to see push/pop output
198 pushd $resDir > /dev/null
199 # get lists of resources. We'll want to change
200 # permissions on just these things later.
201 set directoriesInResDir = `find . -type d`
202 set filesInResDir = `find . -type f`
203 popd > /dev/null
204
205 # copy the resource directory contents into the package directory
206 foreach resFile (`ls $resDir`)
207 cp -r $resDir/$resFile $pkg
208 end
209
210 pushd $pkg > /dev/null
211 # Change all directories to +r+x, except the package
212 # directory itself
213 foreach resFileItem ($directoriesInResDir)
214 if ( $resFileItem != "." ) then
215 chmod 555 $resFileItem
216 endif
217 end
218 # change all flat files to read only
219 foreach resFileItem ($filesInResDir)
220 chmod 444 $resFileItem
221 end
222 popd > /dev/null
223
224 echo done.
225 endif
226
227 # generate bom file
228 set pkgBom = $pkg/$root.bom
229 echo -n " generating bom file ... "
230 /bin/rm -f $pkgBom
231 if ( $?fflag ) then
232 $mkbom $parent $pkgBom >& /dev/null
233 else
234 $mkbom $rootDir $pkgBom >& /dev/null
235 endif
236 /bin/chmod 444 $pkgArchive
237 echo done.
238
239 # generate sizes file
240 set pkgSizes = $pkg/$root.sizes
241 echo -n " generating sizes file ... "
242
243 # compute number of files in package
244 set numFiles = `$lsbom -s $pkgBom | /usr/bin/wc -l`
245
246 # compute package size when compressed
247 @ compressedSize = `/usr/bin/du -k -s $pkg | $awk '{print $1}'`
248 @ compressedSize += 3 # add 1KB each for sizes, location, status files
249
250 @ infoSize = `/bin/ls -s $pkgInfo | $awk '{print $1}'`
251 @ bomSize = `/bin/ls -s $pkgBom | $awk '{print $1}'`
252 if ( $?tiff ) then
253 @ tiffSize = `/bin/ls -s $pkgTiff | $awk '{print $1}'`
254 else
255 @ tiffSize = 0
256 endif
257
258 @ installedSize = `/usr/bin/du -k -s $rootDir | $awk '{print $1}'`
259 @ installedSize += $infoSize + $bomSize + $tiffSize + 3
260
261 # echo size parameters to sizes file
262 echo NumFiles $numFiles > $pkgSizes
263 echo InstalledSize $installedSize >> $pkgSizes
264 echo CompressedSize $compressedSize >> $pkgSizes
265 echo done.
266 echo " ... finished generating $pkg."
267
268 exit(0)
269
270 # end package
271
+0
-15
Xcode/pkg-support/SDL_net.info less more
0 Title SDL_net 1.2.5
1 Version 1
2 Description SDL_net Library for Mac OS X (http://www.libsdl.org/projects/SDL_net)
3 DefaultLocation /Library/Frameworks
4 Diskname (null)
5 DeleteWarning
6 NeedsAuthorization NO
7 DisableStop NO
8 UseUserMask NO
9 Application NO
10 Relocatable YES
11 Required NO
12 InstallOnly NO
13 RequiresReboot NO
14 InstallFat NO
+0
-27
Xcode/pkg-support/mkpackage.sh less more
0 #!/bin/sh
1
2 # Generic script to create a package with Project Builder in mind
3 # There should only be one version of this script for all projects!
4
5 FRAMEWORK="$1"
6 VARIANT="$2"
7
8 PACKAGE="$FRAMEWORK"
9 PACKAGE_RESOURCES="pkg-support/resources"
10
11 echo "Building package for $FRAMEWORK.framework"
12 echo "Will fetch resources from $PACKAGE_RESOURCES"
13 echo "Will create the package $PACKAGE.pkg"
14
15 # create a copy of the framework
16 mkdir -p build/pkg-tmp
17 /Developer/Tools/CpMac -r "build/$FRAMEWORK.framework" build/pkg-tmp/
18
19 ./package build/pkg-tmp "pkg-support/$PACKAGE.info" -d build -r "$PACKAGE_RESOURCES"
20
21 # remove temporary files
22 rm -rf build/pkg-tmp
23
24 # compress
25 (cd build; tar -zcvf "$PACKAGE.pkg.tar.gz" "$PACKAGE.pkg")
26
+0
-23
Xcode/pkg-support/resources/ReadMe.txt less more
0 SDL_net is an example portable network library for use with SDL.
1
2 The source code is available from: http://www.libsdl.org/projects/SDL_net
3
4 This library is distributed under the terms of the zlib license: http://www.zlib.net/zlib_license.html
5
6 This packages contains the SDL2_net.framework for OS X. Conforming with Apple guidelines, this framework contains both the SDL runtime component and development header files.
7
8 Requirements:
9 You must have the SDL2.framework installed.
10
11 To Install:
12 Copy the SDL2_net.framework to /Library/Frameworks
13
14 You may alternatively install it in <your home directory>/Library/Frameworks if your access privileges are not high enough. (Be aware that the Xcode templates we provide in the SDL Developer Extras package may require some adjustment for your system if you do this.)
15
16
17 (Partial) History of PB/Xcode projects:
18 2009-09-21 - Updated for 64-bit (Snow Leopard) Universal Binaries.
19 Switched to 10.4 minimum requirement.
20
21 2006-01-31 - First entry in history. Updated for Universal Binaries.
22
+0
-3
Xcode/pkg-support/resources/Welcome.txt less more
0 This package installs the SDL_net library into /Library/Frameworks. You can also install it in
1 <your home directory>/Library/Frameworks if your access privileges are not high enough.
2
+0
-252
Xcode-iOS/SDL_net.xcodeproj/project.pbxproj less more
0 // !$*UTF8*$!
1 {
2 archiveVersion = 1;
3 classes = {
4 };
5 objectVersion = 46;
6 objects = {
7
8 /* Begin PBXBuildFile section */
9 BE48FF6707AFA9A800BB41DA /* SDLnetsys.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E06A2830119C8317F000001 /* SDLnetsys.h */; };
10 BE48FF6907AFA9A800BB41DA /* SDLnet.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2810119C8317F000001 /* SDLnet.c */; };
11 BE48FF6A07AFA9A800BB41DA /* SDLnetselect.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2820119C8317F000001 /* SDLnetselect.c */; };
12 BE48FF6B07AFA9A800BB41DA /* SDLnetTCP.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2840119C8317F000001 /* SDLnetTCP.c */; };
13 BE48FF6C07AFA9A800BB41DA /* SDLnetUDP.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E06A2850119C8317F000001 /* SDLnetUDP.c */; };
14 /* End PBXBuildFile section */
15
16 /* Begin PBXFileReference section */
17 0E06A2810119C8317F000001 /* SDLnet.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnet.c; path = ../SDLnet.c; sourceTree = SOURCE_ROOT; };
18 0E06A2820119C8317F000001 /* SDLnetselect.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetselect.c; path = ../SDLnetselect.c; sourceTree = SOURCE_ROOT; };
19 0E06A2830119C8317F000001 /* SDLnetsys.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDLnetsys.h; path = ../SDLnetsys.h; sourceTree = SOURCE_ROOT; };
20 0E06A2840119C8317F000001 /* SDLnetTCP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetTCP.c; path = ../SDLnetTCP.c; sourceTree = SOURCE_ROOT; };
21 0E06A2850119C8317F000001 /* SDLnetUDP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetUDP.c; path = ../SDLnetUDP.c; sourceTree = SOURCE_ROOT; };
22 1014BAEA010A4B677F000001 /* SDL_net.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SDL_net.h; path = ../SDL_net.h; sourceTree = SOURCE_ROOT; };
23 1014BAEB010A4B677F000001 /* SDLnet.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnet.c; path = ../SDLnet.c; sourceTree = SOURCE_ROOT; };
24 1014BAEC010A4B677F000001 /* SDLnetselect.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetselect.c; path = ../SDLnetselect.c; sourceTree = SOURCE_ROOT; };
25 1014BAED010A4B677F000001 /* SDLnetTCP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetTCP.c; path = ../SDLnetTCP.c; sourceTree = SOURCE_ROOT; };
26 1014BAEE010A4B677F000001 /* SDLnetUDP.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = SDLnetUDP.c; path = ../SDLnetUDP.c; sourceTree = SOURCE_ROOT; };
27 BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2_net.a; sourceTree = BUILT_PRODUCTS_DIR; };
28 /* End PBXFileReference section */
29
30 /* Begin PBXFrameworksBuildPhase section */
31 BE48FF6D07AFA9A800BB41DA /* Frameworks */ = {
32 isa = PBXFrameworksBuildPhase;
33 buildActionMask = 2147483647;
34 files = (
35 );
36 runOnlyForDeploymentPostprocessing = 0;
37 };
38 /* End PBXFrameworksBuildPhase section */
39
40 /* Begin PBXGroup section */
41 0153844A006D81B07F000001 /* Public Headers */ = {
42 isa = PBXGroup;
43 children = (
44 1014BAEA010A4B677F000001 /* SDL_net.h */,
45 );
46 name = "Public Headers";
47 sourceTree = "<group>";
48 };
49 034768DDFF38A45A11DB9C8B /* Products */ = {
50 isa = PBXGroup;
51 children = (
52 089C1665FE841158C02AAC07 /* Resources */,
53 BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */,
54 );
55 name = Products;
56 sourceTree = "<group>";
57 };
58 0867D691FE84028FC02AAC07 /* SDL_netFramework */ = {
59 isa = PBXGroup;
60 children = (
61 0153844A006D81B07F000001 /* Public Headers */,
62 08FB77ACFE841707C02AAC07 /* Library Source */,
63 034768DDFF38A45A11DB9C8B /* Products */,
64 );
65 name = SDL_netFramework;
66 sourceTree = "<group>";
67 };
68 089C1665FE841158C02AAC07 /* Resources */ = {
69 isa = PBXGroup;
70 children = (
71 );
72 name = Resources;
73 sourceTree = "<group>";
74 };
75 08FB77ACFE841707C02AAC07 /* Library Source */ = {
76 isa = PBXGroup;
77 children = (
78 0E06A2830119C8317F000001 /* SDLnetsys.h */,
79 1014BAEB010A4B677F000001 /* SDLnet.c */,
80 1014BAEC010A4B677F000001 /* SDLnetselect.c */,
81 1014BAED010A4B677F000001 /* SDLnetTCP.c */,
82 1014BAEE010A4B677F000001 /* SDLnetUDP.c */,
83 0E06A2810119C8317F000001 /* SDLnet.c */,
84 0E06A2820119C8317F000001 /* SDLnetselect.c */,
85 0E06A2840119C8317F000001 /* SDLnetTCP.c */,
86 0E06A2850119C8317F000001 /* SDLnetUDP.c */,
87 );
88 name = "Library Source";
89 sourceTree = "<group>";
90 };
91 /* End PBXGroup section */
92
93 /* Begin PBXHeadersBuildPhase section */
94 BE48FF6607AFA9A800BB41DA /* Headers */ = {
95 isa = PBXHeadersBuildPhase;
96 buildActionMask = 2147483647;
97 files = (
98 BE48FF6707AFA9A800BB41DA /* SDLnetsys.h in Headers */,
99 );
100 runOnlyForDeploymentPostprocessing = 0;
101 };
102 /* End PBXHeadersBuildPhase section */
103
104 /* Begin PBXNativeTarget section */
105 BE48FF6507AFA9A800BB41DA /* Static Library */ = {
106 isa = PBXNativeTarget;
107 buildConfigurationList = 00F072010992C7C800D99510 /* Build configuration list for PBXNativeTarget "Static Library" */;
108 buildPhases = (
109 BE48FF6607AFA9A800BB41DA /* Headers */,
110 BE48FF6807AFA9A800BB41DA /* Sources */,
111 BE48FF6D07AFA9A800BB41DA /* Frameworks */,
112 BE48FF6E07AFA9A800BB41DA /* Rez */,
113 );
114 buildRules = (
115 );
116 dependencies = (
117 );
118 name = "Static Library";
119 productInstallPath = /usr/local/lib;
120 productName = "Static Library";
121 productReference = BE48FF6F07AFA9A900BB41DA /* libSDL2_net.a */;
122 productType = "com.apple.product-type.library.static";
123 };
124 /* End PBXNativeTarget section */
125
126 /* Begin PBXProject section */
127 0867D690FE84028FC02AAC07 /* Project object */ = {
128 isa = PBXProject;
129 attributes = {
130 LastUpgradeCheck = 0430;
131 };
132 buildConfigurationList = 00F072090992C7C800D99510 /* Build configuration list for PBXProject "SDL_net" */;
133 compatibilityVersion = "Xcode 3.2";
134 developmentRegion = English;
135 hasScannedForEncodings = 1;
136 knownRegions = (
137 English,
138 Japanese,
139 French,
140 German,
141 );
142 mainGroup = 0867D691FE84028FC02AAC07 /* SDL_netFramework */;
143 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
144 projectDirPath = "";
145 projectRoot = "";
146 targets = (
147 BE48FF6507AFA9A800BB41DA /* Static Library */,
148 );
149 };
150 /* End PBXProject section */
151
152 /* Begin PBXRezBuildPhase section */
153 BE48FF6E07AFA9A800BB41DA /* Rez */ = {
154 isa = PBXRezBuildPhase;
155 buildActionMask = 2147483647;
156 files = (
157 );
158 runOnlyForDeploymentPostprocessing = 0;
159 };
160 /* End PBXRezBuildPhase section */
161
162 /* Begin PBXSourcesBuildPhase section */
163 BE48FF6807AFA9A800BB41DA /* Sources */ = {
164 isa = PBXSourcesBuildPhase;
165 buildActionMask = 2147483647;
166 files = (
167 BE48FF6907AFA9A800BB41DA /* SDLnet.c in Sources */,
168 BE48FF6A07AFA9A800BB41DA /* SDLnetselect.c in Sources */,
169 BE48FF6B07AFA9A800BB41DA /* SDLnetTCP.c in Sources */,
170 BE48FF6C07AFA9A800BB41DA /* SDLnetUDP.c in Sources */,
171 );
172 runOnlyForDeploymentPostprocessing = 0;
173 };
174 /* End PBXSourcesBuildPhase section */
175
176 /* Begin XCBuildConfiguration section */
177 00F072020992C7C800D99510 /* Debug */ = {
178 isa = XCBuildConfiguration;
179 buildSettings = {
180 DYLIB_COMPATIBILITY_VERSION = 1;
181 DYLIB_CURRENT_VERSION = 1;
182 LIBRARY_STYLE = STATIC;
183 OTHER_LDFLAGS = "";
184 PRODUCT_NAME = SDL2_net;
185 SKIP_INSTALL = YES;
186 };
187 name = Debug;
188 };
189 00F072030992C7C800D99510 /* Release */ = {
190 isa = XCBuildConfiguration;
191 buildSettings = {
192 DYLIB_COMPATIBILITY_VERSION = 1;
193 DYLIB_CURRENT_VERSION = 1;
194 LIBRARY_STYLE = STATIC;
195 OTHER_LDFLAGS = "";
196 PRODUCT_NAME = SDL2_net;
197 SKIP_INSTALL = YES;
198 };
199 name = Release;
200 };
201 00F0720A0992C7C800D99510 /* Debug */ = {
202 isa = XCBuildConfiguration;
203 buildSettings = {
204 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
205 GCC_OPTIMIZATION_LEVEL = 0;
206 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
207 HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../SDL/include\"";
208 IPHONEOS_DEPLOYMENT_TARGET = 3.0;
209 SDKROOT = iphoneos;
210 TARGETED_DEVICE_FAMILY = "1,2";
211 };
212 name = Debug;
213 };
214 00F0720B0992C7C800D99510 /* Release */ = {
215 isa = XCBuildConfiguration;
216 buildSettings = {
217 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
218 GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
219 GCC_SYMBOLS_PRIVATE_EXTERN = YES;
220 HEADER_SEARCH_PATHS = "\"$(SRCROOT)/../../SDL/include\"";
221 IPHONEOS_DEPLOYMENT_TARGET = 3.0;
222 SDKROOT = iphoneos;
223 TARGETED_DEVICE_FAMILY = "1,2";
224 };
225 name = Release;
226 };
227 /* End XCBuildConfiguration section */
228
229 /* Begin XCConfigurationList section */
230 00F072010992C7C800D99510 /* Build configuration list for PBXNativeTarget "Static Library" */ = {
231 isa = XCConfigurationList;
232 buildConfigurations = (
233 00F072020992C7C800D99510 /* Debug */,
234 00F072030992C7C800D99510 /* Release */,
235 );
236 defaultConfigurationIsVisible = 0;
237 defaultConfigurationName = Debug;
238 };
239 00F072090992C7C800D99510 /* Build configuration list for PBXProject "SDL_net" */ = {
240 isa = XCConfigurationList;
241 buildConfigurations = (
242 00F0720A0992C7C800D99510 /* Debug */,
243 00F0720B0992C7C800D99510 /* Release */,
244 );
245 defaultConfigurationIsVisible = 0;
246 defaultConfigurationName = Debug;
247 };
248 /* End XCConfigurationList section */
249 };
250 rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
251 }
66
77 # serial 1
88
9 dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
9 dnl AM_PATH_SDL2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1010 dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
1111 dnl
1212 AC_DEFUN([AM_PATH_SDL2],
2020 AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
2121 , enable_sdltest=yes)
2222
23 min_sdl_version=ifelse([$1], ,0.9.0,$1)
23 min_sdl_version=ifelse([$1], ,2.0.0,$1)
2424
2525 if test "x$sdl_prefix$sdl_exec_prefix" = x ; then
2626 PKG_CHECK_MODULES([SDL], [sdl2 >= $min_sdl_version],
3030 sdl_pc=no
3131 if test x$sdl_exec_prefix != x ; then
3232 sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
33 if test x${SDL_CONFIG+set} != xset ; then
34 SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
33 if test x${SDL2_CONFIG+set} != xset ; then
34 SDL2_CONFIG=$sdl_exec_prefix/bin/sdl2-config
3535 fi
3636 fi
3737 if test x$sdl_prefix != x ; then
3838 sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
39 if test x${SDL_CONFIG+set} != xset ; then
40 SDL_CONFIG=$sdl_prefix/bin/sdl2-config
39 if test x${SDL2_CONFIG+set} != xset ; then
40 SDL2_CONFIG=$sdl_prefix/bin/sdl2-config
4141 fi
4242 fi
4343 fi
4444
4545 if test "x$sdl_pc" = xyes ; then
4646 no_sdl=""
47 SDL_CONFIG="pkg-config sdl2"
47 SDL2_CONFIG="pkg-config sdl2"
4848 else
4949 as_save_PATH="$PATH"
5050 if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
5151 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
5252 fi
53 AC_PATH_PROG(SDL_CONFIG, sdl2-config, no, [$PATH])
53 AC_PATH_PROG(SDL2_CONFIG, sdl2-config, no, [$PATH])
5454 PATH="$as_save_PATH"
5555 AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
5656 no_sdl=""
5757
58 if test "$SDL_CONFIG" = "no" ; then
58 if test "$SDL2_CONFIG" = "no" ; then
5959 no_sdl=yes
6060 else
61 SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
62 SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
63
64 sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
61 SDL_CFLAGS=`$SDL2_CONFIG $sdl_config_args --cflags`
62 SDL_LIBS=`$SDL2_CONFIG $sdl_config_args --libs`
63
64 sdl_major_version=`$SDL2_CONFIG $sdl_config_args --version | \
6565 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
66 sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
66 sdl_minor_version=`$SDL2_CONFIG $sdl_config_args --version | \
6767 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
68 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
68 sdl_micro_version=`$SDL2_CONFIG $sdl_config_args --version | \
6969 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
7070 if test "x$enable_sdltest" = "xyes" ; then
7171 ac_save_CFLAGS="$CFLAGS"
129129 printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
130130 printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
131131 printf("*** best to upgrade to the required version.\n");
132 printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
132 printf("*** If sdl2-config was wrong, set the environment variable SDL2_CONFIG\n");
133133 printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
134134 printf("*** config.cache before re-running configure\n");
135135 return 1;
151151 if test "x$no_sdl" = x ; then
152152 ifelse([$2], , :, [$2])
153153 else
154 if test "$SDL_CONFIG" = "no" ; then
154 if test "$SDL2_CONFIG" = "no" ; then
155155 echo "*** The sdl2-config script installed by SDL could not be found"
156156 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
157 echo "*** your path, or set the SDL_CONFIG environment variable to the"
157 echo "*** your path, or set the SDL2_CONFIG environment variable to the"
158158 echo "*** full path to sdl2-config."
159159 else
160160 if test -f conf.sdltest ; then
185185 [ echo "*** The test program failed to compile or link. See the file config.log for the"
186186 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
187187 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
188 echo "*** may want to edit the sdl2-config script: $SDL_CONFIG" ])
188 echo "*** may want to edit the sdl2-config script: $SDL2_CONFIG" ])
189189 CFLAGS="$ac_save_CFLAGS"
190190 CXXFLAGS="$ac_save_CXXFLAGS"
191191 LIBS="$ac_save_LIBS"
773773 LIBOBJS
774774 HAVE_GUI_LIB_FALSE
775775 HAVE_GUI_LIB_TRUE
776 SDL_CONFIG
776 SDL2_CONFIG
777777 SDL_LIBS
778778 SDL_CFLAGS
779779 PKG_CONFIG
1554915549 sdl_pc=no
1555015550 if test x$sdl_exec_prefix != x ; then
1555115551 sdl_config_args="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15552 if test x${SDL_CONFIG+set} != xset ; then
15553 SDL_CONFIG=$sdl_exec_prefix/bin/sdl2-config
15552 if test x${SDL2_CONFIG+set} != xset ; then
15553 SDL2_CONFIG=$sdl_exec_prefix/bin/sdl2-config
1555415554 fi
1555515555 fi
1555615556 if test x$sdl_prefix != x ; then
1555715557 sdl_config_args="$sdl_config_args --prefix=$sdl_prefix"
15558 if test x${SDL_CONFIG+set} != xset ; then
15559 SDL_CONFIG=$sdl_prefix/bin/sdl2-config
15558 if test x${SDL2_CONFIG+set} != xset ; then
15559 SDL2_CONFIG=$sdl_prefix/bin/sdl2-config
1556015560 fi
1556115561 fi
1556215562 fi
1556315563
1556415564 if test "x$sdl_pc" = xyes ; then
1556515565 no_sdl=""
15566 SDL_CONFIG="pkg-config sdl2"
15566 SDL2_CONFIG="pkg-config sdl2"
1556715567 else
1556815568 as_save_PATH="$PATH"
1556915569 if test "x$prefix" != xNONE && test "$cross_compiling" != yes; then
1557315573 set dummy sdl2-config; ac_word=$2
1557415574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1557515575 $as_echo_n "checking for $ac_word... " >&6; }
15576 if ${ac_cv_path_SDL_CONFIG+:} false; then :
15576 if ${ac_cv_path_SDL2_CONFIG+:} false; then :
1557715577 $as_echo_n "(cached) " >&6
1557815578 else
15579 case $SDL_CONFIG in
15579 case $SDL2_CONFIG in
1558015580 [\\/]* | ?:[\\/]*)
15581 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
15581 ac_cv_path_SDL2_CONFIG="$SDL2_CONFIG" # Let the user override the test with a path.
1558215582 ;;
1558315583 *)
1558415584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1558815588 test -z "$as_dir" && as_dir=.
1558915589 for ac_exec_ext in '' $ac_executable_extensions; do
1559015590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15591 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15591 ac_cv_path_SDL2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1559215592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1559315593 break 2
1559415594 fi
1559615596 done
1559715597 IFS=$as_save_IFS
1559815598
15599 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
15599 test -z "$ac_cv_path_SDL2_CONFIG" && ac_cv_path_SDL2_CONFIG="no"
1560015600 ;;
1560115601 esac
1560215602 fi
15603 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
15604 if test -n "$SDL_CONFIG"; then
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15606 $as_echo "$SDL_CONFIG" >&6; }
15603 SDL2_CONFIG=$ac_cv_path_SDL2_CONFIG
15604 if test -n "$SDL2_CONFIG"; then
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL2_CONFIG" >&5
15606 $as_echo "$SDL2_CONFIG" >&6; }
1560715607 else
1560815608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1560915609 $as_echo "no" >&6; }
1561515615 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
1561615616 no_sdl=""
1561715617
15618 if test "$SDL_CONFIG" = "no" ; then
15618 if test "$SDL2_CONFIG" = "no" ; then
1561915619 no_sdl=yes
1562015620 else
15621 SDL_CFLAGS=`$SDL_CONFIG $sdl_config_args --cflags`
15622 SDL_LIBS=`$SDL_CONFIG $sdl_config_args --libs`
15623
15624 sdl_major_version=`$SDL_CONFIG $sdl_config_args --version | \
15621 SDL_CFLAGS=`$SDL2_CONFIG $sdl_config_args --cflags`
15622 SDL_LIBS=`$SDL2_CONFIG $sdl_config_args --libs`
15623
15624 sdl_major_version=`$SDL2_CONFIG $sdl_config_args --version | \
1562515625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15626 sdl_minor_version=`$SDL_CONFIG $sdl_config_args --version | \
15626 sdl_minor_version=`$SDL2_CONFIG $sdl_config_args --version | \
1562715627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15628 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
15628 sdl_micro_version=`$SDL2_CONFIG $sdl_config_args --version | \
1562915629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
1563015630 if test "x$enable_sdltest" = "xyes" ; then
1563115631 ac_save_CFLAGS="$CFLAGS"
1569015690 printf("\n*** 'sdl2-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
1569115691 printf("*** of SDL required is %d.%d.%d. If sdl2-config is correct, then it is\n", major, minor, micro);
1569215692 printf("*** best to upgrade to the required version.\n");
15693 printf("*** If sdl2-config was wrong, set the environment variable SDL_CONFIG\n");
15693 printf("*** If sdl2-config was wrong, set the environment variable SDL2_CONFIG\n");
1569415694 printf("*** to point to the correct copy of sdl2-config, and remove the file\n");
1569515695 printf("*** config.cache before re-running configure\n");
1569615696 return 1;
1572415724 if test "x$no_sdl" = x ; then
1572515725 :
1572615726 else
15727 if test "$SDL_CONFIG" = "no" ; then
15727 if test "$SDL2_CONFIG" = "no" ; then
1572815728 echo "*** The sdl2-config script installed by SDL could not be found"
1572915729 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15730 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15730 echo "*** your path, or set the SDL2_CONFIG environment variable to the"
1573115731 echo "*** full path to sdl2-config."
1573215732 else
1573315733 if test -f conf.sdltest ; then
1577015770 echo "*** The test program failed to compile or link. See the file config.log for the"
1577115771 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
1577215772 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15773 echo "*** may want to edit the sdl2-config script: $SDL_CONFIG"
15773 echo "*** may want to edit the sdl2-config script: $SDL2_CONFIG"
1577415774 fi
1577515775 rm -f core conftest.err conftest.$ac_objext \
1577615776 conftest$ac_exeext conftest.$ac_ext
+0
-212
debian/changelog less more
0 libsdl2-net (2.0.0) unstable; urgency=low
1
2 * Updated library version to 2.0 for consistency with SDL 2.0
3
4 -- Sam Lantinga <slouken@libsdl.org> Tue, 26 Feb 2013 15:48:41 -0800
5
6 libsdl2-net (1.2.9) unstable; urgency=low
7
8 * sdl-net for SDL2. Initial release.
9
10 -- Sam Lantinga <slouken@libsdl.org> Fri, 15 Feb 2013 13:09:44 -0800
11
12 sdl-net1.2 (1.2.7-5) unstable; urgency=low
13
14 * Add also 'Multi-Arch: same' to -dev package, since the headers are all
15 architecture-independent. Thanks to Steve Langasek. (Closes: #652873)
16
17 -- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> Wed, 21 Dec 2011 18:43:32 +0000
18
19 sdl-net1.2 (1.2.7-4) unstable; urgency=low
20
21 * Remove previous uploader, inactive for years
22 * Switch to debhelper compat level v9
23 * Build for multiarch
24 * Quell lintian warnings:
25 - binary-control-field-duplicates-source (remove field from binary package
26 libsdl-net1.2)
27
28 -- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> Mon, 19 Dec 2011 00:17:25 +0000
29
30 sdl-net1.2 (1.2.7-3) unstable; urgency=low
31
32 * New maintainer
33 - Make package as part of SDL team
34 - Add myself to uploaders, and setting DM-Upload-Allowed: yes
35 * Incorporated changes from Roman Vasiyarov <rvasiyarov@gmail.com>:
36 - Added pkg-config files (Closes: #631085)
37 * Bump Standards-Version to 3.9.2 (no changes needed)
38 * Changed debhelper compat to level 8 (level 4 before):
39 - Updated dependency on debhelper to (>= 8.0.0)
40 - Simplify a lot debian/rules file by leveraging debhelper capabilities,
41 only acting when deviating from auto behaviour
42 * Added 'source/format', with '3.0 (quilt)'
43 - Removed dependency on dpatch
44 - Convert patches, documenting and refreshing them
45 * Convert ${pkg}.dirs and ${pkg}.files into ${pkg}.install
46 * Updating 'watch' file to version=3
47 * Added Vcs-Git and Vcs-Browser in 'control' file
48 * Modifications to dependencies and build options:
49 - Depending on newer dpkg-dev
50 - Depending on SDL >= 1.2.14 (instead of misc old versions)
51 - Removed Conflict dependencies on libsdl-net1.1. It's very old and not
52 present in any of the last Debian releases, long unsupported.
53 * debian/copyright: updated and converted to DEP-5
54 * Stop shipping .la files (Closes: #633328). The command given in the bug
55 report to remove dependency_libs is not working, and I don't think that any
56 Debian package use .la anyway -- 0 rdepends for the -dev package.
57
58 -- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> Sun, 04 Dec 2011 10:12:42 +0000
59
60 sdl-net1.2 (1.2.7-2) unstable; urgency=low
61
62 * Fix the clean rule to check for Makefile first
63
64 -- Mike Furr <mfurr@debian.org> Thu, 30 Aug 2007 16:58:14 -0400
65
66 sdl-net1.2 (1.2.7-1) unstable; urgency=low
67
68 * New upstream release (Closes: #399914, #437003)
69 * Fixed copyright file to say LGPL instead of GPL (Closes: #433475)
70 * Fixed several lintian errors (pkg is now binNMU-safe).
71 * Updated to latest standards version (no changes).
72
73 -- Mike Furr <mfurr@debian.org> Thu, 30 Aug 2007 16:32:29 -0400
74
75 sdl-net1.2 (1.2.5-7) unstable; urgency=low
76
77 * Argh, added semicolon patch to list of patches to actually apply
78 * Hand verified resulting package has this fix!
79
80 -- Mike Furr <mfurr@debian.org> Wed, 29 Mar 2006 15:33:39 -0500
81
82 sdl-net1.2 (1.2.5-6) unstable; urgency=low
83
84 * Accidentally dropped semicolon patch when I switched to dpatch.
85 Added patch back to remove ; at end of extern block in SDL_net.h
86 (Closes: 346132)
87
88 -- Mike Furr <mfurr@debian.org> Sun, 8 Jan 2006 15:02:27 -0500
89
90 sdl-net1.2 (1.2.5-5) unstable; urgency=low
91
92 * Touch auto-* files so that make doesn't try to rebuild them
93 after they are patched by the .diff.gz (Closes: 327316)
94
95 -- Mike Furr <mfurr@debian.org> Mon, 3 Oct 2005 22:17:12 -0400
96
97 sdl-net1.2 (1.2.5-4) unstable; urgency=low
98
99 * dpatch-ification
100 * Added patch from Sam Hocevar which doesn't byteswap on big endian
101 arches when SDL_DATA_ALIGNED is true
102 * Changed comment for SDLNet_UDP_Bind to reflect implementation
103 - Since upstream has not responded to this (and seems dead), and a fair
104 number of packages use sdl-net, I don't want to change the behavior
105 just for debian, only properly document the actual behavior.
106 - (Closes: 211570)
107 * Updated libtool for kfreebsd-gnu support (Closes: 278595)
108 * Updated debian/copyright to say GPL is the license instead of copyright
109 (Closes: 290202)
110
111 -- Mike Furr <mfurr@debian.org> Sat, 2 Jul 2005 17:51:00 -0400
112
113 sdl-net1.2 (1.2.5-3) unstable; urgency=low
114
115 * Improved the package description (Closes: 209732)
116 * Added ARM to list in SDL_net.h of CPU's that are have data alignment
117 issues. (Closes: 212570) [also forwared this upstream]
118
119 -- Mike Furr <mfurr@debian.org> Tue, 7 Oct 2003 23:15:39 -0400
120
121 sdl-net1.2 (1.2.5-2) unstable; urgency=low
122
123 * Removed illegal semicolon at end of extern "C" block
124 in SDL_net.h. (Closes: 204186)
125
126 -- Mike Furr <mfurr@debian.org> Wed, 6 Aug 2003 21:01:30 -0400
127
128 sdl-net1.2 (1.2.5-1) unstable; urgency=low
129
130 * New upstream release.
131 * Updated control's standard's version to 3.5.9
132 * Added upstream's CHANGES files to the package.
133
134 -- Mike Furr <mfurr@debian.org> Sun, 20 Apr 2003 19:06:35 -0400
135
136 sdl-net1.2 (1.2.4-3) unstable; urgency=low
137
138 * New Maintainer (Closes: 188630)
139 * control: Changed -dev package to section libdevel.
140 * rules: updated config* handling as guided by the autotools-dev
141 README.Debian.gz
142
143 -- Mike Furr <mfurr@debian.org> Mon, 14 Apr 2003 22:19:50 -0400
144
145 sdl-net1.2 (1.2.4-2) unstable; urgency=low
146
147 * rules: changed DEB_BUILD_OPTIONS to policy 3.5.7.0
148 * control: Standards-Version: 3.5.8.0
149 * watch: added uscan watch file
150 * control: removed superfluous automake, autoconf and libtool dependencies
151
152 -- Arthur Korn <arthur@korn.ch> Thu, 12 Dec 2002 01:07:18 +0100
153
154 sdl-net1.2 (1.2.4-1) unstable; urgency=low
155
156 * New upstream release
157 - now build depends on libsdl1.2-dev (>= 1.2.4)
158
159 -- Arthur Korn <arthur@korn.ch> Wed, 30 Oct 2002 11:25:56 +0100
160
161 sdl-net1.2 (1.2.2-1) unstable; urgency=low
162
163 * New upstream release
164
165 -- Arthur Korn <arthur@korn.ch> Thu, 18 Oct 2001 19:46:18 +0200
166
167 sdl-net1.2 (1.2.0-5.1) unstable; urgency=low
168
169 * NMU
170 * acinclude.m4: remove AM_PATH_SDL macro
171 * configure.in: don't add SDL_LIBS to LIBS
172 * re-ran libtoolize --force-copy; aclocal; automake --foreign; autoconf
173 with libsdl1.2-dev 1.2.2-3.1 installed
174 * debian/control: update relationships with libsdl1.2-dev to (>= 1.2.2-3.1)
175
176 -- Branden Robinson <branden@debian.org> Mon, 15 Oct 2001 13:30:48 -0500
177
178 sdl-net1.2 (1.2.0-5) unstable; urgency=low
179
180 * Standards-Version 3.5.4.0, no changes necessary.
181
182 -- Arthur Korn <arthur@korn.ch> Sun, 3 Jun 2001 18:08:31 +0200
183
184 sdl-net1.2 (1.2.0-4) unstable; urgency=low
185
186 * [brownbag] /usr/lib symlinks to -dev, actual .so to the libsdl-net1.2
187 * reverted that lack-of-coffeine symptom of crap I did last time with
188 that conflict ...
189
190 -- Arthur Korn <arthur@korn.ch> Mon, 7 May 2001 23:40:49 +0200
191
192 sdl-net1.2 (1.2.0-3) unstable; urgency=low
193
194 * changed section off the -dev package to "devel" (override disparity).
195 * added missing Conflicts: libsdl-net1.1 for libsdl-net1.2
196
197 -- Arthur Korn <arthur@korn.ch> Mon, 7 May 2001 23:05:12 +0200
198
199 sdl-net1.2 (1.2.0-2) unstable; urgency=low
200
201 * changed section to "libs", correcting override disparity.
202 * added Conflicts and Replaces on libsdl-net1.1-dev (common files).
203 * so this is libsdl-net1.2 then, closes: #94455.
204
205 -- Arthur Korn <arthur@korn.ch> Thu, 26 Apr 2001 16:38:04 +0200
206
207 sdl-net1.2 (1.2.0-1) unstable; urgency=low
208
209 * Initial Release.
210
211 -- Arthur Korn <arthur@debian.org> Sun, 22 Apr 2001 18:07:38 +0200
+0
-1
debian/compat less more
0 9
+0
-39
debian/control less more
0 Source: libsdl2-net
1 Section: libs
2 Priority: optional
3 Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
4 Uploaders: Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>,
5 Sam Lantinga <slouken@libsdl.org>
6 Standards-Version: 3.9.2
7 Build-Depends: debhelper (>= 8.9.0~),
8 dh-autoreconf,
9 dpkg-dev (>= 1.16.1~),
10 libsdl2-dev (>= 2.0.0),
11 Homepage: http://www.libsdl.org/projects/SDL_net/
12
13
14 Package: libsdl2-net
15 Architecture: any
16 Multi-Arch: same
17 Pre-Depends: ${misc:Pre-Depends}
18 Depends: ${misc:Depends},
19 ${shlibs:Depends}
20 Description: Network library for Simple DirectMedia Layer 2.0
21 This is a small, low-level, cross-platform networking library.
22 .
23 This package contains the shared library.
24
25 Package: libsdl2-net-dev
26 Section: libdevel
27 Architecture: any
28 Multi-Arch: same
29 Depends: ${misc:Depends},
30 libsdl2-net (= ${binary:Version}),
31 libc6-dev,
32 libsdl2-dev (>= 2.0.0)
33 Description: Network library for Simple DirectMedia Layer 2.0
34 This is a small, low-level, cross-platform networking library.
35 .
36 .
37 This package contains files needed if you wish to use the SDL net
38 library in your own programs.
+0
-43
debian/copyright less more
0 Format: http://dep.debian.net/deps/dep5/
1 Upstream-Name: SDL_net
2 Upstream-Contact: Sam Lantinga <slouken@libsdl.org>
3 Roy Wood <roy@centricsystems.ca>
4 Source: http://www.libsdl.org/projects/SDL_net/
5
6 Files: *
7 Copyright: 1997-2013 Sam Lantinga
8 License: zlib/libpng
9
10 Files: debian/*
11 Copyright: 2011, Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
12 2003-2007 Mike Furr <mfurr@debian.org>
13 2001, Branden Robinson <branden@debian.org>
14 2001-2002 Arthur Korn <arthur@korn.ch> Thu, 12 Dec 2002 01:07:18 +0100
15 License: LGPL-2+
16
17 License: zlib/libpng
18 This software is provided 'as-is', without any express or implied
19 warranty. In no event will the authors be held liable for any damages
20 arising from the use of this software.
21 .
22 Permission is granted to anyone to use this software for any purpose,
23 including commercial applications, and to alter it and redistribute it
24 freely, subject to the following restrictions:
25 .
26 1. The origin of this software must not be misrepresented; you must not
27 claim that you wrote the original software. If you use this software
28 in a product, an acknowledgment in the product documentation would be
29 appreciated but is not required.
30 2. Altered source versions must be plainly marked as such, and must not be
31 misrepresented as being the original software.
32 3. This notice may not be removed or altered from any source distribution.
33
34 License: LGPL-2+
35 This program is free software; you can redistribute it and/or modify
36 it under the terms of the GNU Lesser General Public License as
37 published by the Free Software Foundation; either version 2 of the
38 License, or (at your option) any later version.
39 .
40 On Debian systems, the complete text of version 2 of the GNU Lesser
41 Public License can be found in `/usr/share/common-licenses/LGPL-2'.
42
+0
-1
debian/docs less more
0 README
+0
-3
debian/libsdl2-net-dev.examples less more
0 chat.cpp
1 chatd.c
2 chat.h
+0
-4
debian/libsdl2-net-dev.install less more
0 usr/include
1 usr/lib/*/lib*.a
2 usr/lib/*/lib*.so
3 usr/lib/*/pkgconfig
+0
-1
debian/libsdl2-net.install less more
0 usr/lib/*/lib*.so.*
+0
-29
debian/rules less more
0 #!/usr/bin/make -f
1
2 #export DH_VERBOSE=1
3
4
5 export DEB_CFLAGS_MAINT_APPEND = -pipe -Wall
6 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,-Bsymbolic -Wl,--as-needed
7
8
9 # according to help: speeds up one-time build
10 confflags = --disable-dependency-tracking
11 # GUI needed only for examples, don't even try to support it
12 confflags += --disable-gui
13
14
15 %:
16 dh $@ --with autoreconf --parallel
17
18 override_dh_autoreconf:
19 dh_autoreconf ./autogen.sh
20
21 override_dh_auto_configure:
22 dh_auto_configure -- $(confflags)
23
24 override_dh_auto_installchangelogs:
25 dh_auto_installchangelogs -- CHANGES
26
27 override_dh_compress:
28 dh_compress -Xchatd.c -Xchat.cpp -Xchat.h
+0
-1
debian/source/format less more
0 3.0 (native)
+0
-2
debian/watch less more
0 version=3
1 http://www.libsdl.org/projects/SDL_net/release/SDL_net-([\d\.]+)\.tar\..*
2727 int i, count;
2828
2929 count = SDLNet_GetLocalAddresses(addresses, MAX_ADDRESSES);
30 printf("Found %d local addresses\n", count);
30 SDL_Log("Found %d local addresses", count);
3131 for ( i = 0; i < count; ++i ) {
32 printf("%d: %d.%d.%d.%d - %s\n", i+1,
32 SDL_Log("%d: %d.%d.%d.%d - %s", i+1,
3333 (addresses[i].host >> 0) & 0xFF,
3434 (addresses[i].host >> 8) & 0xFF,
3535 (addresses[i].host >> 16) & 0xFF,