* tests/hbpptest/Makefile
* tests/bldtest/Makefile
* tests/Makefile
* tests/multifnc/Makefile
* doc/en-EN/Makefile
* doc/Makefile
* external/sqlite3/Makefile
* external/libhpdf/Makefile
* external/libpng/Makefile
* external/Makefile
* include/Makefile
* source/hbextern/Makefile
* source/pp/Makefile
* source/lang/Makefile
* source/vm/maindllh/Makefile
* source/vm/mainstd/Makefile
* source/vm/maindllp/Makefile
* source/vm/Makefile
* source/vm/vmmt/Makefile
* source/vm/mainwin/Makefile
* source/main/Makefile
* source/debug/Makefile
* source/common/Makefile
* source/nortl/Makefile
* source/macro/Makefile
* source/rtl/gtdos/Makefile
* source/rtl/gtwin/Makefile
* source/rtl/gtxwc/Makefile
* source/rtl/gtcrs/Makefile
* source/rtl/gtstd/Makefile
* source/rtl/gttrm/Makefile
* source/rtl/Makefile
* source/rtl/gtcgi/Makefile
* source/rtl/gtos2/Makefile
* source/rtl/gtsln/Makefile
* source/rtl/gtpca/Makefile
* source/rtl/gtgui/Makefile
* source/rtl/gt_tpl/Makefile
* source/rtl/gtwvt/Makefile
* source/hbpcre/Makefile
* source/codepage/Makefile
* source/rdd/dbfntx/Makefile
* source/rdd/nulsys/Makefile
* source/rdd/Makefile
* source/rdd/dbfnsx/Makefile
* source/rdd/dbfcdx/Makefile
* source/rdd/hsx/Makefile
* source/rdd/usrrdd/rdds/Makefile
* source/rdd/usrrdd/Makefile
* source/rdd/dbffpt/Makefile
* source/rdd/hbsix/Makefile
* source/compiler/Makefile
* source/hbzlib/Makefile
* source/Makefile
* utils/hbformat/Makefile
* utils/hbmk2/Makefile
* utils/hbtest/Makefile
* utils/hbi18n/Makefile
* utils/hbrun/Makefile
* contrib/gtalleg/Makefile
* contrib/hbmysql/Makefile
* contrib/hbct/Makefile
* contrib/xhb/Makefile
* contrib/hbodbc/Makefile
* contrib/hbtpathy/Makefile
* contrib/hbgt/Makefile
* contrib/hbmzip/Makefile
* contrib/hbsqlit3/Makefile
* contrib/hbblat/Makefile
* contrib/hbqt/Makefile
* contrib/hbqt/generator/hbqtgen.prg
* contrib/hbqt/Makefile_gen
* contrib/hbfbird/Makefile
* contrib/hbziparc/Makefile
* contrib/hbxbp/Makefile
* contrib/xpp/Makefile
* contrib/hbnf/Makefile
* contrib/Makefile
* contrib/hbcurl/hbcurls/Makefile
* contrib/hbcurl/Makefile
* contrib/gtqtc/Makefile
* contrib/rddsql/sddmy/Makefile
* contrib/rddsql/sddpg/Makefile
* contrib/rddsql/sddfb/Makefile
* contrib/rddsql/sddodbc/Makefile
* contrib/rddsql/Makefile
* contrib/hbhpdf/Makefile
* contrib/rddado/Makefile
* contrib/gtwvg/Makefile
* contrib/hbpgsql/Makefile
* contrib/hbclipsm/Makefile
* contrib/rddads/Makefile
* contrib/hbfimage/Makefile
* contrib/hbgd/Makefile
* contrib/hbtip/Makefile
* contrib/hbbmcdx/Makefile
* contrib/hbvpdf/Makefile
* contrib/hbssl/Makefile
* contrib/hbbtree/Makefile
% Using ':=' instead of '=' where possible.
; TODO: Central make files (.cf).
* config/global.cf
* config/bin.cf
* config/globsh.cf
* config/dir.cf
* config/bsd/gcc.cf
* config/bsd/global.cf
* config/c.cf
* config/wce/msvcarm.cf
* config/wce/global.cf
* config/wce/mingwarm.cf
* config/wce/poccarm.cf
* config/rules.cf
* config/hpux/gcc.cf
* config/darwin/gcc.cf
* config/darwin/global.cf
* config/dos/watcom.cf
* config/dos/djgpp.cf
* config/win/watcom.cf
* config/win/icc.cf
* config/win/global.cf
* config/win/cygwin.cf
* config/win/msvc.cf
* config/win/xcc.cf
* config/win/mingw.cf
* config/win/pocc.cf
* config/win/bcc.cf
* config/linux/watcom.cf
* config/linux/gcc.cf
* config/linux/icc.cf
* config/linux/sunpro64.cf
* config/linux/sunpro.cf
* config/os2/watcom.cf
* config/os2/gcc.cf
* config/sunos/gcc.cf
* config/sunos/sunpro64.cf
* config/sunos/sunpro.cf
% Using ':=' instead of '=' where possible.
(incomplete. pass one)
* config/none.cf
* Little change in text.
* config/global.cf
! Fixed HB_ARCHITECTURE mis-detection as wce for a few win compilers.
46 lines
1.1 KiB
CFEngine3
46 lines
1.1 KiB
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
C_OBJS = $(C_SOURCES:.c=$(OBJ_EXT)) $(CPP_SOURCES:.cpp=$(OBJ_EXT))
|
|
|
|
C_MAIN_OBJ = $(C_MAIN:.c=$(OBJ_EXT))
|
|
|
|
ifdef YACC_SOURCE
|
|
YACC_BASE = $(YACC_SOURCE:.y=)
|
|
YACC_C = $(YACC_BASE)y.c
|
|
YACC_H_TMP = $(YACC_C:.c=.h)
|
|
YACC_H := y_tab.h
|
|
YACC_OUTPUT = $(YACC_C:.c=.out)
|
|
YACC_OBJ = $(YACC_C:.c=$(OBJ_EXT))
|
|
YACC_HB_H := $(foreach h, $(YACC_HEADERS), $(HB_INC_COMPILE)/$(h))
|
|
ifneq ($(YACC_DEPEND),)
|
|
$(foreach f, $(YACC_DEPEND), $(f:.c=$(OBJ_EXT))) : $(YACC_C)
|
|
endif
|
|
endif
|
|
|
|
ifdef LEX_SOURCE
|
|
LEX_BASE = $(LEX_SOURCE:.l=)
|
|
LEX_C = $(LEX_BASE)l.c
|
|
LEX_OBJ = $(LEX_C:.c=$(OBJ_EXT))
|
|
LEX_HB_H := $(foreach h, $(LEX_HEADERS), $(HB_INC_COMPILE)/$(h))
|
|
endif
|
|
|
|
ALL_C_OBJS = $(YACC_OBJ) $(LEX_OBJ) $(C_OBJS) $(C_MAIN_OBJ)
|
|
|
|
$(YACC_OBJ) : $(YACC_C)
|
|
|
|
ifeq ($(HB_REBUILD_PARSER),yes)
|
|
$(YACC_C) : $(GRANDP)$(YACC_SOURCE) $(YACC_HB_H)
|
|
$(YACC) $(YACC_FLAGS) -o$@ $<
|
|
else
|
|
%y.c : $(GRANDP)%.yyc
|
|
$(CP) $(subst /,$(DIRSEP),$<) $@
|
|
$(CP) $(subst /,$(DIRSEP),$(<:.yyc=.yyh)) $(@:.c=.h)
|
|
endif
|
|
|
|
$(LEX_OBJ) : $(LEX_C)
|
|
|
|
$(LEX_C) : $(GRANDP)$(LEX_SOURCE) $(LEX_HB_H)
|
|
$(LEX) $(LEX_FLAGS) -o$@ $<
|