1# Makefile generated by imake - do not edit! 2# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $ 3# 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 9########################################################################### 10# Makefile generated from "Imake.tmpl" and <Imakefile> 11# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ 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 26########################################################################### 27# platform-specific configuration parameters - edit sun.cf to change 28 29# platform: $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $ 30# operating system: SunOS 4.0.3 31 32########################################################################### 33# site-specific configuration parameters - edit site.def to change 34 35 SHELL = /bin/sh 36 37 TOP = . 38 CURRENT_DIR = . 39 40 AR = ar clq 41 BOOTSTRAPCFLAGS = 42 CC = cc 43 44 COMPRESS = compress 45 CPP = /lib/cpp $(STD_CPP_DEFINES) 46 PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) 47 INSTALL = install 48 LD = ld 49 LINT = lint 50 LINTLIBFLAG = -C 51 LINTOPTS = -axz 52 LN = ln -s 53 MAKE = make 54 MV = mv 55 CP = cp 56 RANLIB = ranlib 57 RANLIBINSTFLAGS = 58 RM = rm -f 59 STD_INCLUDES = 60 STD_CPP_DEFINES = 61 STD_DEFINES = 62 EXTRA_LOAD_FLAGS = 63 EXTRA_LIBRARIES = 64 TAGS = ctags 65 66 SHAREDCODEDEF = -DSHAREDCODE 67 SHLIBDEF = -DSUNSHLIB 68 69 PROTO_DEFINES = 70 71 INSTPGMFLAGS = 72 73 INSTBINFLAGS = -m 0755 74 INSTUIDFLAGS = -m 4755 75 INSTLIBFLAGS = -m 0664 76 INSTINCFLAGS = -m 0444 77 INSTMANFLAGS = -m 0444 78 INSTDATFLAGS = -m 0444 79 INSTKMEMFLAGS = -m 4755 80 81 DESTDIR = 82 83 TOP_INCLUDES = -I$(INCROOT) 84 85 CDEBUGFLAGS = -O 86 CCOPTIONS = 87 COMPATFLAGS = 88 89 ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) 90 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) 91 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) 92 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) 93 LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) 94 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) 95 LDCOMBINEFLAGS = -X -r 96 97 MACROFILE = sun.cf 98 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut 99 100 IMAKE_DEFINES = 101 102 IRULESRC = $(CONFIGDIR) 103 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) 104 105 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ 106 $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ 107 $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) 108 109########################################################################### 110# X Window System Build Parameters 111# $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ 112 113########################################################################### 114# X Window System make variables; this need to be coordinated with rules 115# $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ 116 117 PATHSEP = / 118 USRLIBDIR = $(DESTDIR)/usr/lib 119 BINDIR = $(DESTDIR)/usr/bin/X11 120 INCROOT = $(DESTDIR)/usr/include 121 BUILDINCROOT = $(TOP) 122 BUILDINCDIR = $(BUILDINCROOT)/X11 123 BUILDINCTOP = .. 124 INCDIR = $(INCROOT)/X11 125 ADMDIR = $(DESTDIR)/usr/adm 126 LIBDIR = $(USRLIBDIR)/X11 127 CONFIGDIR = $(LIBDIR)/config 128 LINTLIBDIR = $(USRLIBDIR)/lint 129 130 FONTDIR = $(LIBDIR)/fonts 131 XINITDIR = $(LIBDIR)/xinit 132 XDMDIR = $(LIBDIR)/xdm 133 AWMDIR = $(LIBDIR)/awm 134 TWMDIR = $(LIBDIR)/twm 135 GWMDIR = $(LIBDIR)/gwm 136 MANPATH = $(DESTDIR)/usr/man 137 MANSOURCEPATH = $(MANPATH)/man 138 MANDIR = $(MANSOURCEPATH)n 139 LIBMANDIR = $(MANSOURCEPATH)3 140 XAPPLOADDIR = $(LIBDIR)/app-defaults 141 142 SOXLIBREV = 4.2 143 SOXTREV = 4.0 144 SOXAWREV = 4.0 145 SOOLDXREV = 4.0 146 SOXMUREV = 4.0 147 SOXEXTREV = 4.0 148 149 FONTCFLAGS = -t 150 151 INSTAPPFLAGS = $(INSTDATFLAGS) 152 153 IMAKE = imake 154 DEPEND = makedepend 155 RGB = rgb 156 FONTC = bdftosnf 157 MKFONTDIR = mkfontdir 158 MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh 159 160 CONFIGSRC = $(TOP)/config 161 CLIENTSRC = $(TOP)/clients 162 DEMOSRC = $(TOP)/demos 163 LIBSRC = $(TOP)/lib 164 FONTSRC = $(TOP)/fonts 165 INCLUDESRC = $(TOP)/X11 166 SERVERSRC = $(TOP)/server 167 UTILSRC = $(TOP)/util 168 SCRIPTSRC = $(UTILSRC)/scripts 169 EXAMPLESRC = $(TOP)/examples 170 CONTRIBSRC = $(TOP)/../contrib 171 DOCSRC = $(TOP)/doc 172 RGBSRC = $(TOP)/rgb 173 DEPENDSRC = $(UTILSRC)/makedepend 174 IMAKESRC = $(CONFIGSRC) 175 XAUTHSRC = $(LIBSRC)/Xau 176 XLIBSRC = $(LIBSRC)/X 177 XMUSRC = $(LIBSRC)/Xmu 178 TOOLKITSRC = $(LIBSRC)/Xt 179 AWIDGETSRC = $(LIBSRC)/Xaw 180 OLDXLIBSRC = $(LIBSRC)/oldX 181 XDMCPLIBSRC = $(LIBSRC)/Xdmcp 182 BDFTOSNFSRC = $(FONTSRC)/bdftosnf 183 MKFONTDIRSRC = $(FONTSRC)/mkfontdir 184 EXTENSIONSRC = $(TOP)/extensions 185 186 DEPEXTENSIONLIB = 187 EXTENSIONLIB = -lXext 188 189 DEPXLIB = $(DEPEXTENSIONLIB) 190 XLIB = $(EXTENSIONLIB) -lX11 191 192 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a 193 XAUTHLIB = -lXau 194 195 DEPXMULIB = 196 XMULIB = -lXmu 197 198 DEPOLDXLIB = 199 OLDXLIB = -loldX 200 201 DEPXTOOLLIB = 202 XTOOLLIB = -lXt 203 204 DEPXAWLIB = 205 XAWLIB = -lXaw 206 207 LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln 208 LINTXLIB = $(USRLIBDIR)/llib-lX11.ln 209 LINTXMU = $(USRLIBDIR)/llib-lXmu.ln 210 LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln 211 LINTXAW = $(USRLIBDIR)/llib-lXaw.ln 212 213 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) 214 215 DEPLIBS1 = $(DEPLIBS) 216 DEPLIBS2 = $(DEPLIBS) 217 DEPLIBS3 = $(DEPLIBS) 218 219########################################################################### 220# Imake rules for building libraries, programs, scripts, and data files 221# rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $ 222 223########################################################################### 224# start of Imakefile 225 226LOCAL_LIBRARIES = $(XLIB) $(XMULIB) $(XAWLIB) $(XTOOLLIB) 227 228OBJS = calc.o callback.o strategie.o xisola.o 229 230SRCS = calc.c callback.c strategie.c xisola.c 231 232EXTRA_INCLUDES = 233 234CDEBUGFLAGS = -g 235 236EXTRA_LOAD_FLAGS = 237 238EXTRA_LIBRARIES = 239 240 PROGRAM = xisola 241 242all:: xisola 243 244xisola: $(OBJS) $(DEPLIBS) 245 $(RM) $@ 246 $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS) 247 248saber_xisola: 249 #load $(ALLDEFINES) $(SRCS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) 250 251osaber_xisola: 252 #load $(ALLDEFINES) $(OBJS) $(LOCAL_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) 253 254install:: xisola 255 $(INSTALL) -c $(INSTPGMFLAGS) xisola $(BINDIR) 256 257install.man:: xisola.man 258 $(INSTALL) -c $(INSTMANFLAGS) xisola.man $(MANDIR)/xisola.n 259 260depend:: 261 $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) 262 263lint: 264 $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) 265lint1: 266 $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) 267 268clean:: 269 $(RM) $(PROGRAM) 270 271########################################################################### 272# common rules for all Makefiles - do not edit 273 274emptyrule:: 275 276clean:: 277 $(RM_CMD) \#* 278 279Makefile:: 280 -@if [ -f Makefile ]; then \ 281 echo " $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \ 282 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ 283 else exit 0; fi 284 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) 285 286tags:: 287 $(TAGS) -w *.[ch] 288 $(TAGS) -xw *.[ch] > TAGS 289 290saber: 291 #load $(ALLDEFINES) $(SRCS) 292 293osaber: 294 #load $(ALLDEFINES) $(OBJS) 295 296########################################################################### 297# empty rules for directories that do not have SUBDIRS - do not edit 298 299install:: 300 @echo "install in $(CURRENT_DIR) done" 301 302install.man:: 303 @echo "install.man in $(CURRENT_DIR) done" 304 305Makefiles:: 306 307includes:: 308 309########################################################################### 310# dependencies generated by makedepend 311 312