examples/chat/bc.mak
changeset 3913 aabe49ce9998
parent 3412 df11bb428463
equal deleted inserted replaced
3912:887c0f0b3e32 3913:aabe49ce9998
     1 # $Header: /cvs/stx/stx/libjava/examples/chat/bc.mak,v 1.2 2015-03-20 12:08:02 vrany Exp $
     1 # $Header$
     2 #
     2 #
     3 # DO NOT EDIT 
     3 # DO NOT EDIT 
     4 # automagically generated from the projectDefinition: stx_libjava_examples_chat.
     4 # automagically generated from the projectDefinition: stx_libjava_examples_chat.
     5 #
     5 #
     6 # Warning: once you modify this file, do not rerun
     6 # Warning: once you modify this file, do not rerun
    10 #  this used to contain only rules to make with borland 
    10 #  this used to contain only rules to make with borland 
    11 #    (called via bmake, by "make.exe -f bc.mak")
    11 #    (called via bmake, by "make.exe -f bc.mak")
    12 #  this has changed; it is now also possible to build using microsoft visual c
    12 #  this has changed; it is now also possible to build using microsoft visual c
    13 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
    13 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
    14 #
    14 #
       
    15 # Rules found here:
       
    16 #   bmake 
       
    17 #       - build everything, incl. a self installing exe for deployment
       
    18 #   bmake exe
       
    19 #       - only build the executable; to be executed and tested here
       
    20 #   bmake setup
       
    21 #       - make the self installing exe (assuming that the exe is already present)
       
    22 #   bmake clean
       
    23 #       - remove everything that is not needed to execute
       
    24 #   bmake clobber
       
    25 #       - remove everything that cannot be reconstructed by bmake
       
    26 #
       
    27 # For a 64bit build, replace bmake by mingwmake.
    15 
    28 
    16 TOP=..\..\..       
    29 TOP=..\..\..       
    17 INCLUDE_TOP=$(TOP)\..
    30 INCLUDE_TOP=$(TOP)\..
    18 
    31 
    19 # An old file, used as a dummy target for FORCE if we do not want
    32 # An old file, used as a dummy target for FORCE if we do not want
    39 OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
    52 OBJS= $(COMMON_OBJS) $(WIN32_OBJS)
    40 
    53 
    41 
    54 
    42 
    55 
    43 #
    56 #
    44 LIBNAME=dummy
    57 APPNAME=libstx_libjava_examples_chat
       
    58 LIBNAME=libstx_libjava_examples_chat
       
    59 MODULE_PATH=libjava\examples\chat
    45 STCOPT="+optinline"
    60 STCOPT="+optinline"
    46 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libview2
    61 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libjava -I$(INCLUDE_TOP)\stx\libview2
    47 LOCALDEFINES=
    62 LOCALDEFINES=
    48 GLOBALDEFINES=
    63 GLOBALDEFINES=
    49 
    64 
    50 STCLOCALOPT='-package=$(PACKAGE)' $(LOCALDEFINES) $(LOCALINCLUDES)  $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
    65 STCLOCALOPT='-package=$(PACKAGE)' $(LOCALDEFINES) $(LOCALINCLUDES)  $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
    51 
    66 
    55 PROJECT_CONSOLE= chat.com
    70 PROJECT_CONSOLE= chat.com
    56 ALLOBJFILES= main.$(O)
    71 ALLOBJFILES= main.$(O)
    57 !ifdef USETCC
    72 !ifdef USETCC
    58 RESFILES=
    73 RESFILES=
    59 !else
    74 !else
    60 RESFILES= chatWinRC.$(RES)
    75 RESFILES= stx_libjava_examples_chatWINrc.$(RES)
    61 !endif
    76 !endif
    62 
    77 
    63 ALLOBJ= $(ALLOBJFILES) $(OBJS)
    78 ALLOBJ= $(ALLOBJFILES) $(OBJS)
    64 DEFFILE=$(TOP)\rules\bc_exe.def
    79 DEFFILE=$(TOP)\rules\bc_exe.def
    65 
    80 
    66 LIBFILES=$(LIBDIR_LIBRUN)\librun.lib
    81 LIBFILES=$(LIBDIR_LIBRUN)\librun.lib
    67 ALLLIB=$(LIBFILES) $(APP_IMPORTLIBS) $(APP_RT_LIB)
    82 ALLLIB=$(LIBFILES) $(APP_IMPORTLIBS) $(APP_RT_LIB)
    68 
    83 
       
    84 !if defined(USEMINGW32)
       
    85 RT_DLL=libgcc_s_dw2-1.dll
       
    86 !endif
       
    87 
    69 REQUIRED_LIBS=librun.dll  \
    88 REQUIRED_LIBS=librun.dll  \
    70  libstx_libbasic.dll \
    89  libstx_libbasic.dll \
       
    90  libstx_goodies_regex.dll \
    71  libstx_libbasic2.dll \
    91  libstx_libbasic2.dll \
    72  libstx_libcomp.dll \
    92  libstx_libcomp.dll \
       
    93  libstx_goodies_refactoryBrowser_parser.dll \
    73  libstx_libbasic3.dll \
    94  libstx_libbasic3.dll \
    74  libstx_libview.dll \
    95  libstx_libview.dll \
    75  libstx_libui.dll \
    96  libstx_libui.dll \
    76  libstx_libview2.dll \
    97  libstx_libview2.dll \
    77  libstx_goodies_sunit.dll \
       
    78  libstx_libwidg.dll \
    98  libstx_libwidg.dll \
    79  libstx_libhtml.dll \
    99  libstx_libhtml.dll \
    80  libstx_libwidg2.dll \
   100  libstx_libwidg2.dll \
    81  libstx_libtool.dll \
   101  libstx_libtool.dll \
    82  libstx_libjava.dll \
   102  libstx_libjava.dll \
    83 
   103 
    84 
   104 
    85 REQUIRED_FILES=$(RT_DLL) $(X11_DLL) $(XEXT_DLL) symbols.stc $(REQUIRED_LIBS)
   105 REQUIRED_FILES=$(RT_DLL) $(X11_DLL) $(XEXT_DLL) symbols.stc $(REQUIRED_LIBS)
    86 
   106 
       
   107 SUBPROJECT_LIBS=
       
   108 
       
   109 
    87 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
   110 REQUIRED_SUPPORT_DIRS=RESOURCEFILES
    88 
   111 
    89 target: ALL postBuildCleanup 
   112 target: ALL postBuildCleanup 
    90 
   113 
    91 # the executable, all required files and a self-installing-installer-exe
   114 # the executable, all required files and a self-installing-installer-exe
    92 ALL:: prereq ALL_NP
   115 ALL:: prereq ALL_NP
    93 
   116 
    94 # all, but no prereqs
   117 # all, but no prereqs
    95 ALL_NP:: exe $(REQUIRED_SUPPORT_DIRS) postBuildCleanup setup
   118 ALL_NP:: exe $(REQUIRED_SUPPORT_DIRS) postBuildCleanup subProjects
    96 
   119 
    97 exe:  newBuildDate $(REQUIRED_LIBS) noConsoleApp consoleApp
   120 exe:  newBuildDate $(REQUIRED_LIBS) noConsoleApp consoleApp registerApplication
    98 
   121 
    99 # the executable only
   122 # the executable only
   100 # with console
   123 # with console
   101 consoleApp: $(REQUIRED_LIBS)
   124 consoleApp: $(REQUIRED_LIBS)
   102 	-del main.$(O)
   125 	-del main.$(O)
   120 # the executable only (internal target; needs some defines)
   143 # the executable only (internal target; needs some defines)
   121 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) 
   144 theExe: $(OUTDIR) $(OBJS) $(REQUIRED_FILES) show $(PROJECT) 
   122 
   145 
   123 # build all mandatory prerequisite packages (containing superclasses) for this package
   146 # build all mandatory prerequisite packages (containing superclasses) for this package
   124 prereq:
   147 prereq:
   125 	$(MAKE) -N -f bc.mak $(USE_ARG) FORCE=FORCE_BUILD $(REQUIRED_LIBS)
   148 	$(MAKE) -N -f bc.mak $(USE_ARG) FORCE=FORCE_BUILD makePrereq
       
   149 
       
   150 makePrereq: $(REQUIRED_LIBS)
       
   151 
       
   152 subProjects:
       
   153 	$(MAKE) -N -f bc.mak $(USE_ARG) FORCE=FORCE_BUILD makeSubProjects
       
   154 
       
   155 makeSubProjects: $(SUBPROJECT_LIBS)
       
   156 	@echo "sub-projects made"
   126 
   157 
   127 FORCE_BUILD:
   158 FORCE_BUILD:
   128 	@rem Dummy target to force a build
   159 	@rem Dummy target to force a build
   129 
   160 
   130 # a nullsoft installable delivery
   161 # a nullsoft installable delivery
   131 # This uses the Nullsoft Installer Package and works in Windows only
   162 # This uses the Nullsoft Installer Package and works in Windows only
       
   163 
       
   164 !if defined(USEMINGW64)
       
   165 
       
   166 setup: $(PROJECT) postBuildCleanup chat.nsi 
       
   167 	$(MAKENSIS) /DOBJ_DIR=objmingw /DSETUP_NAME=ChatSetup64 chat.nsi
       
   168         
       
   169 
       
   170 !else
       
   171 
   132 setup: $(PROJECT) postBuildCleanup chat.nsi
   172 setup: $(PROJECT) postBuildCleanup chat.nsi
   133 	$(MAKENSIS) chat.nsi
   173 	$(MAKENSIS) /DOBJ_DIR=objbc /DSETUP_NAME=ChatSetup chat.nsi
       
   174         
       
   175 
       
   176 !endif
   134 
   177 
   135 newBuildDate:
   178 newBuildDate:
   136 	del buildDate.h
   179 	del buildDate.h
   137 
   180 
   138 new:
   181 new:
   141 
   184 
   142 RESOURCEFILES: chat_RESOURCES chat_BITMAPS  \
   185 RESOURCEFILES: chat_RESOURCES chat_BITMAPS  \
   143 	stx_RESOURCES stx_STYLES stx_BITMAPS
   186 	stx_RESOURCES stx_STYLES stx_BITMAPS
   144 
   187 
   145 
   188 
   146 chat_RESOURCES: resources\stx\libjava\examples\chat\NUL
   189 chat_RESOURCES: resources\stx\libjava\examples\chat
   147 	-copy ..\resources\*.rs resources\stx\libjava\examples\chat\..
   190 	-copy ..\resources\*.rs resources\stx\libjava\examples\chat\..
   148 	-copy ..\resources\*.style resources\stx\libjava\examples\chat\..
   191 	-copy ..\resources\*.style resources\stx\libjava\examples\chat\..
   149 
   192 
   150 chat_BITMAPS: resources\stx\libjava\examples\chat\bitmaps\NUL
   193 chat_BITMAPS: resources\stx\libjava\examples\chat\bitmaps
   151 	-copy *.ico resources\stx\libjava\examples\chat\bitmaps
   194 	-copy *.ico resources\stx\libjava\examples\chat\bitmaps
   152 	-copy *.gif resources\stx\libjava\examples\chat\bitmaps
   195 	-copy *.gif resources\stx\libjava\examples\chat\bitmaps
   153 
   196 
   154 resources\stx\libjava\examples\chat\bitmaps\NUL: resources\stx\libjava\examples\chat\NUL
   197 resources\stx\libjava\examples\chat\bitmaps: resources\stx\libjava\examples\chat
   155 	mkdir resources\stx\libjava\examples\chat\bitmaps
   198 	mkdir resources\stx\libjava\examples\chat\bitmaps
   156 
   199 
   157 resources\stx\libjava\examples\chat\NUL: resources\stx\libjava\examples\NUL
   200 resources\stx\libjava\examples\chat: resources\stx\libjava\examples
   158 	mkdir resources\stx\libjava\examples\chat
   201 	mkdir resources\stx\libjava\examples\chat
   159 
   202 
   160 resources\stx\libjava\examples\NUL: resources\stx\libjava\NUL
   203 resources\stx\libjava\examples: resources\stx\libjava
   161 	mkdir resources\stx\libjava\examples
   204 	mkdir resources\stx\libjava\examples
   162 
   205 
   163 resources\stx\libjava\NUL: resources\stx\NUL
   206 resources\stx\libjava: resources\stx
   164 	mkdir resources\stx\libjava
   207 	mkdir resources\stx\libjava
   165 
   208 
   166 
   209 
   167 
   210 
   168 stx_RESOURCES: \
   211 stx_RESOURCES: \
   169 	keyboard.rc \
   212 	keyboard.rc \
   170 	keyboardMacros.rc \
   213 	keyboardMacros.rc \
   171 	host.rc \
   214 	host.rc \         
   172 	h_win32.rc \
       
   173 	display.rc \
   215 	display.rc \
   174 	d_win32.rc \
   216 	d_win32.rc \
   175 	libbasic_RESOURCES \
   217 	libbasic_RESOURCES \
   176 	libview_RESOURCES \
   218 	libview_RESOURCES \
   177 	libtool_RESOURCES  \
   219 	libtool_RESOURCES  \
   178 	libtool2_RESOURCES
   220 	libtool2_RESOURCES
   179 
   221 
       
   222 
   180 keyboard.rc: $(TOP)\projects\smalltalk\keyboard.rc
   223 keyboard.rc: $(TOP)\projects\smalltalk\keyboard.rc
   181 	copy $(TOP)\projects\smalltalk\keyboard.rc *.*
   224 	copy $(TOP)\projects\smalltalk\keyboard.rc *.*
   182 
   225 
   183 keyboardMacros.rc: $(TOP)\projects\smalltalk\keyboardMacros.rc
   226 keyboardMacros.rc: $(TOP)\projects\smalltalk\keyboardMacros.rc
   184 	copy $(TOP)\projects\smalltalk\keyboardMacros.rc *.*
   227 	copy $(TOP)\projects\smalltalk\keyboardMacros.rc *.*
   185 
   228 
   186 host.rc: $(TOP)\projects\smalltalk\host.rc
   229 host.rc: $(TOP)\projects\smalltalk\host.rc
   187 	copy $(TOP)\projects\smalltalk\host.rc *.*
   230 	copy $(TOP)\projects\smalltalk\host.rc *.*
   188 
   231 
   189 h_win32.rc: $(TOP)\projects\smalltalk\h_win32.rc
       
   190 	copy $(TOP)\projects\smalltalk\h_win32.rc *.*
       
   191 
       
   192 display.rc: $(TOP)\projects\smalltalk\display.rc
   232 display.rc: $(TOP)\projects\smalltalk\display.rc
   193 	copy $(TOP)\projects\smalltalk\display.rc *.*
   233 	copy $(TOP)\projects\smalltalk\display.rc *.*
   194 
   234 
   195 d_win32.rc: $(TOP)\projects\smalltalk\d_win32.rc
   235 d_win32.rc: $(TOP)\projects\smalltalk\d_win32.rc
   196 	copy $(TOP)\projects\smalltalk\d_win32.rc *.*
   236 	copy $(TOP)\projects\smalltalk\d_win32.rc *.*
   197 
   237 
   198 stx_STYLES: resources\stx\libview\NUL resources\stx\libview\styles\NUL
   238 stx_STYLES: resources\stx\libview  resources\stx\libview\styles
   199 	-copy $(TOP)\libview\styles\*.style resources\stx\libview\styles\*.*
   239 	-copy $(TOP)\libview\styles\*.style resources\stx\libview\styles\*.*
   200 	-copy $(TOP)\libview\styles\*.common resources\stx\libview\styles\*.*
   240 	-copy $(TOP)\libview\styles\*.common resources\stx\libview\styles\*.*
   201 
   241 
   202 stx_BITMAPS: \
   242 stx_BITMAPS: \
   203 	libwidg_BITMAPS
   243 	libwidg_BITMAPS
   204 
   244 
   205 libwidg_BITMAPS: resources\stx\libwidg\bitmaps\NUL
   245 libwidg_BITMAPS: resources\stx\libwidg\bitmaps
   206 	-copy $(TOP)\libwidg\bitmaps\*.xpm resources\stx\libwidg\bitmaps\*.*
   246 	-copy $(TOP)\libwidg\bitmaps\*.xpm resources\stx\libwidg\bitmaps\*.*
   207 
   247 
   208 libbasic_RESOURCES: resources\stx\libbasic\NUL
   248 libbasic_RESOURCES: resources\stx\libbasic
   209 	copy $(TOP)\libbasic\resources\*.rs resources\stx\libbasic\*.*
   249 	-copy $(TOP)\libbasic\resources\*.rs resources\stx\libbasic\*.*
   210 
   250 
   211 libtool_RESOURCES: resources\stx\libtool\NUL
   251 libtool_RESOURCES: resources\stx\libtool
   212 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   252 	-copy $(TOP)\libtool\resources\*.rs resources\stx\libtool\*.*
   213 
   253 
   214 libtool2_RESOURCES: resources\stx\libtool2\NUL
   254 libtool2_RESOURCES: resources\stx\libtool2
   215 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   255 	-copy $(TOP)\libtool2\resources\*.rs resources\stx\libtool2\*.*
   216 
   256 
   217 libview_RESOURCES: resources\stx\libview\NUL 
   257 libview_RESOURCES: resources\stx\libview 
   218 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   258 	-copy $(TOP)\libview\resources\*.rs resources\stx\libview\*.*
   219 
   259 
   220 libview2_RESOURCES: resources\stx\libview2\NUL
   260 libview2_RESOURCES: resources\stx\libview2
   221 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   261 	-copy $(TOP)\libview2\resources\*.rs resources\stx\libview2\*.*
   222 
   262 
   223 resources\stx\libbasic\NUL: resources\stx\NUL
   263 resources\stx\libbasic: resources\stx
   224 	mkdir resources\stx\libbasic
   264 	mkdir resources\stx\libbasic
   225 
   265 
   226 resources\stx\libtool\NUL: resources\stx\NUL
   266 resources\stx\libtool: resources\stx
   227 	mkdir resources\stx\libtool
   267 	mkdir resources\stx\libtool
   228 
   268 
   229 resources\stx\libtool2\NUL: resources\stx\NUL
   269 resources\stx\libtool2: resources\stx
   230 	mkdir resources\stx\libtool2
   270 	mkdir resources\stx\libtool2
   231 
   271 
   232 resources\stx\libview\NUL: resources\stx\NUL
   272 resources\stx\libview: resources\stx
   233 	mkdir resources\stx\libview
   273 	mkdir resources\stx\libview
   234 
   274 
   235 resources\stx\libview\styles\NUL: resources\stx\libview\NUL
   275 resources\stx\libview\styles: resources\stx\libview
   236 	mkdir resources\stx\libview\styles
   276 	mkdir resources\stx\libview\styles
   237 
   277 
   238 resources\stx\libview2\NUL: resources\stx\NUL
   278 resources\stx\libview2: resources\stx
   239 	mkdir resources\stx\libview2
   279 	mkdir resources\stx\libview2
   240 
   280 
   241 resources\stx\libwidg\bitmaps\NUL: resources\stx\libwidg\NUL
   281 resources\stx\libwidg\bitmaps: resources\stx\libwidg
   242 	mkdir resources\stx\libwidg\bitmaps
   282 	mkdir resources\stx\libwidg\bitmaps
   243 
   283 
   244 resources\stx\libwidg\NUL: resources\stx\NUL
   284 resources\stx\libwidg: resources\stx
   245 	mkdir resources\stx\libwidg
   285 	mkdir resources\stx\libwidg
   246 
   286 
   247 resources\stx\NUL: resources\NUL
   287 resources\stx: resources
   248 	mkdir resources\stx
   288 	mkdir resources\stx
   249 
   289 
   250 resources\NUL:
   290 resources:
   251 	mkdir resources
   291 	mkdir resources
   252 
   292 
   253 bitmaps\NUL:
   293 bitmaps:
   254 	mkdir bitmaps
   294 	mkdir bitmaps
   255 
   295 
   256 doc\NUL:
   296 doc:
   257 	mkdir doc
   297 	mkdir doc
   258 
   298 
   259 
   299 
   260 
   300 
   261 
   301 
   263 
   303 
   264 libstx_libbasic.dll: ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll
   304 libstx_libbasic.dll: ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll
   265 	copy ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll *.*
   305 	copy ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll *.*
   266 
   306 
   267 ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll: $(FORCE)
   307 ..\..\..\libbasic\$(OBJDIR)\libstx_libbasic.dll: $(FORCE)
   268 	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   308 	pushd ..\..\..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
   309 
       
   310 libstx_goodies_regex.dll: ..\..\..\goodies\regex\$(OBJDIR)\libstx_goodies_regex.dll
       
   311 	copy ..\..\..\goodies\regex\$(OBJDIR)\libstx_goodies_regex.dll *.*
       
   312 
       
   313 ..\..\..\goodies\regex\$(OBJDIR)\libstx_goodies_regex.dll: $(FORCE)
       
   314 	pushd ..\..\..\goodies\regex & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   269 
   315 
   270 libstx_libbasic2.dll: ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll
   316 libstx_libbasic2.dll: ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll
   271 	copy ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll *.*
   317 	copy ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll *.*
   272 
   318 
   273 ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll: $(FORCE)
   319 ..\..\..\libbasic2\$(OBJDIR)\libstx_libbasic2.dll: $(FORCE)
   274 	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   320 	pushd ..\..\..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   275 
   321 
   276 libstx_libcomp.dll: ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll
   322 libstx_libcomp.dll: ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll
   277 	copy ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll *.*
   323 	copy ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll *.*
   278 
   324 
   279 ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll: $(FORCE)
   325 ..\..\..\libcomp\$(OBJDIR)\libstx_libcomp.dll: $(FORCE)
   280 	pushd ..\..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   326 	pushd ..\..\..\libcomp & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
       
   327 
       
   328 libstx_goodies_refactoryBrowser_parser.dll: ..\..\..\goodies\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll
       
   329 	copy ..\..\..\goodies\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll *.*
       
   330 
       
   331 ..\..\..\goodies\refactoryBrowser\parser\$(OBJDIR)\libstx_goodies_refactoryBrowser_parser.dll: $(FORCE)
       
   332 	pushd ..\..\..\goodies\refactoryBrowser\parser & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   281 
   333 
   282 libstx_libbasic3.dll: ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll
   334 libstx_libbasic3.dll: ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll
   283 	copy ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll *.*
   335 	copy ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll *.*
   284 
   336 
   285 ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll: $(FORCE)
   337 ..\..\..\libbasic3\$(OBJDIR)\libstx_libbasic3.dll: $(FORCE)
   286 	pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   338 	pushd ..\..\..\libbasic3 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   287 
   339 
   288 libstx_libview.dll: ..\..\..\libview\$(OBJDIR)\libstx_libview.dll
   340 libstx_libview.dll: ..\..\..\libview\$(OBJDIR)\libstx_libview.dll
   289 	copy ..\..\..\libview\$(OBJDIR)\libstx_libview.dll *.*
   341 	copy ..\..\..\libview\$(OBJDIR)\libstx_libview.dll *.*
   290 
   342 
   291 ..\..\..\libview\$(OBJDIR)\libstx_libview.dll: $(FORCE)
   343 ..\..\..\libview\$(OBJDIR)\libstx_libview.dll: $(FORCE)
   292 	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   344 	pushd ..\..\..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   293 
   345 
   294 libstx_libui.dll: ..\..\..\libui\$(OBJDIR)\libstx_libui.dll
   346 libstx_libui.dll: ..\..\..\libui\$(OBJDIR)\libstx_libui.dll
   295 	copy ..\..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
   347 	copy ..\..\..\libui\$(OBJDIR)\libstx_libui.dll *.*
   296 
   348 
   297 ..\..\..\libui\$(OBJDIR)\libstx_libui.dll: $(FORCE)
   349 ..\..\..\libui\$(OBJDIR)\libstx_libui.dll: $(FORCE)
   298 	pushd ..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   350 	pushd ..\..\..\libui & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   299 
   351 
   300 libstx_libview2.dll: ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll
   352 libstx_libview2.dll: ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll
   301 	copy ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll *.*
   353 	copy ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll *.*
   302 
   354 
   303 ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll: $(FORCE)
   355 ..\..\..\libview2\$(OBJDIR)\libstx_libview2.dll: $(FORCE)
   304 	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   356 	pushd ..\..\..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   305 
       
   306 libstx_goodies_sunit.dll: ..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll
       
   307 	copy ..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll *.*
       
   308 
       
   309 ..\..\..\goodies\sunit\$(OBJDIR)\libstx_goodies_sunit.dll: $(FORCE)
       
   310 	pushd ..\..\..\goodies\sunit & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
       
   311 
   357 
   312 libstx_libwidg.dll: ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
   358 libstx_libwidg.dll: ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll
   313 	copy ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
   359 	copy ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll *.*
   314 
   360 
   315 ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll: $(FORCE)
   361 ..\..\..\libwidg\$(OBJDIR)\libstx_libwidg.dll: $(FORCE)
   316 	pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   362 	pushd ..\..\..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   317 
   363 
   318 libstx_libhtml.dll: ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll
   364 libstx_libhtml.dll: ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll
   319 	copy ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll *.*
   365 	copy ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll *.*
   320 
   366 
   321 ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll: $(FORCE)
   367 ..\..\..\libhtml\$(OBJDIR)\libstx_libhtml.dll: $(FORCE)
   322 	pushd ..\..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   368 	pushd ..\..\..\libhtml & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   323 
   369 
   324 libstx_libwidg2.dll: ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll
   370 libstx_libwidg2.dll: ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll
   325 	copy ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll *.*
   371 	copy ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll *.*
   326 
   372 
   327 ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll: $(FORCE)
   373 ..\..\..\libwidg2\$(OBJDIR)\libstx_libwidg2.dll: $(FORCE)
   328 	pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   374 	pushd ..\..\..\libwidg2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   329 
   375 
   330 libstx_libtool.dll: ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll
   376 libstx_libtool.dll: ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll
   331 	copy ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll *.*
   377 	copy ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll *.*
   332 
   378 
   333 ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll: $(FORCE)
   379 ..\..\..\libtool\$(OBJDIR)\libstx_libtool.dll: $(FORCE)
   334 	pushd ..\..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   380 	pushd ..\..\..\libtool & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   335 
   381 
   336 libstx_libjava.dll: ..\..\$(OBJDIR)\libstx_libjava.dll
   382 libstx_libjava.dll: ..\..\$(OBJDIR)\libstx_libjava.dll
   337 	copy ..\..\$(OBJDIR)\libstx_libjava.dll *.*
   383 	copy ..\..\$(OBJDIR)\libstx_libjava.dll *.*
   338 
   384 
   339 ..\..\$(OBJDIR)\libstx_libjava.dll: $(FORCE)
   385 ..\..\$(OBJDIR)\libstx_libjava.dll: $(FORCE)
   340 	pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES)"
   386 	pushd ..\.. & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) "
   341 
   387 
   342       
   388       
   343 
   389 
   344 
   390 
   345 sources\NUL: 
   391 sources: 
   346 	mkdir sources
   392 	mkdir sources
   347 
   393 
   348 show:
   394 show:
   349 	@echo LFLAGS= $(LFLAGS)
   395 	@echo LFLAGS= $(LFLAGS)
   350 	@echo ALLOBJ= $(ALLOBJ)
   396 	@echo ALLOBJ= $(ALLOBJ)
   429 #        $(GENDATE_UTILITIY)
   475 #        $(GENDATE_UTILITIY)
   430 
   476 
   431 librun.dll: $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll
   477 librun.dll: $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll
   432 	copy $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll librun.dll
   478 	copy $(TOP)\librun\$(OBJDIR_LIBRUN)\librun.dll librun.dll
   433 
   479 
       
   480 !ifdef USEBC 
   434 #cs3245.dll
   481 #cs3245.dll
   435 $(RT_DLL): $(TOP)\support\win32\borland\$(RT_DLL)
   482 $(RT_DLL): $(TOP)\support\win32\borland\$(RT_DLL)
   436 	copy $(TOP)\support\win32\borland\$(RT_DLL) $(RT_DLL)
   483 	copy $(TOP)\support\win32\borland\$(RT_DLL) $(RT_DLL)
   437 
   484 
   438 X11.dll: $(TOP)\support\win32\X11.dll
   485 X11.dll: $(TOP)\support\win32\X11.dll
   439 	copy $(TOP)\support\win32\X11.dll X11.dll
   486 	copy $(TOP)\support\win32\X11.dll X11.dll
   440 
   487 
   441 Xext.dll: $(TOP)\support\win32\Xext.dll
   488 Xext.dll: $(TOP)\support\win32\Xext.dll
   442 	copy $(TOP)\support\win32\Xext.dll Xext.dll
   489 	copy $(TOP)\support\win32\Xext.dll Xext.dll
       
   490 !endif
       
   491 
       
   492 !if defined(USEMINGW32)
       
   493 $(RT_DLL): $(MINGW_DIR)\bin\$(RT_DLL)
       
   494 	-copy $(MINGW_DIR)\bin\$(RT_DLL) $(RT_DLL)
       
   495 	-copy $(MINGW_DIR)\bin\libwinpthread-1.dll libwinpthread-1.dll
       
   496 !endif
   443 
   497 
   444 symbols.stc: $(TOP)\include\symbols.stc
   498 symbols.stc: $(TOP)\include\symbols.stc
   445 	copy $(TOP)\include\symbols.stc symbols.stc
   499 	copy $(TOP)\include\symbols.stc symbols.stc
       
   500 
       
   501 
       
   502 java_clean:
       
   503 	ant -f java\build.xml clean
       
   504 
       
   505 clean:: java_clean
       
   506 
       
   507 
       
   508 java_compile:
       
   509 	ant -f java\build.xml compile
       
   510 
       
   511 ALL:: java_compile
   446 
   512 
   447 
   513 
   448 java: ant
   514 java: ant
   449 
   515 
   450 ant:
   516 ant:
   496 
   562 
   497 postBuildCleanup::
   563 postBuildCleanup::
   498 	@rem  stupid win-make does not allow empty
   564 	@rem  stupid win-make does not allow empty
   499 
   565 
   500 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   566 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
   501 $(OUTDIR)Chat.$(O) Chat.$(H): Chat.st $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
   567 $(OUTDIR)Chat.$(O) Chat.$(C) Chat.$(H): Chat.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
   502 $(OUTDIR)ChatStart.$(O) ChatStart.$(H): ChatStart.st $(INCLUDE_TOP)\stx\libbasic\StandaloneStartup.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
   568 $(OUTDIR)ChatStart.$(O) ChatStart.$(C) ChatStart.$(H): ChatStart.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\StandaloneStartup.$(H) $(STCHDR)
   503 $(OUTDIR)ChatWindow.$(O) ChatWindow.$(H): ChatWindow.st $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
   569 $(OUTDIR)ChatWindow.$(O) ChatWindow.$(C) ChatWindow.$(H): ChatWindow.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview2\ApplicationModel.$(H) $(INCLUDE_TOP)\stx\libview2\Model.$(H) $(STCHDR)
   504 $(OUTDIR)stx_libjava_examples_chat.$(O) stx_libjava_examples_chat.$(H): stx_libjava_examples_chat.st $(INCLUDE_TOP)\stx\libbasic\ApplicationDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
   570 $(OUTDIR)stx_libjava_examples_chat.$(O) stx_libjava_examples_chat.$(C) stx_libjava_examples_chat.$(H): stx_libjava_examples_chat.st $(INCLUDE_TOP)\stx\libbasic\ApplicationDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR)
   505 
   571 
   506 # ENDMAKEDEPEND --- do not remove this line
   572 # ENDMAKEDEPEND --- do not remove this line
   507 
   573 
   508 # **Must be at end**
   574 # **Must be at end**
   509 
   575