bc.mak
changeset 1198 6ba4f060d033
parent 1189 6d262ea157c7
child 1200 baa89d5af8c9
equal deleted inserted replaced
1197:35fdf69c9b2f 1198:6ba4f060d033
     1 # $Header$
     1 # $Header$
     2 #
     2 #
     3 # DO NOT EDIT 
     3 # DO NOT EDIT
     4 # automagically generated from the projectDefinition: stx_projects_smalltalk at 2011-09-28 16:50:52.496.
     4 # automagically generated from the projectDefinition: stx_projects_smalltalk at 2011-09-28 16:50:52.496.
     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\"" \
   113 
   113 
   114 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
   114 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
   115 
   115 
   116 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   116 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   117 
   117 
   118 target: exe postBuildCleanup 
   118 target: exeAndSupport
   119 
   119 
   120 # the executable, all required files and a self-installing-installer-exe
   120 # the executable, all required files and a self-installing-installer-exe
   121 ALL:: prereq exe postBuildCleanup setup 
   121 ALL:: prereq exeAndSupport postBuildCleanup setup
   122 
   122 
   123 exe:  newBuildDate noConsoleApp consoleApp $(REQUIRED_SUPPORT_DIRS) 
   123 exeAndSupport:  exe $(REQUIRED_SUPPORT_DIRS)
       
   124 
       
   125 exe:  newBuildDate noConsoleApp consoleApp
   124 
   126 
   125 # the executable only
   127 # the executable only
   126 # with console
   128 # with console
   127 consoleApp: $(REQUIRED_LIBS)
   129 consoleApp: $(REQUIRED_LIBS)
   128 	-del main.obj
   130 	-del main.obj
   144 		CFLAGS_APPTYPE="$(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"smalltalk.log\\"\""" \
   146 		CFLAGS_APPTYPE="$(CFLAGS_NOCONSOLE) -DWIN_LOGFILE="\\"\"smalltalk.log\\"\""" \
   145 		LFLAGS_APPTYPE="$(LFLAGS_NOCONSOLE)" \
   147 		LFLAGS_APPTYPE="$(LFLAGS_NOCONSOLE)" \
   146 		CRT_STARTUP="$(CRT_STARTUP_NOCONSOLE)" theExe
   148 		CRT_STARTUP="$(CRT_STARTUP_NOCONSOLE)" theExe
   147 
   149 
   148 # the executable only (internal target; needs some defines)
   150 # the executable only (internal target; needs some defines)
   149 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) 
   151 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT)
   150 
   152 
   151 # build all prerequisite packages for this package
   153 # build all prerequisite packages for this package
   152 prereq:
   154 prereq:
   153 	pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   155 	pushd ..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   154 	pushd ..\..\goodies\refactoryBrowser\helpers & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   156 	pushd ..\..\goodies\refactoryBrowser\helpers & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   258 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   260 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   259 
   261 
   260 libtool2_RESOURCES: resources\stx\libtool2\NUL
   262 libtool2_RESOURCES: resources\stx\libtool2\NUL
   261 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   263 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   262 
   264 
   263 libview_RESOURCES: resources\stx\libview\NUL 
   265 libview_RESOURCES: resources\stx\libview\NUL
   264 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   266 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   265 
   267 
   266 libview2_RESOURCES: resources\stx\libview2\NUL
   268 libview2_RESOURCES: resources\stx\libview2\NUL
   267 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   269 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   268 
   270 
   443 	copy ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll *.*
   445 	copy ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll *.*
   444 
   446 
   445 ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll:
   447 ..\..\goodies\refactoryBrowser\lint\$(OBJDIR)\libstx_goodies_refactoryBrowser_lint.dll:
   446 	pushd ..\..\goodies\refactoryBrowser\lint & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   448 	pushd ..\..\goodies\refactoryBrowser\lint & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   447 
   449 
   448       
   450 
   449 
   451 
   450 
   452 
   451 sources\NUL: 
   453 sources\NUL:
   452 	mkdir sources
   454 	mkdir sources
   453 
   455 
   454 show:
   456 show:
   455 	@echo LFLAGS= $(LFLAGS)
   457 	@echo LFLAGS= $(LFLAGS)
   456 	@echo ALLOBJ= $(ALLOBJ)
   458 	@echo ALLOBJ= $(ALLOBJ)