CASA/CASA/Makefile.am

72 lines
2.0 KiB
Makefile

#######################################################################
#
# Copyright (C) 2006 Novell, Inc.
#
# 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.
#
#
#######################################################################
if DEBUG
TARGET_CFG = Debug
else
TARGET_CFG = Release
endif
if LINUX
SUBDIRS = micasacache common micasadk micasad/lib sharp \
policy adlib micasad gui logincapture jwrapper package
DIST_SUBDIRS = micasacache common micasadk micasad sharp \
policy adlib gui logincapture jwrapper package
endif
if WINDOWS
SUBDIRS = micasacache common micasadk jwrapper package
DIST_SUBDIRS = micasacache common micasadk jwrapper package
endif
EXTRA_DIST = include include/*.h \
doc/*txt doc/*.pdf \
Readme*.txt autogen.sh
CASALIBDIR = $(LIB)
if LIB64
CASABINDIR = bin64
else
CASABINDIR = bin
endif
.PHONY: package package-clean package-install package-uninstall
package package-clean package-install package-uninstall:
$(MAKE) -C package $@
installcheck-summary:
$(MAKE) -C src $@
clean-local:
rm -rf *.suo $(CASALIBDIR)
rm -rf *.suo $(CASABINDIR)
maintainer-clean-local:
rm -f configure Makefile.in casa-*.tar.gz
rm -f aclocal.m4 conf*.sh configure.lineno
rm -f config.guess config.sub config.status
rm -f ltmain.sh libtool
rm -f install-sh install-sh.lnk INSTALL INSTALL.lnk
rm -f missing missing.lnk mkinstalldirs mkinstalldir.lnk
rm -rf autom4te.cache