#***************************************************************************** # # FILE NAME: $Id: Makefile,v 1.4 2008-04-02 13:33:08 messineo Exp $ # VERSION: # AUTHOR: Nergal S.r.l. # DATE: # # DESCRIPTION: base Makefile # # REVISION HISTORY: # # Version Date Author Change Description # #*****************************************************************************/ #------------------------------------------------------------------------------ include $(BASEDIR)/PamOffLineSW/Make.def #------------------------------------------------------------------------------ CFLAGS += -I $(FORROU_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC CSRCS = dummy2.c #------------------------------------------------------------------------------ TARGETLIB = $(FORROUINT_A) #------------------------------------------------------------------------------ libs: $(TARGETLIB) $(FORROU_A) $(FORROU_A): $(TARGETLIB) $(FORROUEXTLIB) cd $(OBJDIR); \ pwd ;\ for sub_lib in $(FORROUEXTLIB) ; do \ $(AR) -x $$sub_lib ; \ done ; \ $(AR) -scrv $@ *.o; $(FORROUEXTLIB): $(FORROUEXTDIR) for sub_dir in $(FORROUEXTDIR) ; do \ $(MAKE) -C $$sub_dir libs ; \ done $(TARGETLIB) : ${OBJS} $(AR) -scrv $@ ${OBJS} clean: clean-subdir rm -f $(TARGETLIB) $(OBJDIR)/*.[oa] $(OBJDIR)/.*.d clean-subdir: for sub_dir in $(FORROUEXTDIR) ; do \ $(MAKE) -C $$sub_dir clean ; \ done -include $(DEPEND) #------------------------------------------------------------------------------ include $(BASEDIR)/PamOffLineSW/Make.def.post #------------------------------------------------------------------------------