diff options
| author | Richard M. Stallman | 1994-01-19 17:21:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-19 17:21:49 +0000 |
| commit | ec171d2e1b7d51f8f9de3d4c5603ff67e3adc588 (patch) | |
| tree | 8502a9c89121d9bbefd6fd105c50662d1a0099f4 | |
| parent | 34ee096375a24f7470be0818cb1d7de0fd4c3617 (diff) | |
| download | emacs-ec171d2e1b7d51f8f9de3d4c5603ff67e3adc588.tar.gz emacs-ec171d2e1b7d51f8f9de3d4c5603ff67e3adc588.zip | |
*** empty log message ***
| -rw-r--r-- | lwlib/Makefile.in | 398 |
1 files changed, 43 insertions, 355 deletions
diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index 5caa9310b99..9d92627cf72 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in | |||
| @@ -1,397 +1,85 @@ | |||
| 1 | # Makefile generated by imake - do not edit! | 1 | /* This was taken from the output of Imake |
| 2 | # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $ | 2 | and set up to be configured by ../configure. |
| 3 | # | 3 | Some parts Copyright (c) 1992, 1993 Lucid, Inc. */ |
| 4 | # The cpp used on this machine replaces all newlines and multiple tabs and | ||
| 5 | # spaces in a macro expansion with a single space. Imake tries to compensate | ||
| 6 | # for this, but is not always successful. | ||
| 7 | # | ||
| 8 | 4 | ||
| 9 | ########################################################################### | 5 | srcdir=@srcdir@ |
| 10 | # Makefile generated from "Imake.tmpl" and <Imakefile> | 6 | VPATH=@srcdir@ |
| 11 | # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ | 7 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 12 | # | ||
| 13 | # Platform-specific parameters may be set in the appropriate .cf | ||
| 14 | # configuration files. Site-wide parameters may be set in the file | ||
| 15 | # site.def. Full rebuilds are recommended if any parameters are changed. | ||
| 16 | # | ||
| 17 | # If your C preprocessor doesn't define any unique symbols, you'll need | ||
| 18 | # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing | ||
| 19 | # "make Makefile", "make Makefiles", or "make World"). | ||
| 20 | # | ||
| 21 | # If you absolutely can't get imake to work, you'll need to set the | ||
| 22 | # variables at the top of each Makefile as well as the dependencies at the | ||
| 23 | # bottom (makedepend will do this automatically). | ||
| 24 | # | ||
| 25 | 8 | ||
| 26 | ########################################################################### | 9 | CC=@CC@ |
| 27 | # platform-specific configuration parameters - edit sun.cf to change | 10 | CFLAGS=@CFLAGS@ |
| 28 | 11 | CPP=@CPP@ | |
| 29 | # platform: $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $ | 12 | LN_S=@LN_S@ |
| 30 | # operating system: SunOS 4.0.3 | 13 | USE_X_TOOLKIT=@X_TOOLKIT_TYPE@ |
| 31 | |||
| 32 | ########################################################################### | ||
| 33 | # site-specific configuration parameters - edit site.def to change | ||
| 34 | |||
| 35 | # site: $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $ | ||
| 36 | |||
| 37 | SHELL = /bin/sh | ||
| 38 | 14 | ||
| 39 | TOP = . | 15 | TOP = . |
| 40 | CURRENT_DIR = . | ||
| 41 | 16 | ||
| 42 | AR = ar cq | 17 | AR = ar cq |
| 43 | BOOTSTRAPCFLAGS = | ||
| 44 | CC = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional | ||
| 45 | 18 | ||
| 46 | COMPRESS = compress | ||
| 47 | CPP = /lib/cpp $(STD_CPP_DEFINES) | ||
| 48 | PREPROCESSCMD = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional -E $(STD_CPP_DEFINES) | ||
| 49 | INSTALL = install | ||
| 50 | LD = ld | ||
| 51 | LINT = lint | ||
| 52 | LINTLIBFLAG = -C | ||
| 53 | LINTOPTS = -axz | ||
| 54 | LN = ln -s | 19 | LN = ln -s |
| 55 | MAKE = make | ||
| 56 | MV = mv | ||
| 57 | CP = cp | ||
| 58 | RANLIB = ranlib | 20 | RANLIB = ranlib |
| 59 | RANLIBINSTFLAGS = | ||
| 60 | RM = rm -f | 21 | RM = rm -f |
| 61 | STD_INCLUDES = | ||
| 62 | STD_CPP_DEFINES = | ||
| 63 | STD_DEFINES = | ||
| 64 | EXTRA_LOAD_FLAGS = | ||
| 65 | EXTRA_LIBRARIES = | ||
| 66 | TAGS = ctags | ||
| 67 | |||
| 68 | SHAREDCODEDEF = -DSHAREDCODE | ||
| 69 | SHLIBDEF = -DSUNSHLIB | ||
| 70 | |||
| 71 | PROTO_DEFINES = | ||
| 72 | |||
| 73 | INSTPGMFLAGS = | ||
| 74 | |||
| 75 | INSTBINFLAGS = -m 0755 | ||
| 76 | INSTUIDFLAGS = -m 4755 | ||
| 77 | INSTLIBFLAGS = -m 0664 | ||
| 78 | INSTINCFLAGS = -m 0444 | ||
| 79 | INSTMANFLAGS = -m 0444 | ||
| 80 | INSTDATFLAGS = -m 0444 | ||
| 81 | INSTKMEMFLAGS = -m 4755 | ||
| 82 | |||
| 83 | DESTDIR = | ||
| 84 | |||
| 85 | TOP_INCLUDES = -I$(INCROOT) | ||
| 86 | |||
| 87 | CDEBUGFLAGS = -O | ||
| 88 | CCOPTIONS = | ||
| 89 | COMPATFLAGS = | ||
| 90 | |||
| 91 | ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) | ||
| 92 | ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) | ||
| 93 | CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) | ||
| 94 | LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) | ||
| 95 | LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) | ||
| 96 | LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) | ||
| 97 | LDCOMBINEFLAGS = -X -r | ||
| 98 | |||
| 99 | MACROFILE = sun.cf | ||
| 100 | RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut | ||
| 101 | |||
| 102 | IMAKE_DEFINES = | ||
| 103 | |||
| 104 | IRULESRC = $(CONFIGDIR) | ||
| 105 | IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) | ||
| 106 | |||
| 107 | ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ | ||
| 108 | $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ | ||
| 109 | $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) | ||
| 110 | |||
| 111 | ########################################################################### | ||
| 112 | # X Window System Build Parameters | ||
| 113 | # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ | ||
| 114 | |||
| 115 | ########################################################################### | ||
| 116 | # X Window System make variables; this need to be coordinated with rules | ||
| 117 | # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ | ||
| 118 | |||
| 119 | PATHSEP = / | ||
| 120 | USRLIBDIR = $(DESTDIR)/usr/lib | ||
| 121 | BINDIR = $(DESTDIR)/usr/bin/X11 | ||
| 122 | INCROOT = $(DESTDIR)/usr/include | ||
| 123 | BUILDINCROOT = $(TOP) | ||
| 124 | BUILDINCDIR = $(BUILDINCROOT)/X11 | ||
| 125 | BUILDINCTOP = .. | ||
| 126 | INCDIR = $(INCROOT)/X11 | ||
| 127 | ADMDIR = $(DESTDIR)/usr/adm | ||
| 128 | LIBDIR = $(USRLIBDIR)/X11 | ||
| 129 | CONFIGDIR = $(LIBDIR)/config | ||
| 130 | LINTLIBDIR = $(USRLIBDIR)/lint | ||
| 131 | |||
| 132 | FONTDIR = $(LIBDIR)/fonts | ||
| 133 | XINITDIR = $(LIBDIR)/xinit | ||
| 134 | XDMDIR = $(LIBDIR)/xdm | ||
| 135 | AWMDIR = $(LIBDIR)/awm | ||
| 136 | TWMDIR = $(LIBDIR)/twm | ||
| 137 | GWMDIR = $(LIBDIR)/gwm | ||
| 138 | MANPATH = $(DESTDIR)/usr/man | ||
| 139 | MANSOURCEPATH = $(MANPATH)/man | ||
| 140 | MANDIR = $(MANSOURCEPATH)n | ||
| 141 | LIBMANDIR = $(MANSOURCEPATH)3 | ||
| 142 | XAPPLOADDIR = $(LIBDIR)/app-defaults | ||
| 143 | |||
| 144 | SOXLIBREV = 4.2 | ||
| 145 | SOXTREV = 4.0 | ||
| 146 | SOXAWREV = 4.0 | ||
| 147 | SOOLDXREV = 4.0 | ||
| 148 | SOXMUREV = 4.0 | ||
| 149 | SOXEXTREV = 4.0 | ||
| 150 | |||
| 151 | FONTCFLAGS = -t | ||
| 152 | |||
| 153 | INSTAPPFLAGS = $(INSTDATFLAGS) | ||
| 154 | |||
| 155 | IMAKE = imake | ||
| 156 | DEPEND = makedepend | ||
| 157 | RGB = rgb | ||
| 158 | FONTC = bdftosnf | ||
| 159 | MKFONTDIR = mkfontdir | ||
| 160 | MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier | ||
| 161 | |||
| 162 | CONFIGSRC = $(TOP)/config | ||
| 163 | CLIENTSRC = $(TOP)/clients | ||
| 164 | DEMOSRC = $(TOP)/demos | ||
| 165 | LIBSRC = $(TOP)/lib | ||
| 166 | FONTSRC = $(TOP)/fonts | ||
| 167 | INCLUDESRC = $(TOP)/X11 | ||
| 168 | SERVERSRC = $(TOP)/server | ||
| 169 | UTILSRC = $(TOP)/util | ||
| 170 | SCRIPTSRC = $(UTILSRC)/scripts | ||
| 171 | EXAMPLESRC = $(TOP)/examples | ||
| 172 | CONTRIBSRC = $(TOP)/../contrib | ||
| 173 | DOCSRC = $(TOP)/doc | ||
| 174 | RGBSRC = $(TOP)/rgb | ||
| 175 | DEPENDSRC = $(UTILSRC)/makedepend | ||
| 176 | IMAKESRC = $(CONFIGSRC) | ||
| 177 | XAUTHSRC = $(LIBSRC)/Xau | ||
| 178 | XLIBSRC = $(LIBSRC)/X | ||
| 179 | XMUSRC = $(LIBSRC)/Xmu | ||
| 180 | TOOLKITSRC = $(LIBSRC)/Xt | ||
| 181 | AWIDGETSRC = $(LIBSRC)/Xaw | ||
| 182 | OLDXLIBSRC = $(LIBSRC)/oldX | ||
| 183 | XDMCPLIBSRC = $(LIBSRC)/Xdmcp | ||
| 184 | BDFTOSNFSRC = $(FONTSRC)/bdftosnf | ||
| 185 | MKFONTDIRSRC = $(FONTSRC)/mkfontdir | ||
| 186 | EXTENSIONSRC = $(TOP)/extensions | ||
| 187 | |||
| 188 | DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a | ||
| 189 | EXTENSIONLIB = -lXext | ||
| 190 | |||
| 191 | DEPXLIB = $(DEPEXTENSIONLIB) | ||
| 192 | XLIB = $(EXTENSIONLIB) -lX11 | ||
| 193 | |||
| 194 | DEPXAUTHLIB = $(USRLIBDIR)/libXau.a | ||
| 195 | XAUTHLIB = -lXau | ||
| 196 | |||
| 197 | DEPXMULIB = | ||
| 198 | XMULIB = -lXmu | ||
| 199 | |||
| 200 | DEPOLDXLIB = | ||
| 201 | OLDXLIB = -loldX | ||
| 202 | |||
| 203 | DEPXTOOLLIB = | ||
| 204 | XTOOLLIB = -lXt | ||
| 205 | |||
| 206 | DEPXAWLIB = | ||
| 207 | XAWLIB = -lXaw | ||
| 208 | |||
| 209 | LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln | ||
| 210 | LINTXLIB = $(USRLIBDIR)/llib-lX11.ln | ||
| 211 | LINTXMU = $(USRLIBDIR)/llib-lXmu.ln | ||
| 212 | LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln | ||
| 213 | LINTXAW = $(USRLIBDIR)/llib-lXaw.ln | ||
| 214 | |||
| 215 | XWLIBSRC = $(CONTRIBSRC)/toolkits/Xw | ||
| 216 | DEPXWLIB = $(USRLIBDIR)/libXw.a | ||
| 217 | XWLIB = -lXw | ||
| 218 | |||
| 219 | DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) | ||
| 220 | |||
| 221 | DEPLIBS1 = $(DEPLIBS) | ||
| 222 | DEPLIBS2 = $(DEPLIBS) | ||
| 223 | DEPLIBS3 = $(DEPLIBS) | ||
| 224 | |||
| 225 | ########################################################################### | ||
| 226 | # Imake rules for building libraries, programs, scripts, and data files | ||
| 227 | # rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $ | ||
| 228 | |||
| 229 | ########################################################################### | ||
| 230 | # start of Imakefile | ||
| 231 | |||
| 232 | # Imakefile file for liblw.a, Copyright (c) 1992-1993 Lucid, Inc. | ||
| 233 | |||
| 234 | STD_DEFINES = | ||
| 235 | CDEBUGFLAGS = -O | ||
| 236 | EXT_DEFINES = -DTHIS_IS_X11R4 | ||
| 237 | WHICH_X = x11r4 | ||
| 238 | 22 | ||
| 239 | LUCID_SRCS = lwlib-Xlw.c xlwmenu.c | 23 | LUCID_SRCS = lwlib-Xlw.c xlwmenu.c |
| 240 | LUCID_OBJS = lwlib-Xlw.o xlwmenu.o | 24 | LUCID_OBJS = lwlib-Xlw.o xlwmenu.o |
| 241 | MOTIF_SRCS = lwlib-Xm.c | 25 | MOTIF_SRCS = lwlib-Xm.c |
| 242 | MOTIF_OBJS = lwlib-Xm.o | 26 | MOTIF_OBJS = lwlib-Xm.o |
| 243 | OLIT_SRCS = lwlib-Xol.c lwlib-Xol-mb.c | 27 | OLIT_SRCS = lwlib-Xol.c lwlib-Xolmb.c |
| 244 | OLIT_OBJS = lwlib-Xol.o lwlib-Xol-mb.o | 28 | OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o |
| 245 | 29 | ||
| 246 | TOOLKIT_DEFINES = -DUSE_LUCID | 30 | TOOLKIT_DEFINES = -DUSE_LUCID |
| 247 | TOOLKIT_SRCS = $(LUCID_SRC) | 31 | TOOLKIT_SRCS = $($(USE_X_TOOLKIT)_SRCS) |
| 248 | TOOLKIT_OBJS = $(LUCID_OBJS) | 32 | TOOLKIT_OBJS = $($(USE_X_TOOLKIT)_OBJS) |
| 33 | |||
| 34 | SRCS = lwlib.c $(TOOLKIT_SRCS) lwlib-utils.c | ||
| 35 | OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o | ||
| 249 | 36 | ||
| 250 | SRCS = lwlib.c $(TOOLKIT_SRCS) lwlib-utils.c $(EXT_SRCS) | 37 | ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ |
| 251 | OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o $(EXT_OBJS) $(EZ_OBJS) | 38 | $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \ |
| 252 | EXT_FLAGS = -I$(TOOLKITSRC) $(EXT_DEFINES) | 39 | -DEMACS_BITMAP_FILES -DTHIS_IS_X11R4 |
| 253 | LIBNAME = liblw.a | ||
| 254 | 40 | ||
| 255 | .c.o: | 41 | .c.o: |
| 256 | $(RM) $@ | 42 | $(CC) -c ${ALL_CFLAGS} $< |
| 257 | $(CC) -c $(CFLAGS) $*.c | ||
| 258 | 43 | ||
| 259 | all:: liblw.a | 44 | all:: liblw.a |
| 260 | 45 | ||
| 261 | liblw.a: $(OBJS) | 46 | liblw.a: $(OBJS) |
| 262 | $(RM) $@ | 47 | $(RM) $@ |
| 263 | $(AR) $@ $(OBJS) | 48 | $(AR) $@ $(OBJS) |
| 264 | $(RANLIB) $@ | 49 | @echo Do not be alarmed if the following ranlib command |
| 265 | 50 | @echo fails due to the absence of a ranlib program on your system. | |
| 266 | Makefiles:: | 51 | -$(RANLIB) $@ || true |
| 267 | @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ | 52 | #If running ranlib fails, probably there is none. |
| 268 | for i in energize ;\ | 53 | #That's ok. So don't stop the build. |
| 269 | do \ | ||
| 270 | echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \ | ||
| 271 | case "$$i" in \ | ||
| 272 | ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ | ||
| 273 | ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \ | ||
| 274 | ./?*/?*) newtop=../../ sub=subsub;; \ | ||
| 275 | ./?*) newtop=../ sub=sub;; \ | ||
| 276 | */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ | ||
| 277 | */?*/?*) newtop=../../../ sub=subsubsub;; \ | ||
| 278 | */?*) newtop=../../ sub=subsub;; \ | ||
| 279 | *) newtop=../ sub=sub;; \ | ||
| 280 | esac; \ | ||
| 281 | case "$(TOP)" in \ | ||
| 282 | /?*) newtop= upprefix= ;; \ | ||
| 283 | *) upprefix=../ ;; \ | ||
| 284 | esac; \ | ||
| 285 | $(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \ | ||
| 286 | MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\ | ||
| 287 | done | ||
| 288 | |||
| 289 | subdirMakefiles: | ||
| 290 | $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | ||
| 291 | -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | ||
| 292 | echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | ||
| 293 | $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | ||
| 294 | else exit 0; fi | ||
| 295 | cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | ||
| 296 | $(MAKE) $(MFLAGS) Makefiles | ||
| 297 | |||
| 298 | subsubdirMakefiles: | ||
| 299 | $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | ||
| 300 | -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | ||
| 301 | echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | ||
| 302 | $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | ||
| 303 | else exit 0; fi | ||
| 304 | cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | ||
| 305 | $(MAKE) $(MFLAGS) Makefiles | ||
| 306 | |||
| 307 | subsubsubdirMakefiles: | ||
| 308 | $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | ||
| 309 | -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | ||
| 310 | echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | ||
| 311 | $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | ||
| 312 | else exit 0; fi | ||
| 313 | cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | ||
| 314 | $(MAKE) $(MFLAGS) Makefiles | ||
| 315 | |||
| 316 | subsubsubsubdirMakefiles: | ||
| 317 | $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | ||
| 318 | -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | ||
| 319 | echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | ||
| 320 | $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | ||
| 321 | else exit 0; fi | ||
| 322 | cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | ||
| 323 | $(MAKE) $(MFLAGS) Makefiles | ||
| 324 | |||
| 325 | depend:: | ||
| 326 | $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) | ||
| 327 | |||
| 328 | CPPDEFS=-DCPP_PROGRAM=\"/lib/cpp\" | ||
| 329 | 54 | ||
| 330 | lwlib.o: lwlib.c | 55 | lwlib.o: lwlib.c |
| 331 | $(RM) $@ | 56 | $(CC) -c $(ALL_CFLAGS) $(TOOLKIT_DEFINES) $*.c |
| 332 | $(CC) -c $(CFLAGS) $(TOOLKIT_DEFINES) $*.c | ||
| 333 | 57 | ||
| 334 | dispatch.o: dispatch.c | 58 | dispatch.o: dispatch.c |
| 335 | $(RM) $@ | 59 | $(CC) -c $(ALL_CFLAGS) $*.c |
| 336 | $(CC) -c $(CFLAGS) $(EXT_FLAGS) $*.c | ||
| 337 | 60 | ||
| 338 | xrdb-cpp.o: xrdb-cpp.c | 61 | xrdb-cpp.o: xrdb-cpp.c |
| 339 | $(RM) $@ | 62 | $(CC) -c $(ALL_CFLAGS) "-DCPP_PROGRAM=$(CPP)" $*.c |
| 340 | $(CC) -c $(CFLAGS) $(EXT_FLAGS) "$(CPPDEFS)" $*.c | ||
| 341 | 63 | ||
| 342 | xrdb.o: xrdb.c | 64 | xrdb.o: xrdb.c |
| 343 | $(RM) $@ | 65 | $(CC) -c $(ALL_CFLAGS) $*.c |
| 344 | $(CC) -c $(CFLAGS) $(EXT_FLAGS) $*.c | ||
| 345 | 66 | ||
| 346 | lwlib-Xm.o: lwlib-Xm.c | 67 | lwlib-Xm.o: lwlib-Xm.c |
| 347 | $(RM) $@ | 68 | $(CC) -c $(ALL_CFLAGS) $*.c |
| 348 | $(CC) -c $(CFLAGS) $(ENERGIZEP) $*.c | ||
| 349 | 69 | ||
| 350 | lwlib-utils.o: lwlib-utils.h | 70 | lwlib-utils.o: lwlib-utils.h |
| 351 | lwlib.o: lwlib.h lwlib-internal.h | 71 | lwlib.o: lwlib.h lwlib-int.h |
| 352 | lwlib-Xlw.o: lwlib.h lwlib-internal.h | 72 | lwlib-Xlw.o: lwlib.h lwlib-int.h |
| 353 | lwlib-Xm.o: lwlib.h lwlib-internal.h lwlib-utils.h | 73 | lwlib-Xm.o: lwlib.h lwlib-int.h lwlib-utils.h |
| 354 | lwlib-Xol.o: lwlib.h lwlib-internal.h | 74 | lwlib-Xol.o: lwlib.h lwlib-int.h |
| 355 | lwlib-Xol-mb.o: lwlib-Xol-mb.h lwlib-Xol-mbP.h | 75 | lwlib-Xolmb.o: lwlib-Xolmb.h lwlib-XolmbP.h |
| 356 | |||
| 357 | ########################################################################### | ||
| 358 | # common rules for all Makefiles - do not edit | ||
| 359 | 76 | ||
| 360 | emptyrule:: | 77 | mostlyclean: |
| 78 | $(RM) *.o core errs ,* *~ *.a .emacs_* make.log MakeOut \#* | ||
| 361 | 79 | ||
| 362 | clean:: | 80 | clean: mostlyclean |
| 363 | $(RM_CMD) \#* | 81 | distclean: clean |
| 364 | 82 | realclean: distclean | |
| 365 | Makefile:: | ||
| 366 | -@if [ -f Makefile ]; then \ | ||
| 367 | echo " $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \ | ||
| 368 | $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ | ||
| 369 | else exit 0; fi | ||
| 370 | $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) | ||
| 371 | 83 | ||
| 372 | tags:: | 84 | tags:: |
| 373 | $(TAGS) -w *.[ch] | 85 | $(TAGS) -t *.[ch] |
| 374 | $(TAGS) -xw *.[ch] > TAGS | ||
| 375 | |||
| 376 | saber: | ||
| 377 | #load $(ALLDEFINES) $(SRCS) | ||
| 378 | |||
| 379 | osaber: | ||
| 380 | #load $(ALLDEFINES) $(OBJS) | ||
| 381 | |||
| 382 | ########################################################################### | ||
| 383 | # empty rules for directories that do not have SUBDIRS - do not edit | ||
| 384 | |||
| 385 | install:: | ||
| 386 | @echo "install in $(CURRENT_DIR) done" | ||
| 387 | |||
| 388 | install.man:: | ||
| 389 | @echo "install.man in $(CURRENT_DIR) done" | ||
| 390 | |||
| 391 | Makefiles:: | ||
| 392 | |||
| 393 | includes:: | ||
| 394 | |||
| 395 | ########################################################################### | ||
| 396 | # dependencies generated by makedepend | ||
| 397 | |||