|
|
1.1 root 1: #
2: # $Id: Makefile.com,v 5.2 90/06/23 22:21:03 jsp Rel $
3: #
4: # Copyright (c) 1990 Jan-Simon Pendry
5: # Copyright (c) 1990 Imperial College of Science, Technology & Medicine
6: # Copyright (c) 1990 The Regents of the University of California.
7: # All rights reserved.
8: #
9: # This code is derived from software contributed to Berkeley by
10: # Jan-Simon Pendry at Imperial College, London.
11: #
12: # Redistribution and use in source and binary forms are permitted provided
13: # that: (1) source distributions retain this entire copyright notice and
14: # comment, and (2) distributions including binaries display the following
15: # acknowledgement: ``This product includes software developed by the
16: # University of California, Berkeley and its contributors'' in the
17: # documentation or other materials provided with the distribution and in
18: # all advertising materials mentioning features or use of this software.
19: # Neither the name of the University nor the names of its contributors may
20: # be used to endorse or promote products derived from this software without
21: # specific prior written permission.
22: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
23: # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
24: # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
25: #
26: # @(#)Makefile.com 5.1 (Berkeley) 6/29/90
27: #
28:
29: #
30: # -------- Users may care to override these values --------
31: #
32: # Any of these values can be overridden by redefining them
33: # in a file called Makefile.local or Makefile.local.foo (where
34: # "foo" is the OS name)
35: #
36:
37: # Where to install amd
38: ETC = /usr/local/etc
39:
40: # With what to install amd
41: INSTALL = install
42: INSTALL_BIN = ${INSTALL} -c -m 711 -o root
43:
44: # Uncomment the next CC line if you want to use GNU CC
45: # Better yet - put the definition in Makefile.local.<foo>
46: #CC = gcc ${GCCOPTS}
47: GCCOPTS = -fcombine-regs -W -Wunused -fstrength-reduce #-finline-functions
48:
49: # Basic C compiler options
50: CCOPTS = -O
51:
52: # These are for testing/debugging...
53: # Best to put your own definitions in Makefile.local.<foo>
54: #CCOPTS = -g
55: # Turn on -DDEBUG if you want a running commentary
56: #DEBUG = -DDEBUG
57:
58: # Define RPCINC if Sun RPC header files are not in the standard place
59: RPCINC = #-I../../rpc
60:
61: # Not currently used but...
62: # Define RPCGEN as the name of your Sun *RPC/4* RPCGEN program (not RPC/3)
63: RPCGEN = rpcgen
64:
65: # System C Compiler - one that is FULLY call compatible with your C libraries
66: SYSCC = cc
67: SYSCCFLAGS = ${CFLAGS}
68:
69: # For old makes
70: SHELL = /bin/sh
71:
72: # -------- YOU SHOULD NOT NEED TO CHANGE ANYTHING BELOW THIS LINE --------
73:
74: # Magic
75: OS_HDR = os-${OS}.h
76: OSDEF = -DOS_HDR=\"${OS_HDR}\"
77: CFLAGS = ${CCOPTS} ${DEBUG} ${OSDEF} -I../rpcx -I../config -I../include
78:
79: # Basename of the program we are trying to build
80: AMD = amd
81: AMQ = amq
82: MKMAP = mk-amd-map
83:
84: CC_COMPILE = ${CC} -c ${CFLAGS} ${RPCINC} ${CONFIG}
85: SYSCC_COMPILE = ${SYSCC} -c ${SYSCCFLAGS} ${RPCINC} ${CONFIG}
86:
87: #
88: # Keeps sysV make happy:
89: #
90: #VPATH = ..
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.