Files
cdesktop/cde/programs/dtaction/Imakefile
Marcin Cieslak 917f7da191 157 warnings: remove -DXK_MISCELLANY from Makefiles
Fixes the following warning:

In file included from ../../../imports/x11/include/X11/Xutil.h:54,
                 from ../../../imports/x11/include/X11/Intrinsic.h:54,
                 from Action.c:64:
../../../imports/x11/include/X11/keysym.h:49:1: warning: "XK_MISCELLANY" redefined
<command-line>: warning: this is the location of the previous definition

<keysym.h> which includes all key symbols and loads <keysymdef.h>
is automaticlly included by the X Toolkit.

This patch removes #include <keysymdef.h> whenever not needed,
and adds #define XK_MISCALLANY in the source code where required.
2012-09-24 18:30:21 -06:00

46 lines
788 B
Plaintext

XCOMM $TOG: Imakefile /main/9 1998/04/06 13:11:38 mgreess $
INCLUDES = -I.
DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = -lm
#ifdef HPArchitecture
EXTRA_DEFINES = +e
#endif
#ifdef LinuxArchitecture
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef FreeBSDArchitecture
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef SCOArchitecture
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef RsArchitecture
SYS_LIBRARIES = -liconv
#endif
#ifdef USLArchitecture
SYS_LIBRARIES = -lm -lgen
#endif
#ifdef UXPArchitecture
SYS_LIBRARIES = -lm -lgen
#endif
#if defined(SunArchitecture)
SYS_LIBRARIES = -lm -ldl
#endif
SRCS = Main.c
OBJS = Main.o
ComplexProgramTarget(dtaction)