[svn] / trunk / xvidcore / build / generic / Makefile Repository:
ViewVC logotype

Diff of /trunk/xvidcore/build/generic/Makefile

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

revision 1797, Wed Nov 26 02:17:50 2008 UTC revision 1997, Thu May 19 08:28:51 2011 UTC
# Line 41  Line 41 
41  ##############################################################################  ##############################################################################
42    
43  include sources.inc  include sources.inc
44    ifeq ($(findstring $(MAKECMDGOALS), clean distclean mrproper),)
45  include platform.inc  include platform.inc
46    endif
47    
48  RM = rm -rf  RM = rm -rf
49    
# Line 68  Line 70 
70    
71  .SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c  .SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c
72    
73  all: $(STATIC_LIB) $(SHARED_LIB)  all: info $(STATIC_LIB) $(SHARED_LIB)
74          @echo          @echo
75          @echo "---------------------------------------------------------------"          @echo "---------------------------------------------------------------"
76          @echo " Xvid has been successfully built."          @echo " Xvid has been successfully built."
# Line 98  Line 100 
100  # Generic C rule  # Generic C rule
101  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
102    
103    $(PPC_ALTIVEC_OBJECTS): CFLAGS+= $(ALTIVEC_CFLAGS)
104    
105  .c.$(OBJECT_EXTENSION):  .c.$(OBJECT_EXTENSION):
106          @echo "  C: $(@D)/$(<F)"          @echo "  C: $(@D)/$(<F)"
107          @$(INSTALL) -d $(BUILD_DIR)/$(@D)          @$(INSTALL) -d $(BUILD_DIR)/$(@D)
# Line 109  Line 113 
113    
114  $(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)  $(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)
115          @echo "  L: $(@F)"          @echo "  L: $(@F)"
116          @cd $(BUILD_DIR) && ar rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)          @cd $(BUILD_DIR) && $(AR) rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)
117    
118  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
119  # Shared Library  # Shared Library

Legend:
Removed from v.1797  
changed lines
  Added in v.1997

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4