bc.mak
changeset 1223 630b5b21919f
parent 1214 82801dc67b6c
child 1226 8075a932bdf7
equal deleted inserted replaced
1222:94441e8264f5 1223:630b5b21919f
     1 # $Header$
     1 # $Header$
     2 #
     2 #
     3 # DO NOT EDIT 
     3 # DO NOT EDIT
     4 # automagically generated from the projectDefinition: stx_projects_smalltalk at 2012-01-11 13:51:02.481.
     4 # automagically generated from the projectDefinition: stx_projects_smalltalk at 2012-01-11 13:51:02.481.
     5 #
     5 #
     6 # Warning: once you modify this file, do not rerun
     6 # Warning: once you modify this file, do not rerun
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
     7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
     8 #
     8 #
     9 
     9 
    10 TOP=..\..       
    10 TOP=..\..
    11 INCLUDE_TOP=$(TOP)\..
    11 INCLUDE_TOP=$(TOP)\..
    12 
    12 
    13 CFLAGS_LOCAL=$(CFLAGS_APPTYPE) \
    13 CFLAGS_LOCAL=$(CFLAGS_APPTYPE) \
    14  -DSTARTUP_CLASS="\"Smalltalk\"" \
    14  -DSTARTUP_CLASS="\"Smalltalk\"" \
    15  -DSTARTUP_SELECTOR="\"start\"" \
    15  -DSTARTUP_SELECTOR="\"start\"" \
    98  libstx_libboss.dll \
    98  libstx_libboss.dll \
    99  libstx_libjavascript.dll \
    99  libstx_libjavascript.dll \
   100  libstx_goodies_refactoryBrowser_changes.dll \
   100  libstx_goodies_refactoryBrowser_changes.dll \
   101  libstx_goodies_sunit.dll \
   101  libstx_goodies_sunit.dll \
   102  libstx_libui.dll \
   102  libstx_libui.dll \
   103  libsqueak_petitparser.dll \
   103  libstx_goodies_petitparser.dll \
   104  libstx_libwidg.dll \
   104  libstx_libwidg.dll \
   105  libstx_libview3.dll \
   105  libstx_libview3.dll \
   106  libstx_libhtml.dll \
   106  libstx_libhtml.dll \
   107  libstx_libwidg2.dll \
   107  libstx_libwidg2.dll \
   108  libstx_libwidg3.dll \
   108  libstx_libwidg3.dll \
   118 
   118 
   119 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
   119 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
   120 
   120 
   121 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   121 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   122 
   122 
   123 target: exe postBuildCleanup 
   123 target: exe postBuildCleanup
   124 
   124 
   125 # the executable, all required files and a self-installing-installer-exe
   125 # the executable, all required files and a self-installing-installer-exe
   126 ALL:: prereq exe postBuildCleanup setup 
   126 ALL:: prereq exe postBuildCleanup setup
   127 
   127 
   128 exe:  newBuildDate noConsoleApp consoleApp $(REQUIRED_SUPPORT_DIRS) 
   128 exe:  newBuildDate noConsoleApp consoleApp $(REQUIRED_SUPPORT_DIRS)
   129 
   129 
   130 # the executable only
   130 # the executable only
   131 # with console
   131 # with console
   132 consoleApp: $(REQUIRED_LIBS)
   132 consoleApp: $(REQUIRED_LIBS)
   133 	-del main.obj
   133 	-del main.obj
   149 		CFLAGS_APPTYPE="$(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"smalltalk.log\\"\""" \
   149 		CFLAGS_APPTYPE="$(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"smalltalk.log\\"\""" \
   150 		LFLAGS_APPTYPE="$(LFLAGS_NOCONSOLE)" \
   150 		LFLAGS_APPTYPE="$(LFLAGS_NOCONSOLE)" \
   151 		CRT_STARTUP="$(CRT_STARTUP_NOCONSOLE)" theExe
   151 		CRT_STARTUP="$(CRT_STARTUP_NOCONSOLE)" theExe
   152 
   152 
   153 # the executable only (internal target; needs some defines)
   153 # the executable only (internal target; needs some defines)
   154 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) 
   154 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT)
   155 
   155 
   156 # build all prerequisite packages for this package
   156 # build all prerequisite packages for this package
   157 prereq:
   157 prereq:
   158 	pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   158 	pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   159 	pushd ..\..\goodies\xml\vw & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   159 	pushd ..\..\goodies\xml\vw & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   167 	pushd ..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   167 	pushd ..\..\libboss & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   168 	pushd ..\..\libjavascript & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   168 	pushd ..\..\libjavascript & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   169 	pushd ..\..\goodies\refactoryBrowser\changes & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   169 	pushd ..\..\goodies\refactoryBrowser\changes & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   170 	pushd ..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   170 	pushd ..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   171 	pushd ..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   171 	pushd ..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   172 	pushd ..\..\..\squeak\petitparser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   172 	pushd ..\..\goodies\petitparser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   173 	pushd ..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   173 	pushd ..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   174 	pushd ..\..\libview3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   174 	pushd ..\..\libview3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   175 	pushd ..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   175 	pushd ..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   176 	pushd ..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   176 	pushd ..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   177 	pushd ..\..\libwidg3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   177 	pushd ..\..\libwidg3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   268 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   268 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   269 
   269 
   270 libtool2_RESOURCES: resources\stx\libtool2\NUL
   270 libtool2_RESOURCES: resources\stx\libtool2\NUL
   271 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   271 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   272 
   272 
   273 libview_RESOURCES: resources\stx\libview\NUL 
   273 libview_RESOURCES: resources\stx\libview\NUL
   274 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   274 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   275 
   275 
   276 libview2_RESOURCES: resources\stx\libview2\NUL
   276 libview2_RESOURCES: resources\stx\libview2\NUL
   277 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   277 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   278 
   278 
   399 	copy ..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
   399 	copy ..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
   400 
   400 
   401 ..\..\libui\$(OBJDIR)\libstx_libui.dll:
   401 ..\..\libui\$(OBJDIR)\libstx_libui.dll:
   402 	pushd ..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   402 	pushd ..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   403 
   403 
   404 libsqueak_petitparser.dll: ..\..\..\squeak\petitparser\$(OBJDIR)\libsqueak_petitparser.dll
   404 libstx_goodies_petitparser.dll: ..\..\goodies\petitparser\$(OBJDIR)\libstx_goodies_petitparser.dll
   405 	copy ..\..\..\squeak\petitparser\$(OBJDIR)\libsqueak_petitparser.dll *.*
   405 	copy ..\..\goodies\petitparser\$(OBJDIR)\libstx_goodies_petitparser.dll *.*
   406 
   406 
   407 ..\..\..\squeak\petitparser\$(OBJDIR)\libsqueak_petitparser.dll:
   407 ..\..\goodies\petitparser\$(OBJDIR)\libstx_goodies_petitparser.dll:
   408 	pushd ..\..\..\squeak\petitparser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   408 	pushd ..\..\goodies\petitparser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   409 
   409 
   410 libstx_libwidg.dll: ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
   410 libstx_libwidg.dll: ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
   411 	copy ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
   411 	copy ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
   412 
   412 
   413 ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll:
   413 ..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll:
   483 	copy ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll *.*
   483 	copy ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll *.*
   484 
   484 
   485 ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll:
   485 ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll:
   486 	pushd ..\..\goodies\refactoryBrowser\lint & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   486 	pushd ..\..\goodies\refactoryBrowser\lint & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   487 
   487 
   488       
   488 
   489 
   489 
   490 
   490 
   491 sources\NUL: 
   491 sources\NUL:
   492 	mkdir sources
   492 	mkdir sources
   493 
   493 
   494 show:
   494 show:
   495 	@echo LFLAGS= $(LFLAGS)
   495 	@echo LFLAGS= $(LFLAGS)
   496 	@echo ALLOBJ= $(ALLOBJ)
   496 	@echo ALLOBJ= $(ALLOBJ)