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


  26         nse_printdep.o  \
  27         parallel.o      \
  28         pmake.o         \
  29         read.o          \
  30         read2.o         \
  31         rep.o           \
  32         state.o
  33 SRCS=$(OBJS:%.o:$(CMDDIR)/%.cc)
  34 
  35 include ../../Makefile.tools
  36 include ../Makefile.com
  37 
  38 LDLIBS += ../lib/mksh/libmksh.a ../lib/vroot/libvroot.a
  39 LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
  40 
  41 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  42 
  43 ROOTLINKS = $(ROOTONBLDBINMACH)/dmake
  44 ROOTRULES = $(ROOTONBLDSHARE)/make.rules
  45 


  46 all:    $(PROG)
  47 
  48 install: all $(ROOTONBLDMACHPROG) $(ROOTLINKS) $(ROOTRULES)
  49 
  50 $(PROG):        $(OBJS)
  51         $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
  52         $(POST_PROCESS)
  53 
  54 %.o:    $(CMDDIR)/%.cc
  55         $(COMPILE.cc) -o $@ $<
  56 
  57 $(ROOTONBLDBINMACH)/dmake:
  58         -$(RM) $@; $(SYMLINK) ./make $@
  59 
  60 $(ROOTRULES) := FILEMODE = 0444
  61 
  62 $(ROOTONBLDSHARE)/%: $(CMDDIR)/%.file
  63         $(INS.rename)
  64 
  65 


  26         nse_printdep.o  \
  27         parallel.o      \
  28         pmake.o         \
  29         read.o          \
  30         read2.o         \
  31         rep.o           \
  32         state.o
  33 SRCS=$(OBJS:%.o:$(CMDDIR)/%.cc)
  34 
  35 include ../../Makefile.tools
  36 include ../Makefile.com
  37 
  38 LDLIBS += ../lib/mksh/libmksh.a ../lib/vroot/libvroot.a
  39 LDLIBS += ../lib/bsd/libbsd.a -lc -lnsl -lumem
  40 
  41 CPPFLAGS += -D_FILE_OFFSET_BITS=64
  42 
  43 ROOTLINKS = $(ROOTONBLDBINMACH)/dmake
  44 ROOTRULES = $(ROOTONBLDSHARE)/make.rules
  45 
  46 NATIVE_LIBS += libnsl.so libumem.so
  47 
  48 all:    $(PROG)
  49 
  50 install: all $(ROOTONBLDMACHPROG) $(ROOTLINKS) $(ROOTRULES)
  51 
  52 $(PROG):        $(OBJS)
  53         $(LINK.cc) $(OBJS) -o $@ $(LDLIBS)
  54         $(POST_PROCESS)
  55 
  56 %.o:    $(CMDDIR)/%.cc
  57         $(COMPILE.cc) -o $@ $<
  58 
  59 $(ROOTONBLDBINMACH)/dmake:
  60         -$(RM) $@; $(SYMLINK) ./make $@
  61 
  62 $(ROOTRULES) := FILEMODE = 0444
  63 
  64 $(ROOTONBLDSHARE)/%: $(CMDDIR)/%.file
  65         $(INS.rename)
  66 
  67