1
#ident "@(#)alpha-osf1-cc.rul 1.3 01/09/27 "
2
###########################################################################
3
# Written 1998 by J. Schilling
4
###########################################################################
6
# Platform dependent MACROS for Digital UNIX (OSF1)
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)
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.
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
###########################################################################
26
CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
27
CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
29
CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
33
KDEFINES= -DKERNEL -D_KERNEL
41
#LIB_SOCKET= -lsocket -lnsl -ldl
47
LIBS_PATH= -L$(OLIBSDIR) -L/usr/ccs/lib
49
LDFLAGS= $(LDOPTS) $(LDOPTX)
50
LDLIBS= $(LIBS) $(LIBX) -lrt
52
#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
53
LDOPTS= $(LIBS_PATH) $(LDPATH)
54
LDOPTDYN= -shared -Wl,-soname,$(TARGET)
55
LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
59
CC= @echo " ==> COMPILING \"$@\""; cc
60
LDCC= @echo " ==> LINKING \"$@\""; cc
61
DYNLD= @echo " ==> LINKING dynamic library \"$@\""; cc
62
RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
68
MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); cc -M