2 # User level code makefile
5 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
6 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
7 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
8 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
10 include $(MakeInc_cmd)
11 include $(MakeInc_def)
17 LIB_INSTALL_FLAGS= -c -m 555 -S "-S"
18 BUILD_NAME= $(LIB_NAME)$(BUILD_VERS).dylib
19 FRAMEWORK_NAME= /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
21 # ALLARCHLIBS = $(foreach archlib, $(INSTALL_ARCHS), $(OBJROOT)/$(KERNEL_CONFIG)_$(archlib)/$(COMPONENT)/User/$(BUILD_NAME))
25 $(DSTROOT)$(INSTALL_DIR)/$(BUILD_NAME):
26 ${MKDIR} $(DSTROOT)$(INSTALL_DIR); \
27 (cd $(DSTROOT)$(INSTALL_DIR); \
28 if [ ! -h $(BUILD_NAME) ]; then \
29 $(LN) $(FRAMEWORK_NAME) $(BUILD_NAME); \
32 $(DSTROOT)$(INSTALL_DIR)/$(LIB_NAME).dylib: $(DSTROOT)$(INSTALL_DIR)/$(BUILD_NAME)
33 (cd $(DSTROOT)$(INSTALL_DIR); \
34 if [ ! -h $(LIB_NAME).dylib ]; then \
35 $(LN) $(BUILD_NAME) $(LIB_NAME).dylib; \
38 do_build_install: $(DSTROOT)$(INSTALL_DIR)/$(LIB_NAME).dylib
40 # include $(MakeInc_rule)
41 include $(MakeInc_dir)