#----------------------------------------------------------------------- # DIRECTORY ACCESS DEPENDENDS... # The default (no need swtich) is your machine has # opendir(),readdir(),closedir() library and 'direct' structure used. # If your machine has no opendir (), readdir (), closedir () # -DNONSYSTEM_DIR_LIBRARY # and add lhdir.obj into OBJS macro (see bellow) # If your machine are 'dirent' (not 'direct') structure used, # -DSYSV_SYSTEM_DIR # Otherwise "Give up!" # -DNODIRECTORY # #----------------------------------------------------------------------- # MEMORY ACCESS STUFF # Your machine has no BSTRING library (bcmp,bcopy,bzero). # -DNOBSTRING # #----------------------------------------------------------------------- # TIME STUFF # Your include file '' has no 'struct tm', define this. # -DSYSTIME_HAS_NO_TM # # VMS SWITCHIES = /DEFINE=(NOBSTRING,__ANSI__) OBJS = lharc.obj,lzhuf.obj,lhio.obj,vmsio.obj,wild.obj,vms_utime.obj CC = cc CFLAGS = $(SWITCHIES) LDFLAGS = TMP_OPT_FILE = sys$login:opt.opt lharc.exe : $(OBJS) @ Open/write a $(TMP_OPT_FILE) @ write a "sys$library:vaxcrtl/share" @ write a "Identification = LHarcVMS1.01" @ close a $link/exe=lharc.exe/notrace $(objs),$(TMP_OPT_FILE)/option @ delete/noconf/nolog sys$login:opt.opt;* lharc_with_rtl.exe : $(OBJS) @ Open/write a $(TMP_OPT_FILE) @ write a "Identification = LHarcVMS1.01" @ close a $link/exe=lharc.exe/notrace $(objs),sys$library:vaxcrtl/lib,$(TMP_OPT_FILE)/option @ delete/noconf/nolog sys$login:opt.opt;* lzhuf.obj lhio.obj : lhio.h # For Debugging LzHuff module. lzhuf : lzhuf_sm.obj $LINK lzhuf,sys$library:vaxcrtl/lib lzhuf_sm.obj : lzhuf.c $(CC) $(CFLAGS) /DEFINE=(SELFMAIN=1,ANSI=1) lzhuf.c /obj=lhzuh_sm.obj