File: Imakefile

package info (click to toggle)
xcal 4.1-19
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 780 kB
  • ctags: 3,851
  • sloc: ansic: 5,576; makefile: 4,265; sh: 573
file content (45 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (6)
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
/*
 * Define InstallPsCal if you want to have pscal compiled and installed as
 * part of the xcal compilation and installation.
 */
#define InstallPsCal

        DEFINES = -DLONG_IS_32_BITS -DVER_VEC
		
          SRCS1 = xcal.c xcal_alarm.c xcal_buts.c xcal_days.c xcal_edit.c \
		  xcal_help.c xcal_popup.c xcal_strip.c xcal_memo.c strfdate.c version.c
          OBJS1 = xcal.o xcal_alarm.o xcal_buts.o xcal_days.o xcal_edit.o \
		  xcal_help.o xcal_popup.o xcal_strip.o xcal_memo.o strfdate.o version.o

       PROGRAMS = derived xcal
   INSTPGMFLAGS = $(INSTBINFLAGS)
         BINDIR = /usr/local/bin

ComplexProgramTarget_1(xcal, XawClientLibs, -lm)

InstallAppDefaults(XCal)
InstallNonExec(XCal.help, $(XAPPLOADDIR)/XCal.help)

derived:	xcal_help.h xcal_ad.h

clean::
	$(RM) xcal_help.h xcal_ad.h

xcal_help.h:	XCal.help
	sh C_from_help.sh

xcal_ad.h:	XCal.ad
	sh C_from_ad.sh

#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

#define IHaveSubdirs

#ifdef InstallPsCal
SUBDIRS = xcalpr xcalev xcal_cal pscal
#else
SUBDIRS = xcalpr xcalev xcal_cal
#endif

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))