ApplicationDefinition.st
branchjv
changeset 17912 80eb31a5a622
parent 17911 a99f15c5efa5
child 17921 4069fe8e9039
equal deleted inserted replaced
17911:a99f15c5efa5 17912:80eb31a5a622
  1532 # automagically generated from the projectDefinition: ',self name,' at ',Timestamp now printString,'.
  1532 # automagically generated from the projectDefinition: ',self name,' at ',Timestamp now printString,'.
  1533 #
  1533 #
  1534 # Warning: once you modify this file, do not rerun
  1534 # Warning: once you modify this file, do not rerun
  1535 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
  1535 # stmkmp or projectDefinition-build again - otherwise, your changes are lost.
  1536 #
  1536 #
       
  1537 # Historic Note:
       
  1538 #  this used to contain only rules to make with borland 
       
  1539 #    (called via bmake, by "make.exe -f bc.mak")
       
  1540 #  this has changed; it is now also possible to build using microsoft visual c
       
  1541 #    (called via vcmake, by "make.exe -f bc.mak -DUSEVC")
       
  1542 #
  1537 
  1543 
  1538 !!ifndef USEBC
  1544 !!ifndef USEBC
  1539 !! ifndef USEVC
  1545 !! ifndef USEVC
  1540 USEBC=1
  1546 USEBC=1
  1541 !! endif
  1547 !! endif
  1584 GLOBALDEFINES=%(GLOBAL_DEFINES)
  1590 GLOBALDEFINES=%(GLOBAL_DEFINES)
  1585 
  1591 
  1586 STCLOCALOPT=''-package=$(PACKAGE)'' $(LOCALDEFINES) $(LOCALINCLUDES) %(HEADEROUTPUTARG) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
  1592 STCLOCALOPT=''-package=$(PACKAGE)'' $(LOCALDEFINES) $(LOCALINCLUDES) %(HEADEROUTPUTARG) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) $(COMMONSYMFLAG) -varPrefix=$(LIBNAME)
  1587 
  1593 
  1588 !!ifdef USEBC
  1594 !!ifdef USEBC
       
  1595 OBJDIR=objbc
       
  1596 LIBDIR=libbc
       
  1597 
  1589 LINKER=$(BCB)\BIN\ilink32
  1598 LINKER=$(BCB)\BIN\ilink32
  1590 # LFLAGS = -L$(TOP)\libbc;$(BCB)\lib;$(DEBUGLIBPATH) -H:0x400000 -Hc:0x100000 -S:0x40000 -Sc:0x10000 -ap -Tpe -x -Gn -v -Ao:0x10000
  1599 # LFLAGS = -L$(TOP)\$(LIBDIR);$(BCB)\lib;$(DEBUGLIBPATH) -H:0x400000 -Hc:0x100000 -S:0x40000 -Sc:0x10000 -ap -Tpe -x -Gn -v -Ao:0x10000
  1591 LFLAGS = -L$(TOP)\libbc;$(BCB)\lib -S:0x40000 -Sc:0x10000 $(LFLAGS_APPTYPE) -Tpe -x -Gn -v -Ao:0x10000
  1600 LFLAGS = -L$(TOP)\$(LIBDIR);$(BCB)\lib -S:0x40000 -Sc:0x10000 $(LFLAGS_APPTYPE) -Tpe -x -Gn -v -Ao:0x10000
  1592 !!endif
  1601 USE_ARG=-DUSEBC
  1593 
  1602 !!else
  1594 !!ifdef USEVC
  1603 !! ifdef USEVC
       
  1604 OBJDIR=objvc
       
  1605 LIBDIR=libvc
       
  1606 
  1595 LINKER = $(LINK32)
  1607 LINKER = $(LINK32)
  1596 CRT_STARTUP=
  1608 CRT_STARTUP=
  1597 RT_LIB =
  1609 RT_LIB =
  1598 LFLAGS = /nologo /DEBUG /DYNAMICBASE:NO /MACHINE:X86 /ERRORREPORT:PROMPT
  1610 LFLAGS = /nologo /DEBUG /DYNAMICBASE:NO /MACHINE:X86 /ERRORREPORT:PROMPT
       
  1611 USE_ARG=-DUSEVC
       
  1612 !! else
       
  1613 error error
       
  1614 !! endif
  1599 !!endif
  1615 !!endif
  1600 
  1616 
  1601 PROJECT_NOCONSOLE = %(NOCONSOLE_APPLICATION)
  1617 PROJECT_NOCONSOLE = %(NOCONSOLE_APPLICATION)
  1602 PROJECT_CONSOLE = %(CONSOLE_APPLICATION)
  1618 PROJECT_CONSOLE = %(CONSOLE_APPLICATION)
  1603 ALLOBJFILES = main.obj
  1619 ALLOBJFILES = main.obj
  1604 RESFILES = %(RESFILENAME)
  1620 RESFILES = %(RESFILENAME)
  1605 ALLOBJ = $(CRT_STARTUP) $(ALLOBJFILES) $(OBJS)
  1621 ALLOBJ = $(CRT_STARTUP) $(ALLOBJFILES) $(OBJS)
  1606 DEFFILE=$(TOP)\rules\bc_exe.def
  1622 DEFFILE=$(TOP)\rules\bc_exe.def
  1607 
  1623 
       
  1624 LIBFILES=$(TOP)\$(LIBDIR)\librun.lib
       
  1625 
  1608 !!ifdef USEBC
  1626 !!ifdef USEBC
  1609 LIBFILES=$(TOP)\libbc\librun.lib
       
  1610 ALLLIB=$(LIBFILES) import32.lib $(RT_LIB)
  1627 ALLLIB=$(LIBFILES) import32.lib $(RT_LIB)
  1611 USE_ARG=-DUSEBC
  1628 !!endif
  1612 !!else
  1629 
  1613 !! ifdef USEVC
  1630 !!ifdef USEVC
  1614 LIBFILES=$(TOP)\libvc\librun.lib
       
  1615 ALLLIB=$(LIBFILES) kernel32.lib
  1631 ALLLIB=$(LIBFILES) kernel32.lib
  1616 USE_ARG=-DUSEVC
       
  1617 !! else
       
  1618 error error
       
  1619 !! endif
       
  1620 !!endif
  1632 !!endif
  1621 
  1633 
  1622 REQUIRED_LIBS=librun.dll %(REQUIRED_LIBS)
  1634 REQUIRED_LIBS=librun.dll %(REQUIRED_LIBS)
  1623 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
  1635 REQUIRED_FILES=cs3245.dll X11.dll Xext.dll symbols.stc $(REQUIRED_LIBS)
  1624 
  1636 
  1737         copy $(TOP)\librun\main.c main.c
  1749         copy $(TOP)\librun\main.c main.c
  1738 
  1750 
  1739 buildDate.h: $(TOP)\librun\genDate.exe
  1751 buildDate.h: $(TOP)\librun\genDate.exe
  1740         $(TOP)\librun\genDate.exe
  1752         $(TOP)\librun\genDate.exe
  1741 
  1753 
  1742 librun.dll: $(TOP)\librun\librun.dll
  1754 librun.dll: $(TOP)\librun\$(OBJDIR)\librun.dll
  1743         copy $(TOP)\librun\librun.dll librun.dll
  1755         copy $(TOP)\librun\$(OBJDIR)\librun.dll librun.dll
  1744 
  1756 
  1745 cs3245.dll: $(TOP)\support\win32\borland\cs3245.dll
  1757 cs3245.dll: $(TOP)\support\win32\borland\cs3245.dll
  1746         copy $(TOP)\support\win32\borland\cs3245.dll cs3245.dll
  1758         copy $(TOP)\support\win32\borland\cs3245.dll cs3245.dll
  1747 
  1759 
  1748 X11.dll: $(TOP)\support\win32\X11.dll
  1760 X11.dll: $(TOP)\support\win32\X11.dll
  1771         -del $(REQUIRED_FILES)
  1783         -del $(REQUIRED_FILES)
  1772         -del main.c
  1784         -del main.c
  1773         -del *.log
  1785         -del *.log
  1774         -del *.res
  1786         -del *.res
  1775         -rmdir /S /Q resources
  1787         -rmdir /S /Q resources
  1776         -rmdir /S /Q objbc
  1788         -rmdir /S /Q $(OBJDIR)
  1777 
  1789 
  1778 clobber:: clean
  1790 clobber:: clean
  1779         -del *.dll *.exe *.com
  1791         -del *.dll *.exe *.com
  1780 
  1792 
  1781 # stupid win-make does not allow empty - therefore echo something
  1793 # stupid win-make does not allow empty - therefore echo something
  1785 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
  1797 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
  1786 %(DEPENDENCIES)
  1798 %(DEPENDENCIES)
  1787 # ENDMAKEDEPEND --- do not remove this line
  1799 # ENDMAKEDEPEND --- do not remove this line
  1788 '.
  1800 '.
  1789 
  1801 
  1790     "Modified: / 28-09-2011 / 16:37:33 / cg"
  1802     "Modified: / 20-01-2012 / 13:56:17 / cg"
  1791     "Modified: / 28-09-2011 / 13:30:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1803     "Modified: / 28-09-2011 / 13:30:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  1792 !
  1804 !
  1793 
  1805 
  1794 bc_dot_mak_app_source_rules
  1806 bc_dot_mak_app_source_rules
  1795     |p|
  1807     |p|
  2834 ! !
  2846 ! !
  2835 
  2847 
  2836 !ApplicationDefinition class methodsFor:'documentation'!
  2848 !ApplicationDefinition class methodsFor:'documentation'!
  2837 
  2849 
  2838 version
  2850 version
  2839     ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.188 2011/12/23 14:09:06 cg Exp $'
  2851     ^ '$Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.190 2012/01/20 12:56:44 cg Exp $'
  2840 !
  2852 !
  2841 
  2853 
  2842 version_CVS
  2854 version_CVS
  2843     ^ 'Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.188 2011/12/23 14:09:06 cg Exp '
  2855     ^ 'Header: /cvs/stx/stx/libbasic/ApplicationDefinition.st,v 1.190 2012/01/20 12:56:44 cg Exp '
  2844 !
  2856 !
  2845 
  2857 
  2846 version_SVN
  2858 version_SVN
  2847     ^ '$Id: ApplicationDefinition.st 10761 2012-01-19 11:46:00Z vranyj1 $'
  2859     ^ '$Id: ApplicationDefinition.st 10763 2012-01-22 23:07:15Z vranyj1 $'
  2848 ! !
  2860 ! !
  2849 
  2861 
  2850 
  2862 
  2851 
  2863 
  2852 
  2864 
  2853 
  2865 
       
  2866