r3533: Build object files in ~/build/ROX-Filer, in case source directory is read...
[rox-filer/translations.git] / ROX-Filer / src / Makefile.in
blob8e407e345b2603deea7298048b6c626b9b879826
1 SHELL = @SHELL@
2 srcdir = @srcdir@
3 VPATH = @srcdir@
4 PLATFORM = @with_platform@
5 PLATFORM_DIR = $(srcdir)/../${PLATFORM}
6 CC = @CC@
7 .SUFFIXES:
8 .SUFFIXES: .c .o
10 PKG_CONFIG = @PKG_CONFIG@
11 LIBS = @LIBS@ @LFS_LDFLAGS@ -lICE -lSM
12 #PROF = -fprofile-arcs -pg
14 CFLAGS = ${PROF} @CFLAGS@ @LFS_CFLAGS@ \
15 `${PKG_CONFIG} --cflags gtk+-2.0 libxml-2.0`
16 LDFLAGS = ${PROF} @LDFLAGS@ ${LIBS} `${PKG_CONFIG} --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'`
17 EXEC = ${PLATFORM_DIR}/${PROG}
19 ############ Things to change for different programs
21 PROG = ROX-Filer
23 SRCS = abox.c action.c appinfo.c appmenu.c bind.c bookmarks.c \
24 cell_icon.c choices.c collection.c dir.c diritem.c display.c \
25 dnd.c dropbox.c filer.c find.c fscache.c gtkicontheme.c \
26 gtkiconthemeparser.c gtksavebox.c \
27 gui_support.c i18n.c icon.c infobox.c main.c menu.c minibuffer.c\
28 modechange.c mount.c options.c panel.c pinboard.c pixmaps.c \
29 remote.c rox_gettext.c run.c sc.c session.c support.c \
30 tasklist.c toolbar.c type.c usericons.c view_collection.c \
31 view_details.c view_iface.c wrapped.c xml.c xtypes.c
33 OBJECTS = abox.o action.o appinfo.o appmenu.o bind.o bookmarks.o \
34 cell_icon.o choices.o collection.o dir.o diritem.o display.o \
35 dnd.o dropbox.o filer.o find.o fscache.o gtkicontheme.o \
36 gtkiconthemeparser.o gtksavebox.o \
37 gui_support.o i18n.o icon.o infobox.o main.o menu.o minibuffer.o\
38 modechange.o mount.o options.o panel.o pinboard.o pixmaps.o \
39 remote.o rox_gettext.o run.o sc.o session.o support.o \
40 tasklist.o toolbar.o type.o usericons.o view_collection.o \
41 view_details.o view_iface.o wrapped.o xml.o xtypes.o
43 ############ Things to keep the same
45 ${PROG}: ${OBJECTS}
46 ${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
47 [ -d "${PLATFORM_DIR}" ] || mkdir "${PLATFORM_DIR}"
48 mv "${PROG}" "${PLATFORM_DIR}"
50 clean:
51 rm -f *.o Makefile.bak
53 depend:
54 makedepend -- ${CFLAGS} -- ${SRCS}
56 Makefile: Makefile.in config.status
57 ./config.status
59 config.h: config.h.in
60 ./config.status
62 config.status: configure
63 ./configure --with-platform="${PLATFORM}" --enable-rox
65 configure: configure.in
66 autoconf