# $Id$ # automake source for the toplibcaptivesrclevel Makefile # Copyright (C) 2002 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA include $(top_srcdir)/Makefile-head.am include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am # FIXME: Dependency: storage -> sandbox SUBDIRS=include reactos halcaptive captivemodid cc cm ex fs io kd ke ldr mm nt ob po ps rtl se sandbox client storage EXTRA_DIST+= \ Makefile-libcaptive.am lib_LTLIBRARIES+=libcaptive.la libcaptive_la_LIBADD= \ reactos/libreactos.la \ halcaptive/libhalcaptive.la \ captivemodid/libcaptivemodid.la \ cc/libcc.la \ cm/libcm.la \ ex/libex.la \ fs/libfs.la \ io/libio.la \ kd/libkd.la \ ke/libke.la \ ldr/libldr.la \ mm/libmm.la \ nt/libnt.la \ ob/libob.la \ po/libpo.la \ ps/libps.la \ rtl/librtl.la \ se/libse.la \ storage/libstorage.la \ sandbox/libsandbox.la \ client/libclient.la libcaptive_la_LDFLAGS=-release $(VERSION) libcaptive_la_SOURCES= EXTRA_DIST+=captive.pod.pl.in CLEANFILES+=captive.pod captive.7 if ENABLE_MAN_PAGES captive_man_cond=captive.7 endif man_MANS=$(captive_man_cond) install-exec-hook: if test `id -u` -eq 0 -a -z "$(DESTDIR)";then \ if test x$(libdir) != x/lib -a x$(libdir) != x/usr/lib && ! grep -q '^$(libdir)$$' /etc/ld.so.conf;then \ echo -n "WARNING: Add '$(libdir)' to your '/etc/ld.so.conf' and run ldconfig(8)! Press ENTER...";read; \ fi; \ ldconfig || echo -n "WARNING: Failed to run ldconfig(8) - run manually! Press ENTER...";read; \ fi