Files
cdesktop/cde/programs/dtdbcache/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

64 lines
1.6 KiB
Plaintext

XCOMM $XConsortium: Imakefile /main/5 1996/09/14 15:26:52 drk $
/* General case INCLUDES DEFINES LOCAL_LIBRARIES
* Each individual architecture may have more or less of the above.
* Use EXTRA_DEFINES and EXTRA_INCLUDES to add defines and includes
* to an individual architecture. There is no equivalent for
* LOCAL_LIBRARIES.
* USE_libraryname in LOCAL_LIBRARIES is by default empty.
* It should be set when necessary to the real library macro name.
*/
INCLUDES = -I.
/* DEPLIBS contains the list of library depencies for a client.
* LOCAL_LIBRARIES contains the list of libraries on the link line.
* Generally, the dependency form of a library has DEP as a prefix.
* e.g. put $(XLIB) in LOCAL_LIBRARIES and $(DEPXLIB) in DEPLIBS.
* NOTE: if DEPLIBS is not set here, it is by default null and there
* are no library dependencies for clients.
* You cannot put -Llibpath into DEPLIBS. You must put actual
* paths to the library.
*/
DEPLIBS = $(DEPDTSVCLIB) $(DEPTTLIB) $(DEPXMLIB) $(DEPXPLIB) \
$(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XPLIB) $(XTOOLLIB) $(XLIB)
SYS_LIBRARIES = -lm
#ifdef HPArchitecture
EXTRA_DEFINES = +e
#endif
#ifdef SCOArchitecture
ATLIB=
SYS_LIBRARIES = -lm -lcrypt
#endif
#ifdef RsArchitecture
ATLIB=
#endif
#ifdef USLArchitecture
SYS_LIBRARIES = -lm -lgen
ATLIB=
#endif
#if defined(HPOSFArchitecture)
#endif
#if defined(SunArchitecture)
ATLIB=
SYS_LIBRARIES = -lm -ldl -lw -lgen
#endif /* SunArchitecture */
#if defined(UXPArchitecture)
SYS_LIBRARIES = -lm -lgen
#endif
SRCS = Main.c
OBJS = Main.o
ComplexProgramTarget(dtdbcache)