# $Header: /usr5/vsrt/vsrt/RCS/Makefile,v 2.0 1997/06/15 19:45:53 andy Rel $ # # Copyright (c) 1997 X/Open Company Ltd., A member of The Open Group # # All rights reserved. No part of this source code may be reproduced, # stored in a retrieval system, or transmitted, in any form or by any # means, electronic, mechanical, photocopying, recording or otherwise, # except as stated in the end-user licence agreement, without the prior # permission of the copyright owners. # # Motif, OSF/1 and UNIX are registered trademarks and X/Open, # the "X Device" and The Open Group are trademarks of The Open Group. # # Developed for X/Open by Applied Testing and Technology, Inc. # # Project: VSRT # # File: tset/rt.os/mlock/mlockall/Makefile # # Modifications: # $Log: Makefile,v $ # Revision 2.0 1997/06/15 19:45:53 andy # Branch point for Release 5.0.0b1 # # Revision 1.1 1997/05/27 18:06:53 andy # Initial revision # # Revision 1.1 1997/04/29 01:08:12 andy # Initial revision # CC = cc RM = rm -f LINT = lint LINT1 = /usr/lib/lint1 # This is a working lint in the top level testset directory PRINTER = lpr PRINTFLAGS = TET_EXECUTE = ../../../../TESTROOT TET_ROOT = ../../../../.. VSXDIR = ../../../../SRC SYSINC = $(VSXDIR)/SYSINC VSRT_LIBS = SYSLIBS = LIBVPORT = $(VSXLIB)/vport.a VSXINC = $(VSXDIR)/INC VSXLIB = $(VSXDIR)/LIB VSXBIN = $(VSXDIR)/BIN CHMOG = $(VSXBIN)/chmog GENLIB = $(VSXLIB)/genlib.a VSRTLIB = $(VSXLIB)/vsrtlib.a TSETLIB = $(VSXLIB)/tsetlib.a # What is installed: INSTOWN = vsx0 INSTGRP = vsxg0 INSTMODE = 755 INSTOWN1 = root INSTMODE1 = 6755 INSTDIR = $(TET_EXECUTE)/tset/rt.os/mlock/mlockall # Local (to this product only) includes, libraries, etc: LOCALINC = LOCALLIB = # product-wide libraries for ld(1): LIBS = $(VSRTLIB) $(TSETLIB) $(GENLIB) $(VSXLIB)/vlib.a $(LIBVPORT) $(TET_ROOT)/lib/posix_c/libapi.a DBUG = COPTS = SDBFLAG = DEFINES = # INCS, as seen from obj directory INCS = -I$(TET_ROOT)/inc/posix_c -I$(VSXINC) -I$(SYSINC) CFLOCAL = CFLAGS = $(CFLOCAL) $(INCS) $(DEFINES) $(DBUG) $(COPTS) $(SDBFLAG) LDFLAGS = CFILES = mlockall.c OFILES = mlockall.o CFILES1 = mlockall1.c OFILES1 = mlockall1.o CFILES2 = mlockall2.c OFILES2 = mlockall2.o CFILES3 = mlockall3.c OFILES3 = mlockall3.o CFILES4 = mlockall4.c OFILES4 = mlockall4.o CFILES5 = mlockall5.c OFILES5 = mlockall5.o IFILES = LFILES = OLDLINT = TRUE LINTFLAGS = $(INCS) $(DEFINES) -n LINTLIBS = -lvsx -lvlib -ltset -lgen -lvport LINTDRV = $(VSXDIR)/common/tet_startup/startup.c # Targets: --------------------------------------------------------- all: T.mlockall mlockall1 mlockall2 mlockall3 mlockall4 mlockall5 mlockall: T.mlockall mlockall1 mlockall2 mlockall3 mlockall4 mlockall5 T.mlockall: $(OFILES) $(TET_ROOT)/lib/posix_c/tcm.o $(VSXLIB)/startup.o $(LIBS) $(CC) -o $@ $(OFILES) $(TET_ROOT)/lib/posix_c/tcm.o $(VSXLIB)/startup.o $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" mlockall1: $(OFILES1) $(TCMCHILD) $(LIBS) $(CC) -o $@ $(OFILES1) $(TCMCHILD) $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" mlockall2: $(OFILES2) $(TCMCHILD) $(LIBS) $(CC) -o $@ $(OFILES2) $(TCMCHILD) $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" mlockall3: $(OFILES3) $(TCMCHILD) $(LIBS) $(CC) -o $@ $(OFILES3) $(TCMCHILD) $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" mlockall4: $(OFILES4) $(TCMCHILD) $(LIBS) $(CC) -o $@ $(OFILES4) $(TCMCHILD) $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" mlockall5: $(OFILES5) $(TCMCHILD) $(LIBS) $(CC) -o $@ $(OFILES5) $(TCMCHILD) $(LIBS) $(VSRT_LIBS) $(LDFLAGS) @echo " $@ made" $(LIBS): -@echo "Warning: cannot continue making: $@ needs to be installed" @false INSTALL: $(INSTDIR)/T.mlockall $(INSTDIR)/mlockall1 $(INSTDIR)/mlockall2 $(INSTDIR)/mlockall3 $(INSTDIR)/mlockall4 $(INSTDIR)/mlockall5 $(INSTDIR)/T.mlockall: T.mlockall $(CHMOG) $(INSTMODE) $(INSTOWN) $(INSTGRP) -m $? $@ @echo " $? installed in $@" $(INSTDIR)/mlockall1: mlockall1 $(CHMOG) $(INSTMODE1) $(INSTOWN1) $(INSTGRP) -m $? $@ $(INSTDIR)/mlockall2: mlockall2 $(CHMOG) $(INSTMODE1) $(INSTOWN1) $(INSTGRP) -m $? $@ $(INSTDIR)/mlockall3: mlockall3 $(CHMOG) $(INSTMODE1) $(INSTOWN1) $(INSTGRP) -m $? $@ $(INSTDIR)/mlockall4: mlockall4 $(CHMOG) $(INSTMODE1) $(INSTOWN1) $(INSTGRP) -m $? $@ $(INSTDIR)/mlockall5: mlockall5 $(CHMOG) $(INSTMODE1) $(INSTOWN1) $(INSTGRP) -m $? $@ LINTLIB: LINT: $(LINT) $(LINTFLAGS) $(CFILES) $(LINTDRV) -ltcm $(LINTLIBS) FORCE: CLOBBER all PRINT: @$(PRINTER) $(PRINTFLAGS) Makefile $(IFILES) $(CFILES) CLEAN: $(RM) $(OFILES) CLOBBER: CLEAN $(RM) T.mlockall $(INSTDIR)/T.mlockall depend: CFLAGS="$(CFLAGS)" CC="$(CC)" $(VSXBIN)/mkdep $(CFILES) # DO NOT DELETE THIS LINE -- make depend uses it # DEPENDENCIES MUST END AT END OF FILE mlockall.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h mlockall1.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h mlockall2.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h mlockall3.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h mlockall4.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h mlockall5.o: ../../../../../inc/posix_c/tet_api.h \ ../../../../SRC/INC/dbug.h \ ../../../../SRC/INC/exitcodes.h \ ../../../../SRC/INC/report.h \ ../../../../SRC/INC/std.h \ ../../../../SRC/INC/sysdep.h \ ../../../../SRC/INC/vsrt/vsrt.h \ ../../../../SRC/SYSINC/errno.h \ ../../../../SRC/SYSINC/sys/mman.h \ ../../../../SRC/SYSINC/limits.h \ ../../../../SRC/SYSINC/signal.h \ ../../../../SRC/SYSINC/stdio.h \ ../../../../SRC/SYSINC/sys/types.h \ ../../../../SRC/SYSINC/time.h \ ../../../../SRC/SYSINC/unistd.h # DEPENDENCIES MUST END AT END OF FILE # IF YOU PUT STUFF HERE IT WILL GO AWAY # see make depend above