项目下如下指定源码目录
SUBDIRS = lib lib/test plugin plugin/utest cgi
源码目录下:
AUTOMAKE_OPTIONS=foreign
bin_PROGRAMS= bas.fcgi
bas_fcgi_SOURCES=basFCGI.c\
basCgiAux.c\
basCommon.c\
basOperation.c\
basSearchOp.c\
eggDAO.c\
utility.c\
stringDeal.c\
getString.c\
getQuery.c\
caluPageNum.c\
config.c
bas_fcgi_CFLAGS=$(glib_CFLAGS) -g -Wall -O0 -I/usr/local/include/bas2plugin/ -I/usr/local/include/spider2/
bas_fcgi_LDADD=-lfcgi -lscholar -legg2 -lbas2plugin