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


  23 # Use is subject to license terms.
  24 #
  25 
  26 include ../../../Makefile.cmd
  27 
  28 COMMON = ..
  29 
  30 PROG=           sharectl
  31 
  32 SHARECTL_MOD    = sharectl
  33 
  34 SHARECTL_SRC    = $(SHARECTL_MOD:%=$(COMMON)/%.c) shareutil.c
  35 
  36 SHARECTL_OBJ    = $(SHARECTL_MOD:%=%.o) shareutil.o
  37 
  38 
  39 MYCPPFLAGS =    -I.. -I../../sharemgr
  40 CPPFLAGS += $(MYCPPFLAGS)
  41 LDLIBS += -lshare -lumem
  42 
  43 CERRWARN += -_gcc=-Wno-uninitialized
  44 
  45 SRCS = $(SHARECTL_SRC)
  46 OBJS = $(SHARECTL_OBJ)
  47 MODS = $(SHARECTL_MOD)
  48 
  49 CLOBBERFILES = $(MODS) $(POFILE) $(POFILES) shareutil.c
  50 
  51 POFILES = $(SHARECTL_SRC:.c=.po)
  52 POFILE  = sharectl.po
  53 
  54 all :=          TARGET= all
  55 install :=      TARGET= install
  56 clean :=        TARGET= clean
  57 clobber :=      TARGET= clobber
  58 lint :=         TARGET= lint
  59 _msg:=          TARGET= catalog
  60 
  61 .KEEP_STATE:
  62 
  63 all: $(MODS)




  23 # Use is subject to license terms.
  24 #
  25 
  26 include ../../../Makefile.cmd
  27 
  28 COMMON = ..
  29 
  30 PROG=           sharectl
  31 
  32 SHARECTL_MOD    = sharectl
  33 
  34 SHARECTL_SRC    = $(SHARECTL_MOD:%=$(COMMON)/%.c) shareutil.c
  35 
  36 SHARECTL_OBJ    = $(SHARECTL_MOD:%=%.o) shareutil.o
  37 
  38 
  39 MYCPPFLAGS =    -I.. -I../../sharemgr
  40 CPPFLAGS += $(MYCPPFLAGS)
  41 LDLIBS += -lshare -lumem
  42 
  43 CERRWARN += $(CNOWARN_UNINIT)
  44 
  45 SRCS = $(SHARECTL_SRC)
  46 OBJS = $(SHARECTL_OBJ)
  47 MODS = $(SHARECTL_MOD)
  48 
  49 CLOBBERFILES = $(MODS) $(POFILE) $(POFILES) shareutil.c
  50 
  51 POFILES = $(SHARECTL_SRC:.c=.po)
  52 POFILE  = sharectl.po
  53 
  54 all :=          TARGET= all
  55 install :=      TARGET= install
  56 clean :=        TARGET= clean
  57 clobber :=      TARGET= clobber
  58 lint :=         TARGET= lint
  59 _msg:=          TARGET= catalog
  60 
  61 .KEEP_STATE:
  62 
  63 all: $(MODS)