/[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.8 by mocchiut, Tue Sep 23 15:43:25 2008 UTC revision 1.11 by mocchiut, Tue Nov 4 09:44:53 2008 UTC
# Line 1  Line 1 
1  #*****************************************************************************  #*****************************************************************************
2  #  #
3  # FILE NAME:    $Id: Makefile,v 1.7 2008/09/23 15:22:21 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:
# Line 97  static: libyoda.a Line 97  static: libyoda.a
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          /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \          -Wl,--whole-archive \
104          /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o \          $^ \
105          -Wl,--whole-archive \          -Wl,--no-whole-archive
         $^ \  
         -Wl,--no-whole-archive  
106    
107  libyoda.a: $(TARGETLIB) $(EXTLIB)  libyoda.a: $(TARGETLIB) $(EXTLIB)
108          cd $(OBJDIR) ; \          cd $(OBJDIR) ; \
# Line 112  libyoda.a: $(TARGETLIB) $(EXTLIB) Line 110  libyoda.a: $(TARGETLIB) $(EXTLIB)
110          for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \          for sub_lib in $(TARGETLIB) $(EXTLIB) ; do \
111                  $(AR) -x $$sub_lib ; \                  $(AR) -x $$sub_lib ; \
112          done ;\          done ;\
113          $(AR) -scrv libyoda.a *.o \          $(AR) -scrv libyoda.a *.o
         /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o \  
         /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o  
114    
115  $(TARGETLIB) : ${OBJS}  $(TARGETLIB) : ${OBJS}
116          $(AR) -scrv $@ $?          $(AR) -scrv $@ $?
# Line 194  DICT_HEADER_FILES = \ Line 190  DICT_HEADER_FILES = \
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*

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23