]> pd.if.org Git - zpackage/blob - Makefile
added zpm-preserve to install target
[zpackage] / Makefile
1 CFLAGS=-Wall -std=c99
2
3 programs: elftype soname
4
5 elftype: elf/elftype.c
6         $(CC) $(CFLAGS) -o $@ $+
7
8 soname: elf/soname.c
9         $(CC) $(CFLAGS) -o $@ $+
10
11 install: elftype
12         install -D zpm $(DESTDIR)/bin/zpm
13         install -D zpm-note $(DESTDIR)/bin/zpm-note
14         install -D zpm-bug $(DESTDIR)/bin/zpm-bug
15         install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence
16         install -D zpm-preserve $(DESTDIR)/bin/zpm-preserve
17         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin
18         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes
19         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/open
20         install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/ack
21         install -D elftype $(DESTDIR)/usr/sbin/elftype
22         install -D soname $(DESTDIR)/usr/sbin/soname
23         #SPOOL=$(DESTDIR)/var/lib/admin/notes ./zpm-sequence -c notes