5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
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 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25
26 ROOTTERMINFO = $(ROOTSHLIB)/terminfo
27
28 $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
29 $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
30 $(KMDBLIBS)
31
32 $(PROG): $(PROG).core $(KCTLOBJS)
33 $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
34 $(CTFMERGE) -L VERSION -o $@ $(OBJS) $(KCTLOBJS)
35 $(KMDB_FPTEST)
36 $(POST_PROCESS)
37 $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
38
39 clean.lint:
40 $(RM) $(ALLLINTFILES)
41
42 clean:
43 $(RM) $(OBJS) $(KCTLOBJS) $(PROG).core $(MAPFILE)
44 $(RM) $(MAPFILE_INTERMEDIATE)
45 $(RM) kmdb_terminfo.c kmdb_modlinktest.c kmdb_modlinktest.o
46 $(RM) kaif_off.h kmdb_context_off.h
47 $(RM) mdb_lex.c mdb_grammar.c mdb_grammar.h y.tab.h y.tab.c y.output
48
49 clobber: clean clean.lint
50 $(RM) $(PROG)
51
52 dmods:
53
54 #
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
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 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # Copyright 2019 Joyent, Inc.
26 #
27
28 ROOTTERMINFO = $(ROOTSHLIB)/terminfo
29
30 $(PROG).core: $(OBJS) $(KMDBLIBS) $(MAPFILE)
31 $(LD) -r $(BREDUCE) $(ZNOVERSION) $(ZDEFS) -M$(MAPFILE) -o $@ $(OBJS) \
32 $(KMDBLIBS)
33
34 $(PROG): $(PROG).core $(KCTLOBJS)
35 $(LD) -dy -r -o $@ $@.core -Nmisc/ctf $(KCTLOBJS)
36 $(CTFMERGE) -l "$(UTS_LABEL)" -o $@ $(OBJS) $(KCTLOBJS)
37 $(KMDB_FPTEST)
38 $(POST_PROCESS)
39 $(SETDYNFLAG) -f DF_1_IGNMULDEF,DF_1_NOKSYMS $@
40
41 clean.lint:
42 $(RM) $(ALLLINTFILES)
43
44 clean:
45 $(RM) $(OBJS) $(KCTLOBJS) $(PROG).core $(MAPFILE)
46 $(RM) $(MAPFILE_INTERMEDIATE)
47 $(RM) kmdb_terminfo.c kmdb_modlinktest.c kmdb_modlinktest.o
48 $(RM) kaif_off.h kmdb_context_off.h
49 $(RM) mdb_lex.c mdb_grammar.c mdb_grammar.h y.tab.h y.tab.c y.output
50
51 clobber: clean clean.lint
52 $(RM) $(PROG)
53
54 dmods:
55
56 #
|