blob: 9d1f7f273f4b3998af5623fbf15ccb80af6116ce (
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
|
$NetBSD: patch-aa,v 1.4 2002/09/23 01:26:26 jlam Exp $
--- /dev/null Thu May 10 23:00:48 2001
+++ Config.tmpl_netbsd
@@ -0,0 +1,41 @@
+# Configuration file for NetBSD and OpenMotif/LessTif.
+
+SYSFLAGS = -DBSD
+
+SRC_DIR = $(TCM_HOME)/src
+BIN_DIR = $(TCM_HOME)/bin
+LIB_DIR = $(TCM_HOME)/lib
+
+MOTIF_INCLUDE = $(MOTIF_HOME)/include
+MOTIF_LIB = $(MOTIF_HOME)/lib
+
+XWIN_INCLUDE = $(XWIN_HOME)/include
+XWIN_LIB = $(XWIN_HOME)/lib
+
+LDFLAGS += -L$(LIB_DIR) -R$(MOTIF_LIB) -L$(MOTIF_LIB) -R$(XWIN_LIB) -L$(XWIN_LIB)
+
+LDLIBS += ${MOTIFLIB} -lXt -lSM -lICE -lXext -lX11 -lm
+
+STRIP ?= /usr/bin/true
+MV ?= /bin/mv
+RM ?= /bin/rm
+
+INCLUDEDIRS = -I.\
+ -I$(SRC_DIR)/bitmaps\
+ -I$(SRC_DIR)/gl\
+ -I$(SRC_DIR)/ui\
+ -I$(SRC_DIR)/ed\
+ -I$(SRC_DIR)/dg\
+ -I$(SRC_DIR)/tb\
+ -I$(MOTIF_INCLUDE)\
+ -I$(XWIN_INCLUDE)\
+
+CPPFLAGS += $(SYSFLAGS) $(INCLUDEDIRS)
+MKDEPEND = $(XWIN_HOME)/bin/makedepend
+MKDEPENDFLAGS = $(CPPFLAGS) -I/usr/include/g++
+
+xclean:
+ $(RM) *.o core $(SRC_DIR)/ptrepository/* $(SRC_DIR)/Templates.DB/*
+
+xdepend:
+ $(MKDEPEND) $(MKDEPENDFLAGS) *.*c
|