1 |
mocchiut |
1.1 |
#***************************************************************************** |
2 |
|
|
# |
3 |
mocchiut |
1.2 |
# FILE NAME: $Id: Makefile,v 1.1.1.1 2008/09/23 07:20:04 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)/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 |
mocchiut |
1.2 |
ifeq ($(verbose),) |
37 |
|
|
@$(AR) -scrv $@ $? &>/dev/null |
38 |
|
|
else |
39 |
mocchiut |
1.1 |
$(AR) -scrv $@ $? |
40 |
mocchiut |
1.2 |
endif |
41 |
mocchiut |
1.1 |
|
42 |
|
|
clean: |
43 |
mocchiut |
1.2 |
ifeq ($(verbose),) |
44 |
|
|
@rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
45 |
|
|
else |
46 |
mocchiut |
1.1 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d |
47 |
mocchiut |
1.2 |
endif |
48 |
mocchiut |
1.1 |
|
49 |
|
|
-include $(DEPEND) |
50 |
|
|
|
51 |
|
|
|
52 |
|
|
#------------------------------------------------------------------------------ |
53 |
|
|
include $(BASEDIR)/event/Make.def.post |
54 |
|
|
#------------------------------------------------------------------------------ |
55 |
|
|
|