X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/43866e378188c25dd1e2208016ab3cbeb086ae6c..55e303ae13a4cf49d70f2294092726f2fffb9ef2:/libsa/conf/Makefile.template diff --git a/libsa/conf/Makefile.template b/libsa/conf/Makefile.template index 816da3ef1..a8d3252d6 100644 --- a/libsa/conf/Makefile.template +++ b/libsa/conf/Makefile.template @@ -27,7 +27,7 @@ include $(MakeInc_def) # # XXX: CFLAGS # -CFLAGS+= -DKERNEL -DLIBKERN_KERNEL_PRIVATE \ +CFLAGS+= -DKERNEL -DLIBSA_KERNEL_PRIVATE \ -Wall -Wno-four-char-constants -fno-common SFLAGS+= -DKERNEL @@ -87,10 +87,10 @@ LDOBJS = $(OBJS) $(COMPONENT).o: $(LDOBJS) @echo "creating $(COMPONENT).o" $(RM) $(RMFLAGS) vers.c - $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/newvers \ + $(COMPOBJROOT)/newvers \ `$(CAT) ${VERSION_FILES}` ${COPYRIGHT_FILES} ${KCC} $(CFLAGS) $(INCLUDES) -c vers.c - @echo [ updating $(COMPONENT).o ${LIBKERN_KERNEL_CONFIG} ] + @echo [ updating $(COMPONENT).o ${LIBSA_KERNEL_CONFIG} ] $(LD) $(LDFLAGS_COMPONENT) -o $(COMPONENT).o ${LDOBJS} vers.o /usr/local/lib/libkld.a $(SEG_HACK) __KLD $(COMPONENT).o -o $(COMPONENT)_kld.o mv $(COMPONENT)_kld.o $(COMPONENT).o