summaryrefslogtreecommitdiff
path: root/devel/amulet/files/Makefile.vars.gcc.FreeBSD
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-05-12 14:04:52 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-05-12 14:04:52 +0000
commitc474f947d2ae01e028eef3b9e7cd5a80f942bb24 (patch)
treeb0b24a58860ca54b453c7b0fc3aeb38ea2823d22 /devel/amulet/files/Makefile.vars.gcc.FreeBSD
parentAdd reference to the rpm2cpio converter written in perl. You still (diff)
A free C++ GUI library.
Submitted by: Filip Bovyn <bovynf@awe.be> PR: ports/4192
Notes
Notes: svn path=/head/; revision=10957
Diffstat (limited to 'devel/amulet/files/Makefile.vars.gcc.FreeBSD')
-rw-r--r--devel/amulet/files/Makefile.vars.gcc.FreeBSD61
1 files changed, 61 insertions, 0 deletions
diff --git a/devel/amulet/files/Makefile.vars.gcc.FreeBSD b/devel/amulet/files/Makefile.vars.gcc.FreeBSD
new file mode 100644
index 000000000000..31407b989ebc
--- /dev/null
+++ b/devel/amulet/files/Makefile.vars.gcc.FreeBSD
@@ -0,0 +1,61 @@
+
+CC = g++
+LD = ld
+
+##
+## Parameters for Amulet programs
+##
+
+# X11 directories, uncomment and set if necessary
+X11_INC = -I/usr/X11R6/include
+X11_LIB = -L/usr/X11R6/lib
+
+# directory where Amulet will (eventually) be installed
+# defaults to its current location (AMULET_DIR)
+AMULET_ROOT=$(PREFIX)/share/amulet
+
+# compiler flags for Amulet programs
+AM_CFLAGS = -I$(AMULET_DIR)/include $(X11_INC) -Wall \
+ -DGCC -DMEMORY
+
+# libraries needed by Amulet (interactors needs math library)
+AM_LIBS = $(X11_LIB) -lX11 -lm
+
+
+##
+## Parameters for the Amulet library
+##
+
+# additional compiler flags for development version
+AM_DEVELOP = -O2 -DDEBUG -g -DAMULET2_CONVERSION
+
+# additional compiler flags for release version
+AM_RELEASE = -O2 -DAMULET2_CONVERSION
+
+# additional compiler flags for optimized version with inspector and debugging enabled
+AM_INHOUSE = -DDEBUG -g
+
+# additional compiler flags for optimized version with inspector but no debugging symbols
+AM_NODEBUGSYM = -O2 -DDEBUG -DAMULET2_CONVERSION
+
+# Flags used to build the sample programs
+AM_SAMPLE_FLAGS = $(AM_NODEBUGSYM)
+
+# Default set of extra compiler flags
+OP = $(AM_NODEBUGSYM)
+
+# extra link flags for library test programs
+AM_LIB_LDFLAGS =
+
+# Makefile identifying the gem files for this platform
+AM_GEM_SOURCE = Makefile.gem.X
+
+# Makefile that knows how to make the Amulet library for this platform
+AM_SHARED_LIB_MAKE = Makefile.lib.gcc.shared
+AM_STATIC_LIB_MAKE = Makefile.lib.unix.static
+
+# Set of library variants for make libs
+# Note: The develop-shared library will also be build when
+# we build the samples programs. If we add it here it would
+# be build twice.
+AM_LIBS_TO_MAKE = release-shared release-static