1 ## $Id: Makefile.am,v 5.31 2008/08/29 06:35:42 lirc Exp $
3 ## Process this file with automake to produce Makefile.in
5 ## here the correct driver is substituted in by the configure script
8 EXTRA_DIST = lirc.h kcompat.h Makefile.kernel Makefile.common
30 SUBDIRS = @lirc_driver@
36 install-exec-local: mklink mkdev
37 uninstall-local: rmlink mkdev
41 test "@irtty@" = "" || test -L $(DESTDIR)$(devdir)/lirc || ($(mkinstalldirs) $(DESTDIR)$(devdir) && cd `dirname $(DESTDIR)@irtty@` && $(LN_S) `basename @irtty@` lirc)
44 -test "@irtty@" = "" || $(RM) $(DESTDIR)$(devdir)/lirc
47 test "@driver@" != "mediafocusI" || test -c $(DESTDIR)$(devdir)/lirc || ($(mkinstalldirs) $(DESTDIR)$(devdir) && @mknod@ $(DESTDIR)$(devdir)/lirc c @lirc_major@ 0)
50 -test "@driver@" != "mediafocusI" || test -c $(DESTDIR)$(devdir)/lirc || $(RM) $(DESTDIR)$(devdir)/lirc