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


  29 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  30 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  31 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  32 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  33 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  34 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  35 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  36 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  37 # POSSIBILITY OF SUCH DAMAGE.
  38 #
  39 include ../Makefile.cmd
  40 
  41 PROG=           ndmpadm
  42 OBJS=           ndmpadm_main.o ndmpadm_print.o
  43 SRCS =          $(OBJS:.o=.c)
  44 POFILES=        ndmpadm_main.po ndmpadm_print.po
  45 POFILE=         ndmpadm.po
  46 
  47 LDLIBS += -lndmp
  48 
  49 CERRWARN += -_gcc=-Wno-uninitialized
  50 
  51 .KEEP_STATE:
  52 
  53 all: $(PROG)
  54 
  55 $(PROG): $(OBJS)
  56         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  57         $(POST_PROCESS)
  58 
  59 install: all $(ROOTUSRSBINPROG)
  60 
  61 $(POFILE): $(POFILES)
  62         $(RM) $@
  63         $(CAT) $(POFILES) > $@
  64 
  65 clean:
  66         $(RM) $(OBJS) $(POFILES)
  67 
  68 lint:   lint_SRCS
  69 


  29 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  30 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  31 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  32 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  33 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  34 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  35 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  36 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  37 # POSSIBILITY OF SUCH DAMAGE.
  38 #
  39 include ../Makefile.cmd
  40 
  41 PROG=           ndmpadm
  42 OBJS=           ndmpadm_main.o ndmpadm_print.o
  43 SRCS =          $(OBJS:.o=.c)
  44 POFILES=        ndmpadm_main.po ndmpadm_print.po
  45 POFILE=         ndmpadm.po
  46 
  47 LDLIBS += -lndmp
  48 
  49 CERRWARN += $(CNOWARN_UNINIT)
  50 
  51 .KEEP_STATE:
  52 
  53 all: $(PROG)
  54 
  55 $(PROG): $(OBJS)
  56         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  57         $(POST_PROCESS)
  58 
  59 install: all $(ROOTUSRSBINPROG)
  60 
  61 $(POFILE): $(POFILES)
  62         $(RM) $@
  63         $(CAT) $(POFILES) > $@
  64 
  65 clean:
  66         $(RM) $(OBJS) $(POFILES)
  67 
  68 lint:   lint_SRCS
  69