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# |
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 |
133# Default executable format 134.if ${MACHINE_ARCH} == "alpha" |
135OBJFORMAT?= elf 136.else |
137OBJFORMAT?= aout 138.endif 139 140# Binaries 141BINOWN?= bin 142BINGRP?= bin 143BINMODE?= 555 144NOBINMODE?= 444 145 |
146.if ${OBJFORMAT} == aout |
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 --- |