1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/astro/starplot/files/patch-gui::Makefile
Trevor Johnson aeb76ac389 new port of StarPlot 0.92.1, an astral viewer with projection from
the third dimension

Submitted by:	Patrick Li <pat@databits.net>
PR:		29910

	She went into a trance, and while she was in the trance,
	she gave some latitude and longitude figures.  We focused
	our satellite cameras on that point and the plane was there.

	--President Jimmy Carter
2001-08-30 04:50:19 +00:00

31 lines
1.1 KiB
Plaintext

--- gui/Makefile.orig Fri Mar 2 08:39:03 2001
+++ gui/Makefile Mon Aug 20 11:16:35 2001
@@ -1,21 +1,21 @@
HEADERS = starplot.h gtkviewer.h menu.h ../classes/stararray.h \
../classes/star.h ../classes/greek.h ../classes/specclass.h \
../classes/stringops.h ../classes/mathops.h ../classes/viewer.h
-DATADEF = -DDATADIR=\"$(DATADIR)\"
-DOCDEF = -DDOCDIR=\"$(DOCDIR)\"
+DATADEF = -DDATADIR=\"${DATADIR}\"
+DOCDEF = -DDOCDIR=\"${DOCSDIR}\"
+CFLAGS += `${GTK_CONFIG} --cflags`
all: starplot.o menuops.o filedialogs.o infodialogs.o chartdialogs.o \
hrdiagram.o
%.o: %.cc $(HEADERS)
- $(CXX) -c $< `gtk-config --cflags` $(CFLAGS) $(DATADEF)
+ $(CXX) -c $< $(CFLAGS) $(DATADEF)
menuops.o: menuops.cc $(HEADERS) xpmdata.h ../version.h
- $(CXX) -c menuops.cc `gtk-config --cflags` $(CFLAGS) \
- $(DATADEF) $(DOCDEF)
+ $(CXX) -c menuops.cc $(CFLAGS) $(DATADEF) $(DOCDEF)
starplot.o: starplot.cc $(HEADERS) ../version.h
- $(CXX) -c starplot.cc `gtk-config --cflags` $(CFLAGS) $(DATADEF)
+ $(CXX) -c starplot.cc $(CFLAGS) $(DATADEF)
clean:
rm -f *.o *.cc~ *.h~