~ubuntu-branches/ubuntu/utopic/cdrdao/utopic

« back to all changes in this revision

Viewing changes to scsilib/RULES/power-macintosh-darwin-cc.rul

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Suffield
  • Date: 2004-06-24 22:33:16 UTC
  • Revision ID: james.westby@ubuntu.com-20040624223316-534onzugaeeyq61j
Tags: upstream-1.1.9
ImportĀ upstreamĀ versionĀ 1.1.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ident "@(#)power-macintosh-darwin-cc.rul       1.7 02/10/17 "
 
2
###########################################################################
 
3
# Written 1996 by J. Schilling
 
4
###########################################################################
 
5
#
 
6
# Platform dependent MACROS for Darwin-1.2 ff. (Apple MacOS X) PPC (GCC)
 
7
#
 
8
###########################################################################
 
9
# This program is free software; you can redistribute it and/or modify
 
10
# it under the terms of the GNU General Public License as published by
 
11
# the Free Software Foundation; either version 2, or (at your option)
 
12
# any later version.
 
13
#
 
14
# This program is distributed in the hope that it will be useful,
 
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
# GNU General Public License for more details.
 
18
#
 
19
# You should have received a copy of the GNU General Public License
 
20
# along with this program; see the file COPYING.  If not, write to
 
21
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
22
###########################################################################
 
23
include $(SRCROOT)/$(RULESDIR)/rules.prg
 
24
###########################################################################
 
25
 
 
26
CPPFLAGS=       $(CPPOPTS) $(CPPOPTX)
 
27
CFLAGS=         $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
 
28
 
 
29
CPPOPTS=        -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 
30
COPTS=
 
31
CWOPTS=         -Wall -Wtraditional \
 
32
                -Wshadow -Wmissing-prototypes -Wstrict-prototypes
 
33
COPTOPT=        -O
 
34
KDEFINES=       -DKERNEL -D_KERNEL
 
35
COPTDYN=        -fpic
 
36
COPTGPROF=      -pg
 
37
 
 
38
LIB_PREFIX=     lib
 
39
LIB_SUFFIX=     .a
 
40
SHL_SUFFIX=     .so.1.0
 
41
 
 
42
LIB_SOCKET=
 
43
LIB_MATH=       -lm
 
44
LIB_KVM=        
 
45
 
 
46
LIBS_PATH=      -L$(OLIBSDIR)
 
47
 
 
48
LDFLAGS=        $(LDOPTS) $(LDOPTX)
 
49
LDLIBS=         $(LIBS) $(LIBX)
 
50
 
 
51
#LDOPTS=                $(LIBS_PATH) $(LDPATH) $(RUNPATH)
 
52
LDOPTS=         $(LIBS_PATH) $(LDPATH) -framework IOKit -framework CoreFoundation
 
53
LDOPTDYN=
 
54
LNDYNLIB=       @
 
55
 
 
56
FLOAT_OPTIONS=  
 
57
 
 
58
CC=             @echo " ==> COMPILING \"$@\""; cc
 
59
LDCC=           @echo " ==> LINKING \"$@\""; cc
 
60
DYNLD=          @echo " ==> LINKING dynamic library \"$@\""; ld
 
61
RANLIB=         @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
 
62
ARFLAGS=        cr
 
63
 
 
64
#
 
65
# lorder seems not to work on some versions because Apple installed
 
66
# a broken /bin/sh that is not POSIX cimpliant an will not
 
67
# be able to run the /usr/bin/lorder script. The error messages are:
 
68
#       type: not found
 
69
#       type: not found
 
70
#       lorder: nm: not found
 
71
# ... disable it
 
72
#
 
73
LORDER=         echo
 
74
TSORT=          cat
 
75
 
 
76
RMDEP=          :
 
77
MKDEP=          @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); cc -M
 
78
MKDEP_OUT=