|
|
1.1 root 1: #
2: # Makefile for IOStub
3: #
4:
5: MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
6: include $(MAKEFILEDIR)/platform.make
7:
8: BUILD_NAME=IOStubx
9:
10: #
11: # Destination of installed binaries and headers.
12: #
13: INSTALL_BIN_DIR=
14: INSTALL_HDR_DIR=
15:
16: #
17: # Destination of installed headers.
18: #
19: HEADER_DIR=$(SYSTEM_LIBRARY_DIR)/Frameworks/System.framework/Headers/drivers/
20:
21: #
22: # Options to install.
23: #
24: INSTALLFLAGS=
25:
26: #
27: # Define target architectures.
28: # MACHINE_LIST is the list of architectures to be build for during "make all"
29: # and "make install" if RC_ARCHS is not specified.
30: # TARGET_LIST specify the type of build to be performed during "make all" and
31: # "make install".
32: # MACHINE and 'first' specify the architecture and type of build for a default
33: # 'make' with no arguments.
34: #
35: # Possible values of 'first' and TARGET_LIST are:
36: #
37: # release -- user executable
38: # debug -- user executable, DEBUG
39: # kernrelease -- .o to be linked into kernel code
40: # kerndebug -- .o to be linked into kernel code, DEBUG
41: # relocrelease -- kern-loadable
42: # relocdebug -- kern_loadable, DEBUG
43: #
44: MACHINE_LIST= m68k m88k
45: TARGET_LIST= debug
46: MACHINE= m68k
47: INSTALL_TARGETS=
48: INSTALL_MACHINES=
49: first: debug
50:
51: #
52: # Leave undefined if no machine-dependent subdirectories.
53: #
54: #SOURCE_SUBDIRS=
55:
56: DEBUG_CFLAGS= -I../..
57: RELEASE_CFLAGS= -I../..
58:
59: #
60: # For generating relocatable .o:
61: #
62: #LD= /bin/ld
63: #DEBUG_LDFLAGS= -r
64: #RELEASE_LDFLAGS= -r
65:
66: #
67: # For generating executable:
68: #
69: LD= /bin/cc
70: #DEBUG_LDFLAGS= -L/Net/spanky/os/dmitch/LIBSYS/libsys
71: #RELEASE_LDFLAGS= -L/Net/spanky/os/dmitch/LIBSYS/libsys
72: DEBUG_LDFLAGS=
73: RELEASE_LDFLAGS=
74:
75: #
76: # For generating kern-loadable.
77: #
78: DEBUG_KL_FLAGS=
79: RELEASE_KL_FLAGS=
80:
81:
82: #
83: # Specify the source files common to all machines.
84: #
85: COMMON_MFILES= main.m IOStub.m IOStubDevice.m IOStubThread.m
86: COMMON_CFILES=
87: COMMON_PUBLIC_HFILES=
88: COMMON_PRIVATE_HFILES= IOStub.h IOStubThread.h IOStubUxpr.h IOStubDevice.h
89:
90: #
91: # one set of source files sharing a common name in the machine-dependent
92: # build directories.
93: #
94: MACHINE_COMMON_CFILES=
95: MACHINE_COMMON_MFILES=
96:
97: #
98: # optionally, additional source files specific to each machine.
99: #
100: # 88k specific...
101: m88k_CFILES=
102: m88k_MFILES=
103: # 68k specific...
104: m68k_CFILES=
105: m68k_MFILES=
106: # i386 specific...
107: i386_CFILES=
108: i386_MFILES=
109:
110: #
111: # Other install rules (invoked as dependency, so this executes before
112: # the main install rule).
113: #
114: other_install: always
115:
116: #
117: # Libraries. These may be overridden, deleted, or appended to.
118: #
119: RELEASE_LIBS= $(SYMROOT)/../../libDriver/syms/libDriver.a
120: DEBUG_LIBS= $(SYMROOT)/../../libDriver/syms/libDriver_g.a
121:
122: #
123: # This does the rest.
124: #
125: -include ../../MakefileDir/Makefile.device_common
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.