Coda File System

Re: [Darwincoda] A hint for easier testing

From: Pekka Nikander <pekka.nikander_at_iki.fi>
Date: Tue, 17 Aug 2004 12:49:25 +0300
> But it works better using the -activebuildstyle flag.
>> sudo xcodebuild install

I've switched over to using only emacs for editing and compiling.

Here is the Makefile for my kext:

TARGET           = beet
TARGET_BUILD_DIR = /tmp/$(TARGET).dst/System/Library/Extensions
KEXTLOAD_FLAGS   =
FILTER           = grep -v -e "^    setenv "
# FILTER           = cat
XCODE            = xcodebuild -activebuildstyle

all:
	$(XCODE) build 2>&1 | $(FILTER)


install:
	$(XCODE) install 2>&1 | $(FILTER)

clean:
	$(XCODE) clean 2>&1 | $(FILTER)

test:
	@sync
	( cd $(TARGET_BUILD_DIR); kextload $(KEXTLOAD_FLAGS) $(TARGET).kext )

unload:
	@sync
	( cd $(TARGET_BUILD_DIR); kextunload $(TARGET).kext )

I guess you can easily adopt it for DarwinCoda.

--Pekka

_______________________________________________
Darwincoda mailing list
Darwincoda_at_opendarwin.org
http://www.opendarwin.org/mailman/listinfo/DarwinCoda
Received on 2004-08-17 05:55:44