config.flags
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:3k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. # Since the real configure script runs from the config subdirectory,
  2. # compensate here...
  3. srctop= /home/my/tmp/BUILD/mit-pthreads
  4. srcfoo= $(srctop)
  5. prefix= /usr/local/pthreads
  6. exec_prefix= ${prefix}
  7. cpu = i686
  8. os = linux
  9. MISSING_SYSCALLS =  getdtablesize sigpause ksigaction getdirentries wait3 waitsys socket bind connect accept listen getsockopt setsockopt socketpair putmsg getmsg pgrpsys send sendto sendmsg recv recvfrom recvmsg getpeername getsockname shutdown
  10. AVAILABLE_SYSCALLS =  open write read creat close fcntl lseek dup2 dup pipe fchmod fchown execve fstat lstat link unlink chdir chown chmod stat rename select ioctl ftruncate flock fstatfs chroot uname sigsuspend sigaction sigprocmask getdents readdir wait4 waitpid poll socketcall exit readv writev getpgrp fork
  11. SYSCALL_EXCEPTIONS = 
  12. HAVE_SYSCALL_TEMPLATE = no
  13. CC = gcc
  14. CXX = gcc
  15. CPP = gcc -E
  16. SHELL = /bin/sh
  17. RANLIB = ranlib
  18. # Should use autoconf to find these.  Currently our makefiles are inconsistent.
  19. #AR = ar
  20. #AS = gas
  21. #LD = gld
  22. install-dirs:
  23. for d in $(INSTALL_PATH) $(BINDIR) $(LIBDIR) $(INCDIR) ; do 
  24.   test -d $(DESTDIR)$$d || mkdir $(DESTDIR)$$d || exit 1 ; 
  25. done
  26. config.status: ./config/configure
  27. cd ${.CURDIR} && $(SHELL) config.status --recheck
  28. config.flags: config.status ./config/config.flags.in
  29. cd ${.CURDIR} && $(SHELL) config.status
  30. realclean: clean
  31. cd tests && $(MAKE) realclean && cd ..
  32. rm -f $(LINKS) config.status config.flags config.cache 
  33. Makefile GNUmakefile
  34. types=$(.CURDIR)/include/pthread/ac-types.h
  35. $(types) : config.h
  36. echo '#ifndef pthread_size_t' >  $(types).new
  37. egrep '^#define pthread_' $(.CURDIR)/config.h >> $(types).new
  38. echo '#endif' >> $(types).new
  39. mv -f $(types).new $(types)
  40. config=$(.CURDIR)/include/pthread/config.h
  41. $(config) : config.h
  42. echo '#ifndef _SYS___CONFIG_H_'              >  $(config).new
  43. echo '#define _SYS___CONFIG_H_'              >>  $(config).new
  44. -egrep '^#define _OS_HAS' $(.CURDIR)/config.h >> $(config).new
  45. echo '#endif'                                >>  $(config).new
  46. mv -f $(config).new $(config)
  47. paths=$(.CURDIR)/include/pthread/paths.h
  48. $(paths) : config.h
  49. echo '#ifndef _SYS___PATHS_H_' >  $(paths).new
  50. echo '#define _SYS___PATHS_H_' >>  $(paths).new
  51. egrep '^#define _PATH' $(.CURDIR)/config.h >> $(paths).new
  52. echo '#endif' >> $(paths).new
  53. mv -f $(paths).new $(paths)
  54. all-tests: all-lib
  55. cd ${.CURDIR}/tests && $(MAKE) all
  56. check: all-lib
  57. cd ${.CURDIR}/tests && $(MAKE) check
  58. all : all-lib all-bin
  59. install-bin: all-bin install-dirs
  60. for x in $(SCRIPTS) ; do 
  61.   install $$x $(DESTDIR)$(BINDIR); 
  62. done
  63. install-include: install-dirs
  64. (cd ${srcdir}/include && tar chf - .)|(cd $(DESTDIR)$(INCDIR) && tar xf -)
  65. if [ -d config ]; then true; else 
  66. (cd ${.CURDIR}/include && tar chf - .)|(cd $(DESTDIR)$(INCDIR) && tar xf -); fi
  67. (cd $(DESTDIR)$(INCDIR) && find . ( -name CVS -o -name *~ ) -print | xargs rm -rf)