File: Makefile.am

package info (click to toggle)
sextractor 2.4.4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 3,340 kB
  • ctags: 1,766
  • sloc: ansic: 22,743; sh: 7,106; makefile: 96
file content (27 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Main Makefile for SExtractor
# Copyright (C) 2002-2005 Emmanuel Bertin.
AUTOMAKE_OPTIONS	= foreign no-dependencies
SUBDIRS			= man src
EXTRA_DIST		= config doc AUTHORS BUGS ChangeLog COPYING HISTORY \
			  INSTALL README THANKS \
			  acx_prog_cc_optim.m4
RPM_ROOTDIR		= /usr/src/RPM
RPM_SRCDIR		= $(RPM_ROOTDIR)/SOURCES
rpm:	dist
	cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
	rpmbuild -ba --clean $(PACKAGE_NAME).spec $(PACKAGE_NAME)-mp.spec

rpm-opteron:	dist
	cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
	GCCFLAGS="-O3 -g -funroll-loops -fomit-frame-pointer -Wall \
		-march=opteron" rpmbuild -ba --target=x86_64 \
		--clean $(PACKAGE_NAME).spec                                                             

rpm-athlon:	dist
	cp -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz $(RPM_SRCDIR)
	GCCFLAGS="-O3 -g -funroll-loops -fomit-frame-pointer -Wall -m32 \
		-march=i686 -msse -mfpmath=sse -mtune=athlon" rpmbuild \
		-ba --target=i686 --clean $(PACKAGE_NAME).spec

debug:
	$(MAKE) CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -Wall -m32 -g"