Lines Matching +full:sub +full:- +full:modules
1 # $Id: mk-2nd.awk,v 1.23 2021/06/17 21:20:30 tom Exp $
4 # Copyright 1998-2004,2005 Free Software Foundation, Inc. #
33 # Generate compile-rules for the modules that we are using in libraries or
36 # make-recursion but that would result in makefiles that are useless for
44 # crenames ("yes" or "no", flag to control whether -c & -o options are used)
45 # cxxrenames ("yes" or "no", flag to control whether -c & -o options are used)
47 # srcdir is expanded when "configure --srcdir" was used
49 # Fields in src/modules:
52 # $3 = source-directory
54 # Fields in src/modules past $3 are dependencies
75 print "# generated by mk-2nd.awk"
131 mycflags=" -DUSE_TERMLIB"
133 printf "$(LIBTOOL_COMPILE) $(%s) $(CFLAGS_%s)%s -c ", compile, MODEL, mycflags
136 sub("^\\$\\(srcdir\\)/","",dir);
137 sub("^\\./","",dir);
143 printf " -o ../%s/%s$o", model, $1