# $Id$ # automake source for the reactos's ke/ emulation of libcaptive 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 noinst_LTLIBRARIES=libke.la libke_la_SOURCES= \ apc.c \ brkpoint.c \ bug.c \ catch.c \ event.c \ kthread.c \ main.c \ sem.c \ spinlock.c \ timer.c \ wait.c EXTRA_DIST+= \ $(noinst_SCRIPTS) \ exports.captivesym \ exports.def # Generate exports.c automatically from exports.captivesym by captivesym.pl noinst_SCRIPTS=captivesym.pl BUILT_SOURCES+=exports.c CLEANFILES+=exports.c libke_la_SOURCES+=exports.c if HAVE_PERL # FIXME: a difference between "ntoskrnl/ntoskrnl.def" vs. "ntoskrnl/ntoskrnl.edf"? exports.c: exports.captivesym captivesym.pl exports.def $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $(top_srcdir)/reactos/hal/hal/hal.def $(PERL) $(srcdir)/captivesym.pl \ $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def \ $(top_srcdir)/reactos/hal/hal/hal.def \ $(srcdir)/exports.def \ $< >$@ endif