# Generated automatically from Makefile.in by configure. # src/Makefile.in -*- Makefile -*- # $Id: Makefile.in,v 1.2 2001/03/26 17:26:10 sashav Exp $ # autoconf/Make.common.in -*- Makefile -*- # release date (man), LSM date, version number/name, current maintainer # $Id: Make.common.in,v 1.1.1.1 2001/03/11 07:50:04 sashav Exp $ DATE=06 September 01 LSMDATE=06Sep01 VERSION=0.4.2 VERNAME=aterm-$(VERSION)# MAINT=Sasha Vasko# MAINTEMAIL=# WEBMAINT=Sasha Vasko# WEBMAINTEMAIL=# WEBPAGE=# FTPSITENAME=ftp.afterstep.org# FTPSITEDIR=/apps/aterm# #------------------------------------------------------------------------- SHELL = /bin/sh # This variable makes it possible to move the installation root to another # directory. This is useful when you're creating a binary distribution # If empty, normal root will be used. # You can run eg. 'make install DESTDIR=/packages/rxvt-xx' to accomplish # that. # DESTDIR = /usr/local/X11/$(VERNAME) # Installation target directories & other installation stuff prefix = /usr/local exec_prefix = ${prefix} binprefix = manprefix = bindir = ${exec_prefix}/bin mandir = ${prefix}/man/man1 manext = 1 # Tools & program stuff CC = cc CPP = cc -E MV = /usr/local/bin/mv RM = /usr/local/bin/rm RMF = /usr/local/bin/rm -f CP = /usr/local/bin/cp SED = /usr/local/bin/sed INSTALL = /usr/bin/install -c -o root -g wheel INSTALL_PROGRAM = /usr/bin/install -c -o root -g wheel -s -m 755 INSTALL_DATA = /usr/bin/install -c -o root -g wheel -m 644 # Flags & libs # add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program CFLAGS = -fno-common -I/usr/X11R6/include CPPFLAGS = LDFLAGS = DEFS = -DHAVE_CONFIG_H LIBS = -L/usr/X11R6/lib -lXpm -lX11 DINCLUDE = DLIB = # X Include directory XINC = -I/usr/X11R6/include # extra libraries needed by X on some systems, X library location XLIB = -L/usr/X11R6/lib -lSM -lICE -L/usr/X11R6/lib -lXpm -lX11 # End of common section of the Makefile #------------------------------------------------------------------------- srcdir = . basedir = .. thisdir = src # for developers: the following debug options may be used # -DDEBUG_CMD -DDEBUG_MENU -DDEBUG_MENUARROWS -DDEBUG_MENUBAR_STACKING # -DDEBUG_MENU_LAYOUT -DDEBUG_RESOURCES -DDEBUG_SCREEN # -DDEBUG_SEARCH_PATH -DDEBUG_SELECT -DDEBUG_TTYMODE -DDEBUG_X DEBUG=-DDEBUG_STRICT first_rule: all dummy: SRCS = command.c graphics.c grkelot.c main.c menubar.c misc.c \ netdisp.c rmemset.c screen.c scrollbar2.c utmp.c xdefaults.c \ pixmap.c ximage_utils.c thai.c OBJS = command.o graphics.o grkelot.o main.o menubar.o misc.o \ netdisp.o rmemset.o screen.o scrollbar2.o utmp.o xdefaults.o \ pixmap.o ximage_utils.o thai.o HDRS = feature.h protos.h grkelot.h rxvt.h rxvtgrx.h screen.h version.h thai.h PROS = command.pro graphics.pro grkelot.pro main.pro menubar.pro misc.pro \ netdisp.pro rmemset.pro screen.pro scrollbar2.pro utmp.pro xdefaults.pro \ pixmap.pro ximage_utils.pro thai.pro DEPS = rxvt.h version.h ${basedir}/config.h feature.h # # Distribution variables # DIST = $(HDRS) $(SRCS) Makefile.in gcc-Wall .indent.pro makeprotos-sed .SUFFIXES: .c .o .pro # inference rules .c.o: $(CC) $(DEFS) $(DEBUG) -c $(CPPFLAGS) $(XINC) -I. -I$(basedir) -I$(srcdir) $(DINCLUDE) $(CFLAGS) $< #------------------------------------------------------------------------- all: aterm aterm: version.h $(PROS) $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(XLIB) $(DLIB) .c.pro: $(SED) -n -f $(srcdir)/makeprotos-sed $< > $@ tags: $(SRCS) ctags $(SRCS) allbin: aterm alldoc: clean: $(RMF) aterm core a.out $(OBJS) *.bak *~ realclean: clean $(RMF) tags *.pro distclean: realclean if test $(srcdir) = .; then $(MAKE) realclean; fi (cd $(srcdir); $(RMF) Makefile) install: allbin alldoc $(INSTALL_PROGRAM) aterm $(DESTDIR)$(bindir)/$(binprefix)aterm uninstall: (cd $(bindir); $(RMF) $(binprefix)aterm) distdirs: mkdir $(basedir)/../$(VERNAME)/$(thisdir) distcopy: $(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir) # Semi-automatic generation of dependencies: # Use gcc -MM because X11 `makedepend' doesn't work on all systems # and it also includes system headers. # `semi'-automatic since dependencies are generated at distribution time. #distdepend: # mv Makefile.in Makefile.in~ # sed "/^# DO NOT DELETE:/,$$ d" Makefile.in~ > Makefile.in # echo "# DO NOT DELETE: ugly dependency list follows" >> Makefile.in # gcc -MM $(CPPFLAGS) $(XINC) -I. -I$(basedir) -I$(srcdir) $(SRCS) >> Makefile.in # ----------------------------------------------------------------------- # DO NOT DELETE: nice dependency list follows command.o: command.c command.pro $(DEPS) graphics.o: graphics.c graphics.pro $(DEPS) grkelot.o: grkelot.c grkelot.pro $(DEPS) main.o: main.c main.pro $(DEPS) menubar.o: menubar.c menubar.pro $(DEPS) misc.o: misc.c misc.pro $(DEPS) netdisp.o: netdisp.c netdisp.pro $(DEPS) screen.o: screen.c screen.pro $(DEPS) screen.h scrollbar2.o: scrollbar2.c scrollbar2.pro $(DEPS) utmp.o: utmp.c utmp.pro $(DEPS) xdefaults.o: xdefaults.c xdefaults.pro $(DEPS) pixmap.o: pixmap.c pixmap.pro $(DEPS) ximage_utils.o: ximage_utils.c ximage_utils.pro $(DEPS) thai.o: thai.c thai.pro $(DEPS) thai.h