File: Makefile

package info (click to toggle)
netkit-base 0.10-10
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,492 kB
  • ctags: 1,349
  • sloc: ansic: 9,958; sh: 216; makefile: 129
file content (23 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# You can do "make SUB=blah" to make only a few, or edit here, or both
# You can also run make directly in the subdirs you want.

include MCONFIG

SUB = inetd ping rpcinfo

# ifneq ($(USE_GLIBC),1)
SUB += rpcgen
# endif

%.build:
	$(MAKE) -C $(patsubst %.build, %, $@)

%.install:
	$(MAKE) -C $(patsubst %.install, %, $@) install

%.clean:
	$(MAKE) -C $(patsubst %.clean, %, $@) clean

all:     $(patsubst %, %.build, $(SUB))
install: $(patsubst %, %.install, $(SUB))
clean:   $(patsubst %, %.clean, $(SUB))