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


  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.
  27 
  28 PROG=   talk
  29 OBJS=   talk.o get_names.o display.o io.o ctl.o init_disp.o \
  30         msgs.o get_addrs.o ctl_transact.o invite.o look_up.o
  31 SRCS= $(OBJS:%.o=%.c)
  32 
  33 include ../../../Makefile.cmd
  34 
  35 #
  36 # Message catalog
  37 #
  38 POFILE= talk.po
  39 #
  40 
  41 CFLAGS +=       $(CCVERBOSE)
  42 CERRWARN +=     -_gcc=-Wno-uninitialized
  43 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP
  44 LDLIBS +=       -lcurses -lsocket -lnsl
  45 
  46 # not linted
  47 SMATCH=off
  48 
  49 .KEEP_STATE:
  50 
  51 .PARALLEL: $(OBJS)
  52 
  53 all: $(PROG)
  54 
  55 $(PROG): $(OBJS)
  56         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  57         $(POST_PROCESS)
  58 
  59 #
  60 # message catalog
  61 #
  62 _msg: $(POFILE)


  22 #
  23 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.
  27 
  28 PROG=   talk
  29 OBJS=   talk.o get_names.o display.o io.o ctl.o init_disp.o \
  30         msgs.o get_addrs.o ctl_transact.o invite.o look_up.o
  31 SRCS= $(OBJS:%.o=%.c)
  32 
  33 include ../../../Makefile.cmd
  34 
  35 #
  36 # Message catalog
  37 #
  38 POFILE= talk.po
  39 #
  40 
  41 CFLAGS +=       $(CCVERBOSE)
  42 CERRWARN +=     $(CNOWARN_UNINIT)
  43 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP
  44 LDLIBS +=       -lcurses -lsocket -lnsl
  45 
  46 # not linted
  47 SMATCH=off
  48 
  49 .KEEP_STATE:
  50 
  51 .PARALLEL: $(OBJS)
  52 
  53 all: $(PROG)
  54 
  55 $(PROG): $(OBJS)
  56         $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  57         $(POST_PROCESS)
  58 
  59 #
  60 # message catalog
  61 #
  62 _msg: $(POFILE)