Makefile (d3b5f563) Makefile (0aaef2f5)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
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

--- 28 unchanged lines hidden (view full) ---

37#
38UTSBASE = ../..
39
40#
41# Define the module and object file sets.
42#
43MODULE = ldterm
44OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
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

--- 28 unchanged lines hidden (view full) ---

37#
38UTSBASE = ../..
39
40#
41# Define the module and object file sets.
42#
43MODULE = ldterm
44OBJECTS = $(LDTERM_OBJS:%=$(OBJS_DIR)/%)
45LINTS = $(LDTERM_OBJS:%.o=$(LINTS_DIR)/%.ln)
46ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
47
48#
49# Include common rules.
50#
51include $(UTSBASE)/intel/Makefile.intel
52
53#
54# Define targets
55#
56ALL_TARGET = $(BINARY)
45ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
46
47#
48# Include common rules.
49#
50include $(UTSBASE)/intel/Makefile.intel
51
52#
53# Define targets
54#
55ALL_TARGET = $(BINARY)
57LINT_TARGET = $(MODULE).lint
58INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59
60#
56INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
57
58#
61# For now, disable these lint checks; maintainers should endeavor
62# to investigate and remove these for maximum lint coverage.
59# For now, disable these warnings; maintainers should endeavor
60# to investigate and remove these for maximum coverage.
63# Please do not carry these forward to new Makefiles.
64#
61# Please do not carry these forward to new Makefiles.
62#
65LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
66LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
67LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
68
69CERRWARN += -_gcc=-Wno-parentheses
70CERRWARN += $(CNOWARN_UNINIT)
71
72#
73# Default build targets.
74#
75.KEEP_STATE:
76
77def: $(DEF_DEPS)
78
79all: $(ALL_DEPS)
80
81clean: $(CLEAN_DEPS)
82
83clobber: $(CLOBBER_DEPS)
84
63
64CERRWARN += -_gcc=-Wno-parentheses
65CERRWARN += $(CNOWARN_UNINIT)
66
67#
68# Default build targets.
69#
70.KEEP_STATE:
71
72def: $(DEF_DEPS)
73
74all: $(ALL_DEPS)
75
76clean: $(CLEAN_DEPS)
77
78clobber: $(CLOBBER_DEPS)
79
85lint: $(LINT_DEPS)
86
87modlintlib: $(MODLINTLIB_DEPS)
88
89clean.lint: $(CLEAN_LINT_DEPS)
90
91install: $(INSTALL_DEPS)
92
93#
94# Include common targets.
95#
96include $(UTSBASE)/intel/Makefile.targ
80install: $(INSTALL_DEPS)
81
82#
83# Include common targets.
84#
85include $(UTSBASE)/intel/Makefile.targ