diff options
Diffstat (limited to 'lib/libpthread/config.flags')
-rw-r--r-- | lib/libpthread/config.flags | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/lib/libpthread/config.flags b/lib/libpthread/config.flags deleted file mode 100644 index 97e65818410..00000000000 --- a/lib/libpthread/config.flags +++ /dev/null @@ -1,80 +0,0 @@ -# Since the real configure script runs from the config subdirectory, -# compensate here... -srctop= /dr1/my/masters/mysql/mit-pthreads -srcfoo= $(srctop) - -prefix= /usr/local/pthreads -exec_prefix= ${prefix} - -cpu = sparc -os = solaris2.5.1 - -MISSING_SYSCALLS = dup2 select getdtablesize ftruncate flock sigpause ksigaction readdir getdirentries wait4 wait3 waitpid socket bind connect accept listen getsockopt setsockopt socketpair socketcall send sendto sendmsg recv recvfrom recvmsg getpeername getsockname shutdown getpgrp -AVAILABLE_SYSCALLS = open write read creat close fcntl lseek dup pipe fchmod fchown execve fstat lstat link unlink chdir chown chmod stat rename ioctl fstatfs sigsuspend sigaction sigprocmask getdents waitsys poll putmsg getmsg pgrpsys exit readv writev fork -SYSCALL_EXCEPTIONS = fork sigaction -HAVE_SYSCALL_TEMPLATE = yes - -CC = gcc -CXX = c++ -CPP = gcc -E -SHELL = /bin/sh -RANLIB = ranlib -# Should use autoconf to find these. Currently our makefiles are inconsistent. -#AR = ar -#AS = gas -#LD = gld - -install-dirs: - for d in $(INSTALL_PATH) $(BINDIR) $(LIBDIR) $(INCDIR) ; do \ - test -d $(DESTDIR)$$d || mkdir $(DESTDIR)$$d || exit 1 ; \ - done - -config.status: ./config/configure - cd ${.CURDIR} && $(SHELL) config.status --recheck -config.flags: config.status ./config/config.flags.in - cd ${.CURDIR} && $(SHELL) config.status - -realclean: clean - cd tests && $(MAKE) realclean && cd .. - rm -f $(LINKS) config.status config.flags config.cache \ - Makefile GNUmakefile - -types=$(.CURDIR)/include/pthread/ac-types.h -$(types) : config.h - echo '#ifndef pthread_size_t' > $(types).new - egrep '^#define pthread_' $(.CURDIR)/config.h >> $(types).new - echo '#endif' >> $(types).new - mv -f $(types).new $(types) - -config=$(.CURDIR)/include/pthread/config.h -$(config) : config.h - echo '#ifndef _SYS___CONFIG_H_' > $(config).new - echo '#define _SYS___CONFIG_H_' >> $(config).new - -egrep '^#define _OS_HAS' $(.CURDIR)/config.h >> $(config).new - echo '#endif' >> $(config).new - mv -f $(config).new $(config) - -paths=$(.CURDIR)/include/pthread/paths.h -$(paths) : config.h - echo '#ifndef _SYS___PATHS_H_' > $(paths).new - echo '#define _SYS___PATHS_H_' >> $(paths).new - egrep '^#define _PATH' $(.CURDIR)/config.h >> $(paths).new - echo '#endif' >> $(paths).new - mv -f $(paths).new $(paths) - -all-tests: all-lib - cd ${.CURDIR}/tests && $(MAKE) all -check: all-lib - cd ${.CURDIR}/tests && $(MAKE) check -all : all-lib all-bin - -install-bin: all-bin install-dirs - for x in $(SCRIPTS) ; do \ - install $$x $(DESTDIR)$(BINDIR); \ - done - -install-include: install-dirs - (cd ${srcdir}/include && tar chf - .)|(cd $(DESTDIR)$(INCDIR) && tar xf -) - if [ -d config ]; then true; else \ - (cd ${.CURDIR}/include && tar chf - .)|(cd $(DESTDIR)$(INCDIR) && tar xf -); fi - (cd $(DESTDIR)$(INCDIR) && find . \( -name CVS -o -name \*~ \) -print | xargs rm -rf) |