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


  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= fiocompress
  27 
  28 SBINLINKS= $(PROG)
  29 
  30 OBJS= fiocompress.o
  31 SRCS = $(OBJS:.o=.c)
  32 
  33 include ../Makefile.com
  34 
  35 .KEEP_STATE:
  36 
  37 LDLIBS +=       -lz
  38 
  39 CFLAGS +=       -I../../../uts/common
  40 LINTFLAGS +=    -I../../../uts/common
  41 


  42 all: $(PROG)
  43 
  44 $(PROG): $(OBJS)
  45         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  46         $(POST_PROCESS)
  47 
  48 install: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS)
  49 
  50 clean:
  51         -$(RM) $(OBJS)
  52 
  53 _msg:
  54 
  55 lint:   lint_SRCS
  56 
  57 include ../Makefile.targ


  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 PROG= fiocompress
  27 
  28 SBINLINKS= $(PROG)
  29 
  30 OBJS= fiocompress.o
  31 SRCS = $(OBJS:.o=.c)
  32 
  33 include ../Makefile.com
  34 
  35 .KEEP_STATE:
  36 
  37 LDLIBS +=       -lz
  38 
  39 CFLAGS +=       -I../../../uts/common
  40 LINTFLAGS +=    -I../../../uts/common
  41 
  42 ADJUNCT_LIBS = libz.so
  43 
  44 all: $(PROG)
  45 
  46 $(PROG): $(OBJS)
  47         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  48         $(POST_PROCESS)
  49 
  50 install: all $(ROOTSBINPROG) .WAIT $(ROOTUSRSBINLINKS)
  51 
  52 clean:
  53         -$(RM) $(OBJS)
  54 
  55 _msg:
  56 
  57 lint:   lint_SRCS
  58 
  59 include ../Makefile.targ