X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=239047f9d40cb0113e1866151736d9315c4d4204;hb=1af26356fe2d5b13c10386e1241caeea2e2dafb5;hp=fb3494ed7d3b0ef98be93f0445304574bdf79924;hpb=3c05d0baf322f9f47b0894379509f5e3c67e492b;p=zpackage diff --git a/Makefile b/Makefile index fb3494e..239047f 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,23 @@ CFLAGS=-Wall -std=c99 +programs: elftype soname + elftype: elf/elftype.c $(CC) $(CFLAGS) -o $@ $+ +soname: elf/soname.c + $(CC) $(CFLAGS) -o $@ $+ + install: elftype install -D zpm $(DESTDIR)/bin/zpm install -D zpm-note $(DESTDIR)/bin/zpm-note + install -D zpm-bug $(DESTDIR)/bin/zpm-bug install -D zpm-sequence $(DESTDIR)/bin/zpm-sequence + install -D zpm-preserve $(DESTDIR)/bin/zpm-preserve install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/open install -d -m2770 -o root -g adm $(DESTDIR)/var/lib/admin/notes/ack install -D elftype $(DESTDIR)/usr/sbin/elftype + install -D soname $(DESTDIR)/usr/sbin/soname #SPOOL=$(DESTDIR)/var/lib/admin/notes ./zpm-sequence -c notes