From: Francesco <fr...@us...> - 2005-06-12 21:21:39
|
Update of /cvsroot/wxlua/wxLua/util/build/msw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17375/util/build/msw Added Files: .cvsignore makefile.bcc makefile.gcc makefile.vc makefile.wat Log Message: Added bakefile build system --- NEW FILE: makefile.vc --- # ========================================================================= # This makefile was generated by # Bakefile 0.1.8 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= # ------------------------------------------------------------------------- # These are configurable options: # ------------------------------------------------------------------------- # C compiler CC = cl # Standard flags for CC CFLAGS = # Standard preprocessor flags (common for CC and CXX) CPPFLAGS = # Standard linker flags LDFLAGS = # Use DLL build of wx library to use? [0,1] WX_SHARED = 0 # Compile Unicode build of wxWidgets? [0,1] WX_UNICODE = 0 # Use debug build of wxWidgets (define __WXDEBUG__)? [0,1] WX_DEBUG = 1 # Does the wxLua utilities shoulb be compiled ? [0,1] USE_UTIL = 1 # ------------------------------------------------------------------------- # Do not modify the rest of this file! # ------------------------------------------------------------------------- ### Variables: ### BIN2C_CFLAGS = /MD /DWIN32 $(CPPFLAGS) $(CFLAGS) BIN2C_OBJECTS = \ bin2c_bin2c.obj ### Conditionally set variables: ### !if "$(USE_UTIL)" == "1" __bin2c___depname = ..\..\..\bin\bin2c.exe !endif ### Targets: ### all: $(__bin2c___depname) clean: -if exist .\*.obj del .\*.obj -if exist .\*.res del .\*.res -if exist .\*.pch del .\*.pch -if exist ..\..\..\bin\bin2c.exe del ..\..\..\bin\bin2c.exe -if exist ..\..\..\bin\bin2c.ilk del ..\..\..\bin\bin2c.ilk -if exist ..\..\..\bin\bin2c.pdb del ..\..\..\bin\bin2c.pdb !if "$(USE_UTIL)" == "1" ..\..\..\bin\bin2c.exe: $(BIN2C_OBJECTS) link /NOLOGO /OUT:$@ $(LDFLAGS) @<< $(BIN2C_OBJECTS) << !endif bin2c_bin2c.obj: ..\..\bin2c\bin2c.c $(CC) /c /nologo /TC /Fo$@ $(BIN2C_CFLAGS) $** --- NEW FILE: .cvsignore --- *.exe *.bak *.ncb *.plg *.opt *.manifest *.pdb *.il? *.map *.idb *.tds *.bat *.suo --- NEW FILE: makefile.bcc --- # ========================================================================= # This makefile was generated by # Bakefile 0.1.8 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= .autodepend !ifndef BCCDIR !ifndef MAKEDIR !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 !endif BCCDIR = $(MAKEDIR)\.. !endif # ------------------------------------------------------------------------- # These are configurable options: # ------------------------------------------------------------------------- # C compiler !ifndef CC CC = bcc32 !endif # Standard flags for CC !ifndef CFLAGS CFLAGS = !endif # Standard preprocessor flags (common for CC and CXX) !ifndef CPPFLAGS CPPFLAGS = -a8 -g0 !endif # Standard linker flags !ifndef LDFLAGS LDFLAGS = !endif # Use DLL build of wx library to use? [0,1] !ifndef WX_SHARED WX_SHARED = 0 !endif # Compile Unicode build of wxWidgets? [0,1] !ifndef WX_UNICODE WX_UNICODE = 0 !endif # Use debug build of wxWidgets (define __WXDEBUG__)? [0,1] !ifndef WX_DEBUG WX_DEBUG = 1 !endif # Does the wxLua utilities shoulb be compiled ? [0,1] !ifndef USE_UTIL USE_UTIL = 1 !endif # ------------------------------------------------------------------------- # Do not modify the rest of this file! # ------------------------------------------------------------------------- ### Variables: ### BIN2C_CFLAGS = -I$(BCCDIR)\include $(CPPFLAGS) $(CFLAGS) BIN2C_OBJECTS = \ bin2c_bin2c.obj ### Conditionally set variables: ### !if "$(USE_UTIL)" == "1" __bin2c___depname = ..\..\..\bin\bin2c.exe !endif ### Targets: ### all: $(__bin2c___depname) clean: -if exist .\*.obj del .\*.obj -if exist .\*.res del .\*.res -if exist .\*.csm del .\*.csm -if exist ..\..\..\bin\bin2c.exe del ..\..\..\bin\bin2c.exe -if exist ..\..\..\bin\bin2c.tds del ..\..\..\bin\bin2c.tds -if exist ..\..\..\bin\bin2c.ilc del ..\..\..\bin\bin2c.ilc -if exist ..\..\..\bin\bin2c.ild del ..\..\..\bin\bin2c.ild -if exist ..\..\..\bin\bin2c.ilf del ..\..\..\bin\bin2c.ilf -if exist ..\..\..\bin\bin2c.ils del ..\..\..\bin\bin2c.ils !if "$(USE_UTIL)" == "1" ..\..\..\bin\bin2c.exe: $(BIN2C_OBJECTS) ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk @&&| c0x32.obj $(BIN2C_OBJECTS),$@,, import32.lib cw32.lib,, | !endif bin2c_bin2c.obj: ..\..\bin2c\bin2c.c $(CC) -q -c -P- -o$@ $(BIN2C_CFLAGS) $** --- NEW FILE: makefile.wat --- # ========================================================================= # This makefile was generated by # Bakefile 0.1.8 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= # ------------------------------------------------------------------------- # These are configurable options: # ------------------------------------------------------------------------- # C compiler CC = wcc386 # Standard flags for CC CFLAGS = # Standard preprocessor flags (common for CC and CXX) CPPFLAGS = # Standard linker flags LDFLAGS = # Use DLL build of wx library to use? [0,1] WX_SHARED = 0 # Compile Unicode build of wxWidgets? [0,1] WX_UNICODE = 0 # Use debug build of wxWidgets (define __WXDEBUG__)? [0,1] WX_DEBUG = 1 # Does the wxLua utilities shoulb be compiled ? [0,1] USE_UTIL = 1 # ------------------------------------------------------------------------- # Do not modify the rest of this file! # ------------------------------------------------------------------------- # Speed up compilation a bit: !ifdef __LOADDLL__ ! loaddll wcc wccd ! loaddll wccaxp wccdaxp ! loaddll wcc386 wccd386 ! loaddll wpp wppdi86 ! loaddll wppaxp wppdaxp ! loaddll wpp386 wppd386 ! loaddll wlink wlink ! loaddll wlib wlibd !endif # We need these variables in some bakefile-made rules: WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- ### Conditionally set variables: ### __bin2c___depname = !ifeq USE_UTIL 1 __bin2c___depname = ..\..\..\bin\bin2c.exe !endif ### Variables: ### BIN2C_CFLAGS = $(CPPFLAGS) $(CFLAGS) BIN2C_OBJECTS = & bin2c_bin2c.obj ### Targets: ### all : .SYMBOLIC $(__bin2c___depname) clean : .SYMBOLIC -if exist .\*.obj del .\*.obj -if exist .\*.res del .\*.res -if exist .\*.lbc del .\*.lbc -if exist .\*.ilk del .\*.ilk -if exist .\*.pch del .\*.pch -if exist ..\..\..\bin\bin2c.exe del ..\..\..\bin\bin2c.exe !ifeq USE_UTIL 1 ..\..\..\bin\bin2c.exe : $(BIN2C_OBJECTS) @%create bin2c.lbc @%append bin2c.lbc option quiet @%append bin2c.lbc name $^@ @%append bin2c.lbc option caseexact @%append bin2c.lbc $(LDFLAGS) @for %i in ($(BIN2C_OBJECTS)) do @%append bin2c.lbc file %i @for %i in () do @%append bin2c.lbc library %i @%append bin2c.lbc wlink @bin2c.lbc !endif bin2c_bin2c.obj : .AUTODEPEND ..\..\bin2c\bin2c.c $(CC) -zq -fo=$^@ $(BIN2C_CFLAGS) $< --- NEW FILE: makefile.gcc --- # ========================================================================= # This makefile was generated by # Bakefile 0.1.8 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= # ------------------------------------------------------------------------- # These are configurable options: # ------------------------------------------------------------------------- # C compiler CC = gcc # Standard flags for CC CFLAGS = # Standard preprocessor flags (common for CC and CXX) CPPFLAGS = # Standard linker flags LDFLAGS = # Use DLL build of wx library to use? [0,1] WX_SHARED = 0 # Compile Unicode build of wxWidgets? [0,1] WX_UNICODE = 0 # Use debug build of wxWidgets (define __WXDEBUG__)? [0,1] WX_DEBUG = 1 # Does the wxLua utilities shoulb be compiled ? [0,1] USE_UTIL = 1 # ------------------------------------------------------------------------- # Do not modify the rest of this file! # ------------------------------------------------------------------------- ### Variables: ### BIN2C_CFLAGS = $(CPPFLAGS) $(CFLAGS) BIN2C_OBJECTS = \ bin2c_bin2c.o ### Conditionally set variables: ### ifeq ($(USE_UTIL),1) __bin2c___depname = ..\..\..\bin\bin2c.exe endif ### Targets: ### all: $(__bin2c___depname) clean: -if exist .\*.o del .\*.o -if exist ..\..\..\bin\bin2c.exe del ..\..\..\bin\bin2c.exe ifeq ($(USE_UTIL),1) ..\..\..\bin\bin2c.exe: $(BIN2C_OBJECTS) $(CC) -o $@ $(BIN2C_OBJECTS) $(LDFLAGS) endif bin2c_bin2c.o: ../../bin2c/bin2c.c $(CC) -c -o $@ $(BIN2C_CFLAGS) $< .PHONY: all clean |