blob: 448d6eeea41d9f0209e9ac261242ea4d727539f6 [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001# Copyright (C) 1999-2005 Open Source Telecom Corporation.
2# Copyright (C) 2006-2010 David Sugar, Tycho Softworks.
3#
4# This file is free software; as a special exception the author gives
5# unlimited permission to copy and/or distribute it, with or without
6# modifications, as long as this notice is preserved.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12AUTOMAKE_OPTIONS = no-dependencies dist-shar dist-zip
13EXTRA_DIST = *.h
14MAINTAINERCLEANFILES = config.h Makefile.in config.tmp
15TEMPLATE = \
16 counter.h functions.h objcount.h objlink.h objmap.h objsync.h \
17 oststring.h template.h pointer.h
18
19ccxxincludedir=$(includedir)/cc++
20
21#do not distribuite config.h, autogenerated
22dist-hook:
23 rm -f $(distdir)/config.h
24
25# export.h are used by other library
26
27if EXTRAS
28ccxxinclude_HEADERS = \
29 common.h config.h digest.h exception.h export.h file.h \
30 misc.h network.h numbers.h persist.h serial.h slog.h applog.h \
31 socket.h strchar.h thread.h unix.h url.h xml.h process.h \
32 missing.h string.h buffer.h cmdoptns.h address.h zstream.h \
33 socketport.h tokenizer.h mime.h object.h $(TEMPLATE)
34else
35ccxxinclude_HEADERS = \
36 common.h config.h exception.h export.h file.h \
37 misc.h slog.h applog.h socket.h strchar.h thread.h process.h \
38 missing.h string.h buffer.h address.h zstream.h \
39 socketport.h object.h $(TEMPLATE)
40endif
41
42kdoc_headers = \
43 common.h config.h digest.h exception.h export.h file.h \
44 misc.h network.h numbers.h persist.h serial.h slog.h applog.h \
45 socket.h strchar.h thread.h unix.h url.h xml.h process.h \
46 missing.h string.h buffer.h zstream.h port.h object.h \
47 $(TEMPLATE)
48
49kdoc:
50 kdoc -f html -d $(KDOC_DIR) -L $(KDOC_DIR) -n CommonC++ $(kdoc_headers) --cppcmd ../../doc/kdoc_cpp --cpp -I ../../doc
51
52view:
53 lynx ../../doc/index.html
54
55