Diff of /drivers/lirc_gpio/Makefile.am [835a7c] .. [429bc1] Maximize Restore

  Switch to side-by-side view

--- a/drivers/lirc_gpio/Makefile.am
+++ b/drivers/lirc_gpio/Makefile.am
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.8 2004/01/18 21:20:26 ranty Exp $
+## $Id: Makefile.am,v 1.9 2004/04/25 16:29:25 lirc Exp $
 
 ## Process this file with automake to produce Makefile.in
 
@@ -10,25 +10,4 @@
 ## there is no *just* object file support in automake.  This is close enough
 module_DATA = lirc_gpio.o
 
-# where the kernel sources are located
-KERNEL_LOCATION=@kerneldir@
-
-LIRC_DEVDIR = $(shell pwd)
-
-# some magic for using linux kernel settings
-# when compiling module(s)
-KBUILD_VERBOSE = 1
-LIRC_EXTRA_CFLAGS = -DIRCTL_DEV_MAJOR=$(lirc_major) -DEXPORT_SYMTAB $(DEFS) \
-		$(DEFAULT_INCLUDES) -I $(LIRC_DEVDIR)/../.. \
-		-I $(KERNEL_LOCATION)/include/
-export LIRC_EXTRA_CFLAGS KERNEL_LOCATION module_DATA
-
-$(module_DATA): $(automake_dummy_SOURCES) $(top_srcdir)/config.h ../lirc.h
-	mv Makefile Makefile.automake
-	cp ../Makefile.kernel Makefile
-	$(MAKE) -C $(KERNEL_LOCATION) SUBDIRS=$(LIRC_DEVDIR) modules \
-		KBUILD_VERBOSE=$(KBUILD_VERBOSE)
-	mv Makefile.automake Makefile
-
-CLEANFILES = $(module_DATA) .$(module_DATA).flags *~
-
+include ../Makefile.common