wmail: change "!stat(...) == 0" to "stat(...) == -1"
[dockapps.git] / wmnet / Imakefile
blob460c298cd5a588e2027ae87ab232d1f9b6bf1c96
1 DEPLIBS = $(DEPXLIB)
2 CC = gcc -Wall
4 #ifdef LinuxArchitecture
5 STD_DEFINES = -Dlinux
6 DEFINES = -Dlinux_libc5
7 #if LinuxCLibMajorVersion > 5
8 DEFINES = -Dlinux_libc6
9 #endif
10 LOCAL_LIBRARIES = $(XLIB) -lm
11 #endif
13 #if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
14 LOCAL_LIBRARIES = $(XLIB) -lm -lkvm
15 INSTPGMFLAGS = -s -g kmem -m 2755
16 #endif
18 LINTLIBS = $(LINTXLIB)
20 #if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
21 SRCS = wmnet.c drivers.c getopt.c getopt1.c
22 OBJS = wmnet.o drivers.o getopt.o getopt1.o
23 #else
24 SRCS = wmnet.c drivers.c
25 OBJS = wmnet.o drivers.o
26 #endif
29 ComplexProgramTarget(wmnet)