]> git.saurik.com Git - apple/coreosmakefiles.git/blame_incremental - Makefile
CoreOSMakefiles-76.tar.gz
[apple/coreosmakefiles.git] / Makefile
... / ...
CommitLineData
1Project=CoreOSMakefiles
2
3Destination = $(DEVELOPER_DIR)/Makefiles/CoreOS
4BSDSUFFIX = .mk
5BSDDEFINE = BSDMAKESTYLE
6GNUSUFFIX = .make
7INBASENAMES = Commands Variables
8INSUFFIX = .in
9STANDARD = Standard
10
11install:
12 @$(MAKE) installsrc SRCROOT=$(DSTROOT)$(Destination)
13 rm -f $(DSTROOT)$(Destination)/Makefile
14 @set -x && \
15 for i in $(INBASENAMES); do \
16 unifdef -U$(BSDDEFINE) -t $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) > $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(GNUSUFFIX); \
17 [ $$? -eq 1 ] || exit 1; \
18 $(RM) -f $(DSTROOT)$(Destination)/$(STANDARD)/$$i$(INSUFFIX) || exit 1; \
19 done
20
21installhdrs:
22 $(_v) echo No headers to install
23
24installsrc:
25 install -d "$(SRCROOT)"
26 rsync -a --exclude=.svn --exclude=.git ./ "$(SRCROOT)"
27
28clean:
29 $(_v) echo Nothing to clean