Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

  Switch to side-by-side view

--- a/drivers/lirc_serial/Makefile.am
+++ b/drivers/lirc_serial/Makefile.am
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 5.13 2004/01/18 21:20:26 ranty Exp $
+## $Id: Makefile.am,v 5.14 2004/04/25 16:29:27 lirc Exp $
 
 ## Process this file with automake to produce Makefile.in
 
@@ -10,43 +10,4 @@
 ## there is no *just* object file support in automake.  This is close enough
 module_DATA = lirc_serial.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
-
-if SANDBOXED
-else
-install-exec-local: mkdev
-uninstall-local: rmdev
-endif
-
-mkdev:
-	test -c $(DESTDIR)$(devdir)/lirc || ($(mkinstalldirs) $(DESTDIR)$(devdir) && @mknod@ $(DESTDIR)$(devdir)/lirc c @lirc_major@ 0)
-
-rmdev:
-	-test -c $(DESTDIR)$(devdir)/lirc && $(RM) $(DESTDIR)$(devdir)/lirc
-
-if SANDBOXED
-else
-install-data-local: install-moduleDATA
-	-@depmod@ -a
-endif
-
-CLEANFILES = $(module_DATA) .$(module_DATA).flags *~
-
+include ../Makefile.common