1117N/A#
1117N/A# Makefile containing common definitions for fbconf_xorg(1M)
1117N/A#
1117N/A
1117N/A#
1537N/A# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
1117N/A#
1117N/A# Permission is hereby granted, free of charge, to any person obtaining a
1117N/A# copy of this software and associated documentation files (the "Software"),
1117N/A# to deal in the Software without restriction, including without limitation
1117N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1117N/A# and/or sell copies of the Software, and to permit persons to whom the
1117N/A# Software is furnished to do so, subject to the following conditions:
1117N/A#
1117N/A# The above copyright notice and this permission notice (including the next
1117N/A# paragraph) shall be included in all copies or substantial portions of the
1117N/A# Software.
1117N/A#
1117N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1117N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1117N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1117N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1117N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1117N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1117N/A# DEALINGS IN THE SOFTWARE.
1117N/A#
1117N/A
1117N/A
1117N/A#
1117N/A# Tools
1117N/A#
1117N/A
1117N/AAR = ar
1117N/AMKDIR = mkdir
1117N/A
1117N/A#
1117N/A# Targets
1117N/A#
1117N/A
1117N/ABIN = fbconf_xorg
1117N/A
1117N/AVERS = .1
1117N/A
1425N/AL_GFX = -L$(GFX_BIN_DIR) -lgfx
1117N/ALIB_GFX_A = libgfx.a
1117N/A
1425N/AL_XF86 = -L$(XF86_BIN_DIR) -lxf86conf
1117N/ALIB_XF86_A = libxf86conf.a
1117N/A
1425N/AL_FBC = -L$(BIN_DIR) -R$(INSTALL_LIB_DIR) -lfbconf_xorg
1425N/ALIB_FBC_SO = libfbconf_xorg.so
1117N/A
1425N/ALIB_AST_SO = libSUNWast_conf.so
1425N/ALIB_MGA_SO = libSUNWmga_conf.so
1269N/A
1117N/A
1117N/A#
1117N/A# Environment pathnames
1117N/A#
1117N/A
1117N/AGFX_COMMON = ../gfx_common
1117N/A
1117N/APROJ_DIR = .
1117N/ASRC_DIR = $(PROJ_DIR)
1117N/ABIN_DIR = $(PROJ_DIR)
1117N/A
1117N/AGFX_SRC_DIR = $(GFX_COMMON)/config
1117N/AGFX_BIN_DIR = $(BIN_DIR)/gfx
1117N/A
1117N/AXF86_SRC_DIR = $(SRC_DIR)/xf86
1117N/AXF86_BIN_DIR = $(BIN_DIR)/xf86
1117N/A
1117N/AFBC_SRC_DIR = $(SRC_DIR)/fbc
1117N/AFBC_BIN_DIR = $(BIN_DIR)/fbc
1117N/A
1117N/AKFB_SRC_DIR = $(SRC_DIR)/kfb
1117N/AKFB_BIN_DIR = $(BIN_DIR)/kfb
1117N/A
1117N/AAST_SRC_DIR = $(SRC_DIR)/ast
1117N/AAST_BIN_DIR = $(BIN_DIR)/ast
1117N/A
1269N/AMGA_SRC_DIR = $(SRC_DIR)/mga
1269N/AMGA_BIN_DIR = $(BIN_DIR)/mga
1269N/A
1117N/A
1117N/AINSTALL_BIN_DIR = $(DESTDIR)/usr/lib/fbconfig
1117N/AINSTALL_LIB_DIR = $(DESTDIR)/usr/lib/fbconfig
1117N/A
1117N/A
1117N/A#
1117N/A# Preprocessor flags
1117N/A#
1117N/A
1117N/A#DEFINE += -DDEBUG
1117N/A
1117N/A
1117N/A#
1117N/A# Compiler flags
1117N/A#
1117N/A
1117N/A#DEBUG_FLAG= -g
1117N/ADEBUG_FLAG=
1117N/APIC_FLAG = -xcode=pic32 # Needed with dynamic linking
1117N/ACFLAGS += $(DEBUG_FLAG) $(PIC_FLAG)
1425N/ACFLAGS += $(CPPFLAGS)
1117N/A
1117N/A
1117N/A#
1117N/A# Linker flags
1117N/A#
1117N/A
1117N/ADYNLIBFLAGS = -lc
1117N/ADYNLIBFLAGS += -G
1425N/ADYNLIBFLAGS += -h $(@F)
1117N/A
1117N/A
1117N/A# End of Makefile.common