[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 1617, Mon May 23 09:29:43 2005 UTC revision 1973, Thu Apr 28 14:06:07 2011 UTC
# Line 1  Line 1 
1  ##############################################################################  ##############################################################################
2  #  #
3  # - Unified Makefile for XviD for *nix environments -  # - Unified Makefile for Xvid for *nix environments -
4  #  #
5  # Copyright(C) 2003-2004 Edouard Gomez <ed.gomez@free.fr>  # Copyright(C) 2003-2004 Edouard Gomez <ed.gomez@free.fr>
6  #  #
7  #  #
8  # Description:  # Description:
9  #  This Makefile allows building XviD sources to obtain a shared library  #  This Makefile allows building Xvid sources to obtain a shared library
10  #  and a static library. This Makefile uses variables defined in the  #  and a static library. This Makefile uses variables defined in the
11  #  platform.inc file. This platform.inc file is usually created by the  #  platform.inc file. This platform.inc file is usually created by the
12  #  ./configure script whenever a unix shell is available.  #  ./configure script whenever a unix shell is available.
# Line 68  Line 68 
68    
69  .SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c  .SUFFIXES: .$(OBJECT_EXTENSION) .$(ASSEMBLY_EXTENSION) .c
70    
71  all: $(STATIC_LIB) $(SHARED_LIB)  all: info $(STATIC_LIB) $(SHARED_LIB)
72          @echo          @echo
73          @echo "---------------------------------------------------------------"          @echo "---------------------------------------------------------------"
74          @echo " XviD has been successfully built."          @echo " Xvid has been successfully built."
75          @echo          @echo
76          @echo " * Binaries are currently located in the '$(BUILD_DIR)' directory"          @echo " * Binaries are currently located in the '$(BUILD_DIR)' directory"
77          @echo " * To install them on your system, you can run '# make install'"          @echo " * To install them on your system, you can run '# make install'"
# Line 98  Line 98 
98  # Generic C rule  # Generic C rule
99  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
100    
101    $(PPC_ALTIVEC_OBJECTS): CFLAGS+= $(ALTIVEC_CFLAGS)
102    
103  .c.$(OBJECT_EXTENSION):  .c.$(OBJECT_EXTENSION):
104          @echo "  C: $(@D)/$(<F)"          @echo "  C: $(@D)/$(<F)"
105          @$(INSTALL) -d $(BUILD_DIR)/$(@D)          @$(INSTALL) -d $(BUILD_DIR)/$(@D)
# Line 109  Line 111 
111    
112  $(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)  $(STATIC_LIB): $(BUILD_DIR) $(OBJECTS)
113          @echo "  L: $(@F)"          @echo "  L: $(@F)"
114          @cd $(BUILD_DIR) && ar rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)          @cd $(BUILD_DIR) && $(AR) rc $(@F) $(OBJECTS) && $(RANLIB) $(@F)
115    
116  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
117  # Shared Library  # Shared Library

Legend:
Removed from v.1617  
changed lines
  Added in v.1973

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