1#ifndef XCOMM 2#define XCOMM # 3#endif 4XCOMM Imakefile for xmixer 5XCOMM 6XCOMM remove comment chars if you have a local template for 7XCOMM individual settings, e.g. other pathes etc.. 8XCOMM 9#include <Local.tmpl> 10XCOMM 11 12/* #define NoPrototypes */ 13 14#ifdef NoPrototypes 15DEF_NOP = -DNeedFunctionPrototypes=0 -DNeedVarargsPrototypes=0 16#endif 17 18#ifdef LinuxArchitecture 19OPTS = -Wall -posix -ansi -DOSS # -DDEBUG -g 20LOCAL_LDFLAGS = -s 21#endif 22 23CCOPTIONS = $(OPTS) $(DEF_NOP) -I. -DDEFAULT_MIXER=\"/dev/mixer\" \ 24 -DVERSION=\"0.9\" 25 26DEPENDFLAGS = -IXw/ -I. -Iicons/ 27 28#ifdef SGIArchitecture 29LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -L./Xw -lXw 30#else 31LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) -L./Xw -lXw 32#endif 33 34SUBDIRS = Xw 35#define PassCDebugFlags "CDEBUGFLAGS=$(CDEBUGFLAGS) $(OPTS)" 36DEPLIBS = Xw/libXw.a 37 38SRCS = main.c gui_xaw.c chglbl.c mixer.c scf.c 39OBJS = main.o gui_xaw.o chglbl.o mixer.o scf.o 40 41MakeSubdirs($(SUBDIRS)) 42CleanSubdirs($(SUBDIRS)) 43ComplexProgramTarget(xmixer) 44 45fallback.h: XMixer.ad 46 mkfb.pl < XMixer.ad > fallback.h 47 48README: index.html 49 lynx -dump http://www/~rasca/xmixer/index.html | \ 50 sed "s%/www/%/home.pages.de/%" > README 51 52bin: 53 gzip xmixer 54 55tarball: 56 rm -f Makefile && cd .. && tar -chzvf xmixer-0.9.3.tar.gz xmixer/ 57 58xmixer.html: xmixer.man 59 groff -Tlatin1 -man xmixer.man | ~/bin/man2html > xmixer.html 60 61test: xmixer 62 ./xmixer 63 64