--- snd.orig/makefile.netbsd Thu Jan 1 01:00:00 1970 +++ makefile.netbsd Sun Feb 22 02:32:49 1998 @@ -0,0 +1,30 @@ +# Snd make file for NetBSD, assuming Motif is available (audio currently stubbed out) + +CC = gcc +#CFLAGS = -O2 -DXPM -DHAVE_OSS -I@X11BASE@/include -I@LOCALBASE@/include +CFLAGS = -DXPM -DHAVE_OSS -I@X11BASE@/include -I@LOCALBASE@/include +CFLAGS += -g + +LIBS = -L/usr/X11R6/lib -lMrm -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm -lossaudio +CLM_HEADERS = cmus_prototypes.h cmus.h sound_types.h +SND_HEADERS = snd.h snd-0.h snd-1.h snd-ufun.h snd-strings.h sndclm.h +SND_X_HEADERS = snd-x0.h snd-x1.h + +CLM_O_FILES = io.o headers.o + +O_FILES = snd-io.o snd-utils.o snd-parser.o snd-axis.o snd-data.o snd-fft.o snd-marks.o snd-file.o snd-edits.o snd-chn.o snd-dac.o snd-clip.o snd-find.o snd-snd.o snd-help.o snd-clm.o snd-main.o snd-print.o snd-ufun.o snd-ufunex.o snd-apply.o snd-trans.o snd-mix.o snd.o snd-env.o + +X_O_FILES = snd-xutils.o snd-xdata.o snd-xmenu.o snd-xchn.o snd-xsnd.o snd-xdac.o snd-xclip.o snd-xmain.o snd-xclm.o snd-xmix.o snd-xrec.o snd-xenv.o + +snd: $(CLM_HEADERS) $(SND_HEADERS) $(SND_X_HEADERS) $(CLM_O_FILES) $(O_FILES) $(X_O_FILES) + $(CC) $(CLM_O_FILES) $(O_FILES) $(X_O_FILES) -o snd $(LIBS) + +$(CLM_O_FILES): $(CLM_HEADERS) +$(O_FILES): $(SND_HEADERS) $(SND_X_HEADERS) +$(X_O_FILES): $(SND_HEADERS) $(SND_X_HEADERS) + +clean: + rm -f $(CLM_O_FILES) + rm -f $(O_FILES) + rm -f $(X_O_FILES) +