+function calls of type "pass" and "wrap"
[captive.git] / src / libcaptive / ke / Makefile.am
1 # $Id$
2 # automake source for the reactos's ke/ emulation of libcaptive Makefile 
3 # Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
4
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
8
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.
13
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
17
18
19 include $(top_srcdir)/Makefile-head.am
20 include $(top_srcdir)/src/libcaptive/Makefile-libcaptive.am
21
22 noinst_LTLIBRARIES=libke.la
23 libke_la_SOURCES= \
24                 apc.c \
25                 bug.c \
26                 catch.c \
27                 event.c \
28                 kthread.c \
29                 main.c \
30                 sem.c \
31                 spinlock.c \
32                 timer.c \
33                 wait.c
34
35 EXTRA_DIST+= \
36                 $(noinst_SCRIPTS) \
37                 exports.captivesym
38
39 # Generate exports.c automatically from exports.captivesym by captivesym.pl
40 noinst_SCRIPTS=captivesym.pl
41
42 BUILT_SOURCES+=exports.c
43 CLEANFILES+=exports.c
44 libke_la_SOURCES+=exports.c
45
46 # FIXME: a difference between "ntoskrnl/ntoskrnl.def" vs. "ntoskrnl/ntoskrnl.edf"?
47 exports.c: exports.captivesym captivesym.pl exports.def $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $(top_srcdir)/reactos/hal/hal/hal.def
48         perl captivesym.pl $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $(top_srcdir)/reactos/hal/hal/hal.def exports.def $< >$@