Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright 2017 Nexenta Systems, Inc.
  26 #
  27 
  28 CMDDIR=         $(SRC)/cmd/tic
  29 
  30 include         $(SRC)/tools/Makefile.tools
  31 include         $(CMDDIR)/Makefile.common
  32 
  33 MAPFILES=       $(CMDDIR)/$(MAPFILE.INT)
  34 


  35 .KEEP_STATE:
  36 
  37 all:            $(PROG)
  38 
  39 $(PROG):        $(OBJS) $(MAPFILES)
  40                 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  41                 $(POST_PROCESS)
  42 
  43 %.o:            $(CMDDIR)/%.c
  44                 $(COMPILE.c) -o $@ $<
  45 
  46 install:        all $(ROOTONBLDMACHPROG)
  47 
  48 clean:
  49                 $(RM) $(PROG) $(OBJS)
  50 
  51 include         $(SRC)/tools/Makefile.targ


  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright 2017 Nexenta Systems, Inc.
  26 #
  27 
  28 CMDDIR=         $(SRC)/cmd/tic
  29 
  30 include         $(SRC)/tools/Makefile.tools
  31 include         $(CMDDIR)/Makefile.common
  32 
  33 MAPFILES=       $(CMDDIR)/$(MAPFILE.INT)
  34 
  35 NATIVE_LIBS += libcurses.so
  36 
  37 .KEEP_STATE:
  38 
  39 all:            $(PROG)
  40 
  41 $(PROG):        $(OBJS) $(MAPFILES)
  42                 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  43                 $(POST_PROCESS)
  44 
  45 %.o:            $(CMDDIR)/%.c
  46                 $(COMPILE.c) -o $@ $<
  47 
  48 install:        all $(ROOTONBLDMACHPROG)
  49 
  50 clean:
  51                 $(RM) $(PROG) $(OBJS)
  52 
  53 include         $(SRC)/tools/Makefile.targ