annotate 3rdparty/utils/winfo/makefile @ 2849:84d9d5765057 lwtools-port

Makefiles: Call OS9ATTR with multiple files (part 2/2) These were all done with a sed -i line, but have been manually verified.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 12 Jul 2013 01:01:17 +0200
parents c1892376e7a7
children 84d284e812cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
1 include ../../../rules.mak
396
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
2
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
3 DEPENDS = ./makefile
396
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
4
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
5 CMDS = witesta
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
6 SUBS = winfo
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
7
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
8 ALLOBJS = $(CMDS) $(SUBS)
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
9
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
10 DSKWINFO = winfo.dsk
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
11
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
12 DSKS = $(DSKWINFO)
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
13
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
14 all: banner $(ALLOBJS) $(DEPENDS)
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
15
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1366
diff changeset
16 banner:
1366
770c350f4c15 More changes
boisy
parents: 396
diff changeset
17 @$(ECHO) "**************************************************"
770c350f4c15 More changes
boisy
parents: 396
diff changeset
18 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 396
diff changeset
19 @$(ECHO) "* WInfo Utility *"
770c350f4c15 More changes
boisy
parents: 396
diff changeset
20 @$(ECHO) "* *"
770c350f4c15 More changes
boisy
parents: 396
diff changeset
21 @$(ECHO) "**************************************************"
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
22
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
23 $(DSKWINFO): $(CMDS)
2835
c1892376e7a7 Makefiles: Do not let $(RM) silently fail
Tormod Volden <debian.tormod@gmail.com>
parents: 2815
diff changeset
24 $(RM) $@
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
25 $(OS9FORMAT) $@
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
26 $(MAKDIR) $@,CMDS
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
27 $(CP) $(CMDS) $@,CMDS
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
28 $(OS9ATTR_EXEC) $(foreach file,$(CMDS),$@,CMDS/$(file))
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
29 $(CP) $(SUBS) $@,CMDS
2849
84d9d5765057 Makefiles: Call OS9ATTR with multiple files (part 2/2)
Tormod Volden <debian.tormod@gmail.com>
parents: 2835
diff changeset
30 $(OS9ATTR_EXEC) $(foreach file,$(SUBS),$@,CMDS/$(file))
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
31
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
32 dsk: all $(DSKS)
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
33
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
34 dskcopy: dsk
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
35 $(CP) $(DSKS) $(DSKDIR)
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
36
396
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
37 clean:
2815
834007765b95 Updated 3rdparty/utils/winfo/makefile to include SUBS in the command list.
David Ladd <drencor-xeen@users.sf.net>
parents: 2814
diff changeset
38 $(RM) $(ALLOBJS) $(DSKS)
396
00b1c751fad7 Added WInfo
boisy
parents:
diff changeset
39
2814
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
40 info:
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
41 @echo "*** WInfo Utility ***"
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
42 @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
43
dd5499bc4bdd Updated makefile(s) to create disk images and info for 3rdparty/utils/
David Ladd <drencor-xeen@users.sf.net>
parents: 1407
diff changeset
44