1 |
#***************************************************************************** |
2 |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:04 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)/event/Make.def |
19 |
#------------------------------------------------------------------------------ |
20 |
|
21 |
|
22 |
CFLAGS += -I $(VARD_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC |
23 |
|
24 |
CXXSRCS = VarDumpEvent.cpp VarDumpRecord.cpp |
25 |
|
26 |
#------------------------------------------------------------------------------ |
27 |
|
28 |
TARGETLIB = $(VARD_A) |
29 |
|
30 |
#------------------------------------------------------------------------------ |
31 |
|
32 |
|
33 |
libs: $(TARGETLIB) |
34 |
|
35 |
$(TARGETLIB) : ${OBJS} |
36 |
ifeq ($(verbose),) |
37 |
@$(AR) -scrv $@ $? &>/dev/null |
38 |
else |
39 |
$(AR) -scrv $@ $? |
40 |
endif |
41 |
|
42 |
clean: |
43 |
ifeq ($(verbose),) |
44 |
@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
45 |
else |
46 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
47 |
endif |
48 |
|
49 |
-include $(DEPEND) |
50 |
|
51 |
|
52 |
#------------------------------------------------------------------------------ |
53 |
include $(BASEDIR)/event/Make.def.post |
54 |
#------------------------------------------------------------------------------ |
55 |
|