diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-21 15:11:48 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-21 15:11:48 +0000 |
commit | 802b567e6c7ba7803a950324cbed13f7d57944cb (patch) | |
tree | 6b90ca3119aaa2e4073d3b651ac965dea5d3430e /drivers/dahdi/wcte12xp/Makefile | |
parent | ec5ce88e015b41c2f46f6c9b783339b945f9502a (diff) |
start copying kernel bits
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/Makefile')
-rw-r--r-- | drivers/dahdi/wcte12xp/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte12xp/Makefile b/drivers/dahdi/wcte12xp/Makefile new file mode 100644 index 0000000..fb0fbc5 --- /dev/null +++ b/drivers/dahdi/wcte12xp/Makefile @@ -0,0 +1,25 @@ +ifneq ($(KBUILD_EXTMOD),) +# We only get here on kernels 2.6.0-2.6.9 . +# For newer kernels, Kbuild will be included directly by the kernel +# build system. +include $(src)/Kbuild + +else + +# building for 2.4 kernels means no VPM support, so none of the VPM support +# modules are included in the Makefile rules + +all: wcte12xp.o + +%.o: %.c + $(CC) $(KFLAGS) -o $@ -c $< + +base.o: ../zaptel.h + +wcte12xp.o: base.o + $(LD) -r -o $@ $^ + +clean: + rm -f *.o + +endif |