forked from jonmmorgan/wxwebconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·55 lines (43 loc) · 1.19 KB
/
Makefile
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
# ---------------------------------------------------------------------------
#
# Filename: webconnect Makefile
# Project: Kirix Web Kit
# (C) Copyright 2006, Kirix Corporation, All Rights Reserved.
#
# Developer(s): Benjamin I. Williams
#
# Changes:
#
# 10 Oct 2006 - Created
#
# ---------------------------------------------------------------------------
# These two settings need to be adjusted to your build environment
WX_DIR := ../wxWidgets
WX_CONFIG := ${WX_DIR}/wx-config
#WX_CFLAGS := $(shell ${WX_CONFIG} --prefix=${WX_DIR} --cppflags)
#WX_LIBS := $(shell ${WX_CONFIG} --prefix=${WX_DIR} --libs)
INCLUDE =
DEFINES =
CFLAGS = ${WX_CFLAGS} -g -ggdb -fno-rtti
LIBS = ${WX_LIBS}
CPP = g++
#XPIDL = ../../../../../webconnect_testapp/xr/xpidl
XPIDL = /cygdrive/d/devel/xr-1.8/xpidl
OBJECTS = \
dom.o \
nsimpl.o \
promptservice.o \
webcontrol.o \
webframe.o \
webprefs.o
all: ns_generic.h ns_xulrunner_192.h ns_xulrunner_20.h
#all: libwebconnect.a
libwebconnect.a: $(OBJECTS)
ar rc libwebconnect.a $(OBJECTS)
ranlib libwebconnect.a
clean:
rm -f *.o libwebconnect.a
$(OBJECTS): %.o : %.cpp
$(CPP) $(CFLAGS) $(INCLUDES) $(DEFINES) -c $<
%.h: %.idl
$(XPIDL) -m header $<