rt/Makefile
author Florian Pose <fp@igh-essen.com>
Fri, 06 Jan 2006 10:17:35 +0000
changeset 46 f2d7a73d2f32
parent 28 801dc7eabf51
child 50 458e704afc6e
permissions -rw-r--r--
Makefiles nochmals verbessert.
#------------------------------------------------------------------------------
#
# Makefile Echtzeitmodule
#
# $Id$
#
#------------------------------------------------------------------------------

ifneq ($(KERNELRELEASE),)

#------------------------------------------------------------------------------
# Kbuild-Abschnitt

obj-m	:= msr_modul.o

msr_modul-objs := msr_module.o \
		msr_jitter.o \
		rt_lib/msr-core/msr_lists.o \
		rt_lib/msr-core/msr_main.o \
		rt_lib/msr-core/msr_charbuf.o \
		rt_lib/msr-core/msr_reg.o \
		rt_lib/msr-core/msr_interpreter.o \
		rt_lib/msr-core/msr_messages.o \
		rt_lib/msr-core/msr_proc.o \
		rt_lib/msr-core/msr_error_reg.o \
		rt_lib/msr-utils/msr_utils.o \
		rt_lib/msr-math/msr_base64.o \
		libm.o

EXTRA_CFLAGS := -I $(src)/rt_lib/msr-include -D_SIMULATION \
		-I/usr/include -mhard-float

#------------------------------------------------------------------------------

else

#------------------------------------------------------------------------------
# Default-Abschnitt

default:
	$(MAKE) -C ..

clean:
	$(MAKE) -C .. clean

#------------------------------------------------------------------------------

endif