-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathImakefile
45 lines (32 loc) · 1.14 KB
/
Imakefile
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 xcalim compilation and installation.
*/
#define InstallPsCal
DEFINES = -DLONG_IS_32_BITS -DVER_VEC
SRCS1 = xcalim.c xcalim_alarm.c xcalim_buts.c xcalim_days.c xcalim_edit.c \
xcalim_help.c xcalim_popup.c xcalim_strip.c xcalim_memo.c strfdate.c
OBJS1 = xcalim.o xcalim_alarm.o xcalim_buts.o xcalim_days.o xcalim_edit.o \
xcalim_help.o xcalim_popup.o xcalim_strip.o xcalim_memo.o strfdate.o
PROGRAMS = derived xcalim
INSTPGMFLAGS = $(INSTBINFLAGS)
BINDIR = /usr/local/bin
ComplexProgramTarget_1(xcalim, XawClientLibs, -lm)
InstallAppDefaults(XCalim)
InstallNonExec(XCalim.help, $(XAPPLOADDIR)/XCalim.help)
derived: xcalim_help.h xcalim_ad.h
clean::
$(RM) xcalim_help.h xcalim_ad.h
xcalim_help.h: XCalim.help
sh C_from_help.sh
xcalim_ad.h: XCalim.ad
sh C_from_ad.sh
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
#define IHaveSubdirs
#ifdef InstallPsCal
SUBDIRS = xcalpr xcalev xcalim_cal pscal
#else
SUBDIRS = xcalpr xcalev xcalim_cal
#endif
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))