(file) Return to library-unix.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

Diff for /pegasus/mak/library-unix.mak between version 1.15 and 1.17

version 1.15, 2001/12/13 14:53:31 version 1.17, 2002/02/05 10:22:13
Line 1 
Line 1 
  
 ifeq ($(COMPILER),xlc) ifeq ($(COMPILER),xlc)
   LINK_COMMAND = makeC++SharedLib    LINK_COMMAND = makeC++SharedLib_r
   LINK_ARGUMENTS = -p 0   LINK_ARGUMENTS = -p 0
   LINK_OUT = -o   LINK_OUT = -o
 endif endif
Line 14 
Line 14 
     LINK_COMMAND += -g     LINK_COMMAND += -g
   endif   endif
   ifdef PEGASUS_CCOVER   ifdef PEGASUS_CCOVER
     LIBRARIES += $(CCOVER_LIB)/libcov-PIC.a      FULL_LIBRARIES += $(CCOVER_LIB)/libcov-PIC.a
   endif   endif
   LINK_ARGUMENTS =   LINK_ARGUMENTS =
   LINK_OUT = -o   LINK_OUT = -o
Line 41 
Line 41 
 FULL_LIB=$(LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX) FULL_LIB=$(LIB_DIR)/lib$(LIBRARY)$(LIB_SUFFIX)
  
 ## Rule for all UNIX library builds ## Rule for all UNIX library builds
 $(FULL_LIB): $(LIB_DIR)/target $(OBJ_DIR)/target $(OBJECTS) $(LIBRARIES) \  $(FULL_LIB): $(LIB_DIR)/target $(OBJ_DIR)/target $(OBJECTS) $(FULL_LIBRARIES) \
     $(ERROR)     $(ERROR)
 ifneq ($(COMPILER),xlc)  
   ## Actions for all UNIX compilers except xlc  
   ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)   ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes)
     ## To generate shared libraries which will cause dynamic     ## To generate shared libraries which will cause dynamic
     ## search of other shared libraries which they reference,     ## search of other shared libraries which they reference,
Line 61 
Line 59 
     endif     endif
  
   else   else
         $(LINK_COMMAND) $(LINK_ARGUMENTS) $(LINK_OUT) $(FULL_LIB) $(OBJECTS) $(LIBRARIES)          $(LINK_COMMAND) $(LINK_ARGUMENTS) $(LINK_OUT) $(FULL_LIB) $(OBJECTS) $(FULL_LIBRARIES)
   endif  
 else  
         ar crv $(PEGASUS_PLATFORM).lib $(OBJECTS) $(LIBRARIES)  
         $(LINK_COMMAND) $(LINK_ARGUMENTS) $(LINK_OUT)$(FULL_LIB) $(PEGASUS_PLATFORM).lib  
         rm -f $(PEGASUS_PLATFORM).lib  
 endif endif
         $(TOUCH) $(FULL_LIB)         $(TOUCH) $(FULL_LIB)
         @ $(ECHO)         @ $(ECHO)


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2