aboutsummaryrefslogtreecommitdiffstats
path: root/x11/fbpanel/files/patch-Makefile.common
blob: 3c555ce62b2fd69af721ac11a57e5f5fe33a840b (plain) (blame)
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
28
29
30
31
32
--- Makefile.common.orig    Tue Apr 24 15:45:43 2007
+++ Makefile.common Thu Jun 21 06:58:50 2007
@@ -53,7 +53,7 @@
 
 DEVEL  = 0
 CHATTY = $(DEVEL)
-STATIC_PLUGINS = 0
+STATIC_PLUGINS = 1
 #$(warning CHATTY=$(CHATTY) DEVEL=$(DEVEL))
 ifeq (1,$(CHATTY))
 Q :=
@@ -89,10 +89,8 @@
 CC      ?= gcc
 AR      = ar
 LIBS    = $(shell pkg-config --libs glib-2.0 gmodule-2.0 gthread-2.0 gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib  -lXmu
-INCS2   = $(shell pkg-config --cflags glib-2.0 gmodule-2.0 gthread-2.0 gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
-INCS   := $(INCS2:-I%=-isystem %)
+INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
 
-CFLAGS ?= -O2 -Wall
 ifeq (1,$(DEVEL))
 override CFLAGS += -g
 endif
@@ -113,7 +111,7 @@
 
 %.dep : %.c
    $(call summary,DEP ,$@)
-   $(Q)$(CC) $(CPPFLAGS) $(INCS) -MM $< | sed 's/\($*\).o[ :]*/\1.o $@ :/' > $@
+   $(Q)$(CC) $(CPPFLAGS) $(INCS) -MM $< | sed 's/\($*\)\.o[ :]*/\1.o $@ :/' > $@
 
 
 #########################################