3 include ../MakePaths.dir
7 USRBIN = $(DSTROOT)/usr/bin
8 INSTALLDIR = $(DSTROOT)/System/Library/Frameworks/System.framework/Versions/B/PrivateHeaders/standalone
11 CFLAGS = $(DEBUG) $(MORECPP) $(RC_CFLAGS) -g -Wmost -Wno-precomp -traditional-cpp
14 INC = -I. -I$(SYMROOT) -I$(UTILDIR) -I$(LIBSADIR)
15 ifneq "" "$(wildcard /bin/mkdirs)"
18 MKDIRS = /bin/mkdir -p
25 VPATH = $(OBJROOT):$(SYMROOT)
33 ALLSRC = $(SFILES) $(CFILES) \
34 $(HFILES) $(OTHERFILES)
35 DIRS_NEEDED = $(OBJROOT) $(SYMROOT) $(USRBIN)
37 RCZ_OBJS = rcz.o rcz_compress_mem.o rcz_decompress_mem.o
39 all: $(DIRS_NEEDED) rcz
41 rcz: $(USRBIN) $(RCZ_OBJS)
42 $(CC) $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $(USRBIN)/$@ $(RCZ_OBJS)
43 strip -x -u $(USRBIN)/$@
48 include ../MakeInc.dir
51 -include $(OBJROOT)/Makedep