4 PLATFORM_DIR
= $(srcdir)/..
9 PKG_CONFIG
= @PKG_CONFIG@
10 LIBS
= @LIBS@ @LFS_LDFLAGS@
-lICE
-lSM
11 #PROF = -fprofile-arcs -pg
13 CFLAGS
= -I.
-I
${srcdir} ${PROF} @CFLAGS@ @LFS_CFLAGS@ \
14 `${PKG_CONFIG} --cflags gtk+-2.0 libxml-2.0`
15 LDFLAGS
= ${PROF} @LDFLAGS@
`${PKG_CONFIG} --libs gtk+-2.0 libxml-2.0 | sed 's/-lpangoxft-[^ ]*//'` ${LIBS}
17 ############ Things to change for different programs
21 SRCS
= abox.c action.c appinfo.c appmenu.c bind.c bookmarks.c \
22 bulk_rename.c cell_icon.c choices.c collection.c
dir.c \
23 diritem.c display.c dnd.c dropbox.c filer.c find.c fscache.c \
25 gui_support.c i18n.c icon.c infobox.c main.c menu.c minibuffer.c\
26 modechange.c mount.c options.c panel.c pinboard.c pixmaps.c \
27 remote.c rox_gettext.c run.c sc.c session.c support.c \
28 tasklist.c toolbar.c type.c usericons.c view_collection.c \
29 view_details.c view_iface.c wrapped.c xml.c xtypes.c \
30 xdgmime.c xdgmimeglob.c xdgmimeint.c xdgmimemagic.c xdgmimeparent.c xdgmimealias.c xdgmimecache.c
32 OBJECTS
= abox.o action.o appinfo.o appmenu.o bind.o bookmarks.o \
33 bulk_rename.o cell_icon.o choices.o collection.o
dir.o \
34 diritem.o display.o dnd.o dropbox.o filer.o find.o fscache.o \
36 gui_support.o i18n.o icon.o infobox.o main.o menu.o minibuffer.o\
37 modechange.o mount.o options.o panel.o pinboard.o pixmaps.o \
38 remote.o rox_gettext.o run.o sc.o session.o support.o \
39 tasklist.o toolbar.o type.o usericons.o view_collection.o \
40 view_details.o view_iface.o wrapped.o xml.o xtypes.o \
41 xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimeparent.o xdgmimealias.o xdgmimecache.o
43 ############ Things to keep the same
46 ${CC} -o
"${PROG}" ${OBJECTS} ${LDFLAGS}
47 mv
"${PROG}" "${PLATFORM_DIR}"
48 -(cd
"${PLATFORM_DIR}" && \
49 objcopy
--only-keep-debug ROX-Filer ROX-Filer.dbg
&& \
51 objcopy
--add-gnu-debuglink
=ROX-Filer.dbg ROX-Filer
)
54 rm -f
*.o Makefile.bak
57 makedepend
-- ${CFLAGS} -- ${SRCS}
59 Makefile
: Makefile.in config.status
65 config.status
: configure
66 APP_DIR
="$(srcdir)/.." $(srcdir)/configure
68 configure
: configure.in
69 cd
$(srcdir) && autoconf