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) |
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 |
|
|
120 |
# .PHONY targets |
# .PHONY targets |
121 |
#----------------------------------------------------------------------------- |
#----------------------------------------------------------------------------- |
122 |
|
|
123 |
.PHONY: distclean clean info list-objects list-targets list-install-path list-cflags |
.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... " |
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" |