2000-09-16 00:42:06 +02:00
|
|
|
#
|
2000-10-17 05:38:43 +02:00
|
|
|
# FreeType 2 installation instructions for Unix systems
|
2000-09-16 00:42:06 +02:00
|
|
|
#
|
|
|
|
|
2000-10-17 05:38:43 +02:00
|
|
|
|
|
|
|
# Copyright 1996-2000 by
|
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
# Unix installation and deinstallation targets.
|
|
|
|
install: $(PROJECT_LIBRARY)
|
2000-11-09 19:23:30 +01:00
|
|
|
$(MKINSTALLDIRS) $(libdir) \
|
|
|
|
$(includedir)/freetype2/freetype/config \
|
|
|
|
$(includedir)/freetype2/freetype/internal \
|
|
|
|
$(includedir)/freetype2/freetype/cache \
|
2000-11-10 23:43:37 +01:00
|
|
|
$(bindir)
|
2000-09-22 23:23:29 +02:00
|
|
|
$(LIBTOOL) --mode=install $(INSTALL) $(PROJECT_LIBRARY) $(libdir)
|
2000-11-09 19:23:30 +01:00
|
|
|
-for P in $(PUBLIC_H) ; do \
|
|
|
|
$(INSTALL_DATA) $$P $(includedir)/freetype2/freetype ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2000-11-09 19:23:30 +01:00
|
|
|
-for P in $(BASE_H) ; do \
|
|
|
|
$(INSTALL_DATA) $$P $(includedir)/freetype2/freetype/internal ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2000-11-09 19:23:30 +01:00
|
|
|
-for P in $(CONFIG_H) ; do \
|
|
|
|
$(INSTALL_DATA) $$P $(includedir)/freetype2/freetype/config ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2000-11-09 19:23:30 +01:00
|
|
|
-for P in $(CACHE_H) ; do \
|
|
|
|
$(INSTALL_DATA) $$P $(includedir)/freetype2/freetype/cache ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2000-11-09 19:23:30 +01:00
|
|
|
$(INSTALL) -m a+x $(BUILD)/freetype-config $(bindir)/freetype-config
|
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
|
|
|
|
uninstall:
|
2000-11-10 23:43:37 +01:00
|
|
|
-$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/$(PROJECT_LIBRARY)
|
2000-11-09 19:23:30 +01:00
|
|
|
-$(DELETE) $(includedir)/freetype2/freetype/cache/*
|
|
|
|
-$(DELDIR) $(includedir)/freetype2/freetype/cache
|
|
|
|
-$(DELETE) $(includedir)/freetype2/freetype/config/*
|
|
|
|
-$(DELDIR) $(includedir)/freetype2/freetype/config
|
|
|
|
-$(DELETE) $(includedir)/freetype2/freetype/internal/*
|
|
|
|
-$(DELDIR) $(includedir)/freetype2/freetype/internal
|
|
|
|
-$(DELETE) $(includedir)/freetype2/freetype/*
|
|
|
|
-$(DELDIR) $(includedir)/freetype2/freetype
|
|
|
|
-$(DELDIR) $(includedir)/freetype2
|
|
|
|
-$(DELETE) $(bindir)/freetype-config
|
2000-09-22 23:23:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Unix cleaning and distclean rules.
|
|
|
|
#
|
|
|
|
clean_project_unix:
|
|
|
|
-$(DELETE) $(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)
|
|
|
|
-$(DELETE) $(patsubst %.$O,%.$(SO),$(BASE_OBJECTS) $(OBJ_M) $(OBJ_S)) \
|
|
|
|
$(CLEAN)
|
|
|
|
|
|
|
|
distclean_project_unix: clean_project_unix
|
|
|
|
-$(DELETE) $(PROJECT_LIBRARY)
|
|
|
|
-$(DELETE) $(OBJ_DIR)/.libs/*
|
|
|
|
-$(DELDIR) $(OBJ_DIR)/.libs
|
|
|
|
-$(DELETE) *.orig *~ core *.core $(DISTCLEAN)
|
2000-09-16 00:42:06 +02:00
|
|
|
|
|
|
|
# EOF
|