Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG =          svcprop
  27 OBJS =          svcprop.o
  28 SRCS =          $(OBJS:%.o=%.c)
  29 POFILES =       $(OBJS:.o=.po)
  30 
  31 include ../../Makefile.cmd
  32 include ../../Makefile.ctf
  33 
  34 LDLIBS +=       -lscf -luutil
  35 
  36 lint := LINTFLAGS = -ux
  37 
  38 CERRWARN += -_gcc=-Wno-uninitialized
  39 
  40 .KEEP_STATE:
  41 
  42 all: $(PROG)
  43 
  44 $(PROG): $(OBJS)
  45         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46         $(POST_PROCESS)
  47 
  48 install: all $(ROOTPROG)
  49 
  50 clean:
  51         $(RM) $(OBJS)
  52 
  53 lint: lint_SRCS
  54 
  55 include ../../Makefile.targ


  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG =          svcprop
  27 OBJS =          svcprop.o
  28 SRCS =          $(OBJS:%.o=%.c)
  29 POFILES =       $(OBJS:.o=.po)
  30 
  31 include ../../Makefile.cmd
  32 include ../../Makefile.ctf
  33 
  34 LDLIBS +=       -lscf -luutil
  35 
  36 lint := LINTFLAGS = -ux
  37 
  38 CERRWARN += $(CNOWARN_UNINIT)
  39 
  40 .KEEP_STATE:
  41 
  42 all: $(PROG)
  43 
  44 $(PROG): $(OBJS)
  45         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46         $(POST_PROCESS)
  47 
  48 install: all $(ROOTPROG)
  49 
  50 clean:
  51         $(RM) $(OBJS)
  52 
  53 lint: lint_SRCS
  54 
  55 include ../../Makefile.targ