1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
SHELL = /bin/sh
VPATH = @srcdir@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
infodir = $(prefix)/info
libdir = $(prefix)/lib/gnudl
mandir = $(prefix)/man/man1
helpdir = $(prefix)/share/gnome/help/powershell/C
pixdir = $(prefix)/share/pixmaps
deskdir = $(prefix)/share/gnome/apps/Utilities
CC = @CC@
CPPFLAGS = @CPPFLAGS@
CFLAGS = $(CPPFLAGS) @CFLAGS@ `gnome-config --cflags gnome gnomeui`
LDFLAGS = @LDFLAGS@ `gnome-config --libs gnome gnomeui` `gtk-config --libs`
LIBS = @LIBS@ -lgdk_imlib -lzvt
INSTALL = @INSTALL@
objects = main.o signals.o menu.o term.o globals.o rcfile.o prefs.o \
prefs-appearance.o prefs-colors.o prefs-menus.o prefs-handlers.o \
prefs-shortcuts.o about.o dragdrop.o ipc.o
powershell : $(objects)
gcc -o powershell $(objects) $(LDFLAGS) $(LIBS)
install: powershell
$(top_srcdir)/mkinstalldirs $(bindir)
$(INSTALL) powershell $(bindir)
$(top_srcdir)/mkinstalldirs $(helpdir)
$(INSTALL) docs/html/*.htm $(helpdir)
$(top_srcdir)/mkinstalldirs $(deskdir)
$(INSTALL) PowerShell.desktop $(deskdir)
$(top_srcdir)/mkinstalldirs $(pixdir)
$(INSTALL) powershell-about.png $(pixdir)
$(INSTALL) gnome-powershell.png $(pixdir)
uninstall:
/bin/rm -f $(bindir)/powershell
/bin/rm -rf $(helpdir)
clean:
/bin/rm -f *.o *~ powershell
distclean:
/bin/rm -f Makefile config.h config.status config.cache config.log stamp-h
main.o: powershell.h config.h
signals.o: powershell.h config.h
menu.o: powershell.h config.h
term.o: powershell.h config.h
globals.o: powershell.h config.h
rcfile.o: powershell.h config.h
prefs.o: powershell.h config.h
about.o: powershell.h config.h
dragdrop.o: powershell.h config.h
ipc.o: powershell.h config.h
|