| 1 | mocchiut | 1.1 | #***************************************************************************** | 
| 2 |  |  | # | 
| 3 | mocchiut | 1.2 | # FILE NAME:    $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:16 mocchiut Exp $ | 
| 4 | mocchiut | 1.1 | # VERSION: | 
| 5 |  |  | # AUTHOR:       Nergal S.r.l. | 
| 6 |  |  | # DATE: | 
| 7 |  |  | # | 
| 8 |  |  | # DESCRIPTION:  base Makefile | 
| 9 |  |  | # | 
| 10 |  |  | # REVISION HISTORY: | 
| 11 |  |  | # | 
| 12 |  |  | # Version     Date      Author         Change Description | 
| 13 |  |  | # | 
| 14 |  |  | #*****************************************************************************/ | 
| 15 |  |  |  | 
| 16 |  |  |  | 
| 17 |  |  | #------------------------------------------------------------------------------ | 
| 18 |  |  | include $(BASEDIR)/PamOffLineSW/Make.def | 
| 19 |  |  | #------------------------------------------------------------------------------ | 
| 20 |  |  |  | 
| 21 |  |  |  | 
| 22 |  |  | CFLAGS += -I $(TRAK_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DPIC | 
| 23 |  |  |  | 
| 24 |  |  | CSRCS = dummy.c | 
| 25 |  |  |  | 
| 26 |  |  | #------------------------------------------------------------------------------ | 
| 27 |  |  |  | 
| 28 |  |  | TARGETLIB = $(TRAK_A) | 
| 29 |  |  |  | 
| 30 |  |  | #------------------------------------------------------------------------------ | 
| 31 |  |  |  | 
| 32 |  |  |  | 
| 33 |  |  | libs: $(TARGETLIB) | 
| 34 |  |  |  | 
| 35 |  |  | $(TARGETLIB) : ${OBJS} $(RRAW_A) | 
| 36 | mocchiut | 1.2 | ifeq ($(verbose),) | 
| 37 |  |  | @cp -a $(RRAW_A) $(TARGETLIB); \ | 
| 38 |  |  | $(AR) -scrv $@ ${OBJS} &>/dev/null | 
| 39 |  |  | else | 
| 40 | mocchiut | 1.1 | cp -a $(RRAW_A) $(TARGETLIB); \ | 
| 41 |  |  | $(AR) -scrv $@ ${OBJS} | 
| 42 | mocchiut | 1.2 | endif | 
| 43 | mocchiut | 1.1 |  | 
| 44 |  |  | $(RRAW_A): | 
| 45 | mocchiut | 1.2 | ifeq ($(verbose),) | 
| 46 |  |  | @$(MAKE) -s -C readraw libs; | 
| 47 |  |  | else | 
| 48 | mocchiut | 1.1 | $(MAKE) -C readraw libs; | 
| 49 | mocchiut | 1.2 | endif | 
| 50 | mocchiut | 1.1 |  | 
| 51 |  |  | clean: | 
| 52 | mocchiut | 1.2 | ifeq ($(verbose),) | 
| 53 |  |  | @rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d | 
| 54 |  |  | else | 
| 55 | mocchiut | 1.1 | rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d | 
| 56 | mocchiut | 1.2 | endif | 
| 57 | mocchiut | 1.1 |  | 
| 58 |  |  | -include $(DEPEND) | 
| 59 |  |  |  | 
| 60 |  |  |  | 
| 61 |  |  | #------------------------------------------------------------------------------ | 
| 62 |  |  | include $(BASEDIR)/PamOffLineSW/Make.def.post | 
| 63 |  |  | #------------------------------------------------------------------------------ |