/[gentoo-x86]/x11-plugins/pidgin-opensteamworks/files/pidgin-opensteamworks-1.0_p30-Makefile
Gentoo

Contents of /x11-plugins/pidgin-opensteamworks/files/pidgin-opensteamworks-1.0_p30-Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu May 24 01:37:15 2012 UTC (2 years, 2 months ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
version bump with Manuel Rueger

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 CC ?= gcc
2
3 PLUGINDIR ?= $(shell pkg-config --variable=plugindir purple)
4
5 CFLAGS += -Wall -fPIC
6 LDFLAGS += -shared
7 CPPFLAGS += $(shell pkg-config --cflags glib-2.0 json-glib-1.0 purple)
8 LIBS += $(shell pkg-config --libs glib-2.0 json-glib-1.0 purple)
9
10 TARGET = libsteam.so
11
12 OBJS = libsteam.o steam_connection.o
13
14 %.o: %.c %.h
15 $(CC) $(CFLAGS) $(CPPFLAGS) -c $*.c
16
17 $(TARGET): $(OBJS)
18 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
19
20 install: $(TARGET)
21 @install -Dm755 $(TARGET) "$(DESTDIR)$(PLUGINDIR)/$(TARGET)"
22
23 uninstall:
24 @rm -f "$(DESTDIR)$(PLUGINDIR)/$(TARGET)"
25
26 clean:
27 @rm -f $(OBJS) $(TARGET)
28
29 .PHONY: uninstall clean

  ViewVC Help
Powered by ViewVC 1.1.20