source: trunk/third/xpm/Imakefile @ 15269

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