/[resiprocate]/main/build/Makefile.all
ViewVC logotype

Annotation of /main/build/Makefile.all

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1288 - (hide annotations) (download)
Mon Mar 24 22:09:53 2003 UTC (16 years, 8 months ago) by jason
Original Path: main/sip/build/Makefile.all
File size: 5181 byte(s)
*** empty log message ***

1 jason 1288 # $Id: Makefile.all,v 1.1 2003/03/24 22:09:53 jason Exp $
2    
3     # The license applies to all software incorporated in the "Vovida
4     # Open Communication Application Library" except for those portions
5     # incorporating third party software specifically identified as being
6     # licensed under separate license.
7     #
8     #
9     #
10     # The Vovida Software License, Version 1.0
11     # Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
12     #
13     # Redistribution and use in source and binary forms, with or without
14     # modification, are permitted provided that the following conditions
15     # are met:
16     #
17     # 1. Redistributions of source code must retain the above copyright
18     # notice, this list of conditions and the following disclaimer.
19     #
20     # 2. Redistributions in binary form must reproduce the above copyright
21     # notice, this list of conditions and the following disclaimer in
22     # the documentation and/or other materials provided with the
23     # distribution.
24     #
25     # 3. The names "VOCAL", "Vovida Open Communication Application Library",
26     # and "Vovida Open Communication Application Library (VOCAL)" must
27     # not be used to endorse or promote products derived from this
28     # software without prior written permission. For written
29     # permission, please contact vocal@vovida.org.
30     #
31     # 4. Products derived from this software may not be called "VOCAL", nor
32     # may "VOCAL" appear in their name, without prior written
33     # permission of Vovida Networks, Inc.
34     #
35     # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
36     # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
37     # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
38     # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
39     # NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
40     # IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
41     # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
42     # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
43     # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
44     # OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
45     # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
46     # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
47     # DAMAGE.
48     #
49     # ====================================================================
50     #
51     # This software consists of voluntary contributions made by Vovida
52     # Networks, Inc. and many individuals on behalf of Vovida Networks,
53     # Inc. For more information on Vovida Networks, Inc., please see
54     # <http://www.vovida.org/>.
55     #
56     #
57     # All third party licenses and copyright notices and other required
58     # legends also need to be complied with as well.
59     #
60    
61     # the following macros set the following variables:
62    
63    
64     # OSTYPE -- this variable is the OS type of the target system. By default
65     # this is the OS of the host system
66    
67     # ARCH -- this is the machine architecture of the target system.
68     # By default this is the architecture of the host system.
69    
70     # LARCH -- this is the "logical" architecture for the target system.
71     # This is to let systems with different "architectures" but
72     # in the same family be the same, e.g. IA32 for i386, i486, i586,
73     # and i686.
74    
75     # ROOT -- this is the location of the "root" of the file system. It
76     # requires that the BUILD macro be set to the path to the build
77     # directory.
78    
79    
80     ifndef OSTYPE
81     OSTYPE = $(shell uname)
82     endif
83    
84     ifeq ($(OSTYPE),solaris)
85     OSTYPE = SunOS
86     endif
87    
88     ifeq ($(OSTYPE),solaris2.5.1)
89     OSTYPE = SunOS
90     endif
91    
92     ifeq ($(OSTYPE),solaris2.6)
93     OSTYPE = SunOS
94     endif
95    
96     ifeq ($(OSTYPE),solaris2.7)
97     OSTYPE = SunOS
98     endif
99    
100     ifeq ($(OSTYPE),solaris2.8)
101     OSTYPE = SunOS
102     endif
103    
104     ifeq ($(OSTYPE), freebsd4.1)
105     OSTYPE = FreeBSD
106     endif
107    
108     ifeq ($(OSTYPE), freebsd4.2)
109     OSTYPE = FreeBSD
110     endif
111    
112     ifeq ($(OSTYPE), freebsd4.3)
113     OSTYPE = FreeBSD
114     endif
115    
116     ifeq ($(OSTYPE), freebsd4.4)
117     OSTYPE = FreeBSD
118     endif
119    
120     ifeq ($(OSTYPE), freebsd4.5)
121     OSTYPE = FreeBSD
122     endif
123    
124     # Just in case
125     #
126     ifeq ($(OSTYPE), freebsd4.6)
127     OSTYPE = FreeBSD
128     endif
129    
130     ifeq ($(OSTYPE), freebsd4.7)
131     OSTYPE = FreeBSD
132     endif
133    
134     ifeq ($(OSTYPE), freebsd5.0)
135     OSTYPE = FreeBSD
136     endif
137    
138     ifeq ($(OSTYPE), freebsd5.1)
139     OSTYPE = FreeBSD
140     endif
141    
142     ifeq ($(OSTYPE), freebsd5.2)
143     OSTYPE = FreeBSD
144     endif
145    
146     ifeq ($(OSTYPE),linux)
147     OSTYPE = Linux
148     endif
149    
150     ifeq ($(OSTYPE),linux-gnu)
151     OSTYPE = Linux
152     endif
153    
154     # here are some bits
155    
156     ifeq ("$(OSTYPE)","darwin")
157     override OSTYPE := Darwin
158     endif
159    
160     ifeq ("$(OSTYPE)","darwin1.4")
161     override OSTYPE := Darwin
162     endif
163    
164     ifeq ("$(OSTYPE)","darwin1.5")
165     override OSTYPE := Darwin
166     endif
167    
168     ifeq ("$(OSTYPE)","darwin")
169     override OSTYPE := Darwin
170     endif
171    
172    
173     ifndef ARCH
174     ARCH = $(shell uname -m| sed 's/ /_/g')
175     endif
176    
177     LARCH := $(ARCH)
178    
179     ifeq ($(ARCH),i686)
180     LARCH := ia32
181     endif
182    
183     ifeq ($(ARCH),i586)
184     LARCH := ia32
185     endif
186    
187     ifeq ($(ARCH),i486)
188     LARCH := ia32
189     endif
190    
191     ifeq ($(ARCH),i386)
192     LARCH := ia32
193     endif
194    
195     ifeq ($(ARCH),Power Macintosh)
196     ARCH := powermac
197     endif
198    
199     # set the environment
200    
201     ROOT = $(BUILD)/..
202    
203     TOOLS = $(ROOT)/build
204    
205     PATH := $(shell pwd)/$(ROOT)/tools:$(PATH)
206    
207     # this variable is set to the default path to install to if no one
208     # else overrides it via configure.
209    
210     INSTALL_PATH_DEFAULT = /usr/local/vocal

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27