Print this page
5293 desire symbol visibility test
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/test/libc-tests/tests/Makefile.com
          +++ new/usr/src/test/libc-tests/tests/Makefile.com
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  OBJS32 = $(OBJS:%.o=%.$(MACH).o)
  23   23  PROG32 = $(PROG).$(MACH)
  24   24  
  25   25  $(BUILD64) OBJS64 = $(OBJS:%.o=%.$(MACH64).o)
  26   26  $(BUILD64) PROG64= $(PROG).$(MACH64)
  27   27  
  28   28  $(OBJS_OVERRIDE)SRCS = $(PROG).c ../common/test_common.c
  29   29  
  30   30  C99MODE = -xc99=%all
  31   31  LINTFLAGS += -I../common -DARCH=\"ARCH\" -DLINT
  32      -CPPFLAGS += -I../common
       32 +CPPFLAGS += -I$(ROOT)/usr/include -I../common
  33   33  
  34   34  ROOTOPTPKG = $(ROOT)/opt/libc-tests
  35      -TESTDIR = $(ROOTOPTPKG)/tests
       35 +TESTDIR = $(ROOTOPTPKG)/tests/$(TESTSUBDIR)
  36   36  
  37   37  CMDS = $(PROG32:%=$(TESTDIR)/%) $(PROG64:%=$(TESTDIR)/%) \
  38      -        $(KSHPROG:%=$(TESTDIR)/%) $(ARCHPROG:%=$(TESTDIR)/%)
       38 +        $(KSHPROG:%=$(TESTDIR)/%) $(ARCHPROG:%=$(TESTDIR)/%) \
       39 +        $(EXTRAPROG:%=$(TESTDIR)/%)
       40 +
  39   41  $(CMDS) := FILEMODE = 0555
  40   42  
  41   43  all: $(PROG32) $(PROG64) $(KSHPROG) $(ARCHPROG) $(SUBDIRS)
  42   44  
  43   45  $(PROG32): $(OBJS32)
  44   46          $(LINK.c) $(OBJS32) -o $@ $(LDLIBS)
  45   47          $(POST_PROCESS)
  46   48  
  47   49  $(PROG64): $(OBJS64)
  48   50          $(LINK64.c) $(OBJS64) -o $@ $(LDLIBS64)
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX