home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / libiberty / config / mt-vxworks5 < prev   
Text File  |  1996-09-28  |  955b  |  28 lines

  1. # VxWorks 5.x target Makefile fragment.
  2. # The autoconfiguration fails for a VxWorks target, because the
  3. # libraries are actually on the target board, not in the file system.
  4. # Therefore, we compute the dependencies by hand.
  5.  
  6. HDEFINES = -DNO_SYS_PARAM_H -DNO_SYS_FILE_H
  7. CONFIG_H = vxconfig.h
  8. NEEDED_LIST = vxneeded-list
  9.  
  10. vxconfig.h: Makefile
  11.     if [ -f ../newlib/Makefile ]; then \
  12.       $(MAKE) $(FLAGS_TO_PASS) xconfig.h; \
  13.       cp xconfig.h vxconfig.h; \
  14.     else \
  15.       echo "#define NEED_sys_nerr 1" >vxconfig.h; \
  16.       echo "#define NEED_sys_errlist 1" >>vxconfig.h; \
  17.       echo "#define NEED_sys_siglist 1" >>vxconfig.h; \
  18.       echo "#define NEED_psignal 1" >>vxconfig.h; \
  19.     fi
  20.  
  21. vxneeded-list: Makefile
  22.     if [ -f ../newlib/Makefile ]; then \
  23.       $(MAKE) $(FLAGS_TO_PASS) xneeded-list; \
  24.       cp xneeded-list vxneeded-list; \
  25.     else \
  26.       echo getopt.o getpagesize.o insque.o random.o strcasecmp.o strncasecmp.o strdup.o vfork.o sigsetmask.o waitpid.o >vxneeded-list; \
  27.     fi
  28.