17c478bd9Sstevel@tonic-gatepkglibdir = $(libdir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
27c478bd9Sstevel@tonic-gatenodist_pkglib_DATA = stage1
37c478bd9Sstevel@tonic-gate
47c478bd9Sstevel@tonic-gateCLEANFILES = $(nodist_pkglib_DATA)
57c478bd9Sstevel@tonic-gate
67c478bd9Sstevel@tonic-gate# We can't use builtins or standard includes.
77c478bd9Sstevel@tonic-gateAM_CCASFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc
87c478bd9Sstevel@tonic-gateLDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00
97c478bd9Sstevel@tonic-gate
107c478bd9Sstevel@tonic-gatenoinst_PROGRAMS = stage1.exec
117c478bd9Sstevel@tonic-gatestage1_exec_SOURCES = stage1.S stage1.h
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gateSUFFIXES = .exec
147c478bd9Sstevel@tonic-gate.exec:
157c478bd9Sstevel@tonic-gate	$(OBJCOPY) -O binary $< $@
16