home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Enlightenment
/
enl14.tgz
/
enl14.tar
/
enl14
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1997-11-19
|
6KB
|
199 lines
# ENLIGHTENMENT Makefile template for GNU autoconf
# GPL (C) 1997 The Rasterman, Mandrake
# raster@rasterman.com mandrake@mandrake.net
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# the resultant executable
exe = tst
@SET_MAKE@
SHELL = /bin/sh
VPATH = @srcdir@
INSTALL = @INSTALL@
INSTALLBIN = $(INSTALL) -m 755
INSTALLLIB = $(INSTALL) -m 644
.SUFFIXES:
.SUFFIXES: .c .o
OPT = -g -Wall -pedantic
CC = @CC@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
datadir = @datadir@
incdir = @includedir@
libdir = @libdir@
exe2dir = @libexecdir@
mandir = @mandir@
SOURCES = \
actions.c \
alert.c \
buttons.c \
events.c \
file.c \
globals.c \
handlers.c \
imageclass.c \
lists.c \
loadcfg.c \
main.c \
menus.c \
misc.c \
root.c \
setup.c \
sliders.c
OBJS = \
actions.o \
alert.o \
buttons.o \
events.o \
file.o \
globals.o \
handlers.o \
imageclass.o \
lists.o \
loadcfg.o \
main.o \
menus.o \
misc.o \
root.o \
setup.o \
sliders.o
MISC = \
configure
LIB = \
-lm \
-ljpeg \
-lpng \
-lz
XLIB = \
-lX11 \
-lXext \
-lXtst \
-lIm
LIBS = \
@LIBS@ \
@X_LIBS@ \
@X_EXTRA_LIBS@ \
$(LIB) \
$(XLIB)
CFLAGS = \
@CFLAGS@ \
@X_CFLAGS@ \
$(OPT)
all: $(exe)
install: all
$(top_srcdir)/mkinstalldirs $(bindir)
$(INSTALL) $(exe) $(bindir)/$(exe)
@echo "--------------------------------------------------------------------------------"
@echo "Enlightenment installed. Please check the above output just to be"
@echo "sure it installed in the correct location, and for your own reference"
@echo "remember where it went, so you can simply uninstall enlightenment"
@echo "by deleting everything in the enlightenment directory, the directory"
@echo "itself, and all symlinks that point into this directory."
@echo "--------------------------------------------------------------------------------"
@echo "Now, if you want Enlightenment to be used as your Window Manager"
@echo "next time you log into X, edit either your .xsession or .xinitrc"
@echo "files (.xsession if you use XDM, .xinitrc if you use startx)"
@echo "and either replace the previous line that runs a Window Manager"
@echo "(eg. fvwm, twm, fvwm95, afterstep, windowmaker etc.) with a line"
@echo "that runs enlightenment (eg /usr/local/enlightenment/bin/enlightenment)"
@echo "If you do not have one of these files, just create a new one with"
@echo "the only line in it being as described above. Also to be sure it"
@echo "will work, make sure this file is executable. You can do this by"
@echo "the following command:"
@echo " chmod u+x .xsession"
@echo "or"
@echo " chmod u+x .xinitrc"
@echo "or whatever is relevant to your situation."
@echo "--------------------------------------------------------------------------------"
@echo "NOTE NOTE NOTE : Hey Mandrake.. the above is my meaningless drivel"
@echo "so ignore it. How about we make enlightenment detect if a WM is running"
@echo "and examine your .xsession/.xinitrc and modify them for you if need"
@echo "be, then shut down the other wm (XkillClient?)"
uninstall:
/bin/rm -f $(bindir)/$(exe)
.c.o:
$(CC) -c $(CPPFLAGS) $(CFLAGS) $<
$(exe): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
@echo "--------------------------------------------------------------------------------"
@echo "Enlightenment compiled."
@echo ""
@echo "If there were warnings above, please check the code where those warnings"
@echo "occured, and if possible fix them, and send a patch in to either:"
@echo " raster@rasterman.com or mandrake@mandrake.net"
@echo "but please hurry, because waiting too long after a release may mean"
@echo "that the patch will not patch cleanly. In this event we will either"
@echo "give up, or attempt to patch by hand. We may ask you for more information"
@echo "also if this is difficult."
@echo "--------------------------------------------------------------------------------"
@echo "If you didn't type:"
@echo " make install"
@echo "type that now if you want Enlightenment installed in the correct"
@echo "place on your system."
@echo "--------------------------------------------------------------------------------"
clean:
/bin/rm -f core *.o $(OBJS) $(exe)
distclean: clean
/bin/rm -f Makefile config.h config.status config.cache config.log *~
dist: distclean
/bin/sh -c "cd .. ; tar zcvf enl14.tgz enl14"
mostlyclean: clean
maintainer-clean: clean
# automatic re-running of configure if the ocnfigure.in file has changed
${srcdir}/configure: configure.in
cd ${srcdir} && autoconf
# autoheader might not change config.h.in, so touch a stamp file
${srcdir}/config.h.in: stamp-h.in
${srcdir}/stamp-h.in: configure.in
cd ${srcdir} && autoheader
echo timestamp > ${srcdir}/stamp-h.in
config.h: stamp-h
stamp-h: config.h.in config.status
./config.status
Makefile: Makefile.in config.status
./config.status
config.status: configure
./config.status --recheck