1# 2# Imakefile for: 3# ACfax - Fax reception with X11-interface for amateur radio 4# Copyright (C) 1995-1998 Andreas Czechanowski, DL4SDC 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software Foundation, 18# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19# 20# andreas.czechanowski@ins.uni-stuttgart.de 21# 22 23# 24# set DEFINES according to your conditions : 25# 26# USE_XAW3D : define this if you have the Xaw3d-library 27# SBL_16 : if you have a SoundBlaster 16 which has a software- 28# controllable mixer device (/dev/mixer) 29# HAVE_LTOA : define if you have a function ltoa() converting long ints to 30# strings. A replacement is defined else. 31# DSP_SELECT : define this if your kernel supports select() on /dev/dsp 32# (kernels 2.0+ and even 1.3.82 do this !) 33# 34 35 DEFINES = -DUSE_XAW3D -DSBL_16 -DDSP_SELECT 36 37 SRCS = acfax.c Canvas.c mod_demod.c sblaster.c fax_funcs.c \ 38 x_image.c widgets.c \ 39 FChooser.c Directory.c DirMgr.c RegExp.c 40 OBJS = acfax.o Canvas.o mod_demod.o sblaster.o fax_funcs.o \ 41 x_image.o widgets.o \ 42 FChooser.o Directory.o DirMgr.o RegExp.o 43 44 INCLUDES = -I. 45LOCAL_LIBRARIES = -lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB) -lm -lgnuregex 46 SYS_LIBRARIES = 47 48all:: acfax 49 50ComplexProgramTarget(acfax) 51 52acfax.o: global.h mod_demod.h sblaster.h widgets.h 53widgets.o: widgets.h 54fax_funcs.o: fax_funcs.h x_image.h sblaster.h mod_demod.h 55x_image.o: x_image.h 56sblaster.o: sblaster.h mod_demod.h 57mod_demod.o: mod_demod.h 58