Changeset 75
- Timestamp:
- May 25, 2001, 6:51:46 PM (24 years ago)
- Location:
- trunk/src/helpers
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/helpers_post.in
r68 r75 31 31 !endif 32 32 33 # Now define dependencies for all our .OBJ files by telling NMAKE 34 # which .OBJ file depends on what. For each .OBJ we define what files 35 # will enforce a recompilation when they've been changed. 36 # This uses the inference rules defined above. 33 # The .OBJ-from-sources dependencies are now automatically 34 # created by "nmake dep" into the .depend include file. 35 # V0.9.12 (2001-05-22) [umoeller] 37 36 38 # Note that ..\helpers\dosh.h is specified with _all_ files, so 39 # you can enforce a complete recompile of XWorkplace if you update 40 # that file (just save it once). 41 42 # Helper .OBJ files from /HELPERS. The object files are created 43 # from this makefile too. 44 45 $(OUTPUTDIR)\animate.obj: $(@B).c $(HLPINC)\$(@B).h \ 46 $(PROJECTINC)\setup.h \ 47 $(HLPINC)\winh.h $(HLPINC)\gpih.h \ 48 49 $(OUTPUTDIR)\cnrh.obj: $(@B).c $(HLPINC)\$(@B).h \ 50 $(PROJECTINC)\setup.h \ 51 $(HLPINC)\winh.h 52 53 $(OUTPUTDIR)\cctl_chart.obj: $(@B).c $(HLPINC)\comctl.h \ 54 $(PROJECTINC)\setup.h \ 55 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 56 $(HLPINC)\linklist.h $(HLPINC)\winh.h 57 58 $(OUTPUTDIR)\cctl_checkcnr.obj: $(@B).c $(HLPINC)\comctl.h \ 59 $(PROJECTINC)\setup.h \ 60 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 61 $(HLPINC)\linklist.h $(HLPINC)\winh.h 62 63 $(OUTPUTDIR)\cctl_progbar.obj: $(@B).c $(HLPINC)\comctl.h \ 64 $(PROJECTINC)\setup.h \ 65 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 66 $(HLPINC)\linklist.h $(HLPINC)\winh.h 67 68 $(OUTPUTDIR)\cctl_splitwin.obj: $(@B).c $(HLPINC)\comctl.h \ 69 $(PROJECTINC)\setup.h \ 70 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 71 $(HLPINC)\linklist.h $(HLPINC)\winh.h 72 73 $(OUTPUTDIR)\cctl_tooltip.obj: $(@B).c $(HLPINC)\comctl.h \ 74 $(PROJECTINC)\setup.h \ 75 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 76 $(HLPINC)\linklist.h $(HLPINC)\winh.h 77 78 $(OUTPUTDIR)\comctl.obj: $(@B).c $(HLPINC)\$(@B).h \ 79 $(PROJECTINC)\setup.h \ 80 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\gpih.h \ 81 $(HLPINC)\linklist.h $(HLPINC)\winh.h 82 83 $(OUTPUTDIR)\configsys.obj: $(@B).c $(HLPINC)\$(@B).h \ 84 $(PROJECTINC)\setup.h \ 85 $(HLPINC)\dosh.h $(HLPINC)\stringh.h $(HLPINC)\xstring.h 86 87 $(OUTPUTDIR)\datetime.obj: $(@B).c $(HLPINC)\$(@B).h \ 88 $(PROJECTINC)\setup.h 89 90 $(OUTPUTDIR)\debug.obj: $(@B).c $(HLPINC)\$(@B).h \ 91 $(PROJECTINC)\setup.h \ 92 $(HLPINC)\dosh.h 93 94 $(OUTPUTDIR)\dialog.obj: $(@B).c $(HLPINC)\$(@B).h \ 95 $(PROJECTINC)\setup.h \ 96 $(HLPINC)\comctl.h $(HLPINC)\gpih.h $(HLPINC)\linklist.h \ 97 $(HLPINC)\standards.h $(HLPINC)\stringh.h \ 98 $(HLPINC)\winh.h 99 100 $(OUTPUTDIR)\dosh.obj: $(@B).c $(HLPINC)\$(@B).h \ 101 $(PROJECTINC)\setup.h 102 103 $(OUTPUTDIR)\dosh2.obj: $(@B).c $(HLPINC)\dosh.h \ 104 $(PROJECTINC)\setup.h \ 105 $(HLPINC)\ensure.h $(HLPINC)\standards.h $(HLPINC)\stringh.h 106 107 $(OUTPUTDIR)\eah.obj: $(@B).c $(HLPINC)\$(@B).h \ 108 $(PROJECTINC)\setup.h 109 110 $(OUTPUTDIR)\encodings.obj: $(@B).c $(INC)\encodings\*.h \ 111 $(PROJECTINC)\setup.h 112 113 $(OUTPUTDIR)\except.obj: $(@B).c $(HLPINC)\$(@B).h \ 114 $(PROJECTINC)\setup.h \ 115 $(HLPINC)\dosh.h $(HLPINC)\debug.h 116 117 $(OUTPUTDIR)\gpih.obj: $(@B).c $(HLPINC)\$(@B).h \ 118 $(PROJECTINC)\setup.h \ 119 $(HLPINC)\winh.h 120 121 $(OUTPUTDIR)\level.obj: $(@B).c $(HLPINC)\$(@B).h \ 122 $(PROJECTINC)\setup.h 123 124 $(OUTPUTDIR)\linklist.obj: $(@B).c $(HLPINC)\$(@B).h \ 125 $(PROJECTINC)\setup.h 126 127 $(OUTPUTDIR)\memdebug.obj: $(@B).c $(HLPINC)\$(@B).h \ 128 $(PROJECTINC)\setup.h \ 129 $(HLPINC)\except.h $(HLPINC)\stringh.h 130 131 $(OUTPUTDIR)\memdebug_win.obj: $(@B).c $(HLPINC)\memdebug.h \ 132 $(PROJECTINC)\setup.h \ 133 $(HLPINC)\cnrh.h $(HLPINC)\except.h $(HLPINC)\stringh.h $(HLPINC)\winh.h 134 135 $(OUTPUTDIR)\prfh.obj: $(@B).c $(HLPINC)\$(@B).h \ 136 $(PROJECTINC)\setup.h 137 138 $(OUTPUTDIR)\prfh2.obj: $(@B).c $(HLPINC)\prfh.h \ 139 $(PROJECTINC)\setup.h \ 140 $(HLPINC)\dosh.h $(HLPINC)\stringh.h 141 142 $(OUTPUTDIR)\resh.obj: $(@B).c $(HLPINC)\$(@B).h \ 143 $(PROJECTINC)\setup.h 144 145 $(OUTPUTDIR)\procstat.obj: $(@B).c $(HLPINC)\$(@B).h \ 146 $(PROJECTINC)\setup.h 147 148 $(OUTPUTDIR)\shapewin.obj: $(@B).c $(HLPINC)\$(@B).h \ 149 $(PROJECTINC)\setup.h \ 150 $(HLPINC)\gpih.h 151 152 $(OUTPUTDIR)\stringh.obj: $(@B).c $(HLPINC)\$(@B).h \ 153 $(PROJECTINC)\setup.h \ 154 $(HLPINC)\xstring.h 155 156 $(OUTPUTDIR)\syssound.obj: $(@B).c $(HLPINC)\$(@B).h \ 157 $(PROJECTINC)\setup.h \ 158 $(HLPINC)\dosh.h $(HLPINC)\prfh.h 159 160 $(OUTPUTDIR)\textview.obj: $(@B).c $(HLPINC)\$(@B).h \ 161 $(PROJECTINC)\setup.h \ 162 $(HLPINC)\comctl.h $(HLPINC)\gpih.h $(HLPINC)\linklist.h $(HLPINC)\stringh.h \ 163 $(HLPINC)\winh.h $(HLPINC)\xstring.h 164 165 $(OUTPUTDIR)\threads.obj: $(@B).c $(HLPINC)\$(@B).h \ 166 $(PROJECTINC)\setup.h 167 168 $(OUTPUTDIR)\timer.obj: $(@B).c $(HLPINC)\$(@B).h \ 169 $(HLPINC)\datetime.h $(HLPINC)\except.h $(HLPINC)\linklist.h $(HLPINC)\threads.h \ 170 $(PROJECTINC)\setup.h 171 172 $(OUTPUTDIR)\tmsgfile.obj: $(@B).c $(HLPINC)\$(@B).h \ 173 $(PROJECTINC)\setup.h \ 174 $(HLPINC)\eah.h 175 176 $(OUTPUTDIR)\textv_html.obj: $(@B).c $(HLPINC)\$(@B).h \ 177 $(PROJECTINC)\setup.h \ 178 $(HLPINC)\linklist.h $(HLPINC)\stringh.h $(HLPINC)\xstring.h 179 180 $(OUTPUTDIR)\tree.obj: $(@B).c $(HLPINC)\$(@B).h \ 181 $(PROJECTINC)\setup.h \ 182 $(HLPINC)\tree.h 183 184 $(OUTPUTDIR)\winh.obj: $(@B).c $(HLPINC)\$(@B).h \ 185 $(PROJECTINC)\setup.h \ 186 $(HLPINC)\dosh.h $(HLPINC)\prfh.h $(HLPINC)\gpih.h $(HLPINC)\stringh.h \ 187 $(HLPINC)\undoc.h $(HLPINC)\xstring.h \ 188 189 $(OUTPUTDIR)\wphandle.obj: $(@B).c $(HLPINC)\$(@B).h \ 190 $(PROJECTINC)\setup.h 191 192 $(OUTPUTDIR)\xml.obj: $(@B).c $(HLPINC)\$(@B).h \ 193 $(PROJECTINC)\setup.h \ 194 $(HLPINC)\linklist.h $(HLPINC)\stringh.h $(HLPINC)\tree.h $(HLPINC)\xstring.h 195 196 $(OUTPUTDIR)\xprf.obj: $(@B).c $(HLPINC)\$(@B).h \ 197 $(PROJECTINC)\setup.h \ 198 $(HLPINC)\linklist.h $(HLPINC)\prfh.h 199 200 $(OUTPUTDIR)\xprf2.obj: $(@B).c $(HLPINC)\xprf.h \ 201 $(PROJECTINC)\setup.h \ 202 $(HLPINC)\dosh.h $(HLPINC)\prfh.h $(HLPINC)\stringh.h 203 204 $(OUTPUTDIR)\xstring.obj: $(@B).c $(HLPINC)\$(@B).h \ 205 $(PROJECTINC)\setup.h \ 206 $(HLPINC)\stringh.h 207 208 XMLHEADERS = $(PROJECTINC)\setup.h \ 209 $(INC)\expat\ascii.h \ 210 $(INC)\expat\asciitab.h \ 211 $(INC)\expat\expat.h \ 212 $(INC)\expat\expat_setup.h \ 213 $(INC)\expat\iasciitab.h \ 214 $(INC)\expat\latin1tab.h \ 215 $(INC)\expat\nametab.h \ 216 $(INC)\expat\utf8tab.h \ 217 $(INC)\expat\xmlrole.h \ 218 $(INC)\expat\xmltok.h \ 219 $(INC)\expat\xmltok_impl.h 220 221 $(OUTPUTDIR)\xml_charset.obj: $(@B).c $(XMLHEADERS) 222 223 $(OUTPUTDIR)\xmlparse.obj: $(@B).c $(XMLHEADERS) 224 225 $(OUTPUTDIR)\xmlrole.obj: $(@B).c $(XMLHEADERS) 226 227 $(OUTPUTDIR)\xmltok.obj: $(@B).c xmltok_impl.c xmltok_ns.c $(XMLHEADERS) 37 !ifndef NOINCLUDEDEPEND 38 !include .depend 39 !endif 228 40 229 41 42 -
trunk/src/helpers/helpers_pre.in
r53 r75 62 62 $(OUTPUTDIR)\prfh2.obj \ 63 63 $(OUTPUTDIR)\resh.obj \ 64 $(OUTPUTDIR)\semaphores.obj \ 64 65 $(OUTPUTDIR)\stringh.obj \ 65 66 $(OUTPUTDIR)\syssound.obj \ -
trunk/src/helpers/makefile
r13 r75 24 24 # 25 25 # Required environment variables: 26 # 26 27 # -- PROJECT_BASE_DIR: where to find setup.in; this should 27 28 # be the root directory of the project, e.g. "C:\cvs\warpin" 28 29 # or "C:\cvs\xworkplace" 30 # 29 31 # -- HELPERS_OUTPUT_DIR: where to create output files (*.obj, helpers.lib) 30 32 # this should be a "bin" directory (e.g. "C:\cvs\warpin\bin" 33 # 31 34 # -- CC_HELPERS: compiler command line for compiling C files. 32 35 # With VAC++, this should include the /Ge+ (compile to EXE) … … 34 37 # files. 35 38 # If you're using the "dll" target, specify /Ge- instead. 39 # 36 40 # -- MAINMAKERUNNING: if this is NOT defined, this makefile 37 41 # will recurse to the makefile in $(PROJECT_BASE_DIR). 38 42 # So to have this makefile run successfully, define this 39 43 # variable to something. 44 # 40 45 # This variable was introduced to be able to start a build 41 46 # process from src\helpers as well. However, when your own … … 130 135 @echo $(MAKEDIR)\makefile: Returned from main makefile. Done. 131 136 137 # The "dep" target: run fastdep on the sources. 138 # "nmake dep" gets called from src\makefile if nmake dep 139 # is running on the main makefile. 140 dep: 141 $(RUN_FASTDEP) *.c 142 @echo ----- Leaving $(MAKEDIR) 143 132 144 # Define the main dependency between the output HELPERS.LIB and 133 145 # all the object files. -
trunk/src/helpers/xmlparse.c
r71 r75 70 70 // this code generates those options HEAVILY 71 71 72 #ifdef COMPILED_FROM_DSP 73 #include "winconfig.h" 74 #define XMLPARSEAPI __declspec(dllexport) 75 #include "expat.h" 72 // #include <config.h> 73 74 #ifdef __declspec 75 #define XMLPARSEAPI __declspec(dllexport) 76 #endif 77 78 #include "expat\expat.h" 79 80 #ifdef __declspec 76 81 #undef XMLPARSEAPI 77 #else 78 // #include <config.h> 79 80 #ifdef __declspec 81 #define XMLPARSEAPI __declspec(dllexport) 82 #endif 83 84 #include "expat\expat.h" 85 86 #ifdef __declspec 87 #undef XMLPARSEAPI 88 #endif 89 #endif /* ndef COMPILED_FROM_DSP */ 82 #endif 90 83 91 84 #include <stddef.h> -
trunk/src/helpers/xmlrole.c
r38 r75 38 38 // disable "statement unreachable" and "missing break statement" 39 39 // this code generates those options HEAVILY 40 41 #ifdef COMPILED_FROM_DSP42 #include "winconfig.h"43 #else44 // #include <config.h>45 #endif /* ndef COMPILED_FROM_DSP */46 40 47 41 #include "expat\xmlrole.h" -
trunk/src/helpers/xmltok.c
r38 r75 39 39 // this code generates those options HEAVILY 40 40 41 #ifdef COMPILED_FROM_DSP42 #include "winconfig.h"43 #else44 // #include <config.h>45 #endif /* ndef COMPILED_FROM_DSP */46 47 41 #include "expat\xmltok.h" 48 42 #include "expat\nametab.h" … … 361 355 {VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0}, 362 356 { 363 #include " asciitab.h"364 #include " utf8tab.h"357 #include "expat\asciitab.h" 358 #include "expat\utf8tab.h" 365 359 }, 366 360 STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_) … … 387 381 {VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0}, 388 382 { 389 #include " iasciitab.h"390 #include " utf8tab.h"383 #include "expat\iasciitab.h" 384 #include "expat\utf8tab.h" 391 385 }, 392 386 STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_) … … 449 443 {VTABLE1, latin1_toUtf8, latin1_toUtf16, 1, 0, 0}, 450 444 { 451 #include " asciitab.h"452 #include " latin1tab.h"445 #include "expat\asciitab.h" 446 #include "expat\latin1tab.h" 453 447 }, 454 448 STANDARD_VTABLE(sb_) … … 483 477 {VTABLE1, ascii_toUtf8, latin1_toUtf16, 1, 1, 0}, 484 478 { 485 #include " asciitab.h"479 #include "expat\asciitab.h" 486 480 /* BT_NONXML == 0 */ 487 481 }, … … 709 703 }, 710 704 { 711 #include " asciitab.h"712 #include " latin1tab.h"705 #include "expat\asciitab.h" 706 #include "expat\latin1tab.h" 713 707 }, 714 708 STANDARD_VTABLE(little2_) … … 743 737 {VTABLE, 2, 0, 1}, 744 738 { 745 #include " iasciitab.h"746 #include " latin1tab.h"739 #include "expat\iasciitab.h" 740 #include "expat\latin1tab.h" 747 741 }, 748 742 STANDARD_VTABLE(little2_) … … 847 841 }, 848 842 { 849 #include " asciitab.h"850 #include " latin1tab.h"843 #include "expat\asciitab.h" 844 #include "expat\latin1tab.h" 851 845 }, 852 846 STANDARD_VTABLE(big2_) … … 881 875 {VTABLE, 2, 0, 1}, 882 876 { 883 #include " iasciitab.h"884 #include " latin1tab.h"877 #include "expat\iasciitab.h" 878 #include "expat\latin1tab.h" 885 879 }, 886 880 STANDARD_VTABLE(big2_)
Note:
See TracChangeset
for help on using the changeset viewer.