[go: up one dir, main page]

File: Makefile

package info (click to toggle)
s390-tools 1.8.3-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,584 kB
  • ctags: 5,973
  • sloc: ansic: 34,053; cpp: 8,153; sh: 7,784; asm: 5,573; perl: 2,519; makefile: 799
file content (30 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
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
include ../common.mak

CPPFLAGS += -I../include

all: chreipl

objects = main.o getopt.o ccw.o fcp.o system.o sa.o ipl.o
$(objects): chreipl.h

chreipl: $(objects)
	$(LINK) $^ -o $@
	ln -sf chreipl lsreipl
	ln -sf chreipl chshut
	ln -sf chreipl lsshut

clean:
	rm -f *.o lsreipl chreipl chshut lsshut

install: all
	$(INSTALL) chreipl $(USRSBINDIR)
	ln -f -s chreipl $(USRSBINDIR)/lsreipl
	ln -f -s chreipl $(USRSBINDIR)/chshut
	ln -f -s chreipl $(USRSBINDIR)/lsshut
	$(INSTALL_DATA) man/chreipl.8 $(MANDIR)/man8
	$(INSTALL_DATA) man/lsreipl.8 $(MANDIR)/man8
	$(INSTALL_DATA) man/lsshut.8 $(MANDIR)/man8
	$(INSTALL_DATA) man/chshut.8 $(MANDIR)/man8

.PHONY: all install clean