|
|
1 | DESTDIR= |
|
|
2 | BINDIR=/usr/bin |
|
|
3 | MANDIR=/usr/share/man |
|
|
4 | QEMUSTARTGROUP=emulator |
|
|
5 | |
1 | PACKAGE=qemu-start |
6 | PACKAGE=qemu-start |
2 | VERSION=1.0 |
7 | VERSION=1.0 |
3 | FILES=AUTHORS COPYING README Makefile qemu-start.c qemu-start.1 |
8 | FILES=AUTHORS COPYING README Makefile qemu-start.c qemu-start.1 |
4 | BASENAME=$(PACKAGE)-$(VERSION) |
9 | BASENAME=$(PACKAGE)-$(VERSION) |
5 | |
10 | |
6 | CFLAGS=-Wall -W |
11 | CFLAGS=-Wall -W |
7 | |
12 | |
8 | all: qemu-start |
13 | all: qemu-start |
9 | |
14 | |
10 | install: |
15 | install: |
11 | install -d $(DESTDIR)/usr/bin |
16 | install -d $(DESTDIR)$(BINDIR) |
12 | install -o root -g emulator -m 4710 qemu-start $(DESTDIR)/usr/bin/ |
17 | install -o root -g $(QEMUSTARTGROUP) -m 4710 qemu-start $(DESTDIR)$(BINDIR) |
13 | install -d $(DESTDIR)/usr/share/man/man1 |
18 | install -d $(DESTDIR)$(MANDIR)/man1 |
14 | install -o root -g root -m 755 qemu-start.1 $(DESTDIR)/usr/share/man/man1 |
19 | install -o root -g root -m 755 qemu-start.1 $(DESTDIR)$(MANDIR)/man1 |
15 | |
20 | |
16 | clean: |
21 | clean: |
17 | $(RM) qemu-start |
22 | $(RM) qemu-start |
18 | |
23 | |
19 | package: |
24 | package: |