[unix] Call libtool to clean up.
* builds/unix/install.mk (clean_project_unix, distclean_project_unix): Use libtool. * builds/freetype.mk: Minor.
This commit is contained in:
parent
6ce6685659
commit
c6a965b4d3
|
@ -1,3 +1,11 @@
|
||||||
|
2018-01-21 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
|
[unix] Call libtool to clean up.
|
||||||
|
|
||||||
|
* builds/unix/install.mk (clean_project_unix, distclean_project_unix):
|
||||||
|
Use libtool.
|
||||||
|
* builds/freetype.mk: Minor.
|
||||||
|
|
||||||
2018-01-18 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2018-01-18 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
* src/base/ftver.rc: Fix mingw-w64 compilation.
|
* src/base/ftver.rc: Fix mingw-w64 compilation.
|
||||||
|
|
|
@ -345,10 +345,9 @@ remove_ftmodule_h:
|
||||||
|
|
||||||
.PHONY: clean distclean
|
.PHONY: clean distclean
|
||||||
|
|
||||||
# The `config.mk' file must define `clean_freetype' and
|
# The `config.mk' file must define `clean_project' and `distclean_project'.
|
||||||
# `distclean_freetype'. Implementations may use to relay these to either
|
# Implementations may use to relay these to either the `std' or `dos'
|
||||||
# the `std' or `dos' versions from above, or simply provide their own
|
# versions from above, or simply provide their own implementation.
|
||||||
# implementation.
|
|
||||||
#
|
#
|
||||||
clean: clean_project
|
clean: clean_project
|
||||||
distclean: distclean_project remove_config_mk remove_ftmodule_h
|
distclean: distclean_project remove_config_mk remove_ftmodule_h
|
||||||
|
|
|
@ -88,13 +88,11 @@ check:
|
||||||
# Unix cleaning and distclean rules.
|
# Unix cleaning and distclean rules.
|
||||||
#
|
#
|
||||||
clean_project_unix:
|
clean_project_unix:
|
||||||
-$(DELETE) $(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)
|
-$(LIBTOOL) --mode=clean $(RM) $(OBJECTS_LIST)
|
||||||
-$(DELETE) $(patsubst %.$O,%.$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \
|
-$(DELETE) $(CLEAN)
|
||||||
$(CLEAN)
|
|
||||||
|
|
||||||
distclean_project_unix: clean_project_unix
|
distclean_project_unix: clean_project_unix
|
||||||
-$(DELETE) $(PROJECT_LIBRARY)
|
-$(LIBTOOL) --mode=clean $(RM) $(PROJECT_LIBRARY)
|
||||||
-$(DELDIR) $(OBJ_DIR)/.libs
|
|
||||||
-$(DELETE) *.orig *~ core *.core $(DISTCLEAN)
|
-$(DELETE) *.orig *~ core *.core $(DISTCLEAN)
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
Loading…
Reference in New Issue