1 | XCOMM |
---|
2 | XCOMM |
---|
3 | XCOMM Copyright (C) 1989-95 GROUPE BULL |
---|
4 | XCOMM |
---|
5 | XCOMM Permission is hereby granted, free of charge, to any person obtaining a |
---|
6 | XCOMM copy of this software and associated documentation files |
---|
7 | XCOMM (the "Software"), to deal in the Software without restriction, including |
---|
8 | XCOMM without limitation the rights to use, copy, modify, merge, publish, |
---|
9 | XCOMM distribute, sublicense, and/or sell copies of the Software, and to permit |
---|
10 | XCOMM persons to whom the Software is furnished to do so, subject to the |
---|
11 | XCOMM following conditions: |
---|
12 | XCOMM The above copyright notice and this permission notice shall be included |
---|
13 | XCOMM in all copies or substantial portions of the Software. |
---|
14 | XCOMM |
---|
15 | XCOMM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
---|
16 | XCOMM OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
---|
17 | XCOMM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
---|
18 | XCOMM IN NO EVENT SHALL GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
---|
19 | XCOMM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
---|
20 | XCOMM FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
21 | XCOMM DEALINGS IN THE SOFTWARE. |
---|
22 | XCOMM |
---|
23 | XCOMM Except as contained in this notice, the name of GROUPE BULL shall not be |
---|
24 | XCOMM used in advertising or otherwise to promote the sale, use or other |
---|
25 | XCOMM dealings in this Software without prior written authorization from |
---|
26 | XCOMM GROUPE BULL. |
---|
27 | XCOMM |
---|
28 | |
---|
29 | XCOMM |
---|
30 | XCOMM XPM Imakefile - Arnaud LE HORS |
---|
31 | XCOMM |
---|
32 | |
---|
33 | |
---|
34 | XCOMM You may need to modify the following DEFINES variable as follows: |
---|
35 | XCOMM if your system doesn't provide strcasecmp add -DNEED_STRCASECMP |
---|
36 | XCOMM if your system doesn't provide strdup add -DNEED_STRDUP |
---|
37 | XCOMM if your system doesn't provide pipe add -DNO_ZPIPE |
---|
38 | XCOMM if on your system sprintf doesn't return the number of bytes transmitted |
---|
39 | XCOMM add -DVOID_SPRINTF |
---|
40 | |
---|
41 | #if defined(UltrixArchitecture) || \ |
---|
42 | (defined(MipsArchitecture) && !defined(SGIArchitecture)) |
---|
43 | STRDUPDEF = -DNEED_STRDUP |
---|
44 | #else |
---|
45 | # if defined(Win32Architecture) || defined(USLArchitecture) || \ |
---|
46 | (defined(HasStrcasecmp) && !HasStrcasecmp) |
---|
47 | STRCASECMPDEF = -DNEED_STRCASECMP |
---|
48 | # else |
---|
49 | # if defined(SunArchitecture) && !defined(SVR4Architecture) |
---|
50 | SPRINTFDEF = -DVOID_SPRINTF |
---|
51 | # endif |
---|
52 | # endif |
---|
53 | #endif |
---|
54 | #if defined(Win32Architecture) |
---|
55 | ZPIPEDEF = -DNO_ZPIPE |
---|
56 | #endif |
---|
57 | |
---|
58 | DEFINES = $(STRDUPDEF) $(STRCASECMPDEF) $(SPRINTFDEF) $(ZPIPEDEF) |
---|
59 | |
---|
60 | XCOMM You can uncomment the following line to avoid building the shared lib |
---|
61 | XCOMM IMAKE_DEFINES = -DSharedLibXpm=NO |
---|
62 | |
---|
63 | |
---|
64 | XCOMM |
---|
65 | XCOMM Normally the following part should not need to be edited |
---|
66 | XCOMM |
---|
67 | |
---|
68 | #define IHaveSubdirs |
---|
69 | #define PassCDebugFlags "CDEBUGFLAGS=$(CDEBUGFLAGS)" "DEFINES=$(DEFINES)" |
---|
70 | |
---|
71 | SUBDIRS = lib sxpm cxpm |
---|
72 | |
---|
73 | MakeSubdirs($(SUBDIRS)) |
---|
74 | DependSubdirs($(SUBDIRS)) |
---|