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


  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG= filesync
  27 
  28 OBJS= action.o anal.o base.o debug.o files.o ignore.o main.o recon.o rename.o rules.o acls.o eval.o
  29 SRCS= $(OBJS:%.o=%.c)
  30 HDRS= filesync.h messages.h database.h
  31 
  32 include ../Makefile.cmd
  33 
  34 LDLIBS += -lgen
  35 
  36 CERRWARN += -_gcc=-Wno-parentheses
  37 CERRWARN += -_gcc=-Wno-uninitialized
  38 
  39 # not linted
  40 SMATCH=off
  41 
  42 FILEMODE= 0555
  43 
  44 .KEEP_STATE:
  45 
  46 .PARALLEL: $(OBJS)
  47 
  48 all: $(PROG)
  49 
  50 $(OBJS): $(HDRS)
  51 
  52 $(PROG): $(OBJS)
  53         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  54         $(POST_PROCESS)
  55 
  56 install: all $(ROOTPROG)
  57 


  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 
  26 PROG= filesync
  27 
  28 OBJS= action.o anal.o base.o debug.o files.o ignore.o main.o recon.o rename.o rules.o acls.o eval.o
  29 SRCS= $(OBJS:%.o=%.c)
  30 HDRS= filesync.h messages.h database.h
  31 
  32 include ../Makefile.cmd
  33 
  34 LDLIBS += -lgen
  35 
  36 CERRWARN += -_gcc=-Wno-parentheses
  37 CERRWARN += $(CNOWARN_UNINIT)
  38 
  39 # not linted
  40 SMATCH=off
  41 
  42 FILEMODE= 0555
  43 
  44 .KEEP_STATE:
  45 
  46 .PARALLEL: $(OBJS)
  47 
  48 all: $(PROG)
  49 
  50 $(OBJS): $(HDRS)
  51 
  52 $(PROG): $(OBJS)
  53         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  54         $(POST_PROCESS)
  55 
  56 install: all $(ROOTPROG)
  57