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
|
|
|
|
2003-04-28 11:43:32 +02:00
|
|
|
# Copyright 1996-2000, 2002, 2003 by
|
2000-10-17 05:38:43 +02:00
|
|
|
# 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.
|
|
|
|
|
2002-08-19 04:25:43 +02:00
|
|
|
# If you say
|
|
|
|
#
|
|
|
|
# make install DESTDIR=/tmp/somewhere/
|
|
|
|
#
|
|
|
|
# don't forget the final backslash (this command is mainly for package
|
|
|
|
# maintainers).
|
|
|
|
|
2000-10-17 05:38:43 +02:00
|
|
|
|
2002-02-20 01:55:59 +01:00
|
|
|
.PHONY: install uninstall check
|
2000-12-20 23:09:41 +01:00
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
# Unix installation and deinstallation targets.
|
|
|
|
install: $(PROJECT_LIBRARY)
|
2002-08-19 04:25:43 +02:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(libdir) \
|
2003-04-28 11:43:32 +02:00
|
|
|
$(DESTDIR)$(libdir)/pkgconfig \
|
2002-08-19 04:25:43 +02:00
|
|
|
$(DESTDIR)$(includedir)/freetype2/freetype/config \
|
|
|
|
$(DESTDIR)$(includedir)/freetype2/freetype/internal \
|
|
|
|
$(DESTDIR)$(includedir)/freetype2/freetype/cache \
|
|
|
|
$(DESTDIR)$(bindir) \
|
|
|
|
$(DESTDIR)$(datadir)/aclocal
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL) \
|
|
|
|
$(PROJECT_LIBRARY) $(DESTDIR)$(libdir)
|
|
|
|
-for P in $(PUBLIC_H) ; do \
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$$P $(DESTDIR)$(includedir)/freetype2/freetype ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2002-08-19 04:25:43 +02:00
|
|
|
-for P in $(BASE_H) ; do \
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$$P $(DESTDIR)$(includedir)/freetype2/freetype/internal ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2002-08-19 04:25:43 +02:00
|
|
|
-for P in $(CONFIG_H) ; do \
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$$P $(DESTDIR)$(includedir)/freetype2/freetype/config ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2002-08-19 04:25:43 +02:00
|
|
|
-for P in $(CACHE_H) ; do \
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$$P $(DESTDIR)$(includedir)/freetype2/freetype/cache ; \
|
2000-09-22 23:23:29 +02:00
|
|
|
done
|
2003-06-09 06:46:30 +02:00
|
|
|
$(INSTALL_DATA) $(BUILD_DIR)/ft2unix.h \
|
|
|
|
$(DESTDIR)$(includedir)/ft2build.h
|
2004-12-06 09:42:41 +01:00
|
|
|
$(INSTALL_DATA) $(OBJ_BUILD)/ftconfig.h \
|
2003-11-09 09:37:14 +01:00
|
|
|
$(DESTDIR)$(includedir)/freetype2/freetype/config/ftconfig.h
|
2002-05-05 12:57:06 +02:00
|
|
|
$(INSTALL_SCRIPT) -m 755 $(OBJ_BUILD)/freetype-config \
|
2002-08-19 04:25:43 +02:00
|
|
|
$(DESTDIR)$(bindir)/freetype-config
|
2003-06-09 06:46:30 +02:00
|
|
|
$(INSTALL_SCRIPT) -m 644 $(BUILD_DIR)/freetype2.m4 \
|
2002-08-19 04:25:43 +02:00
|
|
|
$(DESTDIR)$(datadir)/aclocal/freetype2.m4
|
2003-04-28 11:43:32 +02:00
|
|
|
$(INSTALL_SCRIPT) -m 644 $(OBJ_BUILD)/freetype2.pc \
|
|
|
|
$(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
|
2000-11-09 19:23:30 +01:00
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
|
|
|
|
uninstall:
|
2002-08-19 04:25:43 +02:00
|
|
|
-$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/$(LIBRARY).$A
|
|
|
|
-$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/cache/*
|
|
|
|
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/cache
|
|
|
|
-$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/config/*
|
|
|
|
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/config
|
|
|
|
-$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/internal/*
|
|
|
|
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype/internal
|
|
|
|
-$(DELETE) $(DESTDIR)$(includedir)/freetype2/freetype/*
|
|
|
|
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2/freetype
|
|
|
|
-$(DELDIR) $(DESTDIR)$(includedir)/freetype2
|
|
|
|
-$(DELETE) $(DESTDIR)$(includedir)/ft2build.h
|
|
|
|
-$(DELETE) $(DESTDIR)$(bindir)/freetype-config
|
|
|
|
-$(DELETE) $(DESTDIR)$(datadir)/aclocal/freetype2.m4
|
2003-04-28 11:43:32 +02:00
|
|
|
-$(DELETE) $(DESTDIR)$(libdir)/pkgconfig/freetype2.pc
|
2000-09-22 23:23:29 +02:00
|
|
|
|
|
|
|
|
2002-02-20 01:55:59 +01:00
|
|
|
check:
|
|
|
|
@echo There is no validation suite for this package.
|
|
|
|
|
|
|
|
|
2000-12-20 23:09:41 +01:00
|
|
|
.PHONY: clean_project_unix distclean_project_unix
|
|
|
|
|
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
|