diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 128781a..0000000 --- a/LICENSE +++ /dev/null @@ -1,44 +0,0 @@ - -amiwm is Copyright 1995-1998 by Marcus Comstedt - -Amiga, AmigaOS and Workbench are registered trademarks of -AMIGA International Inc. - - -Generic amiwm License -===================== - -This license applies to whomever receives this file. It is a generic -license to use and distribute amiwm. If you want to acquire the software -under a different license, please contact the author. This license is -in part based on the XV license by John Bradley. - -Permission to copy and distribute amiwm in its entirety, for -non-commercial purposes, is hereby granted without fee, provided -that this license information and copyright notice appear in all copies. - -If you redistribute amiwm, the *entire* contents of this distribution -must be distributed, including the README, INSTALL and LICENSE files, -the sources, and the various scripts and Makefiles. - -You may distribute binaries built from the unmodified amiwm sources, for -non-commercial purposes, provided that the entire amiwm source distribution -is also included, as per the preceding paragraph. - -You may distribute amiwm as a component of an aggregate software -distribution, provided that no other condition of this license is violated. -In particular, the entire amiwm distribution must be included in the -aggregate software distribution. - -Unrestricted use of the software is also hereby granted without fee. -Distribution and modification of source or binaries are not considered use -and explicitly covered by other paragraphs of this license. - -The software may be modified for your own purposes, but modified versions -may not be distributed without prior consent of the author. You may -freely distribute patches against the unmodified source code. - -This software is provided 'as-is', without any express or implied -warranty. In no event will the author be held liable for any damages -arising from the use of this software. - diff --git a/Makefile b/Makefile deleted file mode 100644 index aed56fb..0000000 --- a/Makefile +++ /dev/null @@ -1,221 +0,0 @@ -srcdir = . - -SHELL = /bin/sh -CC = gcc -LEX = flex -YACC = bison -y -CFLAGS = -g -O2 -YFLAGS = -d -DEFS = -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_TERMIO_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 -DHAVE_SELECT=1 -DHAVE_STRDUP=1 -DHAVE_WAITPID=1 -DHAVE_XSHAPE=1 -DBSD_STYLE_GETTIMEOFDAY=1 -DHAVE_XCREATEFONTSET=1 -DHAVE_XMBTEXTESCAPEMENT=1 -DHAVE_XUTF8DRAWIMAGESTRING=1 -DUSE_FONTSETS=1 -DLAME_ENDIAN=1 -ALL_CFLAGS = -I. -I. -I./libami $(DEFS) $(CFLAGS) -LIBS = -lSM -lICE -Llibami -lami -lXext -lXmu \ - -lX11 -prefix = /usr/local -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -mandir = $(prefix)/man -INSTALL = /usr/bin/install -c -LN_S = ln -s -RM = -rm -f -LIBAMI = libami/libami.a -DT_DIR = /etc/dt -STRIPFLAG = -s - -PROGS = amiwm requestchoice executecmd ppmtoinfo - -MODULES = $(srcdir)/Background Keyboard Launcher - -OBJS = main.o screen.o client.o frame.o icc.o \ - icon.o menu.o diskobject.o gram.o lex.o rc.o \ - module.o - -SRCS = main.c screen.c client.c frame.c icc.c \ - icon.c menu.c diskobject.c gram.c lex.c rc.c \ - module.c \ - requestchoice.c executecmd.c kbdmodule.c kbdlexer.c \ - launchermodule.c - -DISTFILES = README README.modules INSTALL LICENSE amiwm.1 \ - configure configure.in Makefile.in install-sh smakefile scoptions \ - *.[chly] system.amiwmrc def_*.info *.map \ - Background Xresources.amiwm.in Amilogo.?m Xsession*.in Xinitrc.in \ - amiwm-init libami/Makefile.in libami/*.[chly] - -PACKAGENAME = amiwm - -AMIWM_HOME = $(libdir)/amiwm - -all : lib_all - @$(MAKE) local_all - -local_all : $(PROGS) $(MODULES) - -lib_all : - @( cd libami; $(MAKE) all ) - -.c.o: - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< - -menu.o : menu.c - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -DAMIWM_HOME=\"$(AMIWM_HOME)\" $< - -rc.o : rc.c - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -DAMIWM_HOME=\"$(AMIWM_HOME)\" $< - -diskobject.o : diskobject.c - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -DAMIWM_HOME=\"$(AMIWM_HOME)\" $< - -filesystem.o : joke_fs.c - $(CC) -o $@ -c $(CPPFLAGS) $(ALL_CFLAGS) -DAMIWM_HOME=\"$(AMIWM_HOME)\" $< - -ppmtoinfo.o : ppmtoinfo.c - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -DAMIWM_HOME=\"$(AMIWM_HOME)\" $< - -gram.h gram.c: gram.y - $(YACC) $(YFLAGS) $< - mv y.tab.c gram.c - mv y.tab.h gram.h - -lex.c : lex.l - $(LEX) -t $< > lex.c - -kbdmodule.h kbdmodule.c: kbdmodule.y - $(YACC) $(YFLAGS) $< - mv y.tab.c kbdmodule.c - mv y.tab.h kbdmodule.h - -kbdlexer.c : kbdlexer.l - $(LEX) -t $< > kbdlexer.c - -install : $(PROGS) $(MODULES) Xsession Xsession2 Xinitrc amiwm-init - -mkdir -p $(AMIWM_HOME) - $(INSTALL) $(STRIPFLAG) requestchoice $(AMIWM_HOME)/requestchoice - $(INSTALL) $(STRIPFLAG) executecmd $(AMIWM_HOME)/executecmd - for module in $(MODULES); do \ - if [ "$$module" = "$(srcdir)/Background" ]; then \ - $(INSTALL) $$module $(AMIWM_HOME)/Background; \ - else \ - $(INSTALL) $(STRIPFLAG) $$module $(AMIWM_HOME)/$$module; \ - fi; \ - done - $(INSTALL) -m 644 $(srcdir)/system.amiwmrc $(AMIWM_HOME)/system.amiwmrc - $(INSTALL) -m 644 $(srcdir)/def_tool.info $(AMIWM_HOME)/def_tool.info - $(INSTALL) -m 644 $(srcdir)/system.map $(AMIWM_HOME)/system.map - $(INSTALL) -m 644 $(srcdir)/magicwb.map $(AMIWM_HOME)/magicwb.map - $(INSTALL) -m 644 $(srcdir)/schwartz.map $(AMIWM_HOME)/schwartz.map - $(INSTALL) -m 755 Xsession $(AMIWM_HOME)/Xsession - $(INSTALL) -m 755 Xsession2 $(AMIWM_HOME)/Xsession2 - $(INSTALL) -m 755 Xinitrc $(AMIWM_HOME)/Xinitrc - $(INSTALL) -m 755 $(srcdir)/amiwm-init $(AMIWM_HOME)/amiwm-init - -mkdir -p $(bindir) - $(INSTALL) $(STRIPFLAG) amiwm $(bindir)/amiwm - $(INSTALL) $(STRIPFLAG) ppmtoinfo $(bindir)/ppmtoinfo - $(RM) $(bindir)/requestchoice - $(LN_S) $(AMIWM_HOME)/requestchoice $(bindir)/requestchoice - -mkdir -p $(mandir)/man1 - $(INSTALL) -m 644 $(srcdir)/amiwm.1 $(mandir)/man1/amiwm.1 - -fs-install : Filesystem - $(INSTALL) $(STRIPFLAG) Filesystem $(AMIWM_HOME)/Filesystem - $(INSTALL) -m 644 def_disk.info $(AMIWM_HOME)/def_disk.info - $(INSTALL) -m 644 def_drawer.info $(AMIWM_HOME)/def_disk.info - -cde-install : Xresources.amiwm Amilogo.bm Amilogo.pm - -mkdir -p $(DT_DIR)/config/C/Xresources.d - $(INSTALL) -m 644 Xresources.amiwm $(DT_DIR)/config/C/Xresources.d/Xresources.amiwm - -mkdir -p $(DT_DIR)/appconfig/icons/C - $(INSTALL) -m 644 Amilogo.bm $(DT_DIR)/appconfig/icons/C/Amilogo.bm - $(INSTALL) -m 644 Amilogo.pm $(DT_DIR)/appconfig/icons/C/Amilogo.pm - - -amiwm : $(OBJS) $(LIBAMI) - $(CC) -o amiwm $(OBJS) $(LIBS) - -requestchoice : requestchoice.o $(LIBAMI) - $(CC) -o requestchoice requestchoice.o $(LIBS) - -executecmd : executecmd.o $(LIBAMI) - $(CC) -o executecmd executecmd.o $(LIBS) - -Filesystem : filesystem.o $(LIBAMI) - $(CC) -o Filesystem filesystem.o $(LIBS) - -Keyboard : kbdmodule.o kbdlexer.o $(LIBAMI) - $(CC) -o Keyboard kbdmodule.o kbdlexer.o $(LIBS) - -Launcher : launchermodule.o $(LIBAMI) - $(CC) -o Launcher launchermodule.o $(LIBS) - -ppmtoinfo : ppmtoinfo.o - $(CC) -o ppmtoinfo ppmtoinfo.o -lm - -localetest : localetest.o $(LIBAMI) - $(CC) -o localetest localetest.o $(LIBS) - -clean : - $(RM) core $(PROGS) $(LIBAMI) Keyboard Launcher *.o libami/*.o - $(RM) lex.yy.c lex.c y.tab.c y.tab.h gram.h gram.c - $(RM) kbdlexer.c kbdmodule.h kbdmodule.c - $(RM) config.log - -distclean : clean - $(RM) config.status config.cache *~ - $(RM) Makefile libami/Makefile Xresources.amiwm Xsession Xsession2 Xinitrc - -spotless : distclean - -TAGS: - etags *.[ch] libami/*.[ch] - -patch : - mv version.h old_version.h - sed < old_version.h 's/l/"/' | awk '-F"' '{ printf "%s\"%sl%s\"\n",$$1,$$2,1+$$3 }' > version.h - rm old_version.h - -dist : version.h clean - ( version=`sed < version.h -e 's/^[^"]*"//' -e 's/"[^"]*$$//'`; \ - tarname="$(PACKAGENAME)$$version.tar"; \ - mkdir $(PACKAGENAME)$$version; \ - tar cf - $(DISTFILES) | (cd $(PACKAGENAME)$$version/; tar xf - ); \ - rm -f $$tarname $$tarname.gz; \ - tar cf $$tarname $(PACKAGENAME)$$version; \ - rm -rf $(PACKAGENAME)$$version; \ - gzip $$tarname; \ - ) - -$(srcdir)/configure: $(srcdir)/configure.in - autoconf $(srcdir)/configure.in > $(srcdir)/configure - -config.status: $(srcdir)/configure - $(srcdir)/configure - -Makefile: $(srcdir)/Makefile.in config.status - ./config.status - -libami/Makefile: $(srcdir)/libami/Makefile.in config.status - ./config.status - -Xresources.amiwm: $(srcdir)/Xresources.amiwm.in - sed -e 's:[@]bindir[@]:$(bindir):g' -e 's:[@]AMIWM_HOME[@]:$(AMIWM_HOME):g' < $(srcdir)/Xresources.amiwm.in > Xresources.amiwm - -Xsession: $(srcdir)/Xsession.in config.status - sed -e 's:[@]bindir[@]:$(bindir):g' -e 's:[@]AMIWM_HOME[@]:$(AMIWM_HOME):g' < $(srcdir)/Xsession.in > Xsession - -Xsession2: $(srcdir)/Xsession2.in config.status - sed -e 's:[@]bindir[@]:$(bindir):g' -e 's:[@]AMIWM_HOME[@]:$(AMIWM_HOME):g' < $(srcdir)/Xsession2.in > Xsession2 - -Xinitrc: $(srcdir)/Xinitrc.in config.status - sed -e 's:[@]bindir[@]:$(bindir):g' -e 's:[@]AMIWM_HOME[@]:$(AMIWM_HOME):g' < $(srcdir)/Xinitrc.in > Xinitrc - - -depend:: $(SRCS) - -@rm Makefile.bak - mv Makefile Makefile.bak - ( sed '/^#--DO NOT REMOVE THIS LINE--$$/q' < Makefile.bak ; \ - $(CC) -MM $(ALL_CFLAGS) $(SRCS) ) > Makefile - -depend:: - @( cd libami; $(MAKE) depend ) - -#--DO NOT REMOVE THIS LINE-- diff --git a/README b/README deleted file mode 100644 index 6e1311f..0000000 --- a/README +++ /dev/null @@ -1,174 +0,0 @@ - -< amiwm > by Marcus Comstedt (marcus@mc.pp.se) - - -0. Legal notices - -This program is distributed as FreeWare. The copyright remains with -the author. See the file LICENSE for more information. - -Amiga and Workbench are registered trademarks of AMIGA International Inc. - -1. Intro - -This is amiwm, an X window manager that tries to make your workstation -look like an Amiga®. "Why?" you ask. Because I wanted it to. So there! - -2. Compiling etc. - -For instructions on building and installing, read the file INSTALL. - -3. Configuration - -amiwm reads the file .amiwmrc in the directory pointed to by $HOME -when starting. If this file does not exist, it reads the file -system.amiwmrc instead. - -The configuration file can contain any of the following statements: - -FastQuit {yes|no} - -Specifies whether amiwm should quit directly when the Quit menu item -is selected, rather than popping up a requester. -(on/off or true/false can be used instead of yes/no.) - -SizeBorder {right|bottom|both|none} - -Specifies which border should be enlarged when a sizegadget is present. - -ForceMove {manual|auto|always} - -Enables you to move windows outside the perimeter of the root window -when pressing shift, when trying to drag at least 25% of the window -ofscreen, or always, respectively. - -IconDir "path" - -Specifies a directory in which amiwm will look for icons. - -DefaultIcon "name" - -Gives the filename of the .info file to use as a default icon. -It is relative to the IconDir. - -IconPalette {system|magicwb|schwartz|"filename"} - -Selects either the Workbench® default palette, or the MagicWorkbench -standard palette for use with icons. The third option is a 16 color -palette used on the "Eric Schwartz Productions CD Archive". Alternatively, -the filename of a PPM file representing the palette to use can be used. - -ScreenFont "fontname" - -Selects a font to use for windowtitles etc. - -IconFont "fontname" - -Selects a font for icontitles. - -{detailpen|blockpen|textpen|shinepen|shadowpen|fillpen|filltextpen| - backgroundpen|highlighttextpen|bardetailpen|barblockpen| - bartrimpen} "colorname" - -Modifies the colour scheme for the window manager. - -CustomIconsOnly {yes|no} - -This prevent applications to display their own icons when in iconified state. -Only icons defined in amiwmrc for each apps will be used. -Because apps own icon are too different from one eachother. -They comes in various sizes and themes. Some icons will be 32x32, -while some other will be a 128x128 or even bigger .. By using this option, -You have the possibility to decide which icon should be used for each app. -If no custom icons are defined at all, the def_tool.info will be used for -all iconified apps. Format is: style { class "myClass" icon "myIcon.info" } -To find out a given program's class, use "xlsclients -l" to list all opened -applications, and then use "xprop -id <0x0000000>" to list a -given app's properties. Use either WM_CLASS or WM_ICON_NAME strings in amiwmrc. - -ShortLabelIcons {yes|no} - -This limit the length of the text for iconified programs. For example, if this -option is activated, an iconified program text will be limited to 8 chars + ".." -Use this option if you don't want iconified program text to be loong strings.. - -TitleBarClock {yes|no} - -Enables a clock in the titlebar. It displays the date and time. - -TitleClockFormat [] "time string" - -This lets you choose a new format to display the Title Bar Clock. -The time string is formatted with the standard strftime() parameters. -The default is "%c". It has been found that "%a %b %e %Y %l:%M %p" works -well too. Number is the update interval in seconds. - -ToolItem "name" "command" ["hotkey"] - -Adds an item in the Tools menu with the specified name, which executes -the command when selected. A string containing a single uppercase letter -may be specified as the third argument, making this letter a hotkey for the -item. - -ToolItem Separator - -Inserts a separator bar in the Tools menu. - -ToolItem "name" { } - -Create ToolItem:s in a submenu with the specified name. It is not legal -to create a submenu inside another submenu. - -Screen [] "name" - -Create a new screen with the specified name. It will be placed below all -earlier created screens. To move a window between two screens, iconify it -and drag the icon over to the other screen. If the second argument is given, -this screen is placed on the corresponding X screen. - -ModulePath "path(:path...)" - -Sets one or more directories where amiwm will look for module binaries. -The default is AMIWM_HOME. Note that the module binaries cannot be -shared amongst different architectures. - -Module "name" ["initstring"] - -Start a module with the specified name. If initstring is specified, it -is sent to the module. There are currently two modules shipped with -amiwm; Background and Keyboard. These are documented in the file -README.modules. If a module is limited to a single screen, like the -Background module, the screen that was created last is used. - -InterScreenGap number - -Sets the size in number of pixels of the "video DMA off" area that appears -between screens when they are dragged. - -AutoRaise {yes|no} - -Selects wheteher windows will automatically be moved to the front when -they are activated. - -Focus {followmouse|sloppy|clicktotype} - -Sets the policy by which windows are given focus. Followmouse is the -default and means that the window that contains the mouse pointer will -have focus. Sloppy means that the window that had focus last will keep -it when the pointer is not over a window. ClickToType is the original AmigaOS -policy in which you have to explicitly give focus to windows by clicking -in them. - - -4. Troubleshooting - -The most likely reason for the windowmanager to crash is if it -can't find its default icon, or if this is not accepted as an -.info file. If this happens, amiwm _will_ dump core. So make -sure that either 'make install' runs successfully (in which case -amiwm will know where its icon is), or that the file .amiwmrc -contains a correct specification of the icon's location. - -Don't mail me bug reports just because amiwm prints "Bad Window" on -stderr once in a while. Redirect it to /dev/null or live with it. :) - diff --git a/README.modules b/README.modules deleted file mode 100644 index a1b4c46..0000000 --- a/README.modules +++ /dev/null @@ -1,70 +0,0 @@ - -Background module ------------------ - -To get background images on your screens, use the Background module. -The Module command should come after the Screen command, and the -initstring should be the filename of the picture(*). Example: - -Screen "My Screen" -Module "Background" "~/pliki/im" - -The Background module is really a shell script that requires that the -program 'display' from imagemagick package. Currently, it doesn't -support any standard imagemagick parameters. - -Keyboard module ---------------- - -With the Keyboard module, you can bind window manager functions to keys -on the keyboard. The initstring should consist of keybindings on the -form - -modifiers:where:func - -modifiers -========= - -Modifiers is 0 or more of: - Shift Control Meta Lock - Mod1 Mod2 Mod3 Mod4 Mod5 - Button1 Button2 Button3 Button4 Button5 - -The modifiers listed must be pressed together with the key to activate -the binding. - -keysym -====== - -Keysym is a standard X keysym name, like F1 or Prior. - -where -===== - -where is either "all", or one or more of window, frame, icon, root -separated with '|' (bar). This controls in what areas of the screen -that the key will be active. - -func -==== - -The function to perform when the key is pressed. -Currently the following are defined: - -rotatescreens - Move the frontmost screen to the back -front - Move the window in which the key is pressed to the front -back - Move the window in which the key is pressed to the back -iconify - Iconify the window in which the key is pressed - - -Example: - -Module "Keyboard" "\ - Meta:window|frame:front\ - Meta:window|frame:iconify\ - Meta:window|frame:back" - -This binds the keys Meta-F1, Meta-F2 and Meta-F3 to front, back and -iconify respectively. The will only have effect inside windows and in -window frames. (These are the only places that front/iconfy/back has -effect anyway.) diff --git a/Xsession b/Xsession deleted file mode 100644 index d3e8972..0000000 --- a/Xsession +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/ksh - -if [ -z "$SESSIONTYPE" ] -then - export SESSIONTYPE="altDt" -fi - -if [ -z "$DTSTARTIMS" ] -then - export DTSTARTIMS="False" -fi - -if [ -z "$SDT_ALT_SESSION" ] -then - export SDT_ALT_SESSION="/usr/local/lib/amiwm/Xsession2" -fi - -if [ -z "$SDT_ALT_HELLO" ] -then - export SDT_ALT_HELLO="/usr/dt/bin/dthello -string 'Starting the AmiWM Desktop' &" -fi - -export SDT_NO_DSDM="" - - -/usr/dt/bin/Xsession diff --git a/Xsession2 b/Xsession2 deleted file mode 100644 index fb2f0ee..0000000 --- a/Xsession2 +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/ksh - -unset SDT_ALT_SESSION -unset SDT_ALT_HELLO -unset SDT_NO_DSDM - -# -# Find "xinitrc" file by standard precedence rules and start -# the user's AmiWM Desktop. -# - -DEFAULT_XINITRC="/usr/local/lib/amiwm/Xinitrc" -HOME_XINITRC="$HOME/.xinitrc" - - if [ -z "$XINITRC" ]; then - if [ -f $HOME_XINITRC ]; then - XINITRC=$HOME_XINITRC - else - XINITRC=$DEFAULT_XINITRC - fi - fi - - echo "AmiWM Desktop Login" - - if [ -f $XINITRC ]; then - echo "using xinitrc file: $XINITRC" - /bin/ksh $XINITRC - else - echo "xinitrc file: $XINITRC not found" - if [ -f $DEFAULT_XINITRC ]; then - echo "using xinitrc: $DEFAULT_XINITRC" - /bin/ksh $DEFAULT_XINITRC - fi - fi diff --git a/libami/Makefile b/libami/Makefile deleted file mode 100644 index 28b4294..0000000 --- a/libami/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -srcdir = . - -SHELL = /bin/sh -CC = gcc -LEX = flex -YACC = bison -y -RANLIB = ranlib -CFLAGS = -g -O2 -YFLAGS = -d -DEFS = -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_TERMIO_H=1 -DHAVE_X11_EXTENSIONS_SHAPE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 -DHAVE_SELECT=1 -DHAVE_STRDUP=1 -DHAVE_WAITPID=1 -DHAVE_XSHAPE=1 -DBSD_STYLE_GETTIMEOFDAY=1 -DHAVE_XCREATEFONTSET=1 -DHAVE_XMBTEXTESCAPEMENT=1 -DHAVE_XUTF8DRAWIMAGESTRING=1 -DUSE_FONTSETS=1 -DLAME_ENDIAN=1 -ALL_CFLAGS = -I. -I.. $(DEFS) $(CFLAGS) -LIBS = -lSM -lICE -lXext -lXmu -lX11 -prefix = /usr/local -exec_prefix = ${prefix} -bindir = $(exec_prefix)/bin -libdir = $(exec_prefix)/lib -INSTALL = /usr/bin/install -c -LN_S = ln -s - -OBJS = drawinfo.o module.o broker.o eventdispatcher.o mdscreen.o \ - mdicon.o mdwindow.o kbdsupport.o hotkey.o \ - lists.o readargs.o iconlib.o iconutil.o error.o strutil.o \ - iffparse.o - -SRCS = drawinfo.c module.c broker.c eventdispatcher.c mdscreen.c \ - mdicon.c mdwindow.c kbdsupport.c hotkey.c \ - lists.c readargs.c iconlib.c iconutil.c error.c strutil.c \ - iffparse.c - -all : libami.a - -libami.a : $(OBJS) - ar rc libami.a $(OBJS) - $(RANLIB) libami.a - -.c.o: - $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $< - -depend: $(SRCS) - -@rm Makefile.bak - mv Makefile Makefile.bak - ( sed '/^#--DO NOT REMOVE THIS LINE--$$/q' < Makefile.bak ; \ - $(CC) -MM $(ALL_CFLAGS) $(SRCS) ) > Makefile - -#--DO NOT REMOVE THIS LINE--