Print this page
5468 Missing dependencies in lib/Makefile


   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
   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 (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.

  23 #
  24 
  25 .KEEP_STATE:
  26 
  27 SRCS += fmd.c \
  28         fmd_api.c \
  29         fmd_alloc.c \
  30         fmd_asru.c \
  31         fmd_buf.c \
  32         fmd_builtin.c \
  33         fmd_case.c \
  34         fmd_ckpt.c \
  35         fmd_conf.c \
  36         fmd_ctl.c \
  37         fmd_dispq.c \
  38         fmd_dr.c \
  39         fmd_error.c \
  40         fmd_event.c \
  41         fmd_eventq.c \
  42         fmd_fmri.c \


 143 
 144 lint_prog := LINTFLAGS += -xerroff=E_FUNC_RET_ALWAYS_IGNOR2
 145 
 146 .NO_PARALLEL:
 147 .PARALLEL: $(OBJS) $(LINTFILES)
 148 
 149 all: $(PROG) $(DMOD) install_h
 150 
 151 $(LOGADMDIR):
 152         $(INS.dir)
 153 
 154 $(LOGADMDIR)/%.conf: ../common/%.conf
 155         $(INS.file)
 156 
 157 $(PROG): $(OBJS)
 158         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
 159         $(CTFMERGE) -L VERSION -o $@ $(OBJS)
 160         $(POST_PROCESS)
 161 
 162 $(DMOD): $(DMOD_OBJS)
 163         $(LINK.c) $(DMOD_OBJS) -o $@ -lc
 164         $(POST_PROCESS)
 165 
 166 %.o: ../common/%.c
 167         $(COMPILE.c) $<
 168         $(CTFCONVERT_O)
 169 
 170 %.o: %.c
 171         $(COMPILE.c) $<
 172         $(CTFCONVERT_O)
 173 
 174 ../common/fmd_error.c: ../common/mkerror.sh ../common/fmd_error.h
 175         sh ../common/mkerror.sh < ../common/fmd_error.h > $@
 176 
 177 ../common/fmd_rpc_%.c: ../common/fmd_rpc_%.h
 178 
 179 ../common/fmd_rpc.c: ../common/fmd_rpc_adm.h ../common/fmd_rpc_api.h
 180 
 181 ../common/fmd_rpc_%.h: ../common/fmd_rpc_%.x
 182         $(RPCGEN) -CMN -h -o $@ $<
 183 




   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
   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 (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  23 # Copyright 2015 RackTop Systems.
  24 #
  25 
  26 .KEEP_STATE:
  27 
  28 SRCS += fmd.c \
  29         fmd_api.c \
  30         fmd_alloc.c \
  31         fmd_asru.c \
  32         fmd_buf.c \
  33         fmd_builtin.c \
  34         fmd_case.c \
  35         fmd_ckpt.c \
  36         fmd_conf.c \
  37         fmd_ctl.c \
  38         fmd_dispq.c \
  39         fmd_dr.c \
  40         fmd_error.c \
  41         fmd_event.c \
  42         fmd_eventq.c \
  43         fmd_fmri.c \


 144 
 145 lint_prog := LINTFLAGS += -xerroff=E_FUNC_RET_ALWAYS_IGNOR2
 146 
 147 .NO_PARALLEL:
 148 .PARALLEL: $(OBJS) $(LINTFILES)
 149 
 150 all: $(PROG) $(DMOD) install_h
 151 
 152 $(LOGADMDIR):
 153         $(INS.dir)
 154 
 155 $(LOGADMDIR)/%.conf: ../common/%.conf
 156         $(INS.file)
 157 
 158 $(PROG): $(OBJS)
 159         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
 160         $(CTFMERGE) -L VERSION -o $@ $(OBJS)
 161         $(POST_PROCESS)
 162 
 163 $(DMOD): $(DMOD_OBJS)
 164         $(LINK.c) $(DMOD_OBJS) -o $@ $(LDLIBS) -lc
 165         $(POST_PROCESS)
 166 
 167 %.o: ../common/%.c
 168         $(COMPILE.c) $<
 169         $(CTFCONVERT_O)
 170 
 171 %.o: %.c
 172         $(COMPILE.c) $<
 173         $(CTFCONVERT_O)
 174 
 175 ../common/fmd_error.c: ../common/mkerror.sh ../common/fmd_error.h
 176         sh ../common/mkerror.sh < ../common/fmd_error.h > $@
 177 
 178 ../common/fmd_rpc_%.c: ../common/fmd_rpc_%.h
 179 
 180 ../common/fmd_rpc.c: ../common/fmd_rpc_adm.h ../common/fmd_rpc_api.h
 181 
 182 ../common/fmd_rpc_%.h: ../common/fmd_rpc_%.x
 183         $(RPCGEN) -CMN -h -o $@ $<
 184