first checkin windows autotools
This commit is contained in:
57
package/windows/Makefile.am
Executable file
57
package/windows/Makefile.am
Executable file
@@ -0,0 +1,57 @@
|
||||
#######################################################################
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
#
|
||||
#######################################################################
|
||||
#how do you get the version??
|
||||
if DEBUG
|
||||
TARGET_CFG = Debug
|
||||
CFLAGS += -v -w
|
||||
else
|
||||
TARGET_CFG = Release
|
||||
endif
|
||||
|
||||
BUILT_FILE = $(PACKAGE)-$(VERSION).tar.bz2
|
||||
|
||||
.PHONY: package package-clean package-install package-uninstall casa
|
||||
|
||||
package: $(BUILT_FILE)
|
||||
|
||||
all clean:
|
||||
|
||||
$(BUILT_FILE):
|
||||
[ -d BUILT ] | mkdir -p BUILT
|
||||
cp -p $(top_srcdir)/bin/Setup.* BUILT
|
||||
cp -p $(top_srcdir)/bin/CASA.msi BUILT
|
||||
tar -cvf $(PACKAGE)-$(VERSION).tar ./BUILT
|
||||
bzip2 -z $(PACKAGE)-$(VERSION).tar
|
||||
|
||||
package-install: package
|
||||
|
||||
package-uninstall:
|
||||
|
||||
package-clean clean-local:
|
||||
rm -f *.bz2
|
||||
rm -rf BUILT
|
||||
|
||||
distclean-local: package-clean
|
||||
rm -f Makefile $(BUILT_FILE)
|
||||
|
||||
maintainer-clean-local:
|
||||
rm -f Makefile.in
|
||||
|
||||
Reference in New Issue
Block a user