X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=www-cgi%2FMakefile;h=440de6b27edd5a995a3f218746870da8fc1c1b1b;hb=0ae8e6867facf7eb8055533a642026d7c9e9cf38;hp=202021ea4b92a173f4e75eef2f33bcaf804487de;hpb=49973d9accd460357b26acb34767822c470e4903;p=userv-utils.git diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 202021e..440de6b 100644 --- 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 @@ -16,9 +16,11 @@ # # $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 @@ -30,3 +32,16 @@ ucgi: ucgi.o ucgicommon.o 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)