

# makefile pour le decodage du fichier de parametres d'acquisition


THEINC	=	../../include
THELIB	=	../../lib	
THEDOC  = 	/sauv/info/httpd/htdocs/technique/acquisition/sun/src/param

THESCRIPTS =	../../../scripts
BROWSERDBASE =	../../../CodeBrowser_database

CC	=	/soft/SUN/SUNWspro/bin/cc
CFLAGS	=	-I${THEINC} -xsb
LFLAGS	= 	-L${THELIB}
AUTODOC = 	/sauv/info/httpd/cgi-bin/autodoc.pl 
 


GOAL=param.a

SRCBIB=init-param.c util_param.c decode_mcle.c action.c action_sem.c action_fix.c action_phy1.c ctrl_param.c def_mcle.c 


OBJBIB= init-param.o util_param.o decode_mcle.o action.o action_sem.o action_fix.o action_phy1.o ctrl_param.o def_mcle.o

DOCBIB= ${THEDOC}/init-param.html ${THEDOC}/util_param.html ${THEDOC}/decode_mcle.html ${THEDOC}/action.html ${THEDOC}/ctrl_param.html ${THEDOC}/def_mcle.html

#####################
# Cibles utilisees par le make general

#all: browserdb ${GOAL} #${DOCBIB}
all: ${GOAL} 
	cp ${GOAL} ${THELIB}

clean:
	rm -f ${OBJBIB} 



#####################




%.o: %.c
	${CC} -c ${CFLAGS} $*.c

${THEDOC}/%.html: %.c
#	${AUTODOC} -C $*.c ${THEDOC}/$*.html

${GOAL}:${OBJBIB}
	ar rv $@ ${OBJBIB}

browserdb :
	${THESCRIPTS}/test_SymLink2BrowserDbase ${BROWSERDBASE}




















