Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 1 | # 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 | |
| 12 | AUTOMAKE_OPTIONS = no-dependencies dist-shar dist-zip |
| 13 | EXTRA_DIST = *.h |
| 14 | MAINTAINERCLEANFILES = config.h Makefile.in config.tmp |
| 15 | TEMPLATE = \ |
| 16 | counter.h functions.h objcount.h objlink.h objmap.h objsync.h \ |
| 17 | oststring.h template.h pointer.h |
| 18 | |
| 19 | ccxxincludedir=$(includedir)/cc++ |
| 20 | |
| 21 | #do not distribuite config.h, autogenerated |
| 22 | dist-hook: |
| 23 | rm -f $(distdir)/config.h |
| 24 | |
| 25 | # export.h are used by other library |
| 26 | |
| 27 | if EXTRAS |
| 28 | ccxxinclude_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) |
| 34 | else |
| 35 | ccxxinclude_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) |
| 40 | endif |
| 41 | |
| 42 | kdoc_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 | |
| 49 | kdoc: |
| 50 | kdoc -f html -d $(KDOC_DIR) -L $(KDOC_DIR) -n CommonC++ $(kdoc_headers) --cppcmd ../../doc/kdoc_cpp --cpp -I ../../doc |
| 51 | |
| 52 | view: |
| 53 | lynx ../../doc/index.html |
| 54 | |
| 55 | |