comparison libgomp/Makefile.am @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children f6334be47118
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
26 else 26 else
27 libgomp_version_script = 27 libgomp_version_script =
28 endif 28 endif
29 libgomp_version_info = -version-info $(libtool_VERSION) 29 libgomp_version_info = -version-info $(libtool_VERSION)
30 libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script) \ 30 libgomp_la_LDFLAGS = $(libgomp_version_info) $(libgomp_version_script) \
31 -no-undefined 31 -no-undefined -bindir "$(bindir)"
32 libgomp_la_LINK = $(LINK) $(libgomp_la_LDFLAGS)
32 33
33 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \ 34 libgomp_la_SOURCES = alloc.c barrier.c critical.c env.c error.c iter.c \
34 iter_ull.c loop.c loop_ull.c ordered.c parallel.c sections.c single.c \ 35 iter_ull.c loop.c loop_ull.c ordered.c parallel.c sections.c single.c \
35 task.c team.c work.c lock.c mutex.c proc.c sem.c bar.c ptrlock.c \ 36 task.c team.c work.c lock.c mutex.c proc.c sem.c bar.c ptrlock.c \
36 time.c fortran.c affinity.c 37 time.c fortran.c affinity.c
39 nodist_libsubinclude_HEADERS = omp.h 40 nodist_libsubinclude_HEADERS = omp.h
40 if USE_FORTRAN 41 if USE_FORTRAN
41 nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod 42 nodist_finclude_HEADERS = omp_lib.h omp_lib.f90 omp_lib.mod omp_lib_kinds.mod
42 endif 43 endif
43 44
45 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
46
47 LINK = $(LIBTOOL) --tag CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
48 $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LTLDFLAGS) -o $@
49
44 omp_lib_kinds.mod: omp_lib.mod 50 omp_lib_kinds.mod: omp_lib.mod
45 : 51 :
46 omp_lib.mod: omp_lib.f90 52 omp_lib.mod: omp_lib.f90
47 $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90 53 $(FC) $(FCFLAGS) -fsyntax-only omp_lib.f90
48 fortran.lo: libgomp_f.h 54 fortran.lo: libgomp_f.h
49 fortran.o: libgomp_f.h 55 fortran.o: libgomp_f.h
50 env.lo: libgomp_f.h 56 env.lo: libgomp_f.h
51 env.o: libgomp_f.h 57 env.o: libgomp_f.h
52 58
53
54 # No install-html or install-pdf support in automake yet
55 .PHONY: install-html install-pdf
56 install-html:
57
58 install-pdf: $(PDFS)
59 @$(NORMAL_INSTALL)
60 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
61 @list='$(PDFS)'; for p in $$list; do \
62 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
63 f=$(am__strip_dir) \
64 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
65 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
66 done
67 59
68 # Automake Documentation: 60 # Automake Documentation:
69 # If your package has Texinfo files in many directories, you can use the 61 # If your package has Texinfo files in many directories, you can use the
70 # variable TEXINFO_TEX to tell Automake where to find the canonical 62 # variable TEXINFO_TEX to tell Automake where to find the canonical
71 # `texinfo.tex' for your package. The value of this variable should be 63 # `texinfo.tex' for your package. The value of this variable should be