1 |
#***************************************************************************** |
#***************************************************************************** |
2 |
# |
# |
3 |
# FILE NAME: $Id: Makefile,v 1.2 2008/09/23 07:57:55 mocchiut Exp $ |
# FILE NAME: $Id: Makefile,v 1.10 2008/09/25 09:03:21 mocchiut Exp $ |
4 |
# VERSION: |
# VERSION: |
5 |
# AUTHOR: Nergal S.r.l. |
# AUTHOR: Nergal S.r.l. |
6 |
# DATE: |
# DATE: |
97 |
libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB) |
libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB) |
98 |
$(CXX) \ |
$(CXX) \ |
99 |
$(PAM_BIT) -o $@ \ |
$(PAM_BIT) -o $@ \ |
100 |
-shared -nostdlib \ |
-shared \ |
101 |
-Wl,-soname \ |
-Wl,-soname \ |
102 |
-Wl,libyoda.so.0 \ |
-Wl,libyoda.so.0 \ |
103 |
-Wl,--whole-archive \ |
-Wl,--whole-archive \ |
104 |
$^ \ |
$^ \ |
105 |
-Wl,--no-whole-archive |
-Wl,--no-whole-archive |
106 |
|
|
|
|
|
107 |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
libyoda.a: $(TARGETLIB) $(EXTLIB) |
108 |
cd $(OBJDIR) ; \ |
cd $(OBJDIR) ; \ |
109 |
pwd ;\ |
pwd ;\ |
112 |
done ;\ |
done ;\ |
113 |
$(AR) -scrv libyoda.a *.o |
$(AR) -scrv libyoda.a *.o |
114 |
|
|
|
|
|
115 |
$(TARGETLIB) : ${OBJS} |
$(TARGETLIB) : ${OBJS} |
116 |
$(AR) -scrv $@ $? |
$(AR) -scrv $@ $? |
117 |
|
|
190 |
|
|
191 |
$(ROOTEVENTDICT).cpp: ${DICT_HEADER_FILES} |
$(ROOTEVENTDICT).cpp: ${DICT_HEADER_FILES} |
192 |
echo $(ROOTCINT) -f $@ -c ${INCLUDES} $^ ;\ |
echo $(ROOTCINT) -f $@ -c ${INCLUDES} $^ ;\ |
193 |
LD_LIBRARY_PATH=$(ROOT_LIB) $(ROOTCINT) -f $@ -c ${INCLUDES} $^ |
LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c ${INCLUDES} $^ |
194 |
|
|
195 |
clean: clean-subdir |
clean: clean-subdir |
196 |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d libyoda* |
rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d libyoda* |