noinst_LTLIBRARIES=libke.la
libke_la_SOURCES= \
+ apc.c \
+ brkpoint.c \
bug.c \
+ catch.c \
event.c \
kthread.c \
- spinlock.c
+ main.c \
+ sem.c \
+ spinlock.c \
+ timer.c \
+ wait.c
EXTRA_DIST+= \
$(noinst_SCRIPTS) \
- exports.captivesym
+ exports.captivesym \
+ exports.def
# Generate exports.c automatically from exports.captivesym by captivesym.pl
noinst_SCRIPTS=captivesym.pl
CLEANFILES+=exports.c
libke_la_SOURCES+=exports.c
-exports.c: exports.captivesym captivesym.pl
- perl captivesym.pl $< >$@
+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