Skip Menu |
 

This queue is for tickets about the Makefile-Parser CPAN distribution.

Report information
The Basics
Id: 18229
Status: resolved
Priority: 0/
Queue: Makefile-Parser

People
Owner: Nobody in particular
Requestors: fr0828 [...] nate.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.11
Fixed in: 0.11



Subject: makefile parser
Subject: makefile
Download makefile
text/plain 2.7k
.SUFFIXES : .c .o INC = -I./ CFLAGS = -g -DSFTK_FAPI_LINUX -DSFTK_OS_LINUX $(INC) OBJS = st_main.o \ BASE/st_internal.o \ BASE/st_list.o \ BASE/st_util.o \ CMD/st_command.o \ CMD/st_script.o \ FSWF/st_fswf.o \ FSWF/st_errtbl.o \ OSAL/st_osal.o \ TESTCASE/tc_access.o \ TESTCASE/tc_access_ex.o \ TESTCASE/tc_backup.o \ TESTCASE/tc_cleandir.o \ TESTCASE/tc_clean_nand_device.o \ TESTCASE/tc_close.o \ TESTCASE/tc_closeall.o \ TESTCASE/tc_closedir.o \ TESTCASE/tc_create.o \ TESTCASE/tc_create_ex.o \ TESTCASE/tc_external.o \ TESTCASE/tc_fastseek.o \ TESTCASE/tc_fast_unlink.o \ TESTCASE/tc_fat.o \ TESTCASE/tc_fdisk.o \ TESTCASE/tc_feof.o \ TESTCASE/tc_format.o \ TESTCASE/tc_fstat.o \ TESTCASE/tc_fsync.o \ TESTCASE/tc_ftell.o \ TESTCASE/tc_ftruncate.o \ TESTCASE/tc_get_partition_info.o \ TESTCASE/tc_get_volume_info.o \ TESTCASE/tc_hidden_area.o \ TESTCASE/tc_lock.o \ TESTCASE/tc_lseek.o \ TESTCASE/tc_lstat.o \ TESTCASE/tc_mkdir.o \ TESTCASE/tc_mkdir_ex.o \ TESTCASE/tc_mount.o \ TESTCASE/tc_open.o \ TESTCASE/tc_opendir.o \ TESTCASE/tc_opendir_ex.o \ TESTCASE/tc_open_ex.o \ TESTCASE/tc_read.o \ TESTCASE/tc_readdir.o \ TESTCASE/tc_readdir_stat.o \ TESTCASE/tc_readdir_unlink.o \ TESTCASE/tc_rename.o \ TESTCASE/tc_rename_ex.o \ TESTCASE/tc_restore.o \ TESTCASE/tc_rewinddir.o \ TESTCASE/tc_rmdir.o \ TESTCASE/tc_rmdir_ex.o \ TESTCASE/tc_stat.o \ TESTCASE/tc_statfs.o \ TESTCASE/tc_stat_ex.o \ TESTCASE/tc_symlink.o \ TESTCASE/tc_sync.o \ TESTCASE/tc_test.o \ TESTCASE/tc_truncate.o \ TESTCASE/tc_truncate_ex.o \ TESTCASE/tc_umount.o \ TESTCASE/tc_uni.o \ TESTCASE/tc_unlink.o \ TESTCASE/tc_unlink_ex.o \ TESTCASE/tc_write.o \ SRCS = $(OBJS:.o=.c) TARGET = sftk $(TARGET): $(OBJS) $(CC) -o $@ $(OBJS) dep : gccmakedep $(INC) $(SRCS) new : touch $(SRCS) ; $(MAKE) clean : $(RM) $(OBJS) $(TARGET) core
From: Agent Zhang <agentzh [...] gmail.com>
Download (untitled) / with headers
text/plain 868b
Hi, I'm the author of Makefile::Parser. Sorry, the current implementation of Makefile::Parser (0.11) is considered obsolete. In the next release of Makefile::Parser, it will support most of the features demonstrated by GNU make 3.81's test suit, such as functions, multi-target rules, target-specific pattern rules, two flavors of variables, include/ifdef/ifndef directives, phony targets, and many many more. As of Makefile::Parser 1.00 (the next BIG release), this module will be (seriously) syncronized with GNU make (and hopefully NMAKE as well). Currently I'm porting GNU make 3.81 beta4's test suit to Makefile::Parser using Ingy's excellent Test::Base. After that I'll rewrite the Makefile::Parser run-core in a test-driven fashion. The work is going on very well (though it's also a bit slow due to my $work). Please be patient. :=) Thanks! Agent
Download (untitled) / with headers
text/plain 449b
On Sat Mar 18 10:25:25 2006, guest wrote: Show quoted text
> .SUFFIXES : .c .o > > INC = -I./ > > CFLAGS = -g -DSFTK_FAPI_LINUX -DSFTK_OS_LINUX $(INC) >
[snip] Please try the Makefile::Parser::GmakeDB module to see if it works for you. It reuses the GNU make parser to do the parsing. Because it's normally impossible to correctly parse a makefile without its environment (like env vars and project tree being built), I can't try on my side. Thanks! -agentzh
Consider it resolved.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.