/[gentoo-x86]/sys-apps/gawk/files/filefuncs/Makefile
Gentoo

Diff of /sys-apps/gawk/files/filefuncs/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# Author: Martin Schlemmer <azarah@gentoo.org> 3# Author: Martin Schlemmer <azarah@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.9 2009/01/16 17:16:48 truedfx Exp $ 4# $Header: /var/cvsroot/gentoo-x86/sys-apps/gawk/files/filefuncs/Makefile,v 1.10 2009/05/16 22:02:25 vapier Exp $
5 5
6CC ?= gcc 6CC ?= gcc
7LD = $(CC) 7LD = $(CC)
8 8
9MAJORVER = 0 9MAJORVER = 0
33ifeq ($(DOIT),yes) 33ifeq ($(DOIT),yes)
34 34
35all: $(TARGET_LIB) 35all: $(TARGET_LIB)
36 36
37$(TARGET).o: $(TARGET).c 37$(TARGET).o: $(TARGET).c
38 $(CC) $(CFLAGS) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I$(AWKINCDIR) $^ 38 $(CC) $(CFLAGS) $(CPPFLAGS) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I$(AWKINCDIR) $^
39 39
40$(TARGET_LIB): $(TARGET).o 40$(TARGET_LIB): $(TARGET).o
41 $(LD) $(LDFLAGS) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) $^ 41 $(LD) $(LDFLAGS) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) $^
42 42
43install: $(TARGET_LIB) 43install: $(TARGET_LIB)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20