📄 makefile.am
字号:
## $Id: Makefile.am,v 5.10 2002/02/01 11:43:28 ranty Exp $## Process this file with automake to produce Makefile.in## this is so that Automake includes the C compiling definitions, and## includes the source files in the distribution.EXTRA_PROGRAMS = automake_dummyautomake_dummy_SOURCES = lirc_serial.c## there is no *just* object file support in automake. This is close enoughmodule_DATA = lirc_serial.o# where the kernel sources are locatedKERNEL_LOCATION=@kerneldir@# some magic for using linux kernel settings# when compiling module(s)CC = @kernelcc@MI_OBJS = $(module_DATA)EXTRA_CFLAGS = $(DEFS) $(DEFAULT_INCLUDES)$(module_DATA): $(automake_dummy_SOURCES) $(top_srcdir)/config.h ../lirc.h ifndef MAKING_MODULES DIR=`pwd`; (cd $(KERNEL_LOCATION); make SUBDIRS=$$DIR obj-m=$(module_DATA) modules) endif# the spaces above are necessary because automake otherwise will complain# and even worse, it will delete the lineif MANAGE_DEVICESinstall-exec-local: mkdevuninstall-local: rmdevendifmkdev: 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)/lircinstall-data-local: -@depmod@ -aCLEANFILES = $(module_DATA) .$(module_DATA).flags *~include $(KERNEL_LOCATION)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -