emailrelay/src/main/Makefile.am
Graeme Walker c7cbeb435a v1.1.1
2003-07-05 12:00:00 +00:00

97 lines
2.5 KiB
Makefile

#
## Copyright (C) 2001-2003 Graeme Walker <graeme_walker@users.sourceforge.net>
##
## 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., 675 Mass Ave, Cambridge, MA 02139, USA.
##
#
# force symbol stripping on 'make install' -- see also make 'install-strip'
AM_INSTALL_PROGRAM_FLAGS=-s
EXTRA_DIST=\
common.dsp \
doxygen.cfg \
doxygen.h \
emailrelay.dsp \
emailrelay.dsw \
emailrelay.rc \
icon-32.ico \
icon2.ico \
icon3.ico \
icon4.ico \
messages.mc \
passwd.dsp \
poke.dsp \
resource.h \
submit.dsp \
winapp.cpp \
winapp.h \
winform.cpp \
winform.h \
winmain.cpp \
winmenu.cpp \
winmenu.h
INCLUDES = -I$(top_srcdir)/lib/$(COMPILER_VERSION) -I$(top_srcdir)/src/glib -I$(top_srcdir)/src/gnet -I$(top_srcdir)/src/gsmtp -DG_SPOOLDIR=\"$(e_spooldir)\"
e_sbin_PROGRAMS = emailrelay emailrelay-submit emailrelay-passwd
e_libexec_PROGRAMS = emailrelay-poke
e_spool_DATA =
emailrelay_SOURCES = \
commandline.cpp \
commandline.h \
configuration.cpp \
configuration.h \
legal.cpp \
legal.h \
main.cpp \
output.cpp \
output.h \
run.cpp \
run.h \
mingw.mak
emailrelay_LDADD = \
$(top_builddir)/src/gsmtp/libgsmtp.a \
$(top_builddir)/src/glib/libglib.a \
$(top_builddir)/src/gnet/libgnet.a
emailrelay_poke_SOURCES = poke.c
emailrelay_poke_LDADD =
emailrelay_passwd_SOURCES = passwd.cpp legal.cpp
emailrelay_passwd_LDADD = $(top_builddir)/src/glib/libglib.a
emailrelay_submit_SOURCES = submit.cpp legal.cpp
emailrelay_submit_LDADD = \
$(top_builddir)/src/gsmtp/libgsmtp.a \
$(top_builddir)/src/glib/libglib.a \
$(top_builddir)/src/gnet/libgnet.a
install-data-local: install-e_sbinPROGRAMS install-e_spoolDATA install-e_libexecPROGRAMS
-chgrp daemon $(DESTDIR)$(e_spooldir)
-chmod 775 $(DESTDIR)$(e_spooldir)
-chgrp daemon $(DESTDIR)$(e_sbindir)/emailrelay-submit
-chmod g+s $(DESTDIR)$(e_sbindir)/emailrelay-submit
install-exec-local:
uninstall-local:
-rmdir $(DESTDIR)$(e_spooldir) 2>/dev/null
-rmdir $(DESTDIR)$(e_libexecdir) 2>/dev/null