summaryrefslogtreecommitdiff
path: root/xc/unsupported/lib/PHIGS/cp/Imakefile
blob: c04afea6d7de5a067fe735c70c21a8613ebf0633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
XCOMM
XCOMM $XConsortium: Imakefile,v 5.19 94/04/17 20:41:07 rws Exp $
XCOMM
XCOMM 
XCOMM Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium
XCOMM 
XCOMM			 All Rights Reserved
XCOMM 
XCOMM Permission to use, copy, modify, and distribute this software and its 
XCOMM documentation for any purpose and without fee is hereby granted, 
XCOMM provided that the above copyright notice appear in all copies and that
XCOMM both that copyright notice and this permission notice appear in 
XCOMM supporting documentation, and that the names of Sun Microsystems
XCOMM and the X Consortium not be used in advertising or publicity 
XCOMM pertaining to distribution of the software without specific, written 
XCOMM prior permission.  
XCOMM 
XCOMM SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
XCOMM INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
XCOMM EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
XCOMM CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
XCOMM USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
XCOMM OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
XCOMM PERFORMANCE OF THIS SOFTWARE.

#include <Library.tmpl>

#ifndef PexPhigsCDebugFlags
#define PexPhigsCDebugFlags LibraryCDebugFlags
#endif

#if HasBSD44Sockets
   SOCK_DEFINES = -DBSD44SOCKETS
#endif


  CCOPTIONS = PexCCOptions
CDEBUGFLAGS = PexPhigsCDebugFlags
    DEFINES = PexPhigsDefines

CSRCS = cp_util.c cp_ccom.c cp_rcom.c cp_inp.c psl.c \
	cpx_clnt.c cpx_util.c cpx_css.c cpx_ws.c cpx_ar.c cpx_misc.c cpx_pm.c \
	cpa_clnt.c cpa_util.c cpa_css.c cpa_ws.c cpa_pm.c \
	cpb_clnt.c cpb_util.c cpb_css.c cpb_ws.c cpb_pm.c \
	cpm_xevnt.c cpm_tlkt.c

OBJS = cp_util.o cp_ccom.o cp_rcom.o cp_inp.o psl.o \
	cpx_clnt.o cpx_util.o cpx_css.o cpx_ws.o cpx_ar.o cpx_misc.o cpx_pm.o \
	cpa_clnt.o cpa_util.o cpa_css.o cpa_ws.o cpa_pm.o \
	cpb_clnt.o cpb_util.o cpb_css.o cpb_ws.o cpb_pm.o \
	cpm_xevnt.o cpm_tlkt.o

SRCS = $(CSRCS) phigsmon.c

MONDEPLIBS = ../libphigs.a XawClientDepLibs
MONLIBS = ../libphigs.a XawClientLibs
SYSLIBS = -lm

   PEXAPIINC = -I../include
  PEXINCLUDE = -I$(SERVERSRC)/PEX5/include
    INCLUDES = $(PEXAPIINC) $(PEXINCLUDE) -I$(INCLUDESRC)

LINTLIBS = ../util/llib-lut.ln ../error/llib-lerr.ln ../pex/llib-lpex.ln \
		../ws_type/llib-lwst.ln ../ws/llib-lws.ln ../input/llib-linp.ln

SubdirLibraryRule($(OBJS))

NormalProgramTarget(phigsmon,phigsmon.o,$(MONDEPLIBS),$(MONLIBS),$(SYSLIBS))

NormalLintTarget($(CSRCS))

LintLibraryTarget(cp,$(CSRCS))

SpecialCObjectRule(cp_ccom,$(ICONFIGFILES),$(SOCK_DEFINES))
SpecialCObjectRule(phigsmon,$(ICONFIGFILES),$(SOCK_DEFINES))

DependTarget()