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 baa0a02575cddeae7682121929f63c473e13dc8b..01f375d0e5070606bac63414e020587ae28af5d5 100644
(file)
--- a/
cprogs/Makefile
+++ b/
cprogs/Makefile
@@
-25,11
+25,12
@@
include ../settings.make
RWBUFFER_SIZE_MB=16
RWBUFFER_SIZE_MB=16
-PROGRAMS= readbuffer writebuffer
+PROGRAMS= readbuffer writebuffer with-lock-ex xacpi-simple \
+ summer watershed
SUIDSBINPROGRAMS= really
DAEMONS= trivsoundd
SUIDSBINPROGRAMS= really
DAEMONS= trivsoundd
-MAN1PAGES= readbuffer.1 writebuffer.1
-MAN8PAGES= trivsoundd.8
+MAN1PAGES= readbuffer.1 writebuffer.1
with-lock-ex.1
+MAN8PAGES= trivsoundd.8
really.8
TARGETS= $(PROGRAMS) $(SUIDSBINPROGRAMS) $(DAEMONS)
TARGETS= $(PROGRAMS) $(SUIDSBINPROGRAMS) $(DAEMONS)
@@
-43,11
+44,20
@@
really: really.o myopt.o
really.o myopt.o: myopt.h
readbuffer.o writebuffer.o rwbuffer.o wrbufcore.o trivsoundd.o: rwbuffer.h
really.o myopt.o: myopt.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
root.
$(SYSTEM_GROUP) \
+ $(INSTALL) -m 4774
-o root -g
$(SYSTEM_GROUP) \
$(SUIDSBINPROGRAMS) $(sbindir)
install-docs:
$(SUIDSBINPROGRAMS) $(sbindir)
install-docs: