File: Imakefile

package info (click to toggle)
mpsql 2.0-2
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 2,912 kB
  • ctags: 5,665
  • sloc: ansic: 34,322; makefile: 3,525; sh: 17
file content (77 lines) | stat: -rw-r--r-- 2,282 bytes parent folder | download
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
XCOMM ------------------------------------------------------------
XCOMM Imakefile for libhelp
XCOMM Copyright (C) 1996-1998 Mutiny Bay Software
XCOMM 
XCOMM Contains modified sources by Thomas Harrer
XCOMM 	copyright (c) 1995 ipvr stuttgart and thomas harrer
XCOMM ------------------------------------------------------------

#include "../config.inc"

           COPT = -O
           INCS = 
           DEFS = 

#if defined(SunArchitecture) 
#if OSMajorVersion > 4
        SUNINCS = -I/usr/ucbinclude
        SUNLIBS = -lgen -lXext
#else
        SUNDEFS = -DNO_MEMMOVE
        SUNLIBS = -lXext
#endif
#endif

#if defined(HPArchitecture)
             CC = c89
         HPDEFS = -D_HPUX_SOURCE
         HPINCS = -I/usr/include/Motif1.2 
       MOTIFLIB = -L/usr/lib/Motif1.2 -lXm
#endif

        SYSINCS = -I/usr/local/X11R6/include $(SUNINCS) $(HPINCS)
        LIBINCS = -I../libhtmlw -I../libcheck
        PICINCS = -I../pixmaps/help -I./
        ALLINCS = $(INCS) $(SYSINCS) $(PICINCS) $(LIBINCS)
        SYSDEFS = $(SUNDEFS) $(HPDEFS)
        DEFINES = -DMOTIF $(EXTRA_FLAGS) $(COPT) $(DEFS) $(SYSDEFS) $(ALLINCS) 

    CDEBUGFLAGS = 

           SRCS = help.c imageutil.c imageio.c medcut.c actionarea.c image.c load.c\
                  buffer.c util.c path.c bcache.c contexthelp.c tooltip.c

         HEADER = help.h helpp.h imageutil.h imageio.h language.h version.h \
                  actionarea.h image.h load.h buffer.h util.h path.h \
                  bcache.h contexthelp.h tooltip.h

      IMAKEFILE = Imakefile

           OBJS = medcut.o imageutil.o imageio.o image.o actionarea.o \
		  help.o load.o buffer.o util.o path.o bcache.o contexthelp.o \
		  tooltip.o

        LIBHELP = help
        TESTOBJ = thelp.o

          HLIB = libhelp.a
      HTMLWLIB = -L../libhtmlw -lhtmlw
        XPMLIB = -lXpm 
      HELPLIBS = $(LIBSDIR) $(HLIB) $(HTMLWLIB) $(XPMLIB) 
       SYSLIBS = $(SUNLIBS)

      MOTIFLIB = -lXm
   SYSTEM_LIBS = $(MOTIFLIB) -lXmu -lXt -lX11 $(SYSLIBS) $(ADDLIBS) 

      CHECKLIB = -L../libcheck -lcheck
     THELPLIBS = $(HELPLIBS) $(CHECKLIB) 

XCOMM libhelp.a

NormalLibraryTarget($(LIBHELP),$(OBJS))

XCOMM thelp (only for testing, not distributed)

NormalProgramTarget(thelp,$(TESTOBJ),$(HLIB),$(THELPLIBS),$(SYSTEM_LIBS))

DependTarget()