1
1

Added err.h to dist for windows build.

Built into src win_makefile the ability to exclude files from the build to allow
  dist to build properly on windows

This commit was SVN r4570.
Этот коммит содержится в:
Josh Hursey 2005-02-28 16:00:55 +00:00
родитель e0e8b82ff7
Коммит 02934da2af
2 изменённых файлов: 15 добавлений и 1 удалений

Просмотреть файл

@ -14,4 +14,6 @@
include $(top_srcdir)/config/Makefile.options
EXTRA_DIST = err.h
SUBDIRS = sys

Просмотреть файл

@ -68,6 +68,15 @@ C_SUBDIRS = \
EXTRA_DIRS =
#
# Files included by the dist that we don't want to compile
#
EXCLUDE_FILES = dt_arch.c dt_external32.c \
dt_match_size.c epoll.c \
epoll_sub.c kqueue.c \
llm_base_parse_hostfile_lex.c \
misc.c poll.c rtsig.c signal.c stacktrace.c
#
# A small function to extract the list of all files in these directories
#
@ -153,7 +162,7 @@ ADDLIBS = \
.c.obj:
$(CXX) $(CXXFLAGS) $*.c
all: prebuild libmpi
all: libmpi
prebuild:
@echo "Creating mca_base_parse_paramfile_lex.c"
@ -171,6 +180,9 @@ prebuild:
@for dirs in ${C_SUBDIRS}; do \
(echo "Entering $${dirs}"; cd $$dirs; if test -f .compile_files; then (more .compile_files| xargs -i'{}' ln -f '{}' ${topdir}/src/Debug/'{}'); else (ls *.c 2>/dev/null | xargs -i'{}' ln -f '{}' ${topdir}/src/Debug/'{}'); fi); \
done
@for file in ${EXCLUDE_FILES}; do \
(echo "Removing $${file}"; cd ${topdir}/src/Debug/; rm -f $${file}); \
done
@echo "done"