chiark
/
gitweb
/
~ian
/
userv-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
www-cgi: Introduce `?DEFAULTS' pattern to match the default set.
[userv-utils.git]
/
www-cgi
/
Makefile
diff --git
a/www-cgi/Makefile
b/www-cgi/Makefile
index 202021ea4b92a173f4e75eef2f33bcaf804487de..57c1d6a0f3f59c0252d40c4c685f3d373504ed20 100644
(file)
--- a/
www-cgi/Makefile
+++ b/
www-cgi/Makefile
@@
-1,4
+1,4
@@
-# Copyright (C) 1999 Ian Jackson
+# Copyright (C) 1999
,2003
Ian Jackson
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
#
# This is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@
-16,9
+16,11
@@
#
# $Id$
#
# $Id$
-CFLAGS= -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \
- -Wpointer-arith -O2 -g
-LDFLAGS=
+
+include ../settings.make
+
+uslibdir= $(libdir)/userv/cgi
+uslibcgidir= $(uslibdir)/cgi
TARGETS= ucgi ucgitarget
TARGETS= ucgi ucgitarget
@@
-30,3
+32,16
@@
ucgi: ucgi.o ucgicommon.o
ucgitarget: ucgitarget.o ucgicommon.o
$(OBJS): ucgi.h
ucgitarget: ucgitarget.o ucgicommon.o
$(OBJS): ucgi.h
+
+install: all
+ mkdir -p $(uslibcgidir)
+ cp -b ucgitarget $(uslibdir)/target
+ cp -b ucgi $(uslibcgidir)/
+ ln -sf ucgi $(uslibcgidir)/ucgi-debug
+
+install-examples:
+
+install-docs:
+
+clean distclean realclean:
+ rm -f $(TARGETS) *.o