1 # $XConsortium: Makefile.uxp /main/1 1996/08/23 08:21:04 barstow $
2 ##########################################################################
4 # Makefile for dtdts examples (UXP)
6 # (c) Copyright 1996 Digital Equipment Corporation.
7 # (c) Copyright 1996 Hewlett-Packard Company.
8 # (c) Copyright 1996 International Business Machines Corp.
9 # (c) Copyright 1996 Sun Microsystems, Inc.
10 # (c) Copyright 1996 Novell, Inc.
11 # (c) Copyright 1996 FUJITSU LIMITED.
12 # (c) Copyright 1996 Hitachi.
14 ##########################################################################
20 SOURCES = datatyping.c
21 OBJECTS = datatyping.o
25 CFLAGS = -Xc $(DEFINES) $(CDEBUGFLAGS)
27 DTINCLUDE = -I/usr/dt/include
29 INCLUDES = $(DTINCLUDE)
31 DTLIBS = -L/usr/dt/lib -lDtSvc -lXm
33 SYSLIBS = -lw -lgen -lnsl -lresolv -lsocket
35 LIBRARIES = $(DTLIBS) $(X11LIBS) $(SYSLIBS)
39 $(CC) -c $(CFLAGS) $(INCLUDES) $<
43 $(PROGRAM):: $(OBJECTS)
44 $(CC) -o $(PROGRAM) $(LDFLAGS) $(OBJECTS) $(LIBRARIES)
47 $(RM) $(PROGRAM) $(OBJECTS)