# Makefile.am: help build sources on mulitiple architectures # $Id: Makefile.am,v 1.1.2.1 2002/10/26 21:59:10 ganneff Exp $ # Copyright (C) 2002 Muddleftpd Team, http://www.nongnu.org/muddleftpd/ # # 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 of the License, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. bin_PROGRAMS = muddleftpd ftpwho mudpasswd ratiotool mudlogd muddleftpd_SOURCES = acl.c auth.c authanon.c authdisable.c authint.c authpam.c \ authunix.c bufread.c cfloader.c checkip.c cmd.c config.c \ datasock.c dir.c file.c ftp.c ftplist.c ftpout.c ftpsite.c \ ftpstat.c ftpstate.c ftptrans.c init.c logger.c main.c \ myglob.c newfile.c procnum.c proxy.c ratio.c select.c \ shmem.c socket.c string.c utils.c version.c \ util/pwgrent.c util/snprintf.c util/strerror.c ftpwho_SOURCES = ftpwho.c util/strerror.c utils.c string.c config.c newfile.c \ version.c util/snprintf.c util/pwgrent.c mudpasswd_SOURCES = mudpasswd.c util/strerror.c version.c util/snprintf.c ratiotool_SOURCES = ratiotool.c util/strerror.c version.c utils.c util/snprintf.c \ util/pwgrent.c mudlogd_SOURCES = mudlogd.c util/strerror.c util/snprintf.c config.c utils.c \ newfile.c version.c string.c prog=@MUDDLEPROG@ if NEWMALLOC muddleftpd_SOURCES += malloc.c ftpwho_SOURCES += malloc.c mudpasswd_SOURCES += malloc.c ratiotool_SOURCES += malloc.c endif DEFS=@DEFS@ -D$(shell uname) CFLAGSSHD:=$(DEFS) @CFLAGS@ if DEBUG AM_CFLAGS=$(DEFS) -g -Wall -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -DDEBUG #-Werror # else set for optimising output code else AM_CFLAGS=$(CFLAGSSHD) endif version.o: $(CC) $(CFLAGS) -DDATESTR="\"$(shell date)\"" -c $(@:.o=.c) -o $@