X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=www-cgi%2FMakefile;h=57c1d6a0f3f59c0252d40c4c685f3d373504ed20;hb=70cbc32a4f453b7fcf55408a4d3c4153f33c4224;hp=1626d0d02a758aae6c85f01e03c533ed881096a2;hpb=c62ccbd5747bc841fd181e53b896647b73108c9e;p=userv-utils.git diff --git a/www-cgi/Makefile b/www-cgi/Makefile index 1626d0d..57c1d6a 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 @@ -31,5 +33,15 @@ 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) + rm -f $(TARGETS) *.o