Revision 9a6a850d323c357f9dde95f4029b39afd48e3f97 authored by Francois Trahay on 13 June 2008, 12:12:37 UTC, committed by Francois Trahay on 13 June 2008, 12:12:37 UTC
1 parent f5c630e
Makefile
# PM2: Parallel Multithreaded Machine
# Copyright (C) 2001 "the PM2 team" (see AUTHORS file)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# LIBNAME -> nom de la librairie
#---------------------------------------------------------------------
LIBNAME=mad3
# Inclusion des makefiles generiques
#---------------------------------------------------------------------
include $(PM2_ROOT)/make/libs-vars.mak
# Inclusion du cache specifique a madeleine
#---------------------------------------------------------------------
ifeq (,$(findstring _$(MAKECMDGOALS)_,$(DO_NOT_GENERATE_MAK_FILES)))
-include $(PM2_MAK_DIR)/mad3-specific.mak
endif
# Gestion des drivers : prise en compte des fichiers sources supplťmentaires
#---------------------------------------------------------------------
MOD_SRC2=$(MOD_SRC)/connection_interfaces
MOD_C_SOURCES += $(foreach PROT, $(MAD3_PROTOCOLS), $(MOD_SRC2)/mad_$(PROT).c)
# Le vpath supplťmentaire
#---------------------------------------------------------------------
vpath %.c $(MOD_SRC2)
# Regles communes aux librairies
#---------------------------------------------------------------------
include $(PM2_ROOT)/make/libs-rules.mak
# Construction du cache specifique a Madeleine III
#---------------------------------------------------------------------
$(PM2_MAK_DIR)/mad3-specific.mak: $(MOD_STAMP_FLAVOR)
$(COMMON_HIDE)_PM2_OUTPUT=`$(PM2_CONFIG) --protocols $(MODULE)`;\
if [ -n "$$_PM2_OUTPUT" ]; then mkdir -p `dirname $@`; \
echo "MAD3_PROTOCOLS := $$_PM2_OUTPUT" > $@ ;\
fi;
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...