blob: 74b111eb1b9bbeb0b748c79bf84abf25ee18a55b (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
CC = cc
CPP = cc -E
CXX = c++
CXXCPP = c++ -E
GDK_PIXBUF_CFLAGS = `$(GDK_PIXBUF_CONFIG) --cflags`
GDK_PIXBUF_LIBS = `$(GDK_PIXBUF_CONFIG) --libs`
GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
GTK_LIBS = `$(GTK_CONFIG) --libs`
LN_S = ln -s
INCLUDES = $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS)
XLIBDIR=$(LOCALBASE)/lib
LOCALLIBDIR=$(LOCALBASE)/lib
enginedir = $(XLIBDIR)/gtk/themes/engines
engine_LTLIBRARIES = libindustrial.la
libindustrial_la_LDFLAGS = -module -avoid-version
libindustrial_la_LIBADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS)
EXTRA_DIST = raleigh_dot.c
LTLIBRARIES = $(engine_LTLIBRARIES)
CPPFLAGS = -I$(XLIBDIR) -I$(LOCALLIBDIR) -D_GETOPT_H -D_THREAD_SAFE
LDFLAGS =
LIBS = -Wl,-export-dynamic -L$(XLIBDIR) -L$(LOCALLIBDIR)
libindustrial_la_DEPENDENCIES =
libindustrial_la_OBJECTS = industrial1_theme_main.lo \
industrial_style.lo
CFLAGS ?= -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
all: all-am
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
.c.o:
$(COMPILE) -c $<
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
libindustrial.la: $(libindustrial_la_OBJECTS) $(libindustrial_la_DEPENDENCIES)
$(LINK) -rpath $(enginedir) $(libindustrial_la_LDFLAGS) $(libindustrial_la_OBJECTS) $(libindustrial_la_LIBADD) $(LIBS)
all-am: $(LTLIBRARIES)
.NOEXPORT:
|