Changeset 654
- Timestamp:
- Jun 14, 2013, 11:37:54 AM (12 years ago)
- Location:
- ghostscript/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified ghostscript/trunk/base/gdevos2p.c ¶
r651 r654 39 39 #define INCL_SPLDOSPRINT 40 40 #define INCL_SPLERRORS 41 #define INCL_WINERRORS 41 42 42 43 #include <os2.h> … … 47 48 #include "gscdefs.h" /* for gs_product */ 48 49 49 extern HWND hwndtext; /* in gp_os2.h */ 50 HWND hwndtext; 50 51 51 52 typedef struct tagOS2QL { -
TabularUnified ghostscript/trunk/base/gp_os2.c ¶
r651 r654 34 34 #define pclose fclose /* doesn't support pclose */ 35 35 #else 36 #ifndef __KLIBC__ 36 37 #include <dos.h> 38 #endif 37 39 #endif 38 40 /* Define the regs union tag for short registers. */ … … 137 139 gp_file_is_console(FILE * f) 138 140 { 139 #if ndef __DLL__141 #if !defined(__DLL__) && !defined(__KLIBC__) 140 142 if (!isos2) { 141 143 union REGS regs; … … 261 263 { 262 264 #ifndef __IBMC__ 265 #if defined(__KLIBC__) 266 setmode(prnfno, binary ? O_BINARY : O_TEXT); 267 #else 263 268 union REGS regs; 264 269 … … 277 282 regs.h.al = 1; /* set device info */ 278 283 intdos(®s, ®s); 284 #endif 279 285 #endif 280 286 } -
TabularUnified ghostscript/trunk/base/gs.mak ¶
r651 r654 375 375 $(DEVICE_DEVS14) $(DEVICE_DEVS15) $(DEVICE_DEVS16) $(DEVICE_DEVS17) \ 376 376 $(DEVICE_DEVS18) $(DEVICE_DEVS19) $(DEVICE_DEVS20) $(DEVICE_DEVS21) \ 377 $(DEVICE_DEVS22) $(DEVICE_DEVS23) $(DEVICE_DEVS24) $(DEVICE_DEVS25) \ 378 $(DEVICE_DEVS26) $(DEVICE_DEVS27) $(DEVICE_DEVS28) $(DEVICE_DEVS29) \ 379 $(DEVICE_DEVS30) \ 377 380 $(DEVICE_DEVS_EXTRA) $(GLD)romfs$(COMPILE_INITS).dev 378 381 … … 404 407 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS20) 405 408 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS21) 409 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS22) 410 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS23) 411 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS24) 412 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS25) 413 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS26) 414 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS27) 415 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS28) 416 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS29) 417 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS30) 406 418 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(DEVICE_DEVS_EXTRA) 407 419 $(EXP)$(ECHOGS_XE) -a $(devs_tr) -+ $(GLD)romfs$(COMPILE_INITS).dev -
TabularUnified ghostscript/trunk/base/lib.mak ¶
r651 r654 39 39 # Define the name of this makefile. 40 40 LIB_MAK=$(GLSRC)lib.mak 41 JBIG2_LIB=jbig2dec 42 41 43 42 44 # Define the inter-dependencies of the .h files. -
TabularUnified ghostscript/trunk/jbig2dec/os_types.h ¶
r651 r654 43 43 #endif 44 44 45 #if defined(HAVE_STDINT_H) || defined(__MACOS__) 45 #if defined(HAVE_STDINT_H) || defined(__MACOS__) || defined(__KLIBC__) 46 46 # include <stdint.h> 47 47 #elif defined(__VMS) -
TabularUnified ghostscript/trunk/psi/dpmain.c ¶
r651 r654 80 80 gs_addmess(char *str) 81 81 { 82 #if defined(__EMX__) 83 fputs(str, stderr); 84 fflush(stderr); 85 #else 82 86 fputs(str, stdout); 83 87 fflush(stdout); 88 #endif 84 89 } 85 90 … … 99 104 return TRUE; 100 105 rc = DosFreeModule(gsdll.hmodule); 106 if (rc == 12) rc = 0; //we ignore rc == 12 (ERROR_INVALID_ACCESS) 107 101 108 if (rc) { 102 109 sprintf(buf, "DosFreeModule returns %d\n", rc); -
TabularUnified ghostscript/trunk/psi/gsdll2.def ¶
r651 r654 3 3 DATA MULTIPLE NONSHARED 4 4 EXPORTS 5 gsapi_revision 6 gsapi_new_instance 7 gsapi_delete_instance 8 gsapi_init_with_args 9 gsapi_run_string_begin 10 gsapi_run_string_continue 11 gsapi_run_string_end 12 gsapi_run_string_with_length 13 gsapi_run_string 14 gsapi_run_file 15 gsapi_exit 16 gsapi_set_stdio 17 gsapi_set_poll 18 gsapi_set_display_callback 5 GSDLL_REVISION = _gsdll_revision @1 6 GSDLL_INIT = _gsdll_init @2 7 GSDLL_EXECUTE_BEGIN = _gsdll_execute_begin @3 8 GSDLL_EXECUTE_CONT = _gsdll_execute_cont @4 9 GSDLL_EXECUTE_END = _gsdll_execute_end @5 10 GSDLL_EXIT = _gsdll_exit @6 11 GSAPI_REVISION = _gsapi_revision 12 GSAPI_NEW_INSTANCE = _gsapi_new_instance 13 GSAPI_DELETE_INSTANCE = _gsapi_delete_instance 14 GSAPI_INIT_WITH_ARGS = _gsapi_init_with_args 15 GSAPI_RUN_STRING_BEGIN = _gsapi_run_string_begin 16 GSAPI_RUN_STRING_CONTINUE = _gsapi_run_string_continue 17 GSAPI_RUN_STRING_END = _gsapi_run_string_end 18 GSAPI_RUN_STRING_WITH_LENGTH = _gsapi_run_string_with_length 19 GSAPI_RUN_STRING = _gsapi_run_string 20 GSAPI_RUN_FILE = _gsapi_run_file 21 GSAPI_EXIT = _gsapi_exit 22 GSAPI_SET_STDIO = _gsapi_set_stdio 23 GSAPI_SET_POLL = _gsapi_set_poll 24 GSAPI_SET_DISPLAY_CALLBACK = _gsapi_set_display_callback -
TabularUnified ghostscript/trunk/psi/os2.mak ¶
r651 r654 37 37 PSGENDIR=obj 38 38 PSOBJDIR=obj 39 ADDONSDIR=addons 40 CONTRIBDIR=contrib 39 41 40 42 # Define the root directory for Ghostscript installation. … … 139 141 # See ijs.mak for more information. 140 142 141 #IJSSRCDIR=ijs142 #IJSEXECTYPE=win 143 IJSSRCDIR=ijs 144 IJSEXECTYPE=unix 143 145 144 146 # Define the directory where the imdi library source is stored. … … 182 184 !if $(EMX) 183 185 COMP=gcc $(X11INCLUDE) 184 COMPBASE=\emx 185 EMXPATH=/emx 186 COMPDIR=$(COMPBASE)\bin 187 INCDIR=$(EMXPATH)/include 188 LIBDIR=$(EMXPATH)/lib 186 CC_SHARED=gcc 187 #COMPBASE=\emx 188 #EMXPATH=/emx 189 #COMPDIR=$(COMPBASE)\bin 190 #INCDIR=$(EMXPATH)/include 191 #LIBDIR=$(EMXPATH)/lib 189 192 CPNG=-DPNGAPI= 190 193 !endif … … 208 211 209 212 # EMX requires 386 or higher 210 CPU_TYPE= 386213 CPU_TYPE=586 211 214 212 215 # Define the .dev module that implements thread and synchronization … … 220 223 # Note that built-in libpng and zlib aren't available. 221 224 222 SHARE_JPEG= 0223 SHARE_LIBPNG= 0224 SHARE_ZLIB= 0225 SHARE_JPEG=1 226 SHARE_LIBPNG=1 227 SHARE_ZLIB=1 225 228 SHARE_JBIG2=0 229 SHARE_LIBTIFF=1 226 230 227 231 # Swapping `make' out of memory makes linking much faster. … … 249 253 #Compiler Optimiser option 250 254 !if $(EMX) 251 CO=-O 255 CO=-O2 252 256 !endif 253 257 !if $(IBMCPP) … … 280 284 _I= 281 285 O_=-o $(NULL) 282 !if $(MAKEDLL)283 OBJ=obj284 !else285 286 OBJ=o 286 !endif287 287 Q= 288 288 XE=.exe … … 309 309 310 310 !if $(MAKEDLL) 311 CONFILES=-p %%s +311 CONFILES=-p %%s 312 312 !else 313 313 CONFILES= … … 359 359 !if $(MAKEDLL) 360 360 !if $(EMX) 361 CDLL=-Z dll -Zso -Zsys -Zomf $(MT_OPT) -D__DLL__361 CDLL=-Zomf $(MT_OPT) -D__DLL__ 362 362 !endif 363 363 !if $(IBMCPP) … … 369 369 370 370 !if $(EMX) 371 CEXE=-Z omf372 CEXESYS=-Zomf -Z sys373 !endif 374 375 GENOPT=$(CD) $(CGDB) $(C DLL) $(CO) $(CPNG)376 377 CCFLAGS0=$(GENOPT) $(PLATOPT) -D__OS2__ $(GCIFLAGS) 371 CEXE=-Zexe 372 CEXESYS=-Zomf -Zmap 373 !endif 374 375 GENOPT=$(CD) $(CGDB) $(CO) $(CPNG) 376 377 CCFLAGS0=$(GENOPT) $(PLATOPT) -D__OS2__ $(GCIFLAGS) -I/cups/include 378 378 CCFLAGS=$(CCFLAGS0) 379 CC=$(COMP DIR)\$(COMP) $(CCFLAGS0)379 CC=$(COMP) $(CCFLAGS0) 380 380 CC_=$(CC) 381 381 CC_D=$(CC) $(CO) … … 389 389 # Since we have a large address space, we include some optional features. 390 390 391 FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(PSD)os2print.dev 391 FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev $(PSD)epsf.dev $(PSD)os2print.dev $(PSD)jbig2.dev 392 392 393 393 # Choose whether to compile the .ps initialization files into the executable. … … 441 441 DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev 442 442 DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev $(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev 443 DEVICE_DEVS16=$(DD)bbox.dev 443 DEVICE_DEVS16=$(DD)bbox.dev $(DD)cups.dev 444 444 # Overflow for DEVS3,4,5,6,9 445 445 DEVICE_DEVS17=$(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev … … 447 447 DEVICE_DEVS19=$(DD)lbp8.dev $(DD)m8510.dev $(DD)necp6.dev $(DD)bjc600.dev $(DD)bjc800.dev 448 448 DEVICE_DEVS20=$(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pamcmyk32.dev 449 DEVICE_DEVS21= $(DD)spotcmyk.dev $(DD)devicen.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev 449 DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev 450 # eplaser-jp devices 451 DEVICE_DEVS22=$(DD)eps9high.dev $(DD)eps9mid.dev $(DD)epson.dev $(DD)epsonc.dev $(DD)escp.dev $(DD)lp8000.dev $(DD)lq850.dev 452 DEVICE_DEVS23=$(DD)photoex.dev $(DD)st800.dev $(DD)stcolor.dev $(DD)alc1900.dev $(DD)alc2000.dev $(DD)alc4000.dev $(DD)alc4100.dev 453 DEVICE_DEVS24=$(DD)alc8500.dev $(DD)alc8600.dev $(DD)alc9100.dev $(DD)lp3000c.dev $(DD)lp8000c.dev $(DD)lp8200c.dev $(DD)lp8300c.dev 454 DEVICE_DEVS25=$(DD)lp8500c.dev $(DD)lp8800c.dev $(DD)lp9000c.dev $(DD)lp9200c.dev $(DD)lp9500c.dev $(DD)lp9800c.dev $(DD)lps6500.dev 455 DEVICE_DEVS26=$(DD)epl2050.dev $(DD)epl2050p.dev $(DD)epl2120.dev $(DD)epl2500.dev $(DD)epl2750.dev $(DD)epl5800.dev $(DD)epl5900.dev 456 DEVICE_DEVS27=$(DD)epl6100.dev $(DD)epl6200.dev $(DD)lp1800.dev $(DD)lp1900.dev $(DD)lp2200.dev $(DD)lp2400.dev $(DD)lp2500.dev 457 DEVICE_DEVS28=$(DD)lp7500.dev $(DD)lp7700.dev $(DD)lp7900.dev $(DD)lp8100.dev $(DD)lp8300f.dev $(DD)lp8400f.dev $(DD)lp8600.dev 458 DEVICE_DEVS29=$(DD)lp8600f.dev $(DD)lp8700.dev $(DD)lp8900.dev $(DD)lp9000b.dev $(DD)lp9100.dev $(DD)lp9200b.dev $(DD)lp9300.dev 459 DEVICE_DEVS30=$(DD)lp9400.dev $(DD)lp9600.dev $(DD)lp9600s.dev $(DD)lps4500.dev $(DD)eplcolor.dev $(DD)eplmono.dev 450 460 451 461 # Include the generic makefiles. … … 461 471 !include "$(GLSRCDIR)\jbig2.mak" 462 472 !include "$(GLSRCDIR)\icclib.mak" 473 !include "$(GLSRCDIR)\ijs.mak" 463 474 !include "$(GLSRCDIR)\devs.mak" 475 !include "$(GLSRCDIR)\libtiff.mak" 464 476 !include "$(GLSRCDIR)\pcwin.mak" 465 477 !include "$(GLSRCDIR)\contrib.mak" 478 !include "contrib\contrib.mak" 466 479 !include "$(PSSRCDIR)\int.mak" 480 !include "cups/cups.mak" 467 481 468 482 # -------------------------------- Library -------------------------------- # … … 508 522 #CCAUX=$(COMPDIR)\$(COMP) $(CO) 509 523 # emx 0.9d (gcc 2.8.1) crashes when compiling genarch.c with optimizer 510 CCAUX=$(COMP DIR)\$(COMP)524 CCAUX=$(COMP) 511 525 512 526 $(ECHOGS_XE): $(GLSRCDIR)\echogs.c 513 527 !if $(EMX) 514 $(CCAUX) -o $(AUXGEN)echogs $(GLSRCDIR)\echogs.c515 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)echogs $(ECHOGS_XE)516 del $(AUXGEN)echogs528 $(CCAUX) -o $(AUXGEN)echogs$(XEAUX) $(GLSRCDIR)\echogs.c 529 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)echogs $(ECHOGS_XE) 530 # del $(AUXGEN)echogs 517 531 !endif 518 532 !if $(IBMCPP) … … 524 538 -mkdir $(BINDIR) 525 539 !if $(EMX) 526 $(CCAUX) -DHAVE_LONG_LONG - o $(AUXGEN)genarch$(GLSRCDIR)\genarch.c527 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genarch $(GENARCH_XE)528 del $(AUXGEN)genarch540 $(CCAUX) -DHAVE_LONG_LONG -Zomf -o $(AUXGEN)genarch$(XEAUX) $(GLSRCDIR)\genarch.c 541 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genarch $(GENARCH_XE) 542 # del $(AUXGEN)genarch 529 543 !endif 530 544 !if $(IBMCPP) … … 534 548 $(GENCONF_XE): $(GLSRCDIR)\genconf.c $(GENCONF_DEPS) 535 549 !if $(EMX) 536 $(CCAUX) -o $(AUXGEN)genconf $(GLSRCDIR)\genconf.c537 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genconf $(GENCONF_XE)538 del $(AUXGEN)genconf550 $(CCAUX) -o $(AUXGEN)genconf$(XEAUX) $(GLSRCDIR)\genconf.c 551 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genconf $(GENCONF_XE) 552 # del $(AUXGEN)genconf 539 553 !endif 540 554 !if $(IBMCPP) … … 544 558 $(GENDEV_XE): $(GLSRCDIR)\gendev.c $(GENDEV_DEPS) 545 559 !if $(EMX) 546 $(CCAUX) -o $(AUXGEN)gendev $(GLSRCDIR)\gendev.c547 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)gendev $(GENDEV_XE)548 del $(AUXGEN)gendev560 $(CCAUX) -o $(AUXGEN)gendev$(XEAUX) $(GLSRCDIR)\gendev.c 561 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)gendev $(GENDEV_XE) 562 # del $(AUXGEN)gendev 549 563 !endif 550 564 !if $(IBMCPP) … … 554 568 $(GENHT_XE): $(PSSRC)genht.c $(GENHT_DEPS) 555 569 !if $(EMX) 556 $(CCAUX) -o $(AUXGEN)genht $(GENHT_CFLAGS) $(PSSRC)genht.c557 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genht $(GENHT_XE)558 del $(AUXGEN)genht570 $(CCAUX) -o $(AUXGEN)genht$(XEAUX) $(GENHT_CFLAGS) $(PSSRC)genht.c 571 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)genht $(GENHT_XE) 572 # del $(AUXGEN)genht 559 573 !endif 560 574 !if $(IBMCPP) … … 564 578 $(GENINIT_XE): $(PSSRC)geninit.c $(GENINIT_DEPS) 565 579 !if $(EMX) 566 $(CCAUX) -o $(AUXGEN)geninit $(PSSRC)geninit.c567 $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)geninit $(GENINIT_XE)568 del $(AUXGEN)geninit580 $(CCAUX) -o $(AUXGEN)geninit$(XEAUX) $(PSSRC)geninit.c 581 # $(COMPDIR)\emxbind $(EMXPATH)/bin/emxl.exe $(AUXGEN)geninit $(GENINIT_XE) 582 # del $(AUXGEN)geninit 569 583 !endif 570 584 !if $(IBMCPP) … … 572 586 !endif 573 587 574 MKROMFS_OBJS=$(MKROMFS_ZLIB_OBJS) $(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gp_getnv.obj $(GLOBJ)gp_os2fs.obj 588 MKROMFS_OBJS=$(MKROMFS_ZLIB_OBJS) $(GLOBJ)gscdefs.$(OBJ) $(GLOBJ)gsmisc.$(OBJ) \ 589 $(GLOBJ)gpmisc.$(OBJ) $(GLOBJ)gslibctx.$(OBJ) \ 590 $(GLOBJ)gp_getnv.$(OBJ) $(GLOBJ)gp_os2.$(OBJ) $(GLOBJ)gp_os2fs.$(OBJ) $(GLOBJ)gp_stdia.$(OBJ) \ 591 $(GLOBJ)gsutil.$(OBJ) 592 575 593 $(MKROMFS_XE): $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS) 576 594 !if $(EMX) … … 583 601 # No special gconfig_.h is needed. 584 602 $(gconfig__h): $(TOP_MAKEFILES) $(ECHOGS_XE) 585 $(ECHOGS_XE) -w $(gconfig__h) /* This file deliberately left blank. */ 603 $(ECHOGS_XE) -w $(gconfig__h) /* This file is created by os2.mak. */ 604 $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_SYS_TIME_H 605 $(ECHOGS_XE) -a $(gconfig__h) -x 23 define HAVE_STDINT_H 586 606 587 607 # ----------------------------- Main program ------------------------------ # 608 609 gsdllos2_h=$(GLSRC)gsdllos2.h 588 610 589 611 # Interpreter main program … … 597 619 !if $(MAKEDLL) 598 620 #making a DLL 599 GS_ALL=$( INT_ALL) \621 GS_ALL=$(PSOBJ)gsdll.$(OBJ) $(INT_ALL) \ 600 622 $(LIB_ALL) $(LIBCTR) $(ld_tr) $(PSOBJ)$(GS).res $(ICONS) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) 601 623 602 624 $(GS_XE): $(BINDIR)\$(GSDLL).dll $(PSSRC)dpmain.c $(PSSRC)gsos2.rc $(GLOBJ)gscdefs.$(OBJ) 603 625 !if $(EMX) 604 $(C OMPDIR)\$(COMP) $(CGDB) $(CO) -Zomf $(MT_OPT) -I$(PSSRCDIR) -I$(GLSRCDIR) -I$(PSOBJDIR) -I$(GLOBJDIR) -o$(GS_XE) $(PSSRC)dpmain.c $(GLOBJ)gscdefs.$(OBJ) $(PSSRC)gsos2.def626 $(CCAUX) $(CGDB) $(CO) -Zomf $(CDLL) $(MT_OPT) -I$(PSSRCDIR) -I$(GLSRCDIR) -I$(PSOBJDIR) -I$(GLOBJDIR) -o $(GS_XE) $(PSSRC)dpmain.c $(GLOBJ)gscdefs.$(OBJ) $(PSSRC)gsos2.def 605 627 !endif 606 628 !if $(IBMCPP) 607 629 $(CCAUX) -I$(PSSRCDIR) -I$(GLSRCDIR) -I$(PSOBJDIR) -I$(GLOBJDIR) /Fe$(GX_XE) $(PSSRC)dpmain.c $(GLOBJ)gscdefs.$(OBJ) 608 630 !endif 609 rc $(PSOBJ)$(GS).res $(GS_XE) 610 611 $(BINDIR)\$(GSDLL).dll: $(GS_ALL) $(ALL_DEVS) 612 !if $(EMX) 613 LINK386 /DEBUG $(COMPBASE)\lib\dll0.obj $(COMPBASE)\lib\end.lib @$(ld_tr) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ), $(BINDIR)\$(GSDLL).dll, ,$(X11LIBS) $(COMPBASE)\lib\gcc.lib $(COMPBASE)\lib\st\c.lib $(COMPBASE)\lib\st\c_dllso.lib $(COMPBASE)\lib\st\sys.lib $(COMPBASE)\lib\c_alias.lib $(COMPBASE)\lib\os2.lib, $(PSSRC)gsdll2.def 631 wrc $(PSOBJ)$(GS).res $(GS_XE) 632 633 $(PSOBJ)gsdll.$(OBJ): $(PSSRC)gsdll.c $(gsdll_h) $(ghost_h) $(gscdefs_h) 634 $(PSCC) $(PSO_)gsdll.$(OBJ) $(C_) $(PSSRC)gsdll.c 635 636 $(BINDIR)\$(GSDLL).dll: $(GS_ALL) $(ALL_DEVS) $(PSOBJ)gsdll.$(OBJ) 637 !if $(EMX) 638 gcc -Zdll -Zomf -Zmap -o $(BINDIR)\$(GSDLL).dll $(PSSRC)gsdll2.def $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) $(PSOBJ)gsdll.o @$(ld_tr) -ltiff -ljpeg -lpng -lz -lcups -lcupsimage -lpthread 614 639 !endif 615 640 !if $(IBMCPP) … … 623 648 624 649 $(GS_XE): $(GS_ALL) $(ALL_DEVS) 625 $(C OMPDIR)\$(COMP) $(CGDB) I$(PSSRCDIR) -I$(GLSRCDIR)-o $(PSOBJ)$(GS) $(PSOBJ)gs.$(OBJ) @$(ld_tr) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) -lm626 $(COMPDIR)\emxbind -r$(PSOBJ)$(GS).res $(COMPDIR)\emxl.exe $(PSOBJ)$(GS) $(GS_XE) -ac627 del $(PSOBJ)$(GS)650 $(CCAUX) $(CGDB) I$(PSSRCDIR) -I$(GLSRCDIR) -Zomf -Zbin-files -o $(PSOBJ)$(GS) $(PSOBJ)gs.$(OBJ) @$(ld_tr) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) -lm 651 # $(COMPDIR)\emxbind -r$(PSOBJ)$(GS).res $(COMPDIR)\emxl.exe $(PSOBJ)$(GS) $(GS_XE) -ac 652 # del $(PSOBJ)$(GS) 628 653 !endif 629 654 … … 637 662 638 663 $(PSOBJ)$(GS).res: $(PSSRC)$(GS).rc $(PSOBJ)gsos2.ico 639 rc -i $(COMPBASE)\include -i $(PSSRCDIR) -i $(PSOBJDIR) -r $(PSSRC)$(GS).rc$(PSOBJ)$(GS).res664 wrc -i=$(PSSRCDIR);$(PSOBJDIR) -r $(PSSRC)$(GS).rc -fo=$(PSOBJ)$(GS).res 640 665 641 666 … … 643 668 644 669 $(GLOBJ)gspmdrv.o: $(GLSRC)gspmdrv.c $(GLSRC)gspmdrv.h 645 $(C OMPDIR)\$(COMP) $(CGDB) $(CO) -I$(GLSRCDIR) -o $(GLOBJ)gspmdrv.o -c $(GLSRC)gspmdrv.c670 $(CCAUX) $(CGDB) $(CO) -I$(GLSRCDIR) -o $(GLOBJ)gspmdrv.o -c $(GLSRC)gspmdrv.c 646 671 647 672 $(GLOBJ)gspmdrv.res: $(GLSRC)gspmdrv.rc $(GLSRC)gspmdrv.h $(GLOBJ)gspmdrv.ico 648 rc -i $(COMPBASE)\include -i $(GLSRCDIR) -i $(GLOBJDIR) -r $(GLSRC)gspmdrv.rc$(GLOBJ)gspmdrv.res673 wrc -i=$(GLSRCDIR);$(GLOBJDIR) -r $(GLSRC)gspmdrv.rc -fo=$(GLOBJ)gspmdrv.res 649 674 650 675 $(BINDIR)\gspmdrv.exe: $(GLOBJ)gspmdrv.o $(GLOBJ)gspmdrv.res $(GLSRC)gspmdrv.def 651 $(C OMPDIR)\$(COMP) $(CGDB) $(CO) -o $(GLOBJ)gspmdrv$(GLOBJ)gspmdrv.o652 $(COMPDIR)\emxbind -p -r$(GLOBJ)gspmdrv.res -d$(GLSRC)gspmdrv.def $(COMPDIR)\emxl.exe $(GLOBJ)gspmdrv $(BINDIR)\gspmdrv.exe653 del $(GLOBJ)gspmdrv676 $(CCAUX) $(CGDB) $(CO) -o $(BINDIR)\gspmdrv.exe $(GLOBJ)gspmdrv.o 677 # $(COMPDIR)\emxbind -p -r$(GLOBJ)gspmdrv.res -d$(GLSRC)gspmdrv.def $(COMPDIR)\emxl.exe $(GLOBJ)gspmdrv $(BINDIR)\gspmdrv.exe 678 # del $(GLOBJ)gspmdrv 654 679 655 680 # Create a ZIP archive
Note:
See TracChangeset
for help on using the changeset viewer.