annotate etc/tests/external-widget/Makefile @ 8:4b173ad71786 r19-15b5

Import from CVS: tag r19-15b5
author cvs
date Mon, 13 Aug 2007 08:47:35 +0200
parents ac2d302a0011
children 131b0175ea99
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 2
diff changeset
1 CFLAGs += -Xc -g -DTOOLTALK
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
2 EMACSHOME = ../../..
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
3 EMACSLIBDIR = $(EMACSHOME)/editor/src
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
4 EMACSINCLUDEDIR = $(EMACSHOME)/editor/src
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
5 MOTIFHOME = /opt/SUNWmotif
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
6
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
7 CPPFLAGS += -I$(OPENWINHOME)/include
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
8 LDFLAGS += -L$(OPENWINHOME)/lib -R$(OPENWINHOME)/lib
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
9
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
10 CPPFLAGS += -I$(MOTIFHOME)/include
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
11 LDFLAGS += -L$(MOTIFHOME)/lib -R$(MOTIFHOME)/lib
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
12
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
13 CPPFLAGS += -I$(EMACSINCLUDEDIR)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
14 LDFLAGS += -L$(EMACSLIBDIR)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
15
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
16 LDFLAGS += -R$(OPENWINHOME)/lib:$(EMACSLIBDIR) -g
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
17
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
18 TM_OBJS = test-ew-motif.o
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
19 TXL_OBJS = test-ew-xlib.o
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
20 MOTIF_LIBS = -Bstatic -lextcli_Xm -Bdynamic -lXm -lXt -ltt -lX11 -lgen -lm
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
21 XLIB_LIBS = -Bstatic -lextcli_Xlib -Bdynamic -ltt -lX11 -lgen -lm
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
22
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
23 all: test-ew-motif
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
24
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
25 test-ew-motif: $(TM_OBJS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
26 $(CC) -o $@ $(LDFLAGS) $(TM_OBJS) $(MOTIF_LIBS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
27
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
28 test-ew-xlib: $(TXL_OBJS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
29 $(CC) -o $@ $(LDFLAGS) $(TXL_OBJS) $(XLIB_LIBS)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents:
diff changeset
30