diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/LYEdit.c | 2 | ||||
-rw-r--r-- | src/LYMail.c | 10 | ||||
-rw-r--r-- | src/LYPrint.c | 2 | ||||
-rw-r--r-- | src/chrtrans/makefile.msc | 105 |
4 files changed, 110 insertions, 9 deletions
diff --git a/src/LYEdit.c b/src/LYEdit.c index 935cfe0c..e9b9a88d 100644 --- a/src/LYEdit.c +++ b/src/LYEdit.c @@ -48,7 +48,7 @@ PUBLIC int edit_current_file ARGS3( char *number_sign; char position[80]; FILE *fp; -#ifdef __CYGWIN__ +#if defined(__CYGWIN__) && defined(DOSPATH) unsigned char temp_buff[LY_MAXPATH]; #endif diff --git a/src/LYMail.c b/src/LYMail.c index 613b0556..3544ba46 100644 --- a/src/LYMail.c +++ b/src/LYMail.c @@ -157,7 +157,7 @@ PUBLIC void mailform ARGS4( FILE *hfd; char hdrfile[LY_MAXPATH]; #endif -#if defined(VMS) || defined(DOSPATH) || defined(SH_EX) +#if !CAN_PIPE_TO_MAILER char *command = NULL; char my_tmpfile[LY_MAXPATH]; #endif @@ -707,11 +707,9 @@ PUBLIC void mailmsg ARGS4( #ifdef ALERTMAIL BOOLEAN skip_parsing = FALSE; #endif -#if defined(DOSPATH) || defined(WIN_EX) +#if !CAN_PIPE_TO_MAILER char *ccaddr; char subject[128]; -#endif -#if defined(VMS) || defined(DOSPATH) || defined(WIN_EX) char my_tmpfile[LY_MAXPATH]; #endif #ifdef VMS @@ -1031,10 +1029,8 @@ PUBLIC void reply_by_mail ARGS4( int i, len; int c = 0; /* user input */ char my_tmpfile[LY_MAXPATH], cmd[512]; -#if defined(DOSPATH) || defined(WIN_EX) +#if !CAN_PIPE_TO_MAILER char tmpfile2[LY_MAXPATH]; -#endif -#if defined(DOSPATH) || defined(WIN_EX) || defined(VMS) char *command = NULL; #endif #ifndef NO_ANONYMOUS_EMAIL diff --git a/src/LYPrint.c b/src/LYPrint.c index ca05d3a1..640386cd 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -476,7 +476,7 @@ PRIVATE void send_file_to_mail ARGS3( char hdrfile[LY_MAXPATH]; char my_temp[LY_MAXPATH]; #endif -#if defined(DOSPATH) +#if !CAN_PIPE_TO_MAILER char my_temp[LY_MAXPATH]; #endif diff --git a/src/chrtrans/makefile.msc b/src/chrtrans/makefile.msc index 6885a616..409c07c7 100644 --- a/src/chrtrans/makefile.msc +++ b/src/chrtrans/makefile.msc @@ -15,9 +15,114 @@ LIBS = user32.lib wsock32.lib COMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(DEFS) LINK = $(LD) $(LDFLAGS) /out:$@ + +.SUFFIXES: .tbl +# +# This file contains the font map for the default (hardware) font +# + +FONTMAP_INC = iso01_un.h + +TABLES= \ + cp1250_uni.h \ + cp1251_uni.h \ + cp1252_uni.h \ + cp1253_uni.h \ + cp1255_uni.h \ + cp1256_uni.h \ + cp1257_uni.h \ + cp437_uni.h \ + cp737_uni.h \ + cp775_uni.h \ + cp850_uni.h \ + cp852_uni.h \ + cp862_uni.h \ + cp864_uni.h \ + cp866_uni.h \ + cp866u_uni.h \ + cp869_uni.h \ + def7_uni.h \ + dmcs_uni.h \ + hp_uni.h \ + iso01_uni.h \ + iso02_uni.h \ + iso03_uni.h \ + iso04_uni.h \ + iso05_uni.h \ + iso06_uni.h \ + iso07_uni.h \ + iso08_uni.h \ + iso09_uni.h \ + iso10_uni.h \ + iso15_uni.h \ + koi8r_uni.h \ + koi8u_uni.h \ + mac_uni.h \ + mnem2_suni.h \ + mnem_suni.h \ + next_uni.h \ + rfc_suni.h \ + utf8_uni.h \ + viscii_uni.h + +default: $(TABLES) + +fontmap: $(FONTMAP_INC) + makeuctb.exe : makeuctb.obj $(LINK) makeuctb.obj $(LIBS) makeuctb.obj : makeuctb.c $(COMPILE) makeuctb.c +.tbl.h: + makeuctb $*.tbl + +cp1250_uni.h: cp1250_uni.tbl makeuctb.exe +cp1251_uni.h: cp1251_uni.tbl makeuctb.exe +cp1252_uni.h: cp1252_uni.tbl makeuctb.exe +cp1253_uni.h: cp1253_uni.tbl makeuctb.exe +cp1255_uni.h: cp1255_uni.tbl makeuctb.exe +cp1256_uni.h: cp1256_uni.tbl makeuctb.exe +cp1257_uni.h: cp1257_uni.tbl makeuctb.exe +cp437_uni.h: cp437_uni.tbl makeuctb.exe +cp737_uni.h: cp737_uni.tbl makeuctb.exe +cp775_uni.h: cp775_uni.tbl makeuctb.exe +cp850_uni.h: cp850_uni.tbl makeuctb.exe +cp852_uni.h: cp852_uni.tbl makeuctb.exe +cp862_uni.h: cp862_uni.tbl makeuctb.exe +cp864_uni.h: cp864_uni.tbl makeuctb.exe +cp866_uni.h: cp866_uni.tbl makeuctb.exe +cp866u_uni.h: cp866u_uni.tbl makeuctb.exe +cp869_uni.h: cp869_uni.tbl makeuctb.exe +def7_uni.h: def7_uni.tbl makeuctb.exe +dmcs_uni.h: dmcs_uni.tbl makeuctb.exe +hp_uni.h: hp_uni.tbl makeuctb.exe +iso01_uni.h: iso01_uni.tbl makeuctb.exe +iso02_uni.h: iso02_uni.tbl makeuctb.exe +iso03_uni.h: iso03_uni.tbl makeuctb.exe +iso04_uni.h: iso04_uni.tbl makeuctb.exe +iso05_uni.h: iso05_uni.tbl makeuctb.exe +iso06_uni.h: iso06_uni.tbl makeuctb.exe +iso07_uni.h: iso07_uni.tbl makeuctb.exe +iso08_uni.h: iso08_uni.tbl makeuctb.exe +iso09_uni.h: iso09_uni.tbl makeuctb.exe +iso10_uni.h: iso10_uni.tbl makeuctb.exe +iso15_uni.h: iso15_uni.tbl makeuctb.exe +koi8r_uni.h: koi8r_uni.tbl makeuctb.exe +koi8u_uni.h: koi8u_uni.tbl makeuctb.exe +mac_uni.h: mac_uni.tbl makeuctb.exe +mnem2_suni.h: mnem2_suni.tbl makeuctb.exe +mnem_suni.h: mnem_suni.tbl makeuctb.exe +next_uni.h: next_uni.tbl makeuctb.exe +rfc_suni.h: rfc_suni.tbl makeuctb.exe +utf8_uni.h: utf8_uni.tbl makeuctb.exe +viscii_uni.h: viscii_uni.tbl makeuctb.exe + +clean : + - erase *.obj + - erase *.exe + - for %%i in ( $(TABLES) ) do erase %%i + +distclean : clean + - erase *.bak |