73
74 $(ROOTLIBPROG) := FILEMODE= 0755
75
76 ROOTMANIFESTDIR= $(ROOTSVCPLATFORMSUN4U)
77
78 #
79 # FLAGS:
80 #
81 MULTI_THR_FLAGS= -D_REENTRANT -DDCS_MULTI_THREAD
82
83 MULTI_PROC_FLAGS= -D__EXTENSIONS__
84
85 CPPFLAGS= -I$(USR_PSM_INCL_DIR) $(CPPFLAGS.master) \
86 $($(CONCURR_MODE)_FLAGS)
87
88 LINT_FLAGS= -c -Nlevel=4 -Ncheck $($(CONCURR_MODE)_FLAGS)
89
90 XGETFLAGS += -a -s -x $(PROG).xcl
91
92 CERRWARN += -_gcc=-Wno-parentheses
93 CERRWARN += -_gcc=-Wno-uninitialized
94
95 #
96 # LIBRARIES:
97 #
98 MULTI_THR_LIBS= -D_REENTRANT
99
100 MULTI_PROC_LIBS=
101
102 LDLIBS += $($(CONCURR_MODE)_LIBS) \
103 -lsocket \
104 -lcfgadm \
105 -ldevinfo \
106 -lrcm \
107 -lnvpair \
108 -lkstat
109
110 .KEEP_STATE:
111
112
113 all: $(PROG)
|
73
74 $(ROOTLIBPROG) := FILEMODE= 0755
75
76 ROOTMANIFESTDIR= $(ROOTSVCPLATFORMSUN4U)
77
78 #
79 # FLAGS:
80 #
81 MULTI_THR_FLAGS= -D_REENTRANT -DDCS_MULTI_THREAD
82
83 MULTI_PROC_FLAGS= -D__EXTENSIONS__
84
85 CPPFLAGS= -I$(USR_PSM_INCL_DIR) $(CPPFLAGS.master) \
86 $($(CONCURR_MODE)_FLAGS)
87
88 LINT_FLAGS= -c -Nlevel=4 -Ncheck $($(CONCURR_MODE)_FLAGS)
89
90 XGETFLAGS += -a -s -x $(PROG).xcl
91
92 CERRWARN += -_gcc=-Wno-parentheses
93 CERRWARN += $(CNOWARN_UNINIT)
94
95 #
96 # LIBRARIES:
97 #
98 MULTI_THR_LIBS= -D_REENTRANT
99
100 MULTI_PROC_LIBS=
101
102 LDLIBS += $($(CONCURR_MODE)_LIBS) \
103 -lsocket \
104 -lcfgadm \
105 -ldevinfo \
106 -lrcm \
107 -lnvpair \
108 -lkstat
109
110 .KEEP_STATE:
111
112
113 all: $(PROG)
|