Changeset 692 for trunk/kBuild/sdks/LIBSDL.kmk
- Timestamp:
- Dec 8, 2006, 11:31:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/sdks/LIBSDL.kmk
r676 r692 2 2 ## @file 3 3 # 4 # kBuild SDK - libsdl, targeting $(BUILD_TARGET).4 # kBuild SDK - Simple DirectMedia Layer, targeting $(BUILD_TARGET). 5 5 # 6 6 # Copyright (c) 2006 knut st. osmundsen <bird-srcspam@anduin.net> … … 25 25 # 26 26 27 SDK_LIBSDL := libsdl, targeting $(BUILD_TARGET).27 SDK_LIBSDL := Simple DirectMedia Layer, targeting $(BUILD_TARGET). 28 28 29 29 # SDK Specific Properties 30 30 ifndef PATH_SDK_LIBSDL 31 PATH_SDK_LIBSDL := $( sort $(wildcard $(PATH_DEVTOOLS_TRG)/libsdl/v*))31 PATH_SDK_LIBSDL := $(wildcard $(PATH_DEVTOOLS_TRG)/libsdl/v*) 32 32 ifeq ($(PATH_SDK_LIBSDL),) 33 PATH_SDK_LIBSDL := $( sort $(wildcard $(PATH_DEVTOOLS_BLD)/libsdl/v*))33 PATH_SDK_LIBSDL := $(wildcard $(PATH_DEVTOOLS_BLD)/libsdl/v*) 34 34 endif 35 35 ifneq ($(PATH_SDK_LIBSDL),) 36 PATH_SDK_LIBSDL := $( call lastword,$(PATH_SDK_LIBSDL))36 PATH_SDK_LIBSDL := $(lastword $(sort $(PATH_SDK_LIBSDL))) 37 37 else 38 $(warning kBuild: PATH_SDK_LIBSDL couldn't be determined!) 39 PATH_SDK_LIBSDL := /usr 38 # Search in the typical unix places. 39 PATH_SDK_LIBSDL := $(firstword $(wildcard \ 40 /lib/libsdl.* \ 41 /usr/lib/libsdl.* \ 42 /usr/local/lib/libsdl.* \ 43 /opt/lib/libsdl.* \ 44 /opt/local/lib/libsdl.*) ) 45 ifneq ($(PATH_SDK_LIBSDL),) 46 PATH_SDK_LIBSDL := $(patsubst %/,%,$(dir $(dir PATH_SDK_LIBSDL))) 47 else 48 $(warning kBuild: PATH_SDK_LIBSDL couldn't be determined!) 49 PATH_SDK_LIBSDL := $(PATH_DEVTOOLS_TRG)/libsdl/not/found 50 endif 40 51 endif 41 52 else
Note:
See TracChangeset
for help on using the changeset viewer.