1 |
#***************************************************************************** |
2 |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:17 mocchiut Exp $ |
4 |
# 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 $(RRAW_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC |
23 |
|
24 |
CSRCS = crc.c dunpacker.c findstart.c hunpacker.c readbad.c readped.c \ |
25 |
readsig.c readtrailer.c getbytes.c |
26 |
|
27 |
FSRCS = trkunpack.f |
28 |
|
29 |
#------------------------------------------------------------------------------ |
30 |
|
31 |
TARGETLIB = $(RRAW_A) |
32 |
|
33 |
#------------------------------------------------------------------------------ |
34 |
|
35 |
|
36 |
libs: $(TARGETLIB) |
37 |
|
38 |
$(TARGETLIB) : ${OBJS} |
39 |
ifeq ($(verbose),) |
40 |
@$(AR) -scrv $@ $? &>/dev/null |
41 |
else |
42 |
$(AR) -scrv $@ $? |
43 |
endif |
44 |
|
45 |
clean: |
46 |
ifeq ($(verbose),) |
47 |
@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
48 |
else |
49 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
50 |
endif |
51 |
|
52 |
-include $(DEPEND) |
53 |
|
54 |
|
55 |
#------------------------------------------------------------------------------ |
56 |
include $(BASEDIR)/PamOffLineSW/Make.def.post |
57 |
#------------------------------------------------------------------------------ |