LUNA
上传用户:xu_441
上传日期:2007-01-04
资源大小:1640k
文件大小:1k
源码类别:

Email客户端

开发平台:

Unix_Linux

  1. # $Id: LUNA,v 8.10 1999/04/24 05:37:55 gshapiro Exp $
  2. define(`confBEFORE', `dirent.h stddef.h stdlib.h unistd.h limits.h time.h sys/time.h')
  3. define(`confMAPDEF', `-DNDBM')
  4. define(`confMBINDIR', `/usr/lib')
  5. define(`confSBINDIR', `/usr/etc')
  6. define(`confUBINDIR', `/usr/ucb')
  7. define(`confEBINDIR', `/usr/lib')
  8. PUSHDIVERT(3)
  9. dirent.h:
  10. echo "#include <sys/dir.h>" > dirent.h
  11. echo "#define dirent    direct" >> dirent.h
  12. stddef.h unistd.h limits.h:
  13. if [ -f /usr/include/$@ ]; then 
  14. ln -s /usr/include/$@ .; 
  15. else 
  16. cp /dev/null $@; 
  17. fi
  18. stdlib.h:
  19. if [ -f /usr/include/stdlib.h ]; then 
  20. ln -s /usr/include/stdlib.h .; 
  21. else 
  22. if [ -f /usr/include/libc.h ]; then 
  23. ln -s /usr/include/libc.h stdlib.h; 
  24. else 
  25. cp /dev/null stdlib.h; 
  26. fi; 
  27. fi
  28. # just for UNIOS-B
  29. time.h:
  30. echo "#ifndef _LOCAL_TIME_H_" > time.h
  31. echo "#define _LOCAL_TIME_H_" >> time.h
  32. cat /usr/include/time.h >> time.h
  33. echo "#endif" >> time.h
  34. sys/time.h:
  35. -mkdir sys
  36. echo "#ifndef _LOCAL_SYS_TIME_H_" > sys/time.h
  37. echo "#define _LOCAL_SYS_TIME_H_" >> sys/time.h
  38. cat /usr/include/sys/time.h >> sys/time.h
  39. echo "#endif" >> sys/time.h
  40. POPDIVERT