2 # automake source for the toplibcaptivesrclevel Makefile
3 # Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
22 # FIXME: Dependency: storage -> sandbox
23 SUBDIRS=include reactos halcaptive captivemodid cc cm ex fs io kd ke ldr mm nt ob po ps rtl se sandbox client storage
26 Makefile-libcaptive.am
28 lib_LTLIBRARIES+=libcaptive.la
29 libcaptive_la_LIBADD= \
30 reactos/libreactos.la \
31 halcaptive/libhalcaptive.la \
32 captivemodid/libcaptivemodid.la \
48 storage/libstorage.la \
49 sandbox/libsandbox.la \
51 libcaptive_la_LDFLAGS=-release $(VERSION)
52 libcaptive_la_SOURCES=
54 EXTRA_DIST+=captive.pod.pl.in
55 CLEANFILES+=captive.pod captive.7
57 captive_man_cond=captive.7
59 man_MANS=$(captive_man_cond)
62 if test `id -u` -eq 0 -a -z "$(DESTDIR)";then \
63 if test x$(libdir) != x/lib -a x$(libdir) != x/usr/lib && ! grep -q '^$(libdir)$$' /etc/ld.so.conf;then \
64 echo -n "WARNING: Add '$(libdir)' to your '/etc/ld.so.conf' and run ldconfig(8)! Press ENTER...";read; \
66 ldconfig || echo -n "WARNING: Failed to run ldconfig(8) - run manually! Press ENTER...";read; \