chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog entry for bashism fix
[chiark-utils.git]
/
cprogs
/
Makefile
diff --git
a/cprogs/Makefile
b/cprogs/Makefile
index 141dbc0b107e78417ac63faf17c546afb3859852..01f375d0e5070606bac63414e020587ae28af5d5 100644
(file)
--- a/
cprogs/Makefile
+++ b/
cprogs/Makefile
@@
-25,24
+25,40
@@
include ../settings.make
RWBUFFER_SIZE_MB=16
RWBUFFER_SIZE_MB=16
-PROGRAMS= readbuffer writebuffer
-DAEMONS= trivsoundd
-MAN1PAGES= readbuffer.1 writebuffer.1
-MAN8PAGES= trivsoundd.8
+PROGRAMS= readbuffer writebuffer with-lock-ex xacpi-simple \
+ summer watershed
+SUIDSBINPROGRAMS= really
+DAEMONS= trivsoundd
+MAN1PAGES= readbuffer.1 writebuffer.1 with-lock-ex.1
+MAN8PAGES= trivsoundd.8 really.8
-TARGETS= $(PROGRAMS) $(DAEMONS)
+TARGETS= $(PROGRAMS) $(
SUIDSBINPROGRAMS) $(
DAEMONS)
all: $(TARGETS)
readbuffer: readbuffer.o rwbuffer.o
writebuffer: writebuffer.o wrbufcore.o rwbuffer.o
trivsoundd: trivsoundd.o wrbufcore.o rwbuffer.o
all: $(TARGETS)
readbuffer: readbuffer.o rwbuffer.o
writebuffer: writebuffer.o wrbufcore.o rwbuffer.o
trivsoundd: trivsoundd.o wrbufcore.o rwbuffer.o
+really: really.o myopt.o
+
+really.o myopt.o: myopt.h
readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o: rwbuffer.h
readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o: rwbuffer.h
+xacpi-simple: xacpi-simple.o
+ $(CC) -o $@ $< -L/usr/X11R6/lib -lX11 -lm
+
+summer: summer.o
+ $(CC) -o $@ $< -lnettle -lgmp
+
+watershed: watershed.o
+ $(CC) -o $@ $< -lnettle -lgmp
+
install: all
$(INSTALL_DIRECTORY) $(bindir) $(sbindir)
$(INSTALL_PROGRAM) $(PROGRAMS) $(bindir)
$(INSTALL_PROGRAM) $(DAEMONS) $(sbindir)
install: all
$(INSTALL_DIRECTORY) $(bindir) $(sbindir)
$(INSTALL_PROGRAM) $(PROGRAMS) $(bindir)
$(INSTALL_PROGRAM) $(DAEMONS) $(sbindir)
+ $(INSTALL) -m 4774 -o root -g $(SYSTEM_GROUP) \
+ $(SUIDSBINPROGRAMS) $(sbindir)
install-docs:
$(INSTALL_DIRECTORY) $(man1dir) $(man8dir) $(txtdocdir)
install-docs:
$(INSTALL_DIRECTORY) $(man1dir) $(man8dir) $(txtdocdir)