diff options
Diffstat (limited to 'pkg/make')
| -rw-r--r-- | pkg/make/gen.lua | 22 | ||||
| -rw-r--r-- | pkg/make/gen.rc | 20 |
2 files changed, 22 insertions, 20 deletions
diff --git a/pkg/make/gen.lua b/pkg/make/gen.lua new file mode 100644 index 00000000..9809030c --- /dev/null +++ b/pkg/make/gen.lua @@ -0,0 +1,22 @@ +cflags{ + '-D HAVE_CONFIG_H', + '-I include', + '-I $dir', + '-I $srcdir', + '-I $srcdir/glob', +} + +lib('libglob.a', {'glob/glob.c', 'glob/fnmatch.c'}) + +exe('make', [[ + ar.c arscan.c commands.c default.c dir.c expand.c file.c + function.c getopt.c getopt1.c guile.c implicit.c job.c load.c + loadapi.c main.c misc.c posixos.c output.c read.c remake.c + rule.c signame.c strcache.c variable.c version.c vpath.c + hash.c remote-stub.c + libglob.a +]]) +file('bin/make', '755', '$outdir/make') +man{'make.1'} + +fetch 'git' diff --git a/pkg/make/gen.rc b/pkg/make/gen.rc deleted file mode 100644 index 2ddbabcd..00000000 --- a/pkg/make/gen.rc +++ /dev/null @@ -1,20 +0,0 @@ -cflags\ - -D HAVE_CONFIG_H\ - -I include\ - -I '$dir' \ - -I '$srcdir' \ - -I '$srcdir'/glob - -lib libglob.a glob/^(glob.c fnmatch.c) - -exe make\ - ar.c arscan.c commands.c default.c dir.c expand.c file.c\ - function.c getopt.c getopt1.c guile.c implicit.c job.c load.c\ - loadapi.c main.c misc.c posixos.c output.c read.c remake.c\ - rule.c signame.c strcache.c variable.c version.c vpath.c\ - hash.c remote-stub.c\ - libglob.a -file bin/make '$outdir'/make 755 -man 1 make.1 - -fetch git |
