File: Makefile.in

package info (click to toggle)
netboot 0.8.1-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,728 kB
  • ctags: 4,740
  • sloc: ansic: 15,152; asm: 11,623; yacc: 2,248; makefile: 1,110; pascal: 1,108; lex: 748; sh: 233
file content (89 lines) | stat: -rw-r--r-- 2,670 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Makefile  -  makefile for netboot package
#
# Copyright (C) 1996-1998 Gero Kuhlmann   <gero@gkminix.han.de>
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#


# Directory names
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
mandir = @mandir@

# Specify all subdirectories in which there is a Makefile
ALL_SUBDIRS = bootrom include misc nblib makerom \
              mknbi-dos mknbi-linux mknbi-mgl

# Specify all subdirectories where we are going to make something
SUBDIRS	= include misc nblib makerom @SUBDIRS@

# Make program to be used
@SET_MAKE@


.PHONY:	all bootrom install distrib dep

all:
	@for subdir in $(SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  (cd $$subdir && $(MAKE) $@) || exit 1; \
	done


bootrom:
	@(cd makerom && $(MAKE) bootrom) || exit 1;
	@if test -r makerom/image.flash; then mv makerom/image.flash .; fi
	@if test -r makerom/image.flo; then mv makerom/image.flo .; fi
	@if test -r makerom/image.rom; then mv makerom/image.rom .; fi
	@if test -r makerom/image.bin; then mv makerom/image.bin .; fi
	@if test -r makerom/image.hex; then mv makerom/image.hex .; fi


install distrib dep:
	@for subdir in $(ALL_SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  (cd $$subdir && $(MAKE) $@) || exit 1; \
	done


.PHONY:	clean realclean distclean
.PHONY:	clean-recursive realclean-recursive distclean-recursive

clean:	clean-recursive
	rm -f image.rom image.flo image.flash image.bin image.hex
	rm -f core

realclean: 	realclean-recursive
	rm -f Makefile
	rm -f config.status config.cache config.log config.h
	rm -f image.rom image.flo image.flash image.bin image.hex
	rm -f core

distclean:	distclean-recursive
	rm -f Makefile
	rm -f config.status config.cache config.log config.h
	rm -f image.rom image.flo image.flash image.bin image.hex
	rm -f core

clean-recursive realclean-recursive distclean-recursive:
	@for subdir in $(ALL_SUBDIRS); do \
	  target=`echo $@ | sed 's/-recursive//'`; \
	  echo making $$target in $$subdir; \
	  (cd $$subdir && $(MAKE) $$target) || exit 1; \
	done