| 1 | ############################ -*- Mode: Makefile -*- ########################### |
| 2 | ## copt.mk --- |
| 3 | ## Author : Manoj Srivastava ( [email protected] ) |
| 4 | ## Created On : Sat Nov 15 02:48:40 2003 |
| 5 | ## Created On Node : glaurung.green-gryphon.com |
| 6 | ## Last Modified By : Manoj Srivastava |
| 7 | ## Last Modified On : Sat Nov 15 02:49:07 2003 |
| 8 | ## Last Machine Used: glaurung.green-gryphon.com |
| 9 | ## Update Count : 1 |
| 10 | ## Status : Unknown, Use with caution! |
| 11 | ## HISTORY : |
| 12 | ## Description : |
| 13 | ## |
| 14 | ## arch-tag: a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8 |
| 15 | ## |
| 16 | ############################################################################### |
| 17 | |
| 18 | CC = cc |
| 19 | CFLAGS = -O2 |
| 20 | PREFIX := /usr |
| 21 | |
| 22 | # Policy 10.1 says to make this the default |
| 23 | CFLAGS += -g |
| 24 | |
| 25 | ## ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) |
| 26 | ## endif |
| 27 | |
| 28 | ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
| 29 | STRIP += -s |
| 30 | LDFLAGS += -s |
| 31 | INT_INSTALL_TARGET = install |
| 32 | else |
| 33 | INT_INSTALL_TARGET = install |
| 34 | endif |