xref: /illumos-gate/usr/src/grub/grub-0.97/stage1/Makefile.am (revision 1b8adde7ba7d5e04395c141c5400dc2cffd7d809)
1pkglibdir = $(libdir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
2nodist_pkglib_DATA = stage1
3
4CLEANFILES = $(nodist_pkglib_DATA)
5
6# We can't use builtins or standard includes.
7AM_CCASFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
8LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
9
10noinst_PROGRAMS = stage1.exec
11stage1_exec_SOURCES = stage1.S stage1.h
12
13SUFFIXES = .exec
14.exec:
15	$(OBJCOPY) -O binary $< $@
16