| 1 |
#% @(#)makefile 19.1 (ESO-IPG) 02/25/03 13:56:10 |
| 2 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/libsrc/os/vms/makefile |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "libos.a" library. |
| 9 |
# |
| 10 |
# .REMARKS |
| 11 |
# .AUTHOR Carlos Guirao |
| 12 |
# .VERSION 1.1 880831: Implementation |
| 13 |
# .VERSION 2.1 901203: New directory structure. CG |
| 14 |
# .VERSION 2.2 920521: Removing MLIB CG |
| 15 |
# .VERSION 2.3 920716: osm.c is common to bsd & sysv. CG. |
| 16 |
# .VERSION 2.4 920904: Adding SHSYS for share libraries. CG. |
| 17 |
# .VERSION 3.0 930308: Using default.mk file |
| 18 |
|
| 19 |
include ../../../local/default.mk |
| 20 |
|
| 21 |
LIB = $(LIBDIR)/libos.a |
| 22 |
|
| 23 |
OBJ = osa.o osd.o osc.o osf.o osfvms.o osfparse.o osh.o oshproc.o \ |
| 24 |
osmemory.o osmessage.o osx.o ospsystem.o ospwait.o ost.o osu.o \ |
| 25 |
osm.o oss.o osl.o osstr.o iodev.o iodev0.o iodev1.o iodev2.o |
| 26 |
|
| 27 |
# DEPENDENCIES: |
| 28 |
|
| 29 |
all: $(MAKEFILE_VMS) $(LIB) |
| 30 |
|
| 31 |
$(MAKEFILE_VMS): makefile |
| 32 |
$(MAKE_VMS) |
| 33 |
|
| 34 |
$(LIB): $(OBJ) |
| 35 |
$(AR) $(AR_OPT) $(LIB) $(OBJ) |
| 36 |
$(RANLIB) $(LIB) |
| 37 |
|
| 38 |
clean: |
| 39 |
rm -f $(OBJ) |