1 /* This was taken from the output of Imake
2 and set up to be configured by ..
/configure.
3 Some parts Copyright
(c
) 1992, 1993 Lucid
, Inc.
*/
7 C_SWITCH_X_SITE
=@C_SWITCH_X_SITE@
13 # See below--@X_TOOLKIT_TYPE@ is used below.
14 USE_X_TOOLKIT
=@X_TOOLKIT_TYPE@
24 LUCID_SRCS
= lwlib-Xlw.c xlwmenu.c
25 LUCID_OBJS
= lwlib-Xlw.o xlwmenu.o
26 MOTIF_SRCS
= lwlib-Xm.c
27 MOTIF_OBJS
= lwlib-Xm.o
28 OLIT_SRCS
= lwlib-Xol.c lwlib-Xolmb.c
29 OLIT_OBJS
= lwlib-Xol.o lwlib-Xolmb.o
31 TOOLKIT_DEFINES
= -DUSE_
$(USE_X_TOOLKIT
)
32 TOOLKIT_SRCS
= $(@X_TOOLKIT_TYPE@_SRCS
)
33 TOOLKIT_OBJS
= $(@X_TOOLKIT_TYPE@_OBJS
)
35 SRCS
= lwlib.c
$(TOOLKIT_SRCS
) lwlib-utils.c
36 OBJS
= lwlib.o
$(TOOLKIT_OBJS
) lwlib-utils.o
38 ALL_CFLAGS
= $(C_SWITCH_SITE
) $(C_SWITCH_SYSTEM
) $(C_SWITCH_X_SITE
) \
39 $(C_SWITCH_X_SYSTEM
) $(C_SWITCH_MACHINE
) $(CPPFLAGS
) $(CFLAGS
) \
40 -DEMACS_BITMAP_FILES
-DTHIS_IS_X11R4
43 $(CC
) -c
${ALL_CFLAGS} $<
50 @echo Do not be alarmed if the following ranlib command
51 @echo fails due to the absence of a ranlib program on your system.
53 #If running ranlib fails, probably there is none.
54 #That's ok. So don't stop the build.
57 $(CC
) -c
$(ALL_CFLAGS
) $(TOOLKIT_DEFINES
) $*.c
59 dispatch.o
: dispatch.c
60 $(CC
) -c
$(ALL_CFLAGS
) $*.c
62 xrdb-cpp.o
: xrdb-cpp.c
63 $(CC
) -c
$(ALL_CFLAGS
) "-DCPP_PROGRAM=$(CPP)" $*.c
66 $(CC
) -c
$(ALL_CFLAGS
) $*.c
68 lwlib-Xm.o
: lwlib-Xm.c
69 $(CC
) -c
$(ALL_CFLAGS
) $*.c
71 lwlib-utils.o
: lwlib-utils.h
72 lwlib.o
: lwlib.h lwlib-int.h
73 lwlib-Xlw.o
: lwlib.h lwlib-int.h
74 lwlib-Xm.o
: lwlib.h lwlib-int.h lwlib-utils.h
75 lwlib-Xol.o
: lwlib.h lwlib-int.h
76 lwlib-Xolmb.o
: lwlib-Xolmb.h lwlib-XolmbP.h
79 $(RM
) *.o core errs
,* *~
*.a .emacs_
* make.log MakeOut \
#*