| 1 | | #smvarSubdir_do_dependencies=no |
| 2 | | #smvar_dependenciesDummy=yes |
| 3 | | ##OTHER_DIRS = f77 f90 cxx |
| 4 | | ## We want to replace the compilation and linking rule used by simplement |
| 5 | | #MPICHDIR=.. |
| 6 | | #CC = $(MPICHDIR)/bin/mpicc |
| 7 | | #CFLAGS = |
| 8 | | #CXXFLAGS = |
| 9 | | #FFLAGS = |
| 10 | | #F90FLAGS = |
| 11 | | #LDFLAGS = |
| 12 | | #CPPFLAGS = |
| 13 | | #DEFS = |
| 14 | | #INCLUDES = -I../src/include -I${top_srcdir}/src/include |
| 15 | | # |
| 16 | | #LDADD = |
| 17 | | #DEPADD = ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a |
| 18 | | #LIBS = |
| 19 | | ## pmandel requires a separate set of socket calls (its a long story) |
| 20 | | ## and may not build on most platforms |
| 21 | | #EXTRA_PROGRAMS = pmandel pmandel_spawn pmandel_service pmandel_spaserv \ |
| 22 | | # pmandel_fence hellow icpi parent child srtest srvec sr \ |
| 23 | | # spawn_merge_parent spawn_merge_child1 spawn_merge_child2 |
| 24 | | # |
| 25 | | ## LIBS includes -lmpich and other libraries (e.g., -lpmpich if |
| 26 | | ## weak symbols are not supported) |
| 27 | | #hellow_SOURCES = hellow.c |
| 28 | | #srtest_SOURCES = srtest.c |
| 29 | | #child_SOURCES = child.c |
| 30 | | #parent_SOURCES = parent.c |
| 31 | | #cpi_SOURCES = cpi.c |
| 32 | | #cpi_LDADD = -lm |
| 33 | | #icpi_SOURCES = icpi.c |
| 34 | | #icpi_LDADD = -lm |
| 35 | | #pmandel_SOURCES = pmandel.c |
| 36 | | #pmandel_LDADD = -lm |
| 37 | | #pmandel_spawn_SOURCES = pmandel_spawn.c |
| 38 | | #pmandel_spawn_LDADD = -lm |
| 39 | | #pmandel_service_SOURCES = pmandel_service.c |
| 40 | | #pmandel_service_LDADD = -lm |
| 41 | | #pmandel_spaserv_SOURCES = pmandel_spaserv.c |
| 42 | | #pmandel_spaserv_LDADD = -lm |
| 43 | | #pmandel_fence_SOURCES = pmandel_fence.c |
| 44 | | #pmandel_fence_LDADD = -lm |
| 45 | | #spawn_merge_parent_SOURCES = spawn_merge_parent.c |
| 46 | | #spawn_merge_child1_SOURCES = spawn_merge_child1.c |
| 47 | | #spawn_merge_child2_SOURCES = spawn_merge_child2.c |
| 48 | | # |
| 49 | | ## Use make all-programs to test building all example programs |
| 50 | | #all-programs: cpi $(EXTRA_PROGRAMS) |
| | 1 | smvarSubdir_do_dependencies=no |
| | 2 | smvar_dependenciesDummy=yes |
| | 3 | #OTHER_DIRS = f77 f90 cxx |
| | 4 | # We want to replace the compilation and linking rule used by simplement |
| | 5 | MPICHDIR=.. |
| | 6 | CC = $(MPICHDIR)/bin/mpicc |
| | 7 | CFLAGS = |
| | 8 | CXXFLAGS = |
| | 9 | FFLAGS = |
| | 10 | F90FLAGS = |
| | 11 | LDFLAGS = |
| | 12 | CPPFLAGS = |
| | 13 | DEFS = |
| | 14 | INCLUDES = -I../src/include -I${top_srcdir}/src/include |
| | 15 | |
| | 16 | LDADD = |
| | 17 | DEPADD = ../lib/lib${MPILIBNAME}.a ../src/openpa/src/libopa.a |
| | 18 | LIBS = |
| | 19 | # pmandel requires a separate set of socket calls (its a long story) |
| | 20 | # and may not build on most platforms |
| | 21 | EXTRA_PROGRAMS = pmandel pmandel_spawn pmandel_service pmandel_spaserv \ |
| | 22 | pmandel_fence hellow icpi parent child srtest srvec sr \ |
| | 23 | spawn_merge_parent spawn_merge_child1 spawn_merge_child2 |
| | 24 | |
| | 25 | # LIBS includes -lmpich and other libraries (e.g., -lpmpich if |
| | 26 | # weak symbols are not supported) |
| | 27 | hellow_SOURCES = hellow.c |
| | 28 | srtest_SOURCES = srtest.c |
| | 29 | child_SOURCES = child.c |
| | 30 | parent_SOURCES = parent.c |
| | 31 | cpi_SOURCES = cpi.c |
| | 32 | cpi_LDADD = -lm |
| | 33 | icpi_SOURCES = icpi.c |
| | 34 | icpi_LDADD = -lm |
| | 35 | pmandel_SOURCES = pmandel.c |
| | 36 | pmandel_LDADD = -lm |
| | 37 | pmandel_spawn_SOURCES = pmandel_spawn.c |
| | 38 | pmandel_spawn_LDADD = -lm |
| | 39 | pmandel_service_SOURCES = pmandel_service.c |
| | 40 | pmandel_service_LDADD = -lm |
| | 41 | pmandel_spaserv_SOURCES = pmandel_spaserv.c |
| | 42 | pmandel_spaserv_LDADD = -lm |
| | 43 | pmandel_fence_SOURCES = pmandel_fence.c |
| | 44 | pmandel_fence_LDADD = -lm |
| | 45 | spawn_merge_parent_SOURCES = spawn_merge_parent.c |
| | 46 | spawn_merge_child1_SOURCES = spawn_merge_child1.c |
| | 47 | spawn_merge_child2_SOURCES = spawn_merge_child2.c |
| | 48 | |
| | 49 | # Use make all-programs to test building all example programs |
| | 50 | all-programs: cpi $(EXTRA_PROGRAMS) |