- make_gnu.sh
* config/linux/global.cf
- Deleted. The -fPIC logic is moved to linux/global.cf but it's
incomplete yet, some comments were added there.
* contrib/hbcurl/hbcurl.hbc
+ contrib/hbcurl/hbcurls.hbc
+ Added separate .hbc file for static mode hbcurl lib.
This replaces former HB_CURL_STATIC setting.
* contrib/hbcurl/Makefile
* external/Makefile
* contrib/Makefile
% Minor optimization to DIRS var.
(in few cases it wasn't init to empty with := operator)
+ contrib/hbtip/hbtipssl.hbc
+ contrib/hbtip/hbtipssl
+ contrib/hbtip/hbtipssl/Makefile
* contrib/hbtip/Makefile
+ Now building separate SSL enabled hbtip lib in case HB_HAS_OPENSSL.
+ Added separate .hbc file for SSL enabled hbtip lib, which also
pulls hbssl libs and dependencies.
* config/prg.cf
* config/lib.cf
* config/bin.cf
* config/globsh.cf
* config/dir.cf
* config/c.cf
* config/header.cf
* config/doc.cf
* config/instsh.cf
* config/dirsh.cf
% Optimized remaining (more delicate) logic to use :=
instead of = assigment operator.
At this point there is nothing left to optimize in this
regard.
; I didn't restest parallel build and BISON related rules,
please do so, I hope they aren't broken. Or in case you
notice anything strange please shout.
* config/global.cf
+ Added link to GNU Make NEWS files which describes at which release
some features were added.
* config/dos/watcom.cf
* config/win/watcom.cf
* config/os2/watcom.cf
! Synced special watcom CC_RULEs with recent changes to global CC_RULE.
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$@ $<
|