############################################################## ## ## This is a generated file ## INCLUDESDIR=/usr/local/include LIBSDIR=/usr/local/lib CONFIGSDIR=/usr/lib/X11/Xclasses ROOTID=0 CC=g++ MAKE=make AR=ar TAR=tar RANLIB=ranlib MAKEXPM=n USESHAPE=y DEFINES=-DNO_NANOSLEEP -D__Linux__ -DCONFIGSDIR=\"$(CONFIGSDIR)\" -DROOTID=$(ROOTID) -DCCVERSION=\"gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\" -D_REENTRANT LIBMAJOR=1 LIBMINOR=3 LIBPATCH=1 VERSION=1.3.1 ###################################################################### # # make Rules # ## configs - "y" for yes, "n" for no # make shared lib SHAREDLIB=y # only yes if SHAREDLIB yes ! USESHAREDLIB=y # use shared xpm lib - SHAREDLIB and SHAREDXPM should have the same # value or we might get in some trouble if we use the shared Xclasses library SHAREDXPM=y # debug mode DEBUG=n # strip files STRIP_CMD=strip CPUm=$(shell uname -m) ## CPU options (currently only intel x86 and DEC/alpha) CPUi386=-O3 CPUi486=-m486 -O3 CPUi586=-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -O3 CPUi686=-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -O3 CPUalpha=-O2 ## set CPU options and optimize CPU=$(CPU$(CPUm)) ## additional include paths INCLUDES=-I$(TOPDIR)/include -I/usr/openwin/include -I/usr/local/include -I$(INCLUDESDIR) ## Flags for compiler AND linker BOTH= ## warnings WARNS=-Winline -Wuninitialized -Wunused -Wreturn-type -Wreorder #WARNS=-Winline -Wuninitialized -Wunused -Wreturn-type -Wreorder -Wshadow #WARNS=-W -Wunused -Wswitch -Wuninitialized -Woverloaded-virtual -Winline -Wreturn-type ## compiler flags CC_OPTIONS=$(CPU) $(WARNS) $(INCLUDES) $(DEFINES) ## linker flags LD_OPTIONS=-L/usr/X11/lib -L/usr/X11R6/lib -L/usr/lib -L$(LIBSDIR) ## linker libraries SHLIBS=-lX11 -lm ###################################################################### ifeq ($(USESHAPE),y) C1=-DSHAPE L1=-lXext endif ifeq ($(SHAREDXPM),y) L2=-lXpm else ifeq ($(MAKEXPM),y) L2=$(TOPDIR)/lib/libXpm.a else L2=libXpm.a endif endif ifeq ($(DEBUG),y) C2=-g STRIP=echo else STRIP=$(STRIP_CMD) endif LIBS=$(SHLIBS) $(L1) $(L2) CCFLAGS=$(CC_OPTIONS) $(C1) $(C2) $(BOTH) LDFLAGS=$(LD_OPTIONS) $(BOTH) LIBNAME=libXclasses.so. ARNAME=libXclasses.a CC=g++ LD=gcc LDCONFIG=ldconfig