Print this page
7015 libc tests need to use LINK64 correctly, rather than just passing -m64


  65 .KEEP_STATE:
  66 
  67 install: $(SUBDIRS) $(ROOTOPTPROGS)
  68 
  69 all: $(SUBDIRS) $(PROGS32) $(PROGS64)
  70 
  71 clean lint: $(SUBDIRS)
  72 
  73 $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)
  74 
  75 $(ROOTOPTDIR):
  76         $(INS.dir)
  77 
  78 $(ROOTOPTDIR)/%: %
  79         $(INS.file)
  80 
  81 $(ROOTOPTDIR)/%: %.ksh
  82         $(INS.rename)
  83 
  84 %.64: %.c
  85         $(LINK.c) -m64 -o $@ $< $(LDLIBS64)
  86         $(POST_PROCESS)
  87 
  88 %.32: %.c
  89         $(LINK.c) -m32 -o $@ $< $(LDLIBS)
  90         $(POST_PROCESS)
  91 
  92 clobber: $(SUBDIRS)
  93         $(RM) $(PROGS32) $(PROGS64)
  94 
  95 $(SUBDIRS): FRC
  96         @cd $@; pwd; $(MAKE) $(TARGET)
  97 
  98 FRC:


  65 .KEEP_STATE:
  66 
  67 install: $(SUBDIRS) $(ROOTOPTPROGS)
  68 
  69 all: $(SUBDIRS) $(PROGS32) $(PROGS64)
  70 
  71 clean lint: $(SUBDIRS)
  72 
  73 $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)
  74 
  75 $(ROOTOPTDIR):
  76         $(INS.dir)
  77 
  78 $(ROOTOPTDIR)/%: %
  79         $(INS.file)
  80 
  81 $(ROOTOPTDIR)/%: %.ksh
  82         $(INS.rename)
  83 
  84 %.64: %.c
  85         $(LINK64.c) -o $@ $< $(LDLIBS64)
  86         $(POST_PROCESS)
  87 
  88 %.32: %.c
  89         $(LINK.c) -m32 -o $@ $< $(LDLIBS)
  90         $(POST_PROCESS)
  91 
  92 clobber: $(SUBDIRS)
  93         $(RM) $(PROGS32) $(PROGS64)
  94 
  95 $(SUBDIRS): FRC
  96         @cd $@; pwd; $(MAKE) $(TARGET)
  97 
  98 FRC: