xref: /freebsd/contrib/file/magic/Magdir/make (revision 190cef3d52236565eb22e18b33e9e865ec634aa3)
1#------------------------------------------------------------------------------
2# $File: make,v 1.4 2018/05/29 17:26:02 christos Exp $
3# make:  file(1) magic for makefiles
4#
5# URL: https://en.wikipedia.org/wiki/Make_(software)
60	regex/100l	\^CFLAGS	makefile script text
7!:mime	text/x-makefile
80	regex/100l	\^VPATH		makefile script text
9!:mime	text/x-makefile
100	regex/100l	\^LDFLAGS	makefile script text
11!:mime	text/x-makefile
120	regex/100l	\^all:		makefile script text
13!:mime	text/x-makefile
140	regex/100l	\^\\.PRECIOUS	makefile script text
15!:mime	text/x-makefile
16# Update: Joerg Jenderek
17# Reference: https://www.freebsd.org/cgi/man.cgi?make(1)
18# exclude grub-core\lib\libgcrypt\mpi\Makefile.am with "#BEGIN_ASM_LIST"
19# by additional escaping point character
200	regex/100l	\^\\.BEGIN	BSD makefile script text
21!:mime	text/x-makefile
22!:ext	/mk
23!:strength +10
24# exclude MS Windows help file CoNtenT with ":include FOOBAR.CNT"
25# and NSIS script with "!include" by additional escaping point character
260	regex/100l	\^\\.include	BSD makefile script text
27!:mime	text/x-makefile
28!:ext	/mk
29!:strength +10
300	regex/100l	\^\\.endif	BSD makefile script text
31!:mime	text/x-makefile
32!:ext	/mk
33!:strength +10
340	regex/100l	\^SUBDIRS	automake makefile script text
35!:mime	text/x-makefile
36!:strength +10
37