-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmakefile
More file actions
52 lines (40 loc) · 1.33 KB
/
makefile
File metadata and controls
52 lines (40 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Simple wrapper around OS Makefile's to ease building!
#
all: usage
usage:
@echo "Select the OS to build:"
@echo ""
@echo " -> aix"
@echo " -> bsd"
@echo " -> hpux"
@echo " -> linux"
@echo " -> macos"
@echo " -> solaris"
@echo ""
@echo "Please see makedt script for building with remote hosts!"
@echo ""
#
# Note: The OS type is required for linking to the correct SCSI library.
# All builds are done in a subdirectory, to accomodate many builds.
# The SCSI library symbolic link will be of the form:
# ln -sf ../scsilib-$(OS).c scsilib.c
#
#
# Please Note: If your compiler is not in the standard location, define this!
# OR define the correct PATHs prior to executing this makefile.
# Note: Builds go *much* faster with local compiler tools!
#
#PATH=/usr/software/bin:$PATH
aix:
( mkdir -p aix.d ; cd aix.d ; make -f ../Makefile.aix VPATH=.. OS=aix )
bsd:
( mkdir -p bsd.d ; cd bsd.d ; make -f ../Makefile.freebsd VPATH=.. )
hpux:
( mkdir -p hpux.d ; cd hpux.d ; make -f ../Makefile.hpux VPATH=.. OS=hpux )
macos:
( mkdir -p macos.d ; cd macos.d ; make -f ../Makefile.mac_darwin VPATH=.. )
linux:
( mkdir -p linux.d ; cd linux.d ; make -f ../Makefile.linux VPATH=.. OS=linux )
solaris:
( mkdir -p solaris.d ; cd solaris.d ; make -f ../Makefile.solaris VPATH=.. OS=solaris )