16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 ROOTSTRIPFILEPROG= $(STRIPFILE:%=$(ROOTCCSBIN)/%)
30 ROOTSTRIPFILEPROG64= $(STRIPFILE:%=$(ROOTCCSBIN64)/%)
31
32 %.o: ../common/%.c
33 $(COMPILE.c) $<
34 $(POST_PROCESS_O)
35
36 %.o: $(SGSTOOLS)/common/%.c
37 $(COMPILE.c) $<
38 $(POST_PROCESS_O)
39
40 all: $(PROG) $(STRIPFILE)
41
42 clean:
43 $(RM) $(CLEANFILES)
44
45 delete:
46 $(RM) $(PROG)
47
48 $(PROG): $(OBJS)
49 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
50 $(POST_PROCESS)
51
52 $(STRIPFILE):
53
54 $(ROOTLINKS): $(VAR_SGSBINPROG)
55 $(RM) $@
56 $(LN) $(VAR_SGSBINPROG) $@
|
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 #
26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 #
28
29 ROOTSTRIPFILEPROG= $(STRIPFILE:%=$(ROOTCCSBIN)/%)
30 ROOTSTRIPFILEPROG64= $(STRIPFILE:%=$(ROOTCCSBIN64)/%)
31
32 %.o: ../common/%.c
33 $(COMPILE.c) $<
34 $(POST_PROCESS_O)
35
36 %.o: $(SGSCOMMON)/%.c
37 $(COMPILE.c) $<
38 $(POST_PROCESS_O)
39
40 all: $(PROG) $(STRIPFILE)
41
42 clean:
43 $(RM) $(CLEANFILES)
44
45 delete:
46 $(RM) $(PROG)
47
48 $(PROG): $(OBJS)
49 $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
50 $(POST_PROCESS)
51
52 $(STRIPFILE):
53
54 $(ROOTLINKS): $(VAR_SGSBINPROG)
55 $(RM) $@
56 $(LN) $(VAR_SGSBINPROG) $@
|