summaryrefslogtreecommitdiffstats
path: root/audio/xmixer/files/patch-aa
blob: 1f753385bb25d71365fc7c0263c0c9e9f8ad7162 (plain)
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
45
46
47
--- Makefile.in.orig	Sun Aug 22 07:25:07 1999
+++ Makefile.in	Sat Jul  1 15:58:55 2000
@@ -13,7 +13,7 @@
 DEF_MIXER = /dev/mixer
 VERSION	= 0.9.3
 
-CFLAGS	= -O -Wall @CFLAGS@ @X_CFLAGS@ -DDEFAULT_MIXER=\"$(DEF_MIXER)\" \
+CFLAGS	= @CFLAGS@ @X_CFLAGS@ -DDEFAULT_MIXER=\"$(DEF_MIXER)\" \
 			-DOSS -I$(top_srcdir) -I$(top_srcdir)/icons \
 			-DVERSION=\"$(VERSION)\"
 LDFLAGS = @LDFLAGS@
@@ -33,27 +33,29 @@
 	mkfb.pl < XMixer.ad > fallback.h
 
 gui_gtk.o: gui_gtk.c
-	$(CC) $(CFLAGS) $(INCS) `gtk-config --cflags` -c $<
+	$(CC) $(CFLAGS) $(INCS) `$(GTK_CONFIG) --cflags` -c $<
 
 %.o:	%.c
 	$(CC) $(CFLAGS) $(INCS) -c $<
 
+all:	gmixer xmixer
+
 xmixer: Xw/libXw.a $(OBJS)
 	$(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 gmixer: $(G_OBJS)
-	$(LD) $(LDFLAGS) -o $@ $(G_OBJS) `gtk-config --libs`
+	$(LD) $(LDFLAGS) -o $@ $(G_OBJS) `$(GTK_CONFIG) --libs`
 
 Xw/libXw.a:
-	cd Xw && make libXw.a
+	cd Xw && $(MAKE) libXw.a
 
 README: index.html
 	lynx -dump http://www/~rasca/xmixer/index.html | sed "s%//www/%//home.pages.de/%" > README
 
 install: $(PROGS)
-	install -o bin xmixer $(bindir)
-	install xmixer.man $(mandir)/xmixer.1
-	install -o bin gmixer $(bindir)
+	${BSD_INSTALL_PROGRAM} xmixer $(bindir)
+	${BSD_INSTALL_MAN} xmixer.man $(mandir)/xmixer.1
+	${BSD_INSTALL_PROGRAM} gmixer $(bindir)
 
 install.lib: libmixer.a
 	install libsmixer.a $(LIBDIR)
OpenPOWER on IntegriCloud