1 ## Copyright (c) 2001-2004 artofcode LLC.
3 ## Permission is hereby granted, free of charge, to any person
4 ## obtaining a copy of this software and associated documentation
5 ## files (the "Software"), to deal in the Software without
6 ## restriction, including without limitation the rights to use, copy,
7 ## modify, merge, publish, distribute, sublicense, and/or sell copies
8 ## of the Software, and to permit persons to whom the Software is
9 ## furnished to do so, subject to the following conditions:
11 ## The above copyright notice and this permission notice shall be
12 ## included in all copies or substantial portions of the Software.
14 ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 ## EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 ## MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 ## NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18 ## BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 ## ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 ## CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 ## $Id: Makefile.am,v 1.4 2004/02/11 11:46:29 giles Exp $
25 ## Process this file with automake to produce Makefile.in.
27 AUTOMAKE_OPTIONS = 1.6 foreign dist-bzip2 no-dependencies
31 MAINT_CHARSET = latin1
35 pkgincludedir=$(includedir)/ijs
36 m4datadir = $(datadir)/aclocal
37 pkgconfigdatadir = $(libdir)/pkgconfig
39 lib_LTLIBRARIES = libijs.la
41 pkginclude_HEADERS = \
46 noinst_HEADERS = unistd_.h
48 bin_PROGRAMS = ijs_client_example ijs_server_example
50 bin_SCRIPTS = ijs-config
58 EXTRA_libijs_la_SOURCES = ijs_exec_unix.c ijs_exec_win.c
60 libijs_la_LIBADD = ijs_exec_win.lo $(IJS_DEPLIBS)
62 libijs_la_LIBADD = ijs_exec_unix.lo $(IJS_DEPLIBS)
64 # Uncommment to build an unversioned library (version in soname)
65 libijs_la_LDFLAGS = -release $(IJS_VERSION) -rpath $(libdir)
66 # Uncomment to build a versioned library
67 #libijs_la_LDFLAGS = \
68 # -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
72 ijs_client_example_SOURCES = ijs_client_example.c
73 ijs_client_example_LDADD = libijs.la
75 ijs_server_example_SOURCES = ijs_server_example.c
76 ijs_server_example_LDADD = libijs.la
81 pkgconfigdata_DATA = ijs.pc
83 man_MANS = ijs-config.1
86 common.mak unix.mak windows.mak \
87 ijs_spec.sgml state.eps state.fig ijs_spec.pdf \
93 libtool: $(LIBTOOL_DEPS)
94 $(SHELL) ./config.status --recheck
96 doc: ijs_spec.ps ijs_spec.pdf
98 # We don't use db2pdf because it can't handle embedded .eps
99 ijs_spec.ps: ijs_spec.sgml
100 $(DB2PS) ijs_spec.sgml
102 ijs_spec.pdf: ijs_spec.ps
103 $(PS2PDF) ijs_spec.ps
105 # Note that ijs_spec.pdf is included in the dist list above,
106 # so the 'doc' target needs to be build for 'make dist' to work.
121 CLEANFILES = gmon.out core ijs_spec.log ijs_spec.tex ijs_spec.aux ijs_spec.ps ijs_spec.pdf
122 DISTCLEANFILES = ijs-config config.cache config.log config.status
123 # ijs-config.in ijs.pc ijs.pc.in ijs.m4 ijs.h
124 MAINTAINERCLEANFILES = INSTALL aclocal.m4 config.h.in configure Makefile.in stamp-h.in $(CLEANSCRIPTS)