File: Imakefile

package info (click to toggle)
libforms1 1.0-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,648 kB
  • ctags: 14,351
  • sloc: ansic: 90,441; makefile: 9,902; sh: 8
file content (132 lines) | stat: -rw-r--r-- 2,278 bytes parent folder | download | duplicates (3)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
#define TargetName fdesign
#define Optimize NO

# $Locker: spl $
# $Date: 1998/04/20 20:27:49 $
# $State: Exp $

# $Log: Imakefile,v $
#

SRCS	= \
	  fd_attribs.c \
	  fd_control.c \
	  fd_fake.c \
	  fd_file.c \
	  fd_forms.c \
	  fd_groups.c \
	  fd_help.c \
	  fd_initforms.c \
	  fd_main.c \
	  fd_names.c \
	  fd_objects.c \
	  fd_pallette.c \
	  fd_printC.c \
	  fd_rubber.c \
	  fd_select.c \
	  fd_spec.c \
	  fd_super.c \
	  fd_util.c \
	  sp_browser.c \
	  sp_button.c \
	  sp_choice.c \
	  sp_counter.c \
	  sp_dial.c \
	  sp_freeobj.c \
	  sp_menu.c \
	  sp_pixmap.c \
	  sp_positioner.c \
	  sp_scrollbar.c \
	  sp_slider.c \
	  sp_twheel.c \
	  sp_xyplot.c \
	  /* do not delete this line */

#	No user servicable parts below here.
#	Consult a trained technician.

OBJS	= $(SRCS:.c=.o)

#if Solaris64Bit
LDPRELIB	= -L/usr/openwin/lib/sparcv9
CCENVSETUP	= LD_RUN_PATH=/usr/openwin/lib/sparcv9
#endif

#if StaticLink
#if HasGcc2
STATIC		= -Xlinker -Bstatic
UNSTATIC	= -Xlinker -Bdynamic
#else
STATIC		= -static
UNSTATIC	= -dynamic
#endif

#if NonstandardXpm
XPMLIBLOC	= XpmLibLoc
XPMLIBLIBDIR	= -L$(XPMLIBLOC)
#endif

XPMLIB		= $(XPMLIBLIBDIR) -lXpm
#endif

FORMSLIBDIR     = $(TOP)/lib
FORMSINCDIR     = $(FORMSLIBDIR)       
FORMSLIB        = -L$(FORMSLIBDIR) -lforms
DEPFORMSLIB     = $(FORMSLIBDIR)/libforms.a

#if !HaveSnprintf
SNPLIBDIR	= $(TOP)/snp
SNPINCDIR	= $(SNPLIBDIR)       
SNPINC		= -I$(SNPINCDIR)
SNPLIB		= -L$(SNPLIBDIR) -lformssnp
DEPSNPLIB	= $(SNPLIBDIR)/libformssnp.a
#endif

#if InstallNonstandard
SHLIBDIR	= XFormsNonstandardInstallDir/lib
USRLIBDIR	= XFormsNonstandardInstallDir/lib
INCDIR		= XFormsNonstandardInstallDir/include
#endif

EXTRA_INCLUDES  = \
		  $(SNPINC) \
		  -I$(BUILDINCDIR) \
		  -I$(FORMSINCDIR) \
		  -I$(FORMSINCDIR)/private \
		  -Ifd \
		  -Ispec \
		  -Ixpm \
		  -I.

DEPEND_DEFINES	= \
		  -I/usr/local/include


EXTRA_LIBRARIES	= \
		  $(STATIC) \
		  $(FORMSLIB) \
		  $(XPMLIB) \
		  $(SNPLIB) \
		  $(UNSTATIC) \
		  -lm

EXTRA_DEFINES	= \
		  -DMAKING_FORMS=1

DEPLIBS		= \
		  $(DEPSNPLIB) \
		  $(DEPFORMSLIB) \
		  $(DEPXPMLIB)

SYS_LIBRARIES	= \
		  $(XLIB)

ComplexProgramTarget(TargetName)

#if InstallNonstandard
BINDIR		= XFormsNonstandardInstallDir/bin
#endif

distclean::
	make clean
	$(RM) Makefile