1*d9328cd4SRobert Mustacchi# 2*d9328cd4SRobert Mustacchi# CDDL HEADER START 3*d9328cd4SRobert Mustacchi# 4*d9328cd4SRobert Mustacchi# The contents of this file are subject to the terms of the 5*d9328cd4SRobert Mustacchi# Common Development and Distribution License (the "License"). 6*d9328cd4SRobert Mustacchi# You may not use this file except in compliance with the License. 7*d9328cd4SRobert Mustacchi# 8*d9328cd4SRobert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*d9328cd4SRobert Mustacchi# or http://www.opensolaris.org/os/licensing. 10*d9328cd4SRobert Mustacchi# See the License for the specific language governing permissions 11*d9328cd4SRobert Mustacchi# and limitations under the License. 12*d9328cd4SRobert Mustacchi# 13*d9328cd4SRobert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each 14*d9328cd4SRobert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*d9328cd4SRobert Mustacchi# If applicable, add the following below this CDDL HEADER, with the 16*d9328cd4SRobert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying 17*d9328cd4SRobert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner] 18*d9328cd4SRobert Mustacchi# 19*d9328cd4SRobert Mustacchi# CDDL HEADER END 20*d9328cd4SRobert Mustacchi# 21*d9328cd4SRobert Mustacchi 22*d9328cd4SRobert Mustacchi# 23*d9328cd4SRobert Mustacchi# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 24*d9328cd4SRobert Mustacchi# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 25*d9328cd4SRobert Mustacchi# 26*d9328cd4SRobert Mustacchi 27*d9328cd4SRobert Mustacchiinclude ../Makefile.com 28*d9328cd4SRobert Mustacchi 29*d9328cd4SRobert MustacchiCPPFLAGS += -D_SYSCALL32 30*d9328cd4SRobert Mustacchi 31*d9328cd4SRobert Mustacchi# DEMO DELETE START 32*d9328cd4SRobert MustacchiCCVERBOSE= 33*d9328cd4SRobert Mustacchi 34*d9328cd4SRobert MustacchiLDFLAGS= -L ../../$(MACH64) \ 35*d9328cd4SRobert Mustacchi -L ../../../libelf/$(MACH64) 36*d9328cd4SRobert Mustacchi 37*d9328cd4SRobert Mustacchi# DEMO DELETE END 38*d9328cd4SRobert Mustacchi 39*d9328cd4SRobert Mustacchi# Change -m64 to -xarch=generic64 for use with older Sun compilers. 40*d9328cd4SRobert MustacchiDEMOCFLAGS= -m64 41*d9328cd4SRobert Mustacchi 42*d9328cd4SRobert Mustacchi.KEEP_STATE: 43*d9328cd4SRobert Mustacchi 44*d9328cd4SRobert Mustacchiall: $(OBJDIR) .WAIT $(PROG) 45*d9328cd4SRobert Mustacchi 46*d9328cd4SRobert Mustacchitest: $(TESTS) 47*d9328cd4SRobert Mustacchi 48*d9328cd4SRobert Mustacchi# DEMO DELETE START 49*d9328cd4SRobert MustacchiDEMOCFLAGS= 50*d9328cd4SRobert Mustacchi 51*d9328cd4SRobert Mustacchicatalog: 52*d9328cd4SRobert Mustacchi 53*d9328cd4SRobert Mustacchiinstall: all $(ROOTONLDBINPROG64) 54*d9328cd4SRobert Mustacchi# DEMO DELETE END 55*d9328cd4SRobert Mustacchi 56*d9328cd4SRobert Mustacchiinclude ../Makefile.targ 57*d9328cd4SRobert Mustacchi 58*d9328cd4SRobert Mustacchi$(OBJDIR)/%.o: ../i386/%.c 59*d9328cd4SRobert Mustacchi $(COMPILE.c) $< -o $@ 60*d9328cd4SRobert Mustacchi $(POST_PROCESS_O) 61*d9328cd4SRobert Mustacchi 62*d9328cd4SRobert Mustacchi# DEMO DELETE START 63*d9328cd4SRobert Mustacchiinclude ../../../../Makefile.master.64 64*d9328cd4SRobert Mustacchi# DEMO DELETE END 65