0525 merging
[xloong.git] / Makefile
blobcb8213b49397f5d14553ed39bc8fafa14663eeff
1 # $Id: Makefile,v 1.1.1.1 2006/09/14 01:59:06 root Exp $
4 # Copyright (c) 2000 Opsycon AB (www.opsycon.se)
5 # Copyright (c) 2000 Rtmx, Inc (www.rtmx.com)
6 # Copyright (c) 2001 IP Unplugged AB (www.ipunplugged.com)
7 #
8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions
10 # are met:
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 # 3. All advertising materials mentioning features or use of this software
17 # must display the following acknowledgement:
18 # This product includes software developed for Rtmx, Inc by
19 # Opsycon Open System Consulting AB, Sweden.
20 # This product includes software developed by ipUnplugged AB.
21 # 4. The name of the author may not be used to endorse or promote products
22 # derived from this software without specific prior written permission.
24 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
25 # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
28 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 # SUCH DAMAGE.
37 PMONTOP=${.CURDIR}
38 MAKE=make -m ${PMONTOP}/tools/mk
40 pmontools:
41 @cd tools; ${MAKE}
43 pmonlibs:
44 @cd lib; ${MAKE}
45 clean:
46 perl -e 'for(<zloader.*>){system qq(cd $$_;make cleanall;cd -;);}'
47 perl -i -ne 'print;exit if(/^# DO NOT DELETE/);' lib/libc/Makefile
48 perl -i -ne 'print;exit if(/^# DO NOT DELETE/);' lib/libm/Makefile
49 perl -i -ne 'print;exit if(/^# DO NOT DELETE/);' lib/libz/Makefile