Don't try to define abs() on linux, stdlib will handle it.
[oweals/cde.git] / cde / programs / dtaction / Imakefile
1 XCOMM $TOG: Imakefile /main/9 1998/04/06 13:11:38 mgreess $
2
3         DEFINES = -DXK_MISCELLANY
4        INCLUDES = -I.
5
6 DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
7 LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
8 SYS_LIBRARIES   = -lm 
9
10
11 #ifdef HPArchitecture
12 EXTRA_DEFINES = +e
13 #endif
14
15 XCOMM On Linux once you link against a C++ library the whole program
16 XCOMM has to be linked with the C++ linker
17 #if defined(LinuxDistribution)
18 CCLINK = $(CXX)
19 #endif
20
21 #ifdef LinuxArchitecture
22 SYS_LIBRARIES   = -lm -lcrypt
23 #endif
24
25 #ifdef SCOArchitecture
26 SYS_LIBRARIES   = -lm -lcrypt
27 #endif
28
29 #ifdef RsArchitecture
30 SYS_LIBRARIES   = -liconv
31 #endif
32
33 #ifdef USLArchitecture
34 SYS_LIBRARIES   = -lm -lgen 
35 #endif
36
37 #ifdef UXPArchitecture
38 SYS_LIBRARIES   = -lm -lgen 
39 #endif
40
41 #if defined(SunArchitecture)
42 SYS_LIBRARIES = -lm -ldl
43 #endif
44
45 SRCS = Main.c
46 OBJS = Main.o
47
48 ComplexProgramTarget(dtaction)