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

« back to all changes in this revision

Viewing changes to scsilib/RULES/i86pc-sunos5-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 "@(#)i86pc-sunos5-cc.rul 1.6 04/01/02 "
 
2
###########################################################################
 
3
# Written 1996 by J. Schilling
 
4
###########################################################################
 
5
#
 
6
# Platform dependent MACROS for SunOS 5.x on PC
 
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 along with
 
20
# this program; see the file COPYING.  If not, write to the Free Software
 
21
# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
22
###########################################################################
 
23
include $(SRCROOT)/$(RULESDIR)/rules.prg
 
24
###########################################################################
 
25
 
 
26
CPPFLAGS=       $(CPPOPTS) $(CPPOPTX)
 
27
CFLAGS=         $(COPTS) $(CWARNOPTS) $(COPTOPT) $(SUNPROCOPTOPT) $(COPTX)
 
28
 
 
29
LINTFLAGS=      -Nlevel=4 
 
30
 
 
31
OSDEFS=         -D__SVR4 -DSVR4
 
32
CPPOPTS=        -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 
33
COPTS=          -Xa
 
34
CWOPTS=         -v
 
35
COPTOPT=        -O
 
36
KDEFINES=       -DKERNEL -D_KERNEL
 
37
COPTDYN=        -Kpic
 
38
COPTGPROF=      -xpg
 
39
 
 
40
LIB_PREFIX=     lib
 
41
LIB_SUFFIX=     .a
 
42
SHL_SUFFIX=     .so.1
 
43
 
 
44
LIB_SOCKET=     -lsocket -lnsl -ldl
 
45
LIB_MATH=       -lm
 
46
LIB_KVM=        -lkvm -lelf
 
47
LIB_VOLMGT=     -lvolmgt
 
48
 
 
49
LIBS_PATH=      -L$(OLIBSDIR)
 
50
 
 
51
LDFLAGS=        $(LDOPTS) $(LDOPTX)
 
52
LDLIBS=         $(LIBS) $(LIBX)
 
53
 
 
54
LDOPTS=         $(LIBS_PATH) $(LDPATH) $(RUNPATH)
 
55
LDOPTDYN=       -dy -G -ztext -h $(TARGET) -ldl
 
56
LNDYNLIB=       @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
 
57
 
 
58
FLOAT_OPTIONS=  
 
59
 
 
60
CC=             @echo " ==> COMPILING \"$@\""; cc
 
61
LDCC=           @echo " ==> LINKING \"$@\""; cc
 
62
DYNLD=          @echo " ==> LINKING dynamic library \"$@\""; cc
 
63
RANLIB=         @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
 
64
ARFLAGS=        crs
 
65
 
 
66
RMDEP=          :
 
67
MKDEP=          @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); cc -xM
 
68
MKDEP_OUT=