~ubuntu-branches/ubuntu/hoary/cdrtools/hoary

« back to all changes in this revision

Viewing changes to RULES/i386-unixware-cc.rul

  • Committer: Bazaar Package Importer
  • Author(s): Eduard Bloch
  • Date: 2002-04-09 10:03:06 UTC
  • Revision ID: james.westby@ubuntu.com-20020409100306-t4hagiv7gm0fhggv
Tags: upstream-1.10
ImportĀ upstreamĀ versionĀ 1.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ident "@(#)i386-unixware-cc.rul        1.2 00/01/23 "
 
2
###########################################################################
 
3
# Written 1999 by J. Schilling/Santa Cruz Operation
 
4
###########################################################################
 
5
#
 
6
# Platform dependent MACROS for SCO UnixWare 2.x / 7.x using cc
 
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) $(COPTX)
 
28
 
 
29
OSDEFS=         -DUNIXWARE -DSVR4
 
30
CPPOPTS=        -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) 
 
31
COPTS=          
 
32
CWOPTS=         -v
 
33
COPTOPT=        -O
 
34
KDEFINES=       -DKERNEL -D_KERNEL 
 
35
COPTDYN=        -KPIC
 
36
COPTGPROF=      -pg
 
37
 
 
38
LIB_PREFIX=     lib
 
39
LIB_SUFFIX=     .a
 
40
SHL_SUFFIX=     .so.1.0
 
41
 
 
42
LIB_SOCKET=     -lsocket -lnsl -ldl
 
43
LIB_MATH=       -lm
 
44
#LIB_KVM=       -lkvm
 
45
LIB_KVM=        
 
46
 
 
47
LIBS_PATH=      -L$(OLIBSDIR)
 
48
 
 
49
LDFLAGS=        $(LDOPTS) $(LDOPTX)
 
50
LDLIBS=         $(LIBS) $(LIBX)
 
51
 
 
52
LDOPTS=         $(LIBS_PATH) $(LDPATH)
 
53
LDOPTDYN=       -dy -G $(TARGET)
 
54
LNDYNLIB=       @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
 
55
 
 
56
FLOAT_OPTIONS=  
 
57
 
 
58
 
 
59
CC=             @echo " ==> COMPILING \"$@\""; cc
 
60
LDCC=           @echo " ==> LINKING \"$@\""; cc
 
61
DYNLD=          @echo " ==> LINKING dynamic library \"$@\""; cc
 
62
RANLIB=         @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
 
63
 
 
64
ARFLAGS=        cr
 
65
LORDER=         echo
 
66
TSORT=          cat
 
67
 
 
68
RMDEP=          :
 
69
MKDEP=          @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); $(SRCROOT)/conf/mkdep-sco.sh
 
70
MKDEP_OUT=