+exports.def: W32 symbols missing in reactos ntoskrnl.def and hal.def
[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                 bug.c \
25                 event.c \
26                 kthread.c \
27                 sem.c \
28                 spinlock.c \
29                 wait.c
30
31 EXTRA_DIST+= \
32                 $(noinst_SCRIPTS) \
33                 exports.captivesym
34
35 # Generate exports.c automatically from exports.captivesym by captivesym.pl
36 noinst_SCRIPTS=captivesym.pl
37
38 BUILT_SOURCES+=exports.c
39 CLEANFILES+=exports.c
40 libke_la_SOURCES+=exports.c
41
42 # FIXME: a difference between "ntoskrnl/ntoskrnl.def" vs. "ntoskrnl/ntoskrnl.edf"?
43 exports.c: exports.captivesym captivesym.pl exports.def $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $(top_srcdir)/reactos/hal/hal/hal.def
44         perl captivesym.pl exports.def $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $(top_srcdir)/reactos/hal/hal/hal.def $< >$@