src.opts.mk (38413) | src.opts.mk (38656) |
---|---|
1# $Id: bsd.own.mk,v 1.15 1998/08/03 08:28:14 bde Exp $ | 1# $Id: bsd.own.mk,v 1.16 1998/08/18 00:50:36 jb Exp $ |
2# 3# The include file <bsd.own.mk> set common variables for owner, 4# group, mode, and directories. Defaults are in brackets. 5# 6# 7# +++ variables +++ 8# 9# DESTDIR Change the tree where the file gets installed. [not set] --- 13 unchanged lines hidden (view full) --- 23# 24# COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz] 25# 26# STRIP The flag passed to the install program to cause the binary 27# to be stripped. This is to be used when building your 28# own install script so that the entire system can be made 29# stripped/not-stripped using a single knob. [-s] 30# | 2# 3# The include file <bsd.own.mk> set common variables for owner, 4# group, mode, and directories. Defaults are in brackets. 5# 6# 7# +++ variables +++ 8# 9# DESTDIR Change the tree where the file gets installed. [not set] --- 13 unchanged lines hidden (view full) --- 23# 24# COMPRESS_EXT File name extension of ${COMPRESS_CMD} command. [.gz] 25# 26# STRIP The flag passed to the install program to cause the binary 27# to be stripped. This is to be used when building your 28# own install script so that the entire system can be made 29# stripped/not-stripped using a single knob. [-s] 30# |
31# 32# BINFORMAT Default executable format generated by tools. 33# [elf on alpha, aout otherwise] 34# | |
35# OBJFORMAT Default object format that selects which set of tools to run. 36# [elf on alpha, aout otherwise] 37# 38# BINOWN Binary owner. [bin] 39# 40# BINGRP Binary group. [bin] 41# 42# BINMODE Binary mode. [555] --- 77 unchanged lines hidden (view full) --- 120# NLSMODE National Language Support files mode. [${NONBINMODE}] 121# 122# INCLUDEDIR Base path for standard C include files [/usr/include] 123 124# This is only here for bootstrapping and is not officially exported 125# from here. It has normally already been defined in sys.mk. 126MACHINE_ARCH?= i386 127 | 31# OBJFORMAT Default object format that selects which set of tools to run. 32# [elf on alpha, aout otherwise] 33# 34# BINOWN Binary owner. [bin] 35# 36# BINGRP Binary group. [bin] 37# 38# BINMODE Binary mode. [555] --- 77 unchanged lines hidden (view full) --- 116# NLSMODE National Language Support files mode. [${NONBINMODE}] 117# 118# INCLUDEDIR Base path for standard C include files [/usr/include] 119 120# This is only here for bootstrapping and is not officially exported 121# from here. It has normally already been defined in sys.mk. 122MACHINE_ARCH?= i386 123 |
124# 125# The build tools are indirected by /usr/bin/objformat which determines the 126# object format from the OBJFORMAT environment variable and if this is not 127# defined, it reads /etc/objectformat. 128# 129.if exists(/etc/objectformat) && !defined(OBJFORMAT) 130.include "/etc/objectformat" 131.endif 132 |
|
128# Default executable format 129.if ${MACHINE_ARCH} == "alpha" | 133# Default executable format 134.if ${MACHINE_ARCH} == "alpha" |
130BINFORMAT?= elf | |
131OBJFORMAT?= elf 132.else | 135OBJFORMAT?= elf 136.else |
133BINFORMAT?= aout | |
134OBJFORMAT?= aout 135.endif 136 137# Binaries 138BINOWN?= bin 139BINGRP?= bin 140BINMODE?= 555 141NOBINMODE?= 444 142 | 137OBJFORMAT?= aout 138.endif 139 140# Binaries 141BINOWN?= bin 142BINGRP?= bin 143BINMODE?= 555 144NOBINMODE?= 444 145 |
143.if ${BINFORMAT} == aout | 146.if ${OBJFORMAT} == aout |
144LIBDIR?= /usr/lib/aout 145.else 146LIBDIR?= /usr/lib 147.endif 148LIBCOMPATDIR?= /usr/lib/compat 149LIBDATADIR?= /usr/libdata 150LINTLIBDIR?= /usr/libdata/lint 151SHLIBDIR?= ${LIBDIR} --- 46 unchanged lines hidden --- | 147LIBDIR?= /usr/lib/aout 148.else 149LIBDIR?= /usr/lib 150.endif 151LIBCOMPATDIR?= /usr/lib/compat 152LIBDATADIR?= /usr/libdata 153LINTLIBDIR?= /usr/libdata/lint 154SHLIBDIR?= ${LIBDIR} --- 46 unchanged lines hidden --- |