Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 67 lines (54 sloc) 1.29 KB
! MMS description file for libnut (NCSA Unix Tools Library)
! George E. Cook, WVNET, 14-Feb-1996
! Mosaic 2.6-2
!
! You may have to use the /IGNORE=WARNING qualifier to make MMS run all
! the way through if you get (acceptable) compilation warnings.
!
WDIR = [.$(WORK)]
LIBTARGET = $(WDIR)libnut.olb
.IFDEF DECC
.IFDEF PATHWAY
.INCLUDE [-.TWG]DECC_PREFIX_RULES.MMS
CQUALC=/DECC $(CC_PREFIX_NO_SIN)
.ELSE
.IFDEF MULTINET
CQUALC=/DECC/Prefix=ANSI/Define=(MULTINET)
.ELSE
CQUALC=/DECC/Prefix=ALL
.ENDIF
.ENDIF
.ELSE ! Not DEC C
.IFDEF DECCVAXC
CQUALC=/VAXC
.ELSE
CQUALC=
.ENDIF
.ENDIF
.IFDEF DEBUG
CFLAGS = $(CQUALC)/NoOpt/Debug
.ELSE
CFLAGS = $(CQUALC)
.ENDIF
OBJECTS = Odir:mm.obj Odir:str-tools.obj Odir:system.obj Odir:url-utils.obj \
Odir:ellipsis.obj
.FIRST
@ If F$Search("$(LIBTARGET)") .EQS. "" Then Library/Create $(LIBTARGET)
@ Define/NoLog Odir $(WDIR)
.IFDEF PATHWAY
@ @[-.TWG]def
.ENDIF
$(LIBTARGET) : $(LIBTARGET)($(OBJECTS))
@ Write SYS$Output "Library libnut.olb built."
Odir:mm.obj : mm.c
Odir:str-tools.obj : str-tools.c
Odir:system.obj : system.c
Odir:url-utils.obj : url-utils.c
Odir:ellipsis.obj : ellipsis.c
.c.obj
$(CC)$(CFLAGS)/OBJECT=$@ $<
.obj.olb
$(LIBR) $(LIBRFLAGS) $(MMS$TARGET) $(MMS$SOURCE)
clean :
Delete/Log $(WDIR)*.OBJ;*
Delete/Log $(LIBTARGET);*
Something went wrong with that request. Please try again.