[svn] / branches / dev-api-4 / xvidcore / build / generic / Makefile Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/build/generic/Makefile

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

trunk/xvidcore/build/generic/Makefile revision 830, Tue Feb 11 21:56:31 2003 UTC branches/dev-api-4/xvidcore/build/generic/Makefile revision 1039, Thu May 22 18:58:18 2003 UTC
# Line 30  Line 30 
30  #  #
31  ##############################################################################  ##############################################################################
32    
 # Our main targets  
 STATIC_LIB=libxvidcore.$(STATIC_EXTENSION)  
 SHARED_LIB=libxvidcore.$(SHARED_EXTENSION)  
   
33  # Their Objects  # Their Objects
34  OBJECTS=$(GENERIC_OBJECTS)  OBJECTS=$(GENERIC_OBJECTS)
35  OBJECTS+=$(DIVX4COMPAT_OBJECTS)  OBJECTS+=$(DIVX4COMPAT_OBJECTS)
# Line 68  Line 64 
64    
65  .c.$(OBJECT_EXTENSION):  .c.$(OBJECT_EXTENSION):
66          @echo -n "Compiling $< ... "          @echo -n "Compiling $< ... "
67          @$(CC) -c $(CFLAGS) $< -o $@          @$(CC) -c $(ARCHITECTURE) $(BUS) $(ENDIANNESS) $(FEATURES) $(SPECIFIC_CFLAGS) $(CFLAGS) $< -o $@
68          @echo "Done"          @echo "Done"
69    
70  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
# Line 102  Line 98 
98          @echo          @echo
99          @echo "+---------- Installing XviD libraries in $(libdir) ----------+"          @echo "+---------- Installing XviD libraries in $(libdir) ----------+"
100          @echo          @echo
101            $(INSTALL) -d $(libdir)
102          $(INSTALL) -m 755 $(SHARED_LIB) $(libdir)/$(SHARED_LIB)          $(INSTALL) -m 755 $(SHARED_LIB) $(libdir)/$(SHARED_LIB)
103          $(INSTALL) -m 755 $(STATIC_LIB) $(libdir)/$(STATIC_LIB)          $(INSTALL) -m 755 $(STATIC_LIB) $(libdir)/$(STATIC_LIB)
104          @echo          @echo
105          @echo "+---------- Installing XviD header in $(includedir) ----------+"          @echo "+---------- Installing XviD header in $(includedir) ----------+"
106          @echo          @echo
107            $(INSTALL) -d $(includedir)
108          $(INSTALL) -m 644 $(SRCDIR)/xvid.h $(includedir)/xvid.h          $(INSTALL) -m 644 $(SRCDIR)/xvid.h $(includedir)/xvid.h
109          @echo          @echo
110    
# Line 122  Line 120 
120  # .PHONY targets  # .PHONY targets
121  #-----------------------------------------------------------------------------  #-----------------------------------------------------------------------------
122    
123  .PHONY: distclean clean info list-objects list-targets list-install-path  .PHONY: mrproper distclean clean info list-objects list-targets list-install-path list-cflags
124    
125  clean:  clean:
126          @echo -n "Cleaning objects... "          @echo -n "Cleaning objects... "
# Line 135  Line 133 
133          @$(RM) $(SHARED_LIB)          @$(RM) $(SHARED_LIB)
134          @echo "Done"          @echo "Done"
135    
   
136  distclean: clean  distclean: clean
137          @echo -n "Cleaning generated files... "          @echo -n "Cleaning generated files... "
138          @$(RM) libxvidcore.def          @$(RM) libxvidcore.def
139          @$(RM) platform.inc          @$(RM) platform.inc
140          @$(RM) config.log          @$(RM) config.log
141            @$(RM) config.status
142          @$(RM) autom4te.cache          @$(RM) autom4te.cache
143          @echo "Done"          @echo "Done"
144    
145    mrproper: distclean
146            @echo -n "Cleaning bootstrapped files... "
147            @$(RM) configure
148            @$(RM) install-sh
149            @$(RM) missing
150            @$(RM) config.guess
151            @$(RM) mkinstalldirs
152            @$(RM) config.sub
153            @echo "Done"
154    
155  list-objects:  list-objects:
156          @echo          @echo
157          @echo "Object files used for this build"          @echo "Object files used for this build"
# Line 170  Line 178 
178          @echo Library: $(libdir)          @echo Library: $(libdir)
179          @echo          @echo
180    
181  info: list-objects list-targets list-install-path  list-cflags:
182            @echo
183            @echo "Using CFLAGS"
184            @echo "---------------------------------------------------------------"
185            @echo
186            @echo CFLAGS=$(CFLAGS)
187            @echo
188    
189    info: list-objects list-cflags list-targets list-install-path

Legend:
Removed from v.830  
changed lines
  Added in v.1039

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