Commit e86c40a8 authored by Eric Anholt's avatar Eric Anholt

automake: Add a prefix variable to the common sources lists.

In order to do the minimal change for libdricore conversion to
automake, I need to put its Makefile.am in a subdirectory.  Automake
gets whiny/broken if you use GNU make features like "addprefix" or
"$(FILES:%=../%)" to munge your *_SOURCES.  So, use a plain old
variable to be able to substitute in that "../"
Reviewed-by: Matt Turner's avatarMatt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 7d7fe1b0
......@@ -31,6 +31,7 @@ LOCAL_PATH := $(call my-dir)
# MESA_GALLIUM_FILES
# MESA_FILES
# X86_FILES
SRCDIR = .
include $(LOCAL_PATH)/sources.mak
common_CFLAGS := \
......
......@@ -9,6 +9,7 @@ DEPENDS := depend
MESA_OBJ_DIR := .
DRICORE_OBJ_DIR := objs-dricore
SRCDIR = .
include sources.mak
# adjust object dirs
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment