[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 1451, Fri May 21 14:40:15 2004 UTC revision 1797, Wed Nov 26 02:17:50 2008 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 71  Line 71 
71  all: $(STATIC_LIB) $(SHARED_LIB)  all: $(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 129  Line 129 
129  $(SHARED_LIB): $(BUILD_DIR) $(OBJECTS)  $(SHARED_LIB): $(BUILD_DIR) $(OBJECTS)
130          @echo "  L: $(@F)"          @echo "  L: $(@F)"
131          @$(INSTALL) -m 644 libxvidcore.def $(BUILD_DIR)/libxvidcore.def          @$(INSTALL) -m 644 libxvidcore.def $(BUILD_DIR)/libxvidcore.def
132            @$(INSTALL) -m 644 libxvidcore.ld $(BUILD_DIR)/libxvidcore.ld
133          @cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) $(SPECIFIC_LDFLAGS)          @cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) $(SPECIFIC_LDFLAGS)
134    
135  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
# Line 137  Line 138 
138    
139  install: $(BUILD_DIR)/$(STATIC_LIB) $(BUILD_DIR)/$(SHARED_LIB)  install: $(BUILD_DIR)/$(STATIC_LIB) $(BUILD_DIR)/$(SHARED_LIB)
140          @echo "  D: $(libdir)"          @echo "  D: $(libdir)"
141          @$(INSTALL) -d $(libdir)          @$(INSTALL) -d $(DESTDIR)$(libdir)
142          @echo "  I: $(libdir)/$(SHARED_LIB)"          @echo "  I: $(libdir)/$(SHARED_LIB)"
143          @$(INSTALL) -m 755 $(BUILD_DIR)/$(SHARED_LIB) $(libdir)/$(SHARED_LIB)          @$(INSTALL) -m 644 $(BUILD_DIR)/$(SHARED_LIB) $(DESTDIR)$(libdir)/$(SHARED_LIB)
144          @echo "  I: $(libdir)/$(STATIC_LIB)"          @echo "  I: $(libdir)/$(STATIC_LIB)"
145          @$(INSTALL) -m 755 $(BUILD_DIR)/$(STATIC_LIB) $(libdir)/$(STATIC_LIB)          @$(INSTALL) -m 644 $(BUILD_DIR)/$(STATIC_LIB) $(DESTDIR)$(libdir)/$(STATIC_LIB)
146          @echo "  D: $(includedir)"          @echo "  D: $(includedir)"
147          @$(INSTALL) -d $(includedir)          @$(INSTALL) -d $(DESTDIR)$(includedir)
148          @echo "  I: $(includedir)/xvid.h"          @echo "  I: $(includedir)/xvid.h"
149          @$(INSTALL) -m 644 $(SRC_DIR)/xvid.h $(includedir)/xvid.h          @$(INSTALL) -m 644 $(SRC_DIR)/xvid.h $(DESTDIR)$(includedir)/xvid.h
150    
151  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
152  # Platorm specific file -- dumb rules for people executing make before  # Platorm specific file -- dumb rules for people executing make before

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

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