| 1 | # @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:31:36 |
| 2 | # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 | # all rights reserved |
| 4 | # .TYPE make file |
| 5 | # .NAME $MIDASHOME/$MIDVERS/system/idiserver/libsr/makefile |
| 6 | # .LANGUAGE makefile syntax |
| 7 | # .ENVIRONMENT Unix Systems. |
| 8 | # .COMMENT Compiles source files and generates "libidicl." library |
| 9 | # |
| 10 | # .REMARKS |
| 11 | # .AUTHOR K. Banse |
| 12 | # .VERSION 1.5 881114 |
| 13 | # .VERSION 3.1 890629 add Xtest.exe KB |
| 14 | # .VERSION 4.1 901203 New directory structure. CG. |
| 15 | # .VERSION 4.2 901221 add fontsup.exe KB |
| 16 | # .VERSION 4.3 910923 throw out preinstall stuff for VMS KB |
| 17 | # .VERSION 4.4 911220 throw out creadsp.c (merged with wndcrea.c) KB |
| 18 | # .VERSION 3.0 930308: Using default.mk file |
| 19 | # .VERSION 3.1 940314: Creating only the libidicl library. CG. |
| 20 | |
| 21 | include ../../../local/default.mk |
| 22 | |
| 23 | CFLAGS += $(C_OPT) $(DEBUG) $(SH_OPT) $(SYS) -I$(INC) $(X11INC) |
| 24 | |
| 25 | LIBOUT= $(LIBDIR)/libidicl.a |
| 26 | |
| 27 | OBJ = idiclt.o |
| 28 | |
| 29 | # DEPENDENCIES; |
| 30 | all: $(MAKEFILE_VMS) $(LIBOUT) |
| 31 | |
| 32 | $(MAKEFILE_VMS): makefile |
| 33 | $(MAKE_VMS) |
| 34 | |
| 35 | $(LIBOUT): $(OBJ) |
| 36 | $(AR) $(AR_OPT) $(LIBOUT) $(OBJ) |
| 37 | $(RANLIB) $(LIBOUT) |
| 38 | |
| 39 | clean: |
| 40 | rm -f $(OBJ) |