ksh: fix up shipin for more modern systems WRT test and wc
[oweals/cde.git] / cde / examples / dtprint / Imakefile
1 XCOMM $XConsortium: Imakefile /main/7 1996/10/09 14:02:30 drk $
2 DESKTOP_VERSION_STRING = DesktopVersionString
3
4 /* General case INCLUDES DEFINES LOCAL_LIBRARIES
5  * Each individual architecture may have more or less of the above.
6  * USE_libraryname in LOCAL_LIBRARIES is by default empty.
7  * It should be set when necessary to the real library macro name.
8  */
9         DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
10        INCLUDES = -I.
11
12 /* DEPLIBS contains the list of library depencies for a client.
13  * LOCAL_LIBRARIES contains the list of libraries on the link line.
14  * Generally, the dependency form of a library has DEP as a prefix.
15  * e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
16  * NOTE: if DEPLIBS is not set here, it is by default null and there
17  *       are no library dependencies for clients.
18  *       You cannot put -Llibpath into DEPLIBS. You must put actual
19  *       paths to the library.
20  */
21 DEPLIBS = $(DEPDTPRINTLIB) $(DEPDTHELPLIB) $(DEPDTSVCLIB) \
22                 $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
23 LOCAL_LIBRARIES = $(DTPRINTLIB) $(DTHELPLIB) $(DTSVCLIB) $(XMLIB) \
24                   $(XTOOLLIB) $(XLIB) -L/proj/x11/xc/usrlib -lXp
25 SYS_LIBRARIES   = -lm
26
27 #ifdef RsArchitecture
28 SYS_LIBRARIES = -lmsaa -liconv
29 #endif
30
31 #if defined (SunArchitecture)
32 SYS_LIBRARIES = -lintl -L/opt/SUNWspro/SC2.0.1 -lm -lgen -ldl -lC
33 #endif
34
35 #if defined (USLArchitecture)
36 SYS_LIBRARIES = -lm -lnsl -lsocket -lgen
37 #endif
38
39 #if defined(HPOSFArchitecture)
40 #endif
41
42 PROGRAMS=dtprint
43
44 OBJS = \
45         AppSpecific.o \
46         Main.o \
47         MainWindow.o \
48         Print.o
49
50 SRCS = \
51         AppSpecific.c \
52         Main.c \
53         MainWindow.c \
54         Print.c
55
56 all::
57 NormalLibraryObjectRule()
58
59 ComplexProgramTarget($(PROGRAMS))
60