| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
include ../../../local/default.mk |
| 25 |
|
| 26 |
M = ../../exec |
| 27 |
|
| 28 |
CFLAGS += $(C_OPT) $(DEBUG) $(MEM_OPT) $(SYS) -I$(INC) $(X11INC) |
| 29 |
|
| 30 |
LLIB0= -L$(LIBDIR) -lmidas |
| 31 |
LLIB1 = -L$(LIBDIR) -lgmidas -lmidas |
| 32 |
LLIB2 = -L$(LIBDIR) -ldisp -lgen -lsubplot -lidi -lgmidas -lmidas |
| 33 |
|
| 34 |
LIB0 = $(LIBDIR)/libmidas.a |
| 35 |
|
| 36 |
LIB1 = $(LIBDIR)/libgmidas.a \ |
| 37 |
$(LIBDIR)/libmidas.a |
| 38 |
|
| 39 |
LIB2 = $(LIBDIR)/libdisp.a \ |
| 40 |
$(LIBDIR)/libgen.a \ |
| 41 |
$(LIBDIR)/libsubplot.a \ |
| 42 |
$(LIBDIR)/libidi.a \ |
| 43 |
$(LIBDIR)/libgmidas.a \ |
| 44 |
$(LIBDIR)/libmidas.a |
| 45 |
|
| 46 |
IDISERV=idiserv |
| 47 |
OUT = $(M)/$(IDISERV).exe $(M)/killidi.exe \ |
| 48 |
$(M)/fontsup.exe Xtest.exe |
| 49 |
|
| 50 |
OBJ = idiserv.o \ |
| 51 |
xwimg.o killidi.o fontsup.o Xtest.o cursdemo.o textdemo.o |
| 52 |
|
| 53 |
|
| 54 |
all: $(MAKEFILE_VMS) $(OUT) ididebug idigo |
| 55 |
|
| 56 |
$(MAKEFILE_VMS): makefile |
| 57 |
$(MAKE_VMS) |
| 58 |
|
| 59 |
$(M)/idiserv.exe: idiserv.o xwimg.o $(LIB2) |
| 60 |
$(LDCC) idiserv.o xwimg.o $(LLIB2) $(XWLIB) $(MLIB) $(SLIB) -o $@ |
| 61 |
$(STRIP) $@ |
| 62 |
|
| 63 |
$(M)/killidi.exe: killidi.o $(LIB0) |
| 64 |
$(LDCC) killidi.o ../libsrc/idiclt.o $(LLIB0) $(MLIB) $(SLIB) -o $@ |
| 65 |
$(STRIP) $@ |
| 66 |
|
| 67 |
$(M)/fontsup.exe: fontsup.o $(LIB0) |
| 68 |
$(LDCC) fontsup.o $(LLIB0) $(XWLIB) $(MLIB) $(SLIB) -o $@ |
| 69 |
$(STRIP) $@ |
| 70 |
|
| 71 |
Xtest.exe: Xtest.o cursdemo.o textdemo.o $(LIB0) |
| 72 |
$(LDCC) Xtest.o cursdemo.o textdemo.o $(LLIB0) $(XWLIB) $(MLIB) $(SLIB) -o $@ |
| 73 |
$(STRIP) $@ |
| 74 |
|
| 75 |
idiserv.o: $(INC)/idi.h \ |
| 76 |
$(INC)/idiserver.h \ |
| 77 |
$(INC)/idifunct.h |
| 78 |
|
| 79 |
idiclt.o: $(INC)/idi.h \ |
| 80 |
$(INC)/idiclient.h \ |
| 81 |
$(INC)/idifunct.h |
| 82 |
|
| 83 |
Xtest.o: $(INC)/idi.h \ |
| 84 |
$(INC)/x11defs.h |
| 85 |
|
| 86 |
cursdemo.o: $(INC)/idi.h \ |
| 87 |
$(INC)/x11defs.h |
| 88 |
|
| 89 |
textdemo.o: $(INC)/idi.h \ |
| 90 |
$(INC)/x11defs.h |
| 91 |
|
| 92 |
clean_exec: |
| 93 |
rm -f $(OUT) |
| 94 |
|
| 95 |
clean: |
| 96 |
rm -f $(OBJ) |
| 97 |
rm -f ididebug idigo |