Moved arch/sdl_* to arch/sdl
[btb/d2x.git] / arch / linux / Makefile.am
1 EXTRA_SUBDIRS = include
2
3 noinst_LIBRARIES = libarch_linux.a
4
5 INCLUDES = -I$(top_srcdir)/arch/include -I$(top_srcdir)/includes -I$(top_srcdir)/main -I$(srcdir)/include
6
7 if USE_NETWORK
8 libarch_linux_a_SOURCES = findfile.c init.c ipx_bsd.c ipx_kali.c ipx_lin.c linuxnet.c ukali.c
9 else
10 libarch_linux_a_SOURCES = findfile.c init.c
11 endif
12
13 EXTRA_libarch_linux_a_SOURCES = \
14 ipx_bsd.c ipx_kali.c ipx_lin.c linuxnet.c ukali.c
15
16 EXTRA_DIST = \
17 alsadigi.c  hmistub.c    serial.c  ukali.c \
18 hmiplay.c   mono.c      timer.c
19
20 dist-hook:
21         list='$(EXTRA_SUBDIRS)'; for subdir in $$list; do \
22          ( cd $(srcdir) && tar --exclude=CVS -cf - $$subdir ) \
23           | ( cd $(distdir) && tar xf - ) \
24         done