1# This is a passthrough make file which supports automatic
2# building with buildit.
3
4#TEMP_FILES_DIR = /tmp
5#DERIVED_SOURCES_DIR = /tmp
6#OBJROOT = /tmp
7
8build::
9	echo "***";echo "*** BUILD";echo "***";\
10pbxbuild build "DSTROOT=$(DSTROOT)";\
11#	pbxbuild install "DSTROOT=$(DSTROOT)";
12#	pbxbuild install "$(MAKEFLAGS)"
13
14installsrc:
15	echo "***";echo "*** INSTALLSRC";echo "***";\
16/bin/rm -rf $(SRCROOT)/IOFireWireLib.CFPlugInProj;\
17/bin/mkdir -p $(SRCROOT)/IOFireWireLib.CFPlugInProj;\
18pbxbuild installsrc "SRCROOT=$(SRCROOT)/IOFireWireLib.CFPlugInProj"
19
20installhdrs:
21	echo "***";echo "*** INSTALLHDRS";echo "***";\
22pbxbuild installhdrs "SRCROOT=$(SRCROOT)/IOFireWireLib.CFPlugInProj"
23#	pbxbuild installhdrs
24
25clean:
26	echo "***";echo "*** CLEAN";echo "***";\
27pbxbuild clean "SRCROOT=$(SRCROOT)/IOFireWireLib.CFPlugInProj"
28
29install:
30	echo "***";echo "*** INSTALL";echo "***";\
31pbxbuild install "DSTROOT=$(DSTROOT)";
32
33prebuild:
34	echo "***";echo "*** PRE-BUILD";echo "***";\
35#pbxbuild prebuild "DSTROOT=$(DSTROOT)";
36
37postinstall:
38	echo "***";echo "*** POST-INSTALL";echo "***";\
39/usr/bin/strip -S \
40$(SRCROOT)/IOFireWireLib.CFPlugInProj/build/IOFireWireLib.plugin/Contents/MacOS/IOFireWireLib;\
41rm -r $(SRCROOT)/IOFireWireLib.CFPlugInProj/build;\
42
43