30f5c7db08
X-CD-Roast is a program dedicated to easy CD creation under most UNIX platforms. It combines command line tools like cdrecord, cdda2wav, and mkisofs into a nice graphical user interface.
68 lines
2.6 KiB
Plaintext
68 lines
2.6 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.1.1.1 2002/07/14 19:34:28 wilfried Exp $
|
|
--- Makefile.orig Tue Jul 17 23:46:26 2001
|
|
+++ Makefile Sun Jul 14 10:54:28 2002
|
|
@@ -6,7 +6,7 @@
|
|
# Installation prefix directory:
|
|
|
|
#PREFIX=/usr
|
|
-PREFIX=/usr/local
|
|
+PREFIX=${LOCALBASE}
|
|
PRE_LIBDIR=$(PREFIX)/lib/xcdroast-0.98
|
|
|
|
# put here the prefix where you want xcdroast to look for
|
|
@@ -23,29 +23,17 @@ INSTALL=/usr/bin/install -c
|
|
|
|
#---
|
|
|
|
-CFLAGS=-Wall `gtk-config --cflags` `imlib-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
|
|
+CFLAGS1=-Wall `gtk-config --cflags` `imlib-config --cflags` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
|
|
CFLAGS2=-Wall `glib-config --cflags --libs` -DPRE_PREFIX="\"$(PREFIX)\"" -DPRE_LIBDIR="\"$(PRE_LIBDIR)\"" -DCDRTOOLS_PREFIX="\"$(CDRTOOLS_PREFIX)\""
|
|
LIBS=`gtk-config --libs` `imlib-config --libs` -lgdk_imlib
|
|
TOOLLIBS=`gtk-config --libs`
|
|
-CC=gcc
|
|
|
|
OBJ = main.o language.o init.o tools.o xtools.o menus.o setup.o io.o duplicate.o wav_frontend.o wav_id.o create.o
|
|
|
|
all: xcdroast wavplay rmtool vrfytool cddbtool xcdrwrap
|
|
- @echo
|
|
- @echo "***********************************************************"
|
|
- @echo " Please don't forget to install now \"cdrecord-1.10\" as"
|
|
- @echo " described in the README. Before doing a \"make install\""
|
|
- @echo " I recommend to do a \"make deinstall\" if you already"
|
|
- @echo " had a prior alpha of X-CD-Roast 0.98 installed."
|
|
- @echo
|
|
- @echo " Check out \"README.nonroot\" now."
|
|
- @echo "***********************************************************"
|
|
- @echo
|
|
-
|
|
|
|
.c.o: xcdroast.h main.h
|
|
- $(CC) $(CFLAGS) -c $<
|
|
+ $(CC) $(CFLAGS) $(CFLAGS1) -c $<
|
|
|
|
xcdroast: $(OBJ)
|
|
$(CC) $(OBJ) $(LIBS) -o xcdroast
|
|
@@ -67,7 +55,7 @@ cddbtool: cddbtool.o tools.o
|
|
cp cddbtool lib/bin
|
|
|
|
xcdrwrap: xcdrwrap.c tools.o
|
|
- $(CC) $(CFLAGS2) xcdrwrap.c tools.o -o xcdrwrap
|
|
+ $(CC) $(CFLAGS) $(CFLAGS2) xcdrwrap.c tools.o -o xcdrwrap
|
|
cp xcdrwrap lib/bin
|
|
|
|
install:
|
|
@@ -82,13 +70,6 @@ install:
|
|
$(INSTALL) -m 0644 ./lib/icons/* $(DESTDIR)/$(PRE_LIBDIR)/icons
|
|
$(INSTALL) -m 0644 ./lib/lang/* $(DESTDIR)/$(PRE_LIBDIR)/lang
|
|
$(INSTALL) -m 0644 ./lib/sound/* $(DESTDIR)/$(PRE_LIBDIR)/sound
|
|
- @echo
|
|
- @echo "***********************************************************"
|
|
- @echo " Now don't forget to set the permissions according to "
|
|
- @echo " \"README.nonroot\" before starting X-CD-Roast by typing"
|
|
- @echo " \"xcdroast\"."
|
|
- @echo "***********************************************************"
|
|
- @echo
|
|
|
|
perms:
|
|
chown root:cdwrite $(DESTDIR)/$(PRE_LIBDIR)/bin/xcdrwrap
|