#-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # This file contains configuration variables that are global to # the GAR system. Users wishing to make a change on a # per-package basis should edit the category/package/Makefile, or # specify environment variables on the make command-line. # Packages that are assumed to be provided by the underlying OS, and thus # shouldn't be installed as dependencies. IGNORE_DEPS = # The directory with the GARStow scripts in. GARSTOW_SCRIPTS = /gar/gar.scripts # Your local cache of downloaded files. GARCHIVEDIR = /home/azz/Archives # Local cache directories for garball sources # Do *not* remove the $(FILEDIR) link - just add new ones! FILE_SITES = file://$(FILEDIR)/ file://$(GARCHIVEDIR)/ # These are the standard directory name variables from all GNU # makefiles. They're also used by autoconf, and can be adapted # for a variety of build systems. prefix ?= /opt packagesdir ?= $(prefix)/packages sysconfdir ?= /etc vardir ?= /var comdir ?= /var/com bootdir ?= /boot # Some packages don't like being built with unusual locales, so use the # default. LANG = C LC_ALL = C # Compiler and linker optimisations. CFLAGS_OPTIMIZE ?= -Os LDFLAGS_OPTIMIZE ?= -Wl,-O1 CFLAGS += $(CFLAGS_OPTIMIZE) CXXFLAGS += $(CFLAGS_OPTIMIZE) LDFLAGS += $(LDFLAGS_OPTIMIZE) # allow us to link to libraries we installed PKG_CONFIG_PATH := $(prefix)/lib/pkgconfig:$(prefix)/share/pkgconfig:$(PKG_CONFIG_PATH) #LDFLAGS += -L$(prefix)/lib LD_LIBRARY_PATH := $(prefix)/lib$(if $(LD_LIBRARY_PATH),:$(LD_LIBRARY_PATH)) # allow us to use programs we just built PATH := $(prefix)/bin:$(prefix)/sbin:$(PATH) # logfile for fake-pkg-config FAKE_PKG_CONFIG_LOG := $(CURDIR)/$(COOKIEDIR)/fpc.log PKG_CONFIG := $(GARSTOW_SCRIPTS)/fake-pkg-config GPG_KEYRING ?= ./gpg-keyring # make these variables available to configure and build scripts # outside of make's realm. export prefix export LANG LC_ALL export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS PATH export C_INCLUDE_PATH CPLUS_INCLUDE_PATH LD_LIBRARY_PATH export PKG_CONFIG_PATH FAKE_PKG_CONFIG_LOG PKG_CONFIG # If you want rules to apply to all packages ("custom-pre-stow" etc.), then # define them here.