home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-07-13 | 2.9 KB | 103 lines |
- # Eunice finger makefile
-
- CFLAGS= -O
- SRCS= finger.c getidle.c rmtinfo.c vmsperror.c
- OBJS= finger.o getidle.o rmtinfo.o vmsperror.o syssym.o
-
- # Ignore vms_struct exit status, it's random.
- VMSSTRUCT= -/etc/vms/vms_struct
-
- # Map can be in different places if running a cluster.
- #SYSMAP= /sys/sysexe/sys.map
- SYSMAP= /sys/syscommon/sysexe/sys.map
-
- finger: ${OBJS}
- ${CC} -noshare -notraceback finger.c -o finger ${OBJS}
-
- lint:
- lint -hbx ${COPTS} ${SRCS}
-
- clean:
- rm -f ${OBJS} syssym.s *.mar vms/*.h finger core
-
- finger.o: finger.c vms/dvidef.h vms/jpidef.h vms/ssdef.h \
- vms/statedef.h vms/tt2def.h vms/ttdef.h
-
- getidle.o: getidle.c vms/dcdef.h vms/ddbdef.h vms/devdef.h \
- vms/ssdef.h vms/ttyucbdef.h vms/ucbdef.h
-
- rmtinfo.o: rmtinfo.c vms/nfbdef.h vms/ssdef.h vms/iodef.h
-
- syssym.s:
- egrep 'GL_ABSTIM|GL_DEVLIST|IPID_TO_EPID' ${SYSMAP} | \
- tr A-Z a-z | awk -f syssym.awk >syssym.s
-
- syssym.o: syssym.s
- as -o syssym.o syssym.s
-
- vms/dcdef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$dcdef) /out=dcdef.mar'
- ${VMSSTRUCT} dcdef.mar >vms/dcdef.h
- rm -f dcdef.mar
-
- vms/ddbdef.h: ddbdef.i
- vms library 'sys$$library:lib.mlb /extra=($$ddbdef) /out=ddbdef.mar'
- ${VMSSTRUCT} -i ddbdef.i ddbdef.mar >vms/ddbdef.h
- rm -f ddbdef.mar
-
- vms/devdef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$devdef) /out=devdef.mar'
- ${VMSSTRUCT} devdef.mar >vms/devdef.h
- rm -f devdef.mar
-
- vms/dvidef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$dvidef) /out=dvidef.mar'
- ${VMSSTRUCT} dvidef.mar >vms/dvidef.h
- rm -f dvidef.mar
-
- vms/iodef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$iodef) /out=iodef.mar'
- ${VMSSTRUCT} iodef.mar >vms/iodef.h
- rm -f iodef.mar
-
- vms/jpidef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$jpidef) /out=jpidef.mar'
- ${VMSSTRUCT} jpidef.mar >vms/jpidef.h
- rm -f jpidef.mar
-
- vms/nfbdef.h:
- vms library 'sys$$library:lib.mlb /extra=($$nfbdef) /out=nfbdef.mar'
- ${VMSSTRUCT} nfbdef.mar >vms/nfbdef.h
- rm -f nfbdef.mar
-
- vms/ssdef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$ssdef) /out=ssdef.mar'
- ${VMSSTRUCT} ssdef.mar >vms/ssdef.h
- rm -f ssdef.mar
-
- vms/statedef.h:
- vms library 'sys$$library:lib.mlb /extra=($$statedef) /out=statedef.mar'
- ${VMSSTRUCT} statedef.mar >vms/statedef.h
- rm -f statedef.mar
-
- vms/tt2def.h:
- vms library 'sys$$library:starlet.mlb /extra=($$tt2def) /out=tt2def.mar'
- ${VMSSTRUCT} tt2def.mar >vms/tt2def.h
- rm -f tt2def.mar
-
- vms/ttdef.h:
- vms library 'sys$$library:starlet.mlb /extra=($$ttdef) /out=ttdef.mar'
- ${VMSSTRUCT} ttdef.mar >vms/ttdef.h
- rm -f ttdef.mar
-
- vms/ttyucbdef.h:
- vms library 'sys$$library:lib.mlb /extra=($$ttyucbdef) /out=ttyucbdef.mar'
- egrep -v 'W_TT_DESIZE|W_RTT_SYSTYPE' ttyucbdef.mar >ttyucbdef.mar2
- ${VMSSTRUCT} ttyucbdef.mar2 >vms/ttyucbdef.h
- rm -f ttyucbdef.mar ttyucbdef.mar2
-
- vms/ucbdef.h: ucbdef.i
- vms library 'sys$$library:lib.mlb /extra=($$ucbdef) /out=ucbdef.mar'
- ${VMSSTRUCT} -i ucbdef.i ucbdef.mar >vms/ucbdef.h
- rm -f ucbdef.mar
-