[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 1412, Mon Apr 5 20:36:37 2004 UTC revision 1617, Mon May 23 09:29:43 2005 UTC
# Line 2  Line 2 
2  #  #
3  # - Unified Makefile for XviD for *nix environments -  # - Unified Makefile for XviD for *nix environments -
4  #  #
5  # Copyright(C) 2003 Edouard Gomez <ed.gomez@free.fr>  # Copyright(C) 2003-2004 Edouard Gomez <ed.gomez@free.fr>
6  #  #
7  #  #
8  # Description:  # Description:
# Line 11  Line 11 
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.
13  #  #
14  # Makefile functionnal dependencies:  # Makefile functional dependencies:
15  #  - echo  #  - echo
16  #  - rm (with option -r and -f)  #  - rm (with option -r and -f)
17  #  - cd  #  - cd
18  #  - make VPATH support (eg: GNU make, solaris 8 make)  #  - make VPATH support (eg: GNU make, solaris 8 make)
19    #  - ar
20  #  #
21  # Building output:  # Building output:
22  #  - C means "_C_ompiling"  #  - C means "_C_ompiling"
# Line 56  Line 57 
57  OBJECTS += $(DCT_IA64_OBJECTS)  OBJECTS += $(DCT_IA64_OBJECTS)
58  OBJECTS += $(PPC_ALTIVEC_OBJECTS)  OBJECTS += $(PPC_ALTIVEC_OBJECTS)
59    
60  # The VPATH mecanism could use a "per target" build directory  # The VPATH mechanism could use a "per target" build directory
61  # To keep it simple at the moment, the directory is fixed to "build"  # To keep it simple at the moment, the directory is fixed to "build"
62  BUILD_DIR = =build  BUILD_DIR = =build
63  VPATH     = $(SRC_DIR):$(BUILD_DIR)  VPATH     = $(SRC_DIR):$(BUILD_DIR)
# Line 128  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 136  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
# Line 176  Line 178 
178          @$(RM) autom4te.cache          @$(RM) autom4te.cache
179    
180  mrproper: distclean  mrproper: distclean
181          @echo "  Cl: Boostrapped build files"          @echo "  Cl: Bootstrapped build files"
182          @$(RM) configure          @$(RM) configure
183          @$(RM) install-sh          @$(RM) install-sh
184          @$(RM) missing          @$(RM) missing

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

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