File: Imakefile

package info (click to toggle)
xoids 1.5-11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 168 kB
  • ctags: 348
  • sloc: ansic: 3,585; makefile: 36
file content (43 lines) | stat: -rw-r--r-- 900 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
XCOMM Xoids Imakefile
XCOMM Contributed by John Kilburg
XCOMM
XCOMM XPM setup

XPM_INC_FLAGS = -I/usr/X11R6/include/X11
XPM_LIB_FLAGS = -L/usr/X11R6/lib -lXpm

XCOMM You shouldn't have to change anything below unless you need to
XCOMM add a new architecture.
#define MyNull

CDEBUGFLAGS = -O2 -g
OS_C_FLAGS =
OS_LIB_FLAGS =
OS_DEFINES =

XCOMM This seems to do the right thing on Solaris 1.x.  What about 2.x?
#if defined(SunArchitecture)
#endif

#if defined(AlphaArchitecture)
#OS_LIB_FLAGS = -lbsd
#endif

#if defined(FreeBSDArchitecture)
#endif

SRCS = init.c oids.c oids_x.c
OBJS = init.o oids.o oids_x.o

INCLUDES = $(XPM_INC_FLAGS)
CCOPTIONS = $(OS_C_FLAGS)
DEFINES = $(OS_DEFINES)
EXTRA_LIBRARIES  = $(XPM_LIB_FLAGS) -lX11 -lm $(OS_LIB_FLAGS)

AllTarget(xoids)
NormalProgramTarget(xoids, $(OBJS), MyNull, MyNull, MyNull)
InstallProgram(xoids,$(BINDIR))
DependTarget()

XCOMM End of Imakefile