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