+respected proper function calling types cdecl/stdcall/fastcall
[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
30 EXTRA_DIST+= \
31                 $(noinst_SCRIPTS) \
32                 exports.captivesym
33
34 # Generate exports.c automatically from exports.captivesym by captivesym.pl
35 noinst_SCRIPTS=captivesym.pl
36
37 BUILT_SOURCES+=exports.c
38 CLEANFILES+=exports.c
39 libke_la_SOURCES+=exports.c
40
41 # FIXME: a difference between "ntoskrnl/ntoskrnl.def" vs. "ntoskrnl/ntoskrnl.edf"?
42 exports.c: exports.captivesym captivesym.pl $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def
43         perl captivesym.pl $(top_srcdir)/reactos/ntoskrnl/ntoskrnl.def $< >$@