/[PAMELA software]/chewbacca/event/Makefile
ViewVC logotype

Diff of /chewbacca/event/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mocchiut, Tue Sep 23 09:21:47 2008 UTC revision 1.12 by pam-fi, Fri Apr 10 15:01:44 2009 UTC
# Line 1  Line 1 
1  #*****************************************************************************  #*****************************************************************************
2  #  #
3  # FILE NAME:    $Id: Makefile,v 1.2 2008/09/23 07:57:55 mocchiut Exp $      # FILE NAME:    $Id: Makefile,v 1.11 2008-11-04 09:44:53 mocchiut Exp $    
4  # VERSION:        # VERSION:      
5  # AUTHOR:       Nergal S.r.l.  # AUTHOR:       Nergal S.r.l.
6  # DATE:  # DATE:
# Line 15  Line 15 
15    
16    
17  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
18    ifneq ($(MAKECMDGOALS),distclean)
19  include $(BASEDIR)/event/Make.def  include $(BASEDIR)/event/Make.def
20    endif
21  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
22    
23  CFLAGS += -I $(EVNT_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DPIC  CFLAGS += -I $(EVNT_DIR_INC) -I $(ROOT_DIR_INC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -fPIC -DPIC
# Line 97  static: libyoda.a Line 99  static: libyoda.a
99  libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB)  libyoda.so.0.0.0: $(TARGETLIB) $(EXTLIB)
100          $(CXX) \          $(CXX) \
101          $(PAM_BIT) -o $@ \          $(PAM_BIT) -o $@ \
102          -shared -nostdlib \          -shared \
103          -Wl,-soname \          -Wl,-soname \
104          -Wl,libyoda.so.0 \          -Wl,libyoda.so.0 \
105          -Wl,--whole-archive \          -Wl,--whole-archive \
106          $^ \          $^ \
107          -Wl,--no-whole-archive          -Wl,--no-whole-archive
108    
   
109  libyoda.a: $(TARGETLIB) $(EXTLIB)  libyoda.a: $(TARGETLIB) $(EXTLIB)
110          cd $(OBJDIR) ; \          cd $(OBJDIR) ; \
111          pwd ;\          pwd ;\
# Line 113  libyoda.a: $(TARGETLIB) $(EXTLIB) Line 114  libyoda.a: $(TARGETLIB) $(EXTLIB)
114          done ;\          done ;\
115          $(AR) -scrv libyoda.a *.o          $(AR) -scrv libyoda.a *.o
116    
   
117  $(TARGETLIB) : ${OBJS}  $(TARGETLIB) : ${OBJS}
118          $(AR) -scrv $@ $?          $(AR) -scrv $@ $?
119    
# Line 192  DICT_HEADER_FILES = \ Line 192  DICT_HEADER_FILES = \
192    
193  $(ROOTEVENTDICT).cpp: ${DICT_HEADER_FILES}  $(ROOTEVENTDICT).cpp: ${DICT_HEADER_FILES}
194          echo    $(ROOTCINT) -f $@ -c ${INCLUDES} $^ ;\          echo    $(ROOTCINT) -f $@ -c ${INCLUDES} $^ ;\
195          LD_LIBRARY_PATH=$(ROOT_LIB) $(ROOTCINT) -f $@ -c ${INCLUDES} $^          LD_LIBRARY_PATH=$(ROOT_LIB):$(LD_LIBRARY_PATH); $(ROOTCINT) -f $@ -c ${INCLUDES} $^
196    
197  clean: clean-subdir  clean: clean-subdir
198          rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d libyoda*          rm -f $(TARGETLIB) ${OBJS} $(OBJDIR)/.*.d libyoda*

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23