711a0748 |
1 | # Copyright (C) 1999,2003 Ian Jackson |
49973d9a |
2 | # |
3 | # This is free software; you can redistribute it and/or modify it |
4 | # under the terms of the GNU General Public License as published by |
5 | # the Free Software Foundation; either version 2 of the License, or |
6 | # (at your option) any later version. |
7 | # |
8 | # This program is distributed in the hope that it will be useful, but |
9 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
11 | # General Public License for more details. |
12 | # |
13 | # You should have received a copy of the GNU General Public License |
14 | # along with userv-utils; if not, write to the Free Software |
15 | # Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 | # |
17 | # $Id$ |
18 | |
6362f12c |
19 | |
20 | include ../settings.make |
21 | |
22 | uslibdir= $(libdir)/userv/cgi |
23 | uslibcgidir= $(uslibdir)/cgi |
6a580c17 |
24 | |
a33962ba |
25 | TARGETS= ucgi ucgitarget |
6a580c17 |
26 | |
27 | all: $(TARGETS) |
28 | |
a33962ba |
29 | OBJS= ucgi.o ucgitarget.o ucgicommon.o |
6a580c17 |
30 | |
a33962ba |
31 | ucgi: ucgi.o ucgicommon.o |
6a580c17 |
32 | ucgitarget: ucgitarget.o ucgicommon.o |
33 | |
a33962ba |
34 | $(OBJS): ucgi.h |
c62ccbd5 |
35 | |
6362f12c |
36 | install: all |
37 | mkdir -p $(uslibcgidir) |
38 | cp -b ucgitarget $(uslibdir)/target |
39 | cp -b ucgi $(uslibcgidir)/ |
40 | ln -sf ucgi $(uslibcgidir)/ucgi-debug |
41 | |
42 | install-examples: |
43 | |
44 | install-docs: |
45 | |
c62ccbd5 |
46 | clean distclean realclean: |
477d9486 |
47 | rm -f $(TARGETS) *.o |