| 1 |
# @(#)makefile 17.1 (ESO-IPG) 01/25/02 17:26:34 |
| 2 |
# |
| 3 |
# $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $ |
| 4 |
#--------------------------------------------------------------------- |
| 5 |
# |
| 6 |
# |
| 7 |
# Copyright (c) 1992, Visual Edge Software Ltd. |
| 8 |
# |
| 9 |
# ALL RIGHTS RESERVED. Permission to use, copy, modify, and |
| 10 |
# distribute this software and its documentation for any purpose |
| 11 |
# and without fee is hereby granted, provided that the above |
| 12 |
# copyright notice appear in all copies and that both that |
| 13 |
# copyright notice and this permission notice appear in supporting |
| 14 |
# documentation, and that the name of Visual Edge Software not be |
| 15 |
# used in advertising or publicity pertaining to distribution of |
| 16 |
# the software without specific, written prior permission. The year |
| 17 |
# included in the notice is the year of the creation of the work. |
| 18 |
#--------------------------------------------------------------------- |
| 19 |
# |
| 20 |
# make makes runtime library with no message |
| 21 |
# catalog |
| 22 |
# make CATALOG=XOPEN makes runtime library with |
| 23 |
# X/OPEN message catalog |
| 24 |
# |
| 25 |
# |
| 26 |
#--------------------------------------------------------------------- |
| 27 |
# |
| 28 |
# .VERSION 3.0 930308: Using default.mk file |
| 29 |
|
| 30 |
include ../../../../../local/default.mk |
| 31 |
|
| 32 |
PRODUCT = uimx |
| 33 |
|
| 34 |
INCLUDES = -I. -I../include -I$(INC) $(X11INC) $(XMINC) |
| 35 |
|
| 36 |
CFLAGS += $(C_OPT) $(DEBUG) $(GUI_OPT) $(INCLUDES) \ |
| 37 |
-DRUNTIME -DUSE_STDLIB -DMOTIF_WIDGETS -DSAFE_MALLOC \ |
| 38 |
-D$(CATALOG)_CATALOG -D_PTY_DRIVER |
| 39 |
|
| 40 |
LIB = ../../../../lib/lib$(PRODUCT).a |
| 41 |
|
| 42 |
PRODUCT_VERSION = uimx2_5 |
| 43 |
CATALOG = NONE |
| 44 |
|
| 45 |
############################################################## |
| 46 |
# Target for each machine |
| 47 |
|
| 48 |
#all: $(MAKEFILE_VMS) $(LIB) |
| 49 |
all: $(LIB) |
| 50 |
|
| 51 |
$(MAKEFILE_VMS): makefile |
| 52 |
$(MAKE_VMS) |
| 53 |
|
| 54 |
OBJECTS =\ |
| 55 |
center_vis.o\ |
| 56 |
colors.o\ |
| 57 |
dstring.o\ |
| 58 |
enum_type.o\ |
| 59 |
filepath.o\ |
| 60 |
UxMethod.o \ |
| 61 |
resload.o\ |
| 62 |
types.o\ |
| 63 |
utype.o\ |
| 64 |
valloc.o\ |
| 65 |
subproc.o\ |
| 66 |
sp_utils.o\ |
| 67 |
sp_spmd.o\ |
| 68 |
swidget.o \ |
| 69 |
t_error.o\ |
| 70 |
uimx.o\ |
| 71 |
user-rtime.o\ |
| 72 |
user-xtype.o\ |
| 73 |
user-misc.o\ |
| 74 |
uxdd.o\ |
| 75 |
uxddMF.o\ |
| 76 |
cat_utils.o \ |
| 77 |
str_utils.o \ |
| 78 |
unit.o \ |
| 79 |
ux_error.o \ |
| 80 |
utypevars.o \ |
| 81 |
XpmRdFToP.o \ |
| 82 |
XpmRdFToI.o \ |
| 83 |
hashtable.o \ |
| 84 |
create.o \ |
| 85 |
parse.o \ |
| 86 |
data.o \ |
| 87 |
misc.o \ |
| 88 |
uxpm.o \ |
| 89 |
UxXpm.o \ |
| 90 |
uxcreate.o |
| 91 |
|
| 92 |
$(LIB): $(OBJECTS) |
| 93 |
@echo building $(LIB) |
| 94 |
$(AR) $(AR_OPT) $(LIB) $(OBJECTS) |
| 95 |
$(RANLIB) $(LIB) |
| 96 |
|
| 97 |
XOPEN: |
| 98 |
gencat lib$(PRODUCT).cat lib$(PRODUCT).msg |
| 99 |
|
| 100 |
clean: |
| 101 |
rm -f *.o |