1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2015 Toomas Soome <tsoome@me.com>
14 #
15
16 include $(SRC)/Makefile.master
17
18 CFLAGS= -O2 -I../../../../include -I../../..
19 CFLAGS += -DLOADER_ZFS_SUPPORT
20 CPPFLAGS=
21
22 all: machine x86 libi386.a
23
24 clean: clobber
25 clobber:
26 $(RM) machine x86 $(OBJS) libi386.a
27
28 AS= $(GNU_ROOT)/bin/gas
29 CC= $(GCC_ROOT)/bin/gcc
30 OBJCOPY= $(GNU_ROOT)/bin/gobjcopy
31 AS_FLAGS=--32
32 ASFLAGS=-m32
33 AS_CPPFLAGS=
34 COMPILE.s = $(AS) $(AS_FLAGS)
35
36 SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
37 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
38 comconsole.c devicename.c elf32_freebsd.c \
39 elf64_freebsd.c multiboot.c multiboot_tramp.S \
40 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
41 smbios.c time.c vidconsole.c amd64_tramp.S spinconsole.c linux.c \
42 relocater_tramp.S
|
1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2015 Toomas Soome <tsoome@me.com>
14 # Copyright 2016 RackTop Systems.
15 #
16
17 include $(SRC)/Makefile.master
18
19 CFLAGS= -O2 -I../../../../include -I../../..
20 CFLAGS += -DLOADER_ZFS_SUPPORT
21 CPPFLAGS=
22
23 all: libi386.a
24
25 libi386.a: machine x86
26
27 install: all
28
29 clean: clobber
30 clobber:
31 $(RM) machine x86 $(OBJS) libi386.a
32
33 AS= $(GNU_ROOT)/bin/gas
34 CC= $(GCC_ROOT)/bin/gcc
35 OBJCOPY= $(GNU_ROOT)/bin/gobjcopy
36 AS_FLAGS=--32
37 ASFLAGS=-m32
38 AS_CPPFLAGS=
39 COMPILE.s = $(AS) $(AS_FLAGS)
40
41 SRCS= biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
42 biospci.c biossmap.c bootinfo.c bootinfo32.c bootinfo64.c \
43 comconsole.c devicename.c elf32_freebsd.c \
44 elf64_freebsd.c multiboot.c multiboot_tramp.S \
45 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
46 smbios.c time.c vidconsole.c amd64_tramp.S spinconsole.c linux.c \
47 relocater_tramp.S
|