CASA/Makefile.am
2006-06-07 15:59:23 +00:00

72 lines
2.1 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 = c_micasacache c_common c_micasadk c_micasad/lib c_sharp \
c_policy c_adlib c_micasad c_gui login_capture c_jwrapper package
DIST_SUBDIRS = c_micasacache c_common c_micasadk c_micasad c_sharp \
c_policy c_adlib c_gui login_capture c_jwrapper package
endif
if WINDOWS
SUBDIRS = c_micasacache c_common c_micasadk c_jwrapper package
DIST_SUBDIRS = c_micasacache c_common c_micasadk c_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